11 overrides of GetText
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
312 references to GetText
BuildValidator (1)
IdeCoreBenchmarks (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.CodeAnalysis (15)
Microsoft.CodeAnalysis.CodeStyle (12)
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (11)
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features (18)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\LocalFunctionTests.cs (12)
7344var localFuncPosition = tree.GetText().ToString().IndexOf("void local<TParameter>()", StringComparison.Ordinal) - 1;
7345var methodPosition = tree.GetText().ToString().IndexOf("void M2<TParameter>()", StringComparison.Ordinal) - 1;
7497var localFuncPosition = tree.GetText().ToString().IndexOf("[My(a)]", StringComparison.Ordinal);
7498var methodPosition = tree.GetText().ToString().IndexOf("[My(b)]", StringComparison.Ordinal);
7571var localFuncPosition = tree.GetText().ToString().IndexOf("positionA", StringComparison.Ordinal);
7572var methodPosition = tree.GetText().ToString().IndexOf("positionB", StringComparison.Ordinal);
8927var localFuncPosition = tree.GetText().ToString().IndexOf("positionA", StringComparison.Ordinal);
8928var methodPosition = tree.GetText().ToString().IndexOf("positionB", StringComparison.Ordinal);
9431var localFuncPosition = tree.GetText().ToString().IndexOf("positionA", StringComparison.Ordinal);
9432var methodPosition = tree.GetText().ToString().IndexOf("positionB", StringComparison.Ordinal);
9749var localFuncPosition = tree.GetText().ToString().IndexOf("positionA", StringComparison.Ordinal);
9750var methodPosition = tree.GetText().ToString().IndexOf("positionB", StringComparison.Ordinal);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (15)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (58)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.Features.Test.Utilities (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.VisualBasic (6)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (16)
SymbolsTests\Source\SourceSymbolTests.vb (15)
341Assert.Equal("C", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
343Assert.Equal("C", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
350Assert.Equal("D", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
352Assert.Equal("D", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
359Assert.Equal("T", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
361Assert.Equal("T", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
367Assert.Equal("m1", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
373Assert.Equal("x", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
379Assert.Equal("v1$", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
386Assert.Equal("N1", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
388Assert.Equal("N1", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
395Assert.Equal("N2", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
397Assert.Equal("N2", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
404Assert.Equal("N3", locs(0).SourceTree.GetText().ToString(locs(0).SourceSpan))
406Assert.Equal("N3", locs(1).SourceTree.GetText().ToString(locs(1).SourceSpan))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (19)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (9)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces (14)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
Microsoft.VisualStudio.LanguageServices (6)
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)