22 references to GetSnapshot
Microsoft.AspNetCore.Razor.Microbenchmarks (1)
Formatting\DocumentFormattingBenchmark.cs (1)
75
var documentSnapshot = snapshotManager.
GetSnapshot
(document);
Microsoft.CodeAnalysis.Remote.Razor (8)
CodeActions\OOPGenerateEventHandlerCodeActionResolver.cs (1)
35
var razorDocumentSnapshot = _snapshotManager.
GetSnapshot
(remoteDocumentContext.TextDocument);
DocumentMapping\RemoteRazorEditService.cs (1)
44
var razorDocumentSnapshot = _snapshotManager.
GetSnapshot
(razorDocument);
DocumentMapping\RemoteSpanMappingService.cs (3)
56
var documentSnapshot = _snapshotManager.
GetSnapshot
(razorDocument);
98
var documentSnapshot = _snapshotManager.
GetSnapshot
(razorDocument);
195
var documentSnapshot = _snapshotManager.
GetSnapshot
(razorDocument);
ProjectSystem\RemoteDocumentSnapshot.cs (1)
85
return snapshotManager.
GetSnapshot
(newDocument);
RazorDocumentServiceBase.cs (1)
91
var documentSnapshot = SnapshotManager.
GetSnapshot
(razorDocument);
UriPresentation\RemoteUriPresentationService.cs (1)
77
var otherSnapshot = SnapshotManager.
GetSnapshot
(otherDocument);
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (7)
Cohost\CohostRoslynRenameTest.cs (1)
272
var snapshot = snapshotManager.
GetSnapshot
(razorDocument);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\AutoInsert\PreferHtmlInAttributeValuesDocumentPositionInfoStrategyTest.cs (1)
48
var codeDocument = await snapshotManager.
GetSnapshot
(document).GetGeneratedOutputAsync(DisposalToken);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\Html\HtmlCodeActionResolverTest.cs (1)
72
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\DocumentExcerpt\DocumentExcerptServiceTestBase.cs (1)
35
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\FormattingDiagnosticValidationPassTest.cs (1)
102
var documentSnapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\HtmlFormattingPassTest.cs (1)
140
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Mapping\RazorEditServiceTest.cs (1)
1315
var codeDocument = await snapshotManager.
GetSnapshot
(document).GetGeneratedOutputAsync(DisposalToken);
Microsoft.VisualStudioCode.RazorExtension.UnitTests (6)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\AutoInsert\PreferHtmlInAttributeValuesDocumentPositionInfoStrategyTest.cs (1)
48
var codeDocument = await snapshotManager.
GetSnapshot
(document).GetGeneratedOutputAsync(DisposalToken);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\Html\HtmlCodeActionResolverTest.cs (1)
72
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\DocumentExcerpt\DocumentExcerptServiceTestBase.cs (1)
35
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\FormattingDiagnosticValidationPassTest.cs (1)
102
var documentSnapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\HtmlFormattingPassTest.cs (1)
140
var snapshot = snapshotManager.
GetSnapshot
(document);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Mapping\RazorEditServiceTest.cs (1)
1315
var codeDocument = await snapshotManager.
GetSnapshot
(document).GetGeneratedOutputAsync(DisposalToken);