93 references to WithText
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (50)
SolutionTests\ProjectSemanticVersionTests.cs (16)
48document.WithText(text.Replace(position, length: 0, "public async Task M() { }")).Project);
62document.WithText(text.Replace(position, length: 0, "int x = 10;")).Project);
76document.WithText(text.Replace(position, length: 0, "int x = 10")).Project);
90document.WithText(text.Replace(position, length: 0, " \r\n")).Project);
104document.WithText(text.Replace(position, length: 0, "public int X = 20;")).Project);
118document.WithText(text.Replace(span, "100")).Project);
132document.WithText(text.Replace(position, length: 0, "public const int X = 20;")).Project);
146document.WithText(text.Replace(span, "100")).Project);
160document.WithText(text.Replace(position, length: 0, "Public Sub M()\r\nEnd Sub")).Project);
174document.WithText(text.Replace(position, length: 0, "Dim x As Integer = 10")).Project);
188document.WithText(text.Replace(position, length: 0, "Optional x As Integer = 10")).Project);
202document.WithText(text.Replace(position, length: 0, " \r\n")).Project);
216document.WithText(text.Replace(position, length: 0, "Public X As Integer = 20")).Project);
230document.WithText(text.Replace(span, "100")).Project);
244document.WithText(text.Replace(position, length: 0, "Public Const X As Integer = 20")).Project);
258document.WithText(text.Replace(span, "100")).Project);
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
Roslyn.VisualStudio.Next.UnitTests (2)