2 types derived from RunApiOutput
Microsoft.CodeAnalysis.LanguageServer (2)
FileBasedPrograms\RunApiModels.cs (2)
39
public sealed class Error :
RunApiOutput
45
public sealed class Project :
RunApiOutput
6 references to RunApiOutput
Microsoft.CodeAnalysis.LanguageServer (6)
FileBasedPrograms\RunApiModels.cs (1)
73
[JsonSerializable(typeof(
RunApiOutput
))]
FileBasedPrograms\VirtualProjectXmlProvider.cs (5)
66
if (response is
RunApiOutput
.Error error)
68
_logger.LogError($"dotnet run-api version: {error.Version}. Latest known version: {
RunApiOutput
.LatestKnownVersion}");
73
if (response is
RunApiOutput
.Project project)
75
if (project.Version >
RunApiOutput
.LatestKnownVersion)
77
_logger.LogWarning($"'dotnet run-api' version '{project.Version}' is newer than latest known version {
RunApiOutput
.LatestKnownVersion}");