3 instantiations of MessageEnvelope
Microsoft.TestPlatform.CommunicationUtilities (3)
_generated\4\TestPlatformJsonContext.MessageEnvelope.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
(),
JsonDataSerializer.Stj.cs (2)
184
return Serialize(DefaultOptions, new
MessageEnvelope
{ MessageType = messageType });
202
Serialize(DefaultOptions, new
MessageEnvelope
{ MessageType = messageType, Payload = serializedPayload });
23 references to MessageEnvelope
Microsoft.TestPlatform.CommunicationUtilities (23)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
38
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
))
_generated\4\TestPlatformJsonContext.MessageEnvelope.g.cs (21)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
>? _MessageEnvelope;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
> MessageEnvelope
22
get => _MessageEnvelope ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
> Create_MessageEnvelope(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)obj).MessageType,
61
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)obj).MessageType = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
).GetProperty("MessageType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
),
80
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)obj).Payload,
81
Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)obj).Payload = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
).GetProperty("Payload", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement?), global::System.Array.Empty<global::System.Type>(), null),
98
private void MessageEnvelopeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
? value)
108
writer.WriteString(PropName_MessageType, ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)value).MessageType);
109
global::System.Text.Json.JsonElement? __value_Payload = ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.
MessageEnvelope
)value).Payload;
TestPlatformJsonContext.cs (1)
103
[JsonSerializable(typeof(JsonDataSerializer.
MessageEnvelope
))]