2 implementations of Version
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
25
public int
Version
=> throw new NotImplementedException();
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
40
public 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)
105
var 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#");