33 references to SourceMarkers
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\Helpers\EditingTestBase.cs (1)
142
SourceMarkers
.Clear(markedSource),
Microsoft.CodeAnalysis.Features.Test.Utilities (12)
EditAndContinue\ActiveStatementsDescription.cs (9)
38
var oldSource =
SourceMarkers
.Clear(oldMarkedSource);
39
var newSource =
SourceMarkers
.Clear(newMarkedSource);
51
var newActiveStatementMarkers =
SourceMarkers
.GetActiveSpans(newMarkedSource).ToArray();
57
var newExceptionRegionMarkers =
SourceMarkers
.GetExceptionRegions(newMarkedSource);
89
OldUnmappedTrackingSpans =
SourceMarkers
.GetTrackingSpans(newMarkedSource).
99
var activeStatementMarkers =
SourceMarkers
.GetActiveSpans(markedSource).ToArray();
100
var exceptionRegionMarkers =
SourceMarkers
.GetExceptionRegions(markedSource);
127
return
SourceMarkers
.SetListItem(list, ordinal, unmappedActiveStatement);
146
var tree = syntaxTreeFactory(
SourceMarkers
.Clear(markedSource), documentName);
EditAndContinue\SyntaxMapDescription.cs (3)
48
OldNodeSpans =
SourceMarkers
.GetNodeSpans(oldSource);
49
NewNodeSpans =
SourceMarkers
.GetNodeSpans(newSource);
57
NewSpans =
SourceMarkers
.GetSpans(newSource, tagName: "S");
Microsoft.CodeAnalysis.Features.UnitTests (20)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (18)
4078
solution = AddDefaultTestProject(solution,
SourceMarkers
.Clear(markedSources));
4181
solution = AddDefaultTestProject(solution,
SourceMarkers
.Clear(markedSources));
4270
var source1 =
SourceMarkers
.Clear(markedSource1);
4271
var source2 =
SourceMarkers
.Clear(markedSource2);
4367
var source1 =
SourceMarkers
.Clear(markedSource1);
4368
var source2 =
SourceMarkers
.Clear(markedSource2);
4457
(solution, var document) = AddDefaultTestProject(solution,
SourceMarkers
.Clear(markedSourceV1));
4460
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id,
SourceMarkers
.Clear(markedSourceV1));
4477
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear(markedSourceV2)));
4497
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear(markedSourceV3)));
4533
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear(markedSourceV4)));
4576
(solution, var document) = AddDefaultTestProject(solution,
SourceMarkers
.Clear(markedSource1));
4579
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id,
SourceMarkers
.Clear(markedSource1));
4585
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear("""
4623
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear("""
4695
(solution, var document) = AddDefaultTestProject(solution,
SourceMarkers
.Clear(markedSource1));
4698
var moduleId = EmitAndLoadLibraryToDebuggee(document.Project.Id,
SourceMarkers
.Clear(markedSource1));
4704
solution = solution.WithDocumentText(documentId, CreateText(
SourceMarkers
.Clear("""
EditAndContinue\EditSessionActiveStatementsTests.cs (2)
81
var text = SourceText.From(
SourceMarkers
.Clear(markedSources[i]), Encoding.UTF8);
499
var exceptionSpans =
SourceMarkers
.GetExceptionRegions(markedSourceV1);