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