23 references to Clear
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\Helpers\EditingTestBase.cs (1)
143SourceMarkers.Clear(markedSource),
Microsoft.CodeAnalysis.Features.Test.Utilities (5)
EditAndContinue\ActiveStatementsDescription.cs (3)
38var oldSource = SourceMarkers.Clear(oldMarkedSource); 39var newSource = SourceMarkers.Clear(newMarkedSource); 146var tree = syntaxTreeFactory(SourceMarkers.Clear(markedSource), documentName);
EditAndContinue\SourceMarkers.cs (2)
42=> [.. sources.Select(Clear)]; 119var plainSource = Clear(markedSource);
Microsoft.CodeAnalysis.Features.UnitTests (17)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (16)
5068var source1 = SourceMarkers.Clear(markedSource1); 5069var source2 = SourceMarkers.Clear(markedSource2); 5165var source1 = SourceMarkers.Clear(markedSource1); 5166var source2 = SourceMarkers.Clear(markedSource2); 5257(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.Clear(markedSourceV1)); 5260var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.Clear(markedSourceV1)); 5277solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear(markedSourceV2))); 5297solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear(markedSourceV3))); 5333solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear(markedSourceV4))); 5376(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.Clear(markedSource1)); 5379var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.Clear(markedSource1)); 5385solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear(""" 5423solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear(""" 5495(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.Clear(markedSource1)); 5498var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.Clear(markedSource1)); 5504solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.Clear("""
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
80var text = SourceText.From(SourceMarkers.Clear(markedSources[i]), Encoding.UTF8);