1 write to NewText
Microsoft.CodeAnalysis (1)
135 references to NewText
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.App.Analyzers.Test (14)
RouteEmbeddedLanguage\FrameworkParametersCompletionProviderTests.cs (10)
38Assert.Equal("id", change.TextChange.NewText);
66Assert.Equal("id", change.TextChange.NewText);
94Assert.Equal("id", change.TextChange.NewText);
122Assert.Equal("id", change.TextChange.NewText);
152Assert.Equal("id", change.TextChange.NewText);
180Assert.Equal("id", change.TextChange.NewText);
208Assert.Equal("id", change.TextChange.NewText);
236Assert.Equal("id", change.TextChange.NewText);
264Assert.Equal("ids", change.TextChange.NewText);
998Assert.Equal("id", change.TextChange.NewText);
Microsoft.CodeAnalysis (12)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (16)
Syntax\SyntaxDiffingTests.cs (16)
34Assert.Equal("class C { }", changes[0].NewText);
54Assert.Equal("B", changes[0].NewText);
76Assert.Equal("C", changes[0].NewText);
78Assert.Equal("D", changes[1].NewText);
96Assert.Equal("class ", changes[0].NewText);
114Assert.Equal("class A ", changes[0].NewText);
133Assert.Equal("class A { }", changes[0].NewText);
153Assert.Equal("} class A { ", changes[0].NewText);
171Assert.Equal("namespace N { ", changes[0].NewText);
189Assert.Equal("int X; ", changes[0].NewText);
206Assert.Equal("", changes[0].NewText);
223Assert.Equal("", changes[0].NewText);
240Assert.Equal("", changes[0].NewText);
258Assert.Equal("struct", changes[0].NewText);
325Assert.Equal("this.", changes[0].NewText);
387Assert.Equal("o", changes[0].NewText);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.EditorFeatures (8)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Microsoft.CodeAnalysis.Features (18)
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Microsoft.CodeAnalysis.UnitTests (14)
Text\TextChangeTests.cs (14)
251Assert.Equal(expected.NewText, actual.NewText);
664Assert.Equal("Cool ", changes[0].NewText);
720Assert.Equal("ar", changes[0].NewText);
734Assert.Equal(" Bell ", changes[0].NewText);
748Assert.Equal("Cwazy V", changes[0].NewText);
854Assert.Equal("o World", changes[0].NewText);
868Assert.Equal("o", changes[0].NewText);
870Assert.Equal("World", changes[1].NewText);
884Assert.Equal("o", changes[0].NewText);
886Assert.Equal("l", changes[1].NewText);
901Assert.Equal("o World", changes[0].NewText);
919Assert.Equal("o World", changes[0].NewText);
982editedLength = editedLength - newChange.Span.Length + newChange.NewText.Length;
Microsoft.CodeAnalysis.Workspaces (10)
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)