3 instantiations of TestProcessAttachDebuggerPayload
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\61\TestPlatformJsonContext.TestProcessAttachDebuggerPayload.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload((int)args[0]),
Serialization\TestProcessAttachDebuggerPayloadConverter.cs (1)
36return new TestProcessAttachDebuggerPayload(processId) { TargetFramework = targetFramework };
Microsoft.TestPlatform.CrossPlatEngine (1)
EventHandlers\TestRequestHandler.cs (1)
311new TestProcessAttachDebuggerPayload(attachDebuggerInfo.ProcessId)
31 references to TestProcessAttachDebuggerPayload
Microsoft.TestPlatform.CommunicationUtilities (31)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
266if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload))
_generated\61\TestPlatformJsonContext.TestProcessAttachDebuggerPayload.g.cs (21)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload>? _TestProcessAttachDebuggerPayload; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload> TestProcessAttachDebuggerPayload 22get => _TestProcessAttachDebuggerPayload ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload> Create_TestProcessAttachDebuggerPayload(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(int)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)obj).ProcessID, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)obj).ProcessID = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload).GetProperty("ProcessID", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload), 80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)obj).TargetFramework, 81Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)obj).TargetFramework = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload).GetProperty("TargetFramework", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98private void TestProcessAttachDebuggerPayloadSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload? value) 108writer.WriteNumber(PropName_ProcessID, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)value).ProcessID); 109writer.WriteString(PropName_TargetFramework, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessAttachDebuggerPayload)value).TargetFramework);
Messages\MessageType.cs (1)
187[ProtocolVersion(Version3, typeof(TestProcessAttachDebuggerPayload))]
Serialization\TestProcessAttachDebuggerPayloadConverter.cs (4)
15/// JSON converter for <see cref="TestProcessAttachDebuggerPayload"/> that handles the constructor 18internal class TestProcessAttachDebuggerPayloadConverter : JsonConverter<TestProcessAttachDebuggerPayload> 21public override TestProcessAttachDebuggerPayload? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 40public override void Write(Utf8JsonWriter writer, TestProcessAttachDebuggerPayload value, JsonSerializerOptions options)
TestPlatformJsonContext.cs (1)
79[JsonSerializable(typeof(TestProcessAttachDebuggerPayload))]
TestRequestSender.cs (3)
581var testProcessAttachDebuggerPayload = _dataSerializer.DeserializePayload<TestProcessAttachDebuggerPayload>(message); 831internal static AttachDebuggerInfo ConvertToAttachDebuggerInfo(TestProcessAttachDebuggerPayload attachDebuggerPayload, Message message, int protocolVersion)