1 instantiation of Error
Microsoft.CodeAnalysis.LanguageServer (1)
RunFileApiJsonSerializerContext.Error.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
(){ Message = (string)args[0], Details = (string)args[1] },
23 references to Error
Microsoft.CodeAnalysis.LanguageServer (23)
FileBasedPrograms\RunApiModels.cs (2)
23
[JsonDerivedType(typeof(
Error
), nameof(
Error
))]
FileBasedPrograms\VirtualProjectXmlProvider.cs (1)
119
if (response is RunApiOutput.
Error
error)
RunFileApiJsonSerializerContext.Error.g.cs (19)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
>? _Error;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
> Error
22
get => _Error ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
>)Options.GetTypeInfo(typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
> Create_Error(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
),
58
Getter = static obj => ((global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
)obj).Message,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
).GetProperty("Message", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
),
81
Getter = static obj => ((global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
)obj).Details,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
).GetProperty("Details", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
123
private void ErrorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
? value)
134
writer.WriteString(PropName_Message, ((global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
)value).Message);
135
writer.WriteString(PropName_Details, ((global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
)value).Details);
RunFileApiJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
42
if (type == typeof(global::Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.RunApiOutput.
Error
))