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