Skip to content

Commit 9f0d3fc

Browse files
authored
Merge pull request #39061 from nnpcYvIVl/spelling-19
Spelling fixes
2 parents dddac7b + c29586e commit 9f0d3fc

File tree

19 files changed

+25
-25
lines changed

19 files changed

+25
-25
lines changed

src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,7 @@ boundNode.ExpressionSymbol is Symbol accessSymbol &&
32703270
parentOperator.Event.Equals(accessSymbol, TypeCompareKind.AllNullableIgnoreOptions):
32713271
// When we're looking at the left-hand side of an event assignment, we synthesize a BoundEventAccess node. This node does not have
32723272
// nullability information, however, so if we're in that case then we need to grab the event symbol from the parent event assignment
3273-
// which does have the nullability-reinfered symbol
3273+
// which does have the nullability-reinferred symbol
32743274
symbols = ImmutableArray.Create<Symbol>(parentOperator.Event);
32753275
resultKind = parentOperator.ResultKind;
32763276
break;

src/EditorFeatures/CSharpTest/InlineDeclaration/CSharpInlineDeclarationTests_FixAllTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ await TestInRegularAndScriptAsync(
383383
{
384384
void M()
385385
{
386-
/* leading */ int dummy; /* inbetween */ int {|FixAllInDocument:i1|}; int i2; // trailing
386+
/* leading */ int dummy; /* in-between */ int {|FixAllInDocument:i1|}; int i2; // trailing
387387
int.TryParse(v, out i1);
388388
int.TryParse(v, out i2);
389389
dummy = 42;
@@ -393,7 +393,7 @@ void M()
393393
{
394394
void M()
395395
{
396-
/* leading */ int dummy; /* inbetween */ // trailing
396+
/* leading */ int dummy; /* in-between */ // trailing
397397
int.TryParse(v, out int i1);
398398
int.TryParse(v, out int i2);
399399
dummy = 42;

src/EditorFeatures/VisualBasicTest/RemoveUnusedMembers/RemoveUnusedMembersTests.vb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ End Class")
13571357
"Class C
13581358
Private {|FixAllInDocument:_goo|}, _goo2 As Integer, _goo3 As Integer = 0, _goo4, _goo5 As Char
13591359
Private _goo6, _goo7 As Integer, _goo8 As Integer = 0
1360-
Private _goo9, _goo10 As New String("""") ' Non constant intializer
1360+
Private _goo9, _goo10 As New String("""") ' Non constant initializer
13611361
Private _goo11 = 0 ' Implicit conversion to Object type in the initializer, hence it is a non constant initializer.
13621362

13631363
Public Sub M()
@@ -1366,7 +1366,7 @@ End Class")
13661366
End Class",
13671367
"Class C
13681368
Private _goo4 As Char
1369-
Private _goo9, _goo10 As New String("""") ' Non constant intializer
1369+
Private _goo9, _goo10 As New String("""") ' Non constant initializer
13701370
Private _goo11 = 0 ' Implicit conversion to Object type in the initializer, hence it is a non constant initializer.
13711371

13721372
Public Sub M()

src/VisualStudio/Core/Def/Implementation/Diagnostics/FxCopAnalyzersSuggestedActionCallback.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ internal static bool IsNuGetInstalled(
186186

187187
private bool IsCandidate(SuggestedAction action)
188188
{
189-
// Candidates fill the following critera:
189+
// Candidates fill the following criteria:
190190
// 1: Are a Dotnet user (as evidenced by the fact that this code is being run)
191191
// 2: Have triggered a lightbulb on 3 separate days or if this is a code quality suggested action.
192192

src/VisualStudio/Core/Def/Implementation/ProjectSystem/Legacy/AbstractLegacyProject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ private static string GetRootNamespacePropertyValue(IVsHierarchy hierarchy)
388388
// declared in the compilation.
389389
//
390390
// Unfortunately, although being different concepts, default namespace and root namespace are almost
391-
// used interchangebly in VS. For example, (1) the value is define in "rootnamespace" property in project
391+
// used interchangeably in VS. For example, (1) the value is define in "rootnamespace" property in project
392392
// files and, (2) the property name we use to call into hierarchy below to retrieve the value is
393393
// called "DefaultNamespace".
394394

src/VisualStudio/Core/Def/Implementation/PullMemberUp/VisualStudioPullMemberUpService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public PullMembersUpOptions GetPullMemberUpOptions(Document document, ISymbol se
3636
.SelectAsArray(member =>
3737
new PullMemberUpSymbolViewModel(member, _glyphService)
3838
{
39-
// The member user selected will be checked at the begining.
39+
// The member user selected will be checked at the beginning.
4040
IsChecked = SymbolEquivalenceComparer.Instance.Equals(selectedMember, member),
4141
MakeAbstract = false,
4242
IsMakeAbstractCheckable = !member.IsKind(SymbolKind.Field) && !member.IsAbstract,

src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.Connections.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static async Task<TResult> RetryRemoteCallAsync<TException, TResult>(
5959
RemoteHostCrashInfoBar.ShowInfoBar(workspace);
6060

6161
// throw soft crash exception to minimize hard crash. it doesn't
62-
// gurantee 100% hard crash free. but 99% it doesn't cause
62+
// guarantee 100% hard crash free. but 99% it doesn't cause
6363
// hard crash
6464
throw new SoftCrashException("retry timed out", cancellationToken);
6565
}

src/VisualStudio/Core/Def/Implementation/TaskList/ExternalErrorDiagnosticUpdateSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ static bool IsDocumentLevelDiagnostic(DiagnosticData diagnoaticData)
546546
//
547547
// but also we can't simply say it is a document level error because it has file path
548548
// since project level error can have a file path pointing to a file such as dll
549-
// , pdb, embeded files and etc.
549+
// , pdb, embedded files and etc.
550550
//
551551
// unfortunately, there is no 100% correct way to do this.
552552
// so we will use a heuristic that will most likely work for most of common cases.

src/VisualStudio/Core/Def/Implementation/Venus/ContainedDocument.DocumentServiceProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private static async Task<ImmutableArray<ClassifiedSpan>> GetClassifiedSpansOnCo
187187
continue;
188188
}
189189

190-
// we don't have gurantee that pirmary snapshot is from same snapshot as roslyn snapshot. make sure
190+
// we don't have guarantee that pirmary snapshot is from same snapshot as roslyn snapshot. make sure
191191
// we map it to right snapshot
192192
var fixedUpSpan = roslynSpan.TranslateTo(roslynSnapshot, SpanTrackingMode.EdgeExclusive);
193193
var classifiedSpans = await ClassifierHelper.GetClassifiedSpansAsync(document, fixedUpSpan.Span.ToTextSpan(), cancellationToken).ConfigureAwait(false);

src/Workspaces/CSharp/Portable/Indentation/CSharpIndentationService.Indenter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private IndentationResult GetIndentationBasedOnToken(Indenter indenter, SyntaxTo
108108
// special cases
109109
// case 1: token belongs to verbatim token literal
110110
// case 2: $@"$${0}"
111-
// case 3: $@"Comment$$ inbetween{0}"
111+
// case 3: $@"Comment$$ in-between{0}"
112112
// case 4: $@"{0}$$"
113113
if (token.IsVerbatimStringLiteral() ||
114114
token.IsKind(SyntaxKind.InterpolatedVerbatimStringStartToken) ||

0 commit comments

Comments
 (0)