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