2 implementations of Version
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
25public int Version => throw new NotImplementedException();
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
40public int Version => -999; // We don't expect to use this in cohosting, but plenty of existing code logs it's value
3 references to Version
Microsoft.CodeAnalysis.Razor.Workspaces (3)
Formatting\RazorFormattingService.cs (1)
105var hostDocumentVersion = documentContext.Snapshot.Version;
SemanticTokens\AbstractRazorSemanticTokensInfoService.cs (2)
100_logger.LogDebug($"Couldn't get C# tokens for version {documentContext.Snapshot.Version} of {documentContext.Uri}. Returning null"); 132_logger.LogDebug($"Requesting C# semantic tokens for host version {documentContext.Snapshot.Version}, correlation ID {correlationId}, and the server thinks there are {codeDocument.GetCSharpSourceText().Lines.Count} lines of C#");