1 write to Span
Microsoft.CodeAnalysis (1)
189 references to Span
Microsoft.AspNetCore.App.Analyzers (4)
Microsoft.AspNetCore.App.Analyzers.Test (13)
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (10)
39Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
67Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
95Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
123Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
153Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
181Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
209Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
237Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
265Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
999Assert.Equal(result.CompletionListSpan, change.TextChange.Span);
Microsoft.CodeAnalysis (18)
Microsoft.CodeAnalysis.CodeStyle (16)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (14)
Syntax\SyntaxDiffingTests.cs (14)
33Assert.Equal(new TextSpan(0, 0), changes[0].Span);
53Assert.Equal(new TextSpan(6, 1), changes[0].Span);
75Assert.Equal(new TextSpan(6, 1), changes[0].Span);
77Assert.Equal(new TextSpan(18, 1), changes[1].Span);
95Assert.Equal(new TextSpan(0, 0), changes[0].Span);
113Assert.Equal(new TextSpan(0, 0), changes[0].Span);
132Assert.Equal(new TextSpan(11, 0), changes[0].Span);
152Assert.Equal(new TextSpan(10, 0), changes[0].Span);
170Assert.Equal(new TextSpan(0, 0), changes[0].Span);
188Assert.Equal(new TextSpan(10, 0), changes[0].Span);
205Assert.Equal(new TextSpan(10, 7), changes[0].Span);
222Assert.Equal(new TextSpan(24, 7), changes[0].Span);
239Assert.Equal(new TextSpan(14, 1), changes[0].Span);
257Assert.Equal(new TextSpan(14, 5), changes[0].Span);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures (8)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Microsoft.CodeAnalysis.Features (24)
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Microsoft.CodeAnalysis.UnitTests (18)
Text\TextChangeTests.cs (18)
250Assert.Equal(expected.Span, actual.Span);
663Assert.Equal(new TextSpan(6, 0), changes[0].Span);
719Assert.Equal(new TextSpan(2, 8), changes[0].Span);
733Assert.Equal(new TextSpan(4, 2), changes[0].Span);
747Assert.Equal(new TextSpan(6, 1), changes[0].Span);
853Assert.Equal(new TextSpan(4, 0), changes[0].Span);
867Assert.Equal(new TextSpan(4, 0), changes[0].Span);
869Assert.Equal(new TextSpan(5, 0), changes[1].Span);
883Assert.Equal(new TextSpan(4, 0), changes[0].Span);
885Assert.Equal(new TextSpan(8, 0), changes[1].Span);
900Assert.Equal(new TextSpan(4, 0), changes[0].Span);
918Assert.Equal(new TextSpan(4, 0), changes[0].Span);
980i = newChange.Span.End;
982editedLength = editedLength - newChange.Span.Length + newChange.NewText.Length;
1000i = newChange.Span.End;
1251Assert.True(position <= change.Span.Start);
1252position = change.Span.End;
Microsoft.CodeAnalysis.Workspaces (38)
Microsoft.VisualStudio.LanguageServices (10)
Microsoft.VisualStudio.LanguageServices.LiveShare (2)