23 references to Clear
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\Helpers\EditingTestBase.cs (1)
143
SourceMarkers.
Clear
(markedSource),
Microsoft.CodeAnalysis.Features.Test.Utilities (5)
EditAndContinue\ActiveStatementsDescription.cs (3)
38
var oldSource = SourceMarkers.
Clear
(oldMarkedSource);
39
var newSource = SourceMarkers.
Clear
(newMarkedSource);
146
var tree = syntaxTreeFactory(SourceMarkers.
Clear
(markedSource), documentName);
EditAndContinue\SourceMarkers.cs (2)
42
=> [.. sources.Select(
Clear
)];
119
var plainSource =
Clear
(markedSource);
Microsoft.CodeAnalysis.Features.UnitTests (17)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (16)
5135
var source1 = SourceMarkers.
Clear
(markedSource1);
5136
var source2 = SourceMarkers.
Clear
(markedSource2);
5232
var source1 = SourceMarkers.
Clear
(markedSource1);
5233
var source2 = SourceMarkers.
Clear
(markedSource2);
5324
(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.
Clear
(markedSourceV1));
5327
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.
Clear
(markedSourceV1));
5344
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
(markedSourceV2)));
5364
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
(markedSourceV3)));
5400
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
(markedSourceV4)));
5443
(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.
Clear
(markedSource1));
5446
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.
Clear
(markedSource1));
5452
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
("""
5490
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
("""
5562
(solution, var document) = AddDefaultTestProject(solution, SourceMarkers.
Clear
(markedSource1));
5565
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id, SourceMarkers.
Clear
(markedSource1));
5571
solution = solution.WithDocumentText(documentId, CreateText(SourceMarkers.
Clear
("""
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
80
var text = SourceText.From(SourceMarkers.
Clear
(markedSources[i]), Encoding.UTF8);