diff --git a/src/Compilers/CSharp/Portable/Binder/Binder.ValueChecks.cs b/src/Compilers/CSharp/Portable/Binder/Binder.ValueChecks.cs
index 45caa7bd6b90d..81e6fd41d2a51 100644
--- a/src/Compilers/CSharp/Portable/Binder/Binder.ValueChecks.cs
+++ b/src/Compilers/CSharp/Portable/Binder/Binder.ValueChecks.cs
@@ -2447,7 +2447,7 @@ static void getArgList(
///
/// Returns the set of arguments to be considered for escape analysis of a method
- /// invocation. Each argument is returned with the correponding parameter and
+ /// invocation. Each argument is returned with the corresponding parameter and
/// whether analysis should consider value or ref escape. Not all method arguments
/// are included, and some arguments may be included twice - once for value, once for ref.
///
@@ -4071,7 +4071,7 @@ internal SafeContext GetValEscape(BoundExpression expr, SafeContext localScopeDe
case BoundKind.MakeRefOperator:
case BoundKind.RefValueOperator:
// for compat reasons
- // NB: it also means can`t assign stackalloc spans to a __refvalue
+ // NB: it also means can't assign stackalloc spans to a __refvalue
// we are ok with that.
return SafeContext.CallingMethod;
diff --git a/src/Compilers/CSharp/Portable/CSharpResources.resx b/src/Compilers/CSharp/Portable/CSharpResources.resx
index bdb7325e53256..74603105974a7 100644
--- a/src/Compilers/CSharp/Portable/CSharpResources.resx
+++ b/src/Compilers/CSharp/Portable/CSharpResources.resx
@@ -7483,7 +7483,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
file types
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.array access
diff --git a/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs b/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs
index 26f9586b15fc1..1f245abccacab 100644
--- a/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs
+++ b/src/Compilers/CSharp/Portable/CodeGen/EmitExpression.cs
@@ -596,7 +596,7 @@ private void EmitLoweredConditionalAccessExpression(BoundLoweredConditionalAcces
///
/// We must use a temp when there is a chance that evaluation of the call arguments
- /// could actually modify value of the reference type reciever. The call must use
+ /// could actually modify value of the reference type receiver. The call must use
/// the original (unmodified) receiver.
///
private sealed class IsConditionalConstrainedCallThatMustUseTempForReferenceTypeReceiverWalker : BoundTreeWalkerWithStackGuardWithoutRecursionOnTheLeftOfBinaryOperator
diff --git a/src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs b/src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs
index f19d7f8e9f6dd..c9246cd82d4cf 100644
--- a/src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs
+++ b/src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs
@@ -301,7 +301,7 @@ private void ValidateReferencedAssembly(AssemblySymbol assembly, AssemblyReferen
///
private static void GetDocumentsForMethodsAndNestedTypes(PooledHashSet documentList, ArrayBuilder typesToProcess, EmitContext context)
{
- // Temporarily disable assert to unblock getting net8.0 teststing re-nabled on Unix. Will
+ // Temporarily disable assert to unblock getting net8.0 testing re-enabled on Unix. Will
// remove this shortly.
// https://github.com/dotnet/roslyn/issues/71571
// Debug.Assert(!context.MetadataOnly);
diff --git a/src/Compilers/CSharp/Portable/Parser/Lexer.cs b/src/Compilers/CSharp/Portable/Parser/Lexer.cs
index 22fbe4e66345a..3ef0208c74f8a 100644
--- a/src/Compilers/CSharp/Portable/Parser/Lexer.cs
+++ b/src/Compilers/CSharp/Portable/Parser/Lexer.cs
@@ -786,7 +786,7 @@ private bool TryScanInterpolatedString(ref TokenInfo info)
if (TextWindow.PeekChar(1) is '$' or '@' or '"')
{
// $$ - definitely starts a raw interpolated string.
- // $@ - definitely starts an interplated string.
+ // $@ - definitely starts an interpolated string.
//
// This will also match for $@@. This is an error case when the user thinks they can mix verbatim and raw
// interpolations together. This will be properly handled in ScanInterpolatedStringLiteral
diff --git a/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs b/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
index abb58e2d51de5..72c1de98695f2 100644
--- a/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
+++ b/src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
@@ -3439,9 +3439,9 @@ internal IEnumerable GetMethodsPossiblyCapturingPrimar
}
else
{
- var membersAndInituializers = GetMembersAndInitializers();
- nonTypeMembersToCheck = membersAndInituializers.NonTypeMembers;
- primaryConstructor = membersAndInituializers.PrimaryConstructor;
+ var membersAndInitializers = GetMembersAndInitializers();
+ nonTypeMembersToCheck = membersAndInitializers.NonTypeMembers;
+ primaryConstructor = membersAndInitializers.PrimaryConstructor;
}
Debug.Assert(primaryConstructor is not null);
@@ -3484,9 +3484,9 @@ internal ImmutableArray GetMembersToMatchAgainstDeclarationSpan()
}
else
{
- var membersAndInituializers = GetMembersAndInitializers();
- Debug.Assert(membersAndInituializers.PrimaryConstructor is not null);
- return membersAndInituializers.NonTypeMembers;
+ var membersAndInitializers = GetMembersAndInitializers();
+ Debug.Assert(membersAndInitializers.PrimaryConstructor is not null);
+ return membersAndInitializers.NonTypeMembers;
}
}
@@ -3509,9 +3509,9 @@ internal ImmutableArray GetCandidateMembersForLookup(string name)
}
else
{
- var membersAndInituializers = GetMembersAndInitializers();
- nonTypeMembersToCheck = membersAndInituializers.NonTypeMembers;
- primaryConstructor = membersAndInituializers.PrimaryConstructor;
+ var membersAndInitializers = GetMembersAndInitializers();
+ nonTypeMembersToCheck = membersAndInitializers.NonTypeMembers;
+ primaryConstructor = membersAndInitializers.PrimaryConstructor;
}
Debug.Assert(primaryConstructor is not null);
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf
index 5720459cb38ce..fb2914f6c93e9 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Nelze použít číselnou konstantu ani relační vzor pro „{0}“, protože dědí z nebo rozšiřuje INumberBase<T>. Zvažte použití vzoru typu k zúžení na konkrétní číselný typ.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Nelze použít číselnou konstantu ani relační vzor pro „{0}“, protože dědí z nebo rozšiřuje INumberBase<T>. Zvažte použití vzoru typu k zúžení na konkrétní číselný typ.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf
index 2ac6b42fb054d..65cdcc4b1d3e0 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Für "{0}" kann keine numerische Konstante oder ein relationales Muster verwendet werden, da es von "INumberBase<T>" vererbt oder erweitert wird. Erwägen Sie die Verwendung eines Typmusters, um auf einen bestimmten numerischen Typ einzugrenzen.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Für "{0}" kann keine numerische Konstante oder ein relationales Muster verwendet werden, da es von "INumberBase<T>" vererbt oder erweitert wird. Erwägen Sie die Verwendung eines Typmusters, um auf einen bestimmten numerischen Typ einzugrenzen.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf
index e776b15f4336c..dae497bba960e 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- No se puede usar una constante numérica o un patrón relacional en '{0}' porque hereda o extiende 'INumberBase<T>'. Considere la posibilidad de usar un patrón de tipo para restringir a un tipo numérico específico.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ No se puede usar una constante numérica o un patrón relacional en '{0}' porque hereda o extiende 'INumberBase<T>'. Considere la posibilidad de usar un patrón de tipo para restringir a un tipo numérico específico.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf
index ddceebdb38625..403f18d5f9b62 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Nous n’avons pas pu utiliser une constante numérique ou un modèle relationnel sur '{0}', car il hérite ou étend 'INumberBase<T>'. Utilisez un modèle de type pour vous limiter à un type numérique spécifié.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Nous n’avons pas pu utiliser une constante numérique ou un modèle relationnel sur '{0}', car il hérite ou étend 'INumberBase<T>'. Utilisez un modèle de type pour vous limiter à un type numérique spécifié.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf
index fd94a9ee799ce..28e49d8cc52f0 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Non è possibile usare una costante numerica o un modello relazionale su '{0}' perché eredita da o estende 'INumberBase<T>'. Provare a usare un modello di tipo per limitare a un tipo numerico specifico.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Non è possibile usare una costante numerica o un modello relazionale su '{0}' perché eredita da o estende 'INumberBase<T>'. Provare a usare un modello di tipo per limitare a un tipo numerico specifico.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf
index 65647430f1f04..10b51196069f2 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- 'INumberBase<T>' を継承または拡張しているため、'{0}' で数値定数またはリレーショナル パターンを使用することはできません。指定された数値型に絞り込むために、型パターンを使用することを検討してください。
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ 'INumberBase<T>' を継承または拡張しているため、'{0}' で数値定数またはリレーショナル パターンを使用することはできません。指定された数値型に絞り込むために、型パターンを使用することを検討してください。
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf
index b01d67981c2c0..da2431639c5a6 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- 'INumberBase<T>'에서 상속되거나 확장되므로 '{0}' 숫자 상수 또는 관계형 패턴을 사용할 수 없습니다. 형식 패턴을 사용하여 특정 숫자 형식으로 좁히는 것이 좋습니다.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ 'INumberBase<T>'에서 상속되거나 확장되므로 '{0}' 숫자 상수 또는 관계형 패턴을 사용할 수 없습니다. 형식 패턴을 사용하여 특정 숫자 형식으로 좁히는 것이 좋습니다.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf
index 57dbceb0ec44e..211a1ab330244 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Nie można użyć stałej liczbowej lub wzorca relacyjnego w „{0}”, ponieważ dziedziczy on lub rozszerza element "INumberBase<T>". Rozważ użycie wzorca typu w celu zawężenia do określonego typu liczbowego.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Nie można użyć stałej liczbowej lub wzorca relacyjnego w „{0}”, ponieważ dziedziczy on lub rozszerza element "INumberBase<T>". Rozważ użycie wzorca typu w celu zawężenia do określonego typu liczbowego.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf
index d0d94f1330ea7..4a485342b540c 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Não é possível usar uma constante numérica ou padrão relacional em '{0}' porque herda ou estende 'INumberBase<T>'. Considere usar um padrão de tipo para restringir a um tipo numérico específico.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Não é possível usar uma constante numérica ou padrão relacional em '{0}' porque herda ou estende 'INumberBase<T>'. Considere usar um padrão de tipo para restringir a um tipo numérico específico.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf
index 2c1f011baab3d..f5de0e0807848 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- Невозможно использовать числовую константу или реляционный шаблон для "{0}", поскольку он наследует от "INumberBase<T>" или расширяет его. Рассмотрите возможность использовать шаблон типа, чтобы указать конкретный числовой тип.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ Невозможно использовать числовую константу или реляционный шаблон для "{0}", поскольку он наследует от "INumberBase<T>" или расширяет его. Рассмотрите возможность использовать шаблон типа, чтобы указать конкретный числовой тип.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf
index 4e5bd6417ef0e..9db2cb012bc1c 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- 'INumberBase<T>' öğesinden devraldığı veya genişlediği için '{0}' öğesinde sayısal bir sabit veya ilişkisel desen kullanılamaz. Belirli bir sayısal türe daraltmak için bir tür deseni kullanmayı düşünün.
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ 'INumberBase<T>' öğesinden devraldığı veya genişlediği için '{0}' öğesinde sayısal bir sabit veya ilişkisel desen kullanılamaz. Belirli bir sayısal türe daraltmak için bir tür deseni kullanmayı düşünün.
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf
index 2ba44fcc0e1bd..049b658610677 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hans.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- 无法对 "{0}" 使用数值常量或关系模式,因为它继承自或扩展了 "INumberBase<T>"。请考虑使用类型模式缩小到具体的数值类型。
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ 无法对 "{0}" 使用数值常量或关系模式,因为它继承自或扩展了 "INumberBase<T>"。请考虑使用类型模式缩小到具体的数值类型。
diff --git a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf
index 4ae88a2fecd1e..72bf0fbda187a 100644
--- a/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf
+++ b/src/Compilers/CSharp/Portable/xlf/CSharpResources.zh-Hant.xlf
@@ -368,8 +368,8 @@
- Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.
- 無法在 '{0}' 上使用數值常數或關聯式模式,因為它繼承自或延伸 'INumberBase<T>'。請考慮使用類型模式來縮小為特定數數值型別。
+ Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specific numeric type.
+ 無法在 '{0}' 上使用數值常數或關聯式模式,因為它繼承自或延伸 'INumberBase<T>'。請考慮使用類型模式來縮小為特定數數值型別。
diff --git a/src/Compilers/CSharp/Test/CommandLine/CommandLineTests.cs b/src/Compilers/CSharp/Test/CommandLine/CommandLineTests.cs
index 31372989a3f2c..bd8a95b57f441 100644
--- a/src/Compilers/CSharp/Test/CommandLine/CommandLineTests.cs
+++ b/src/Compilers/CSharp/Test/CommandLine/CommandLineTests.cs
@@ -15497,11 +15497,11 @@ class C {}
");
var notAnalyzer = dir.CreateFile("random.txt");
- // not suppresssed
+ // not suppressed
var output = VerifyOutput(dir, src, additionalFlags: new[] { "/analyzer:" + notAnalyzer.Path }, expectedWarningCount: 1, includeCurrentAssemblyAsAnalyzerReference: false);
Assert.Contains("warning CS8034", output, StringComparison.Ordinal);
- // supressed
+ // suppressed
VerifyOutput(dir, src, additionalFlags: new[] { "/analyzer:" + notAnalyzer.Path, "/nowarn:CS8034" }, expectedWarningCount: 0, includeCurrentAssemblyAsAnalyzerReference: false);
// elevated
@@ -15521,11 +15521,11 @@ class C {}
");
var notAnalyzer = dir.CreateFile("random.txt");
- // not suppresssed
+ // not suppressed
var output = VerifyOutput(dir, src, additionalFlags: new[] { "/analyzer:" + notAnalyzer.Path }, expectedWarningCount: 1, includeCurrentAssemblyAsAnalyzerReference: false);
Assert.Contains("warning CS8034", output, StringComparison.Ordinal);
- // suppresssed via global analyzer config
+ // suppressed via global analyzer config
VerifyOutput(dir, src, additionalFlags: new[] { "/analyzer:" + notAnalyzer.Path, "/analyzerConfig:" + globalconfig.Path }, includeCurrentAssemblyAsAnalyzerReference: false);
}
diff --git a/src/Compilers/CSharp/Test/Emit2/CodeGen/CodeGenCallTests.cs b/src/Compilers/CSharp/Test/Emit2/CodeGen/CodeGenCallTests.cs
index 26e0d88f23509..e65f4aca1a281 100644
--- a/src/Compilers/CSharp/Test/Emit2/CodeGen/CodeGenCallTests.cs
+++ b/src/Compilers/CSharp/Test/Emit2/CodeGen/CodeGenCallTests.cs
@@ -31078,7 +31078,7 @@ .locals init (int V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Class()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Class()
{
var source = @"
using System;
@@ -31219,7 +31219,7 @@ .locals init (T& V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Struct()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Struct()
{
var source = @"
using System;
@@ -31319,7 +31319,7 @@ .locals init (T& V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Class_Ref()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Class_Ref()
{
var source = @"
using System;
@@ -31461,7 +31461,7 @@ .locals init (T& V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Struct_Ref()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Struct_Ref()
{
var source = @"
using System;
@@ -31561,7 +31561,7 @@ .locals init (T& V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Class_Async_01()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Class_Async_01()
{
var source = @"
using System;
@@ -31856,7 +31856,7 @@ .locals init (int V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeExpression_Struct_Async_01()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeExpression_Struct_Async_01()
{
var source = @"
using System;
@@ -32026,7 +32026,7 @@ .locals init (int V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Class()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Class()
{
var source = @"
using System;
@@ -32201,7 +32201,7 @@ .locals init (T V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Struct()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Struct()
{
var source = @"
using System;
@@ -32318,7 +32318,7 @@ .locals init (System.Range V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Class_Ref()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Class_Ref()
{
var source = @"
using System;
@@ -32494,7 +32494,7 @@ .locals init (T V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Struct_Ref()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Struct_Ref()
{
var source = @"
using System;
@@ -32611,7 +32611,7 @@ .locals init (System.Range V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Class_Async_01()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Class_Async_01()
{
var source = @"
using System;
@@ -32946,7 +32946,7 @@ .locals init (int V_0,
[ConditionalFact(typeof(CoreClrOnly))]
[WorkItem(63221, "https://github.com/dotnet/roslyn/issues/63221")]
- public void GenericTypeParameterAsReceiver_ImpicitRangeIndexer_RangeValue_Struct_Async_01()
+ public void GenericTypeParameterAsReceiver_ImplicitRangeIndexer_RangeValue_Struct_Async_01()
{
var source = @"
using System;
diff --git a/src/Compilers/CSharp/Test/Emit2/Emit/EditAndContinue/EditAndContinueTests.cs b/src/Compilers/CSharp/Test/Emit2/Emit/EditAndContinue/EditAndContinueTests.cs
index ce58d22354c8a..b7eecda171d28 100644
--- a/src/Compilers/CSharp/Test/Emit2/Emit/EditAndContinue/EditAndContinueTests.cs
+++ b/src/Compilers/CSharp/Test/Emit2/Emit/EditAndContinue/EditAndContinueTests.cs
@@ -6193,7 +6193,7 @@ void ValidateReplacedType(CompilationDifference diff, MetadataReader[] readers)
Assert.Equal(generation, parentGeneration);
Assert.Equal(newTypeDefHandle, parentHandle);
- // attribute contructor should match
+ // attribute constructor should match
var ctorHandle = aggregator.GetGenerationHandle(attribute.Constructor, out var ctorGeneration);
Assert.Equal(0, ctorGeneration);
Assert.Equal(attributeCtorDefHandle, ctorHandle);
diff --git a/src/Compilers/CSharp/Test/Emit2/Emit/LocalStateTracing/LocalStateTracingTests.cs b/src/Compilers/CSharp/Test/Emit2/Emit/LocalStateTracing/LocalStateTracingTests.cs
index 899fc155bff31..861f246abcc58 100644
--- a/src/Compilers/CSharp/Test/Emit2/Emit/LocalStateTracing/LocalStateTracingTests.cs
+++ b/src/Compilers/CSharp/Test/Emit2/Emit/LocalStateTracing/LocalStateTracingTests.cs
@@ -3207,7 +3207,7 @@ .locals init (Microsoft.CodeAnalysis.Runtime.LocalStoreTracker V_0,
}
[Fact]
- public void Initializers_NoContructorBody()
+ public void Initializers_NoConstructorBody()
{
var source = WithHelpers(@"
var _ = new C();
diff --git a/src/Compilers/CSharp/Test/Emit3/Semantics/ParamsCollectionTests.cs b/src/Compilers/CSharp/Test/Emit3/Semantics/ParamsCollectionTests.cs
index e6efe39d327e3..2a80d5a0d1968 100644
--- a/src/Compilers/CSharp/Test/Emit3/Semantics/ParamsCollectionTests.cs
+++ b/src/Compilers/CSharp/Test/Emit3/Semantics/ParamsCollectionTests.cs
@@ -3193,7 +3193,7 @@ static int GetC()
// Note, the collection is created after the lexically previous argument is evaluated,
// but before the lexically following argument is evaluated. This differs from params
- // array case, which is created right before the target methos is invoked, after all
+ // array case, which is created right before the target method is invoked, after all
// arguments are evaluated in their lexical order, which can be observed in a unit-test
// Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen.CodeGenTests.NamedParamsOptimizationAndParams002
verifier.VerifyIL("Program.Main", @"
diff --git a/src/Compilers/CSharp/Test/Emit3/Semantics/PatternMatchingTests.cs b/src/Compilers/CSharp/Test/Emit3/Semantics/PatternMatchingTests.cs
index 9b892c7ea73c6..6ba97279d29d0 100644
--- a/src/Compilers/CSharp/Test/Emit3/Semantics/PatternMatchingTests.cs
+++ b/src/Compilers/CSharp/Test/Emit3/Semantics/PatternMatchingTests.cs
@@ -12284,7 +12284,7 @@ public void Test2(G