3 instantiations of TestSessionInfo
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\52\TestPlatformJsonContext.TestSessionInfo.g.cs (1)
31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo(),
Serialization\TestSessionInfoConverter.cs (1)
35var info = new TestSessionInfo();
Microsoft.TestPlatform.CrossPlatEngine (1)
TestSession\ProxyTestSessionManager.cs (1)
111_testSessionInfo = new TestSessionInfo();
170 references to TestSessionInfo
Microsoft.TestPlatform.CommunicationUtilities (48)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
230if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo))
_generated\31\TestPlatformJsonContext.DiscoveryCriteria.g.cs (3)
195var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 210AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryCriteria).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 213properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info7);
_generated\32\TestPlatformJsonContext.DiscoveryRequestPayload.g.cs (3)
113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 128AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info3);
_generated\40\TestPlatformJsonContext.StopTestSessionPayload.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.Payloads.StopTestSessionPayload).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info0);
_generated\41\TestPlatformJsonContext.StartTestSessionCompleteEventArgs.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.StartTestSessionCompleteEventArgs).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info0);
_generated\42\TestPlatformJsonContext.StopTestSessionCompleteEventArgs.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.StopTestSessionCompleteEventArgs).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info0);
_generated\49\TestPlatformJsonContext.TestRunCriteria.g.cs (3)
153var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 168AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunCriteria).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 171properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info5);
_generated\50\TestPlatformJsonContext.TestRunRequestPayload.g.cs (3)
173var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 188AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunRequestPayload).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 191properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, info6);
_generated\52\TestPlatformJsonContext.TestSessionInfo.g.cs (15)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>? _TestSessionInfo; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> TestSessionInfo 22get => _TestSessionInfo ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> Create_TestSessionInfo(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo).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.ObjectModel.Client.TestSessionInfo>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo)obj).Id, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::System.Guid), global::System.Array.Empty<global::System.Type>(), null), 78private void TestSessionInfoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo? value) 88writer.WriteString(PropName_Id, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo)value).Id);
Serialization\DiscoveryCriteriaConverter.cs (2)
39var testSessionInfo = DeserializeProperty<TestSessionInfo>(root, "TestSessionInfo", options);
Serialization\TestSessionInfoConverter.cs (8)
15/// JSON converter for <see cref="TestSessionInfo"/> that handles the private setter on <see cref="TestSessionInfo.Id"/> 18internal class TestSessionInfoConverter : JsonConverter<TestSessionInfo> 21public override TestSessionInfo? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 35var info = new TestSessionInfo(); 36typeof(TestSessionInfo).GetProperty(nameof(TestSessionInfo.Id))!.SetValue(info, id); 42public override void Write(Utf8JsonWriter writer, TestSessionInfo value, JsonSerializerOptions options)
TestPlatformJsonContext.cs (1)
99[JsonSerializable(typeof(TestSessionInfo))]
Microsoft.TestPlatform.CrossPlatEngine (12)
Client\ProxyDiscoveryManager.cs (3)
30private readonly TestSessionInfo? _testSessionInfo; 50TestSessionInfo testSessionInfo, 57TestSessionInfo testSessionInfo,
Client\ProxyExecutionManager.cs (2)
35private readonly TestSessionInfo? _testSessionInfo; 77TestSessionInfo testSessionInfo,
TestSession\ProxyTestSessionManager.cs (1)
47private TestSessionInfo? _testSessionInfo;
TestSession\TestSessionPool.cs (6)
24private readonly Dictionary<TestSessionInfo, ProxyTestSessionManager> _sessionPool; 31_sessionPool = new Dictionary<TestSessionInfo, ProxyTestSessionManager>(); 70TestSessionInfo testSessionInfo, 95public virtual bool KillSession(TestSessionInfo testSessionInfo, IRequestData requestData) 129TestSessionInfo testSessionInfo, 179public virtual bool ReturnProxy(TestSessionInfo testSessionInfo, int proxyId)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (96)
Interfaces\ITestSession.cs (1)
24TestSessionInfo? TestSessionInfo { get; }
Interfaces\ITranslationLayerRequestSender.cs (7)
60TestSessionInfo? testSessionInfo, 77TestSessionInfo? testSessionInfo, 95TestSessionInfo? testSessionInfo, 114TestSessionInfo? testSessionInfo, 134TestSessionInfo? testSessionInfo, 149TestSessionInfo? StartTestSession( 164TestSessionInfo? testSessionInfo,
Interfaces\ITranslationLayerRequestSenderAsync.cs (12)
36TestSessionInfo? testSessionInfo, 45/// TestSessionInfo, 53TestSessionInfo? testSessionInfo, 63/// TestSessionInfo, 71TestSessionInfo? testSessionInfo, 81/// TestSessionInfo, 90TestSessionInfo? testSessionInfo, 101/// TestSessionInfo, 110TestSessionInfo? testSessionInfo, 124Task<TestSessionInfo?> StartTestSessionAsync( 134/// TestSessionInfo, 139TestSessionInfo? testSessionInfo,
Interfaces\IVsTestConsoleWrapper.cs (11)
85TestSessionInfo? testSessionInfo, 99TestSessionInfo? testSessionInfo, 150TestSessionInfo? testSessionInfo, 197TestSessionInfo? testSessionInfo, 214TestSessionInfo? testSessionInfo, 257TestSessionInfo? testSessionInfo, 274TestSessionInfo? testSessionInfo, 322TestSessionInfo? testSessionInfo, 341TestSessionInfo? testSessionInfo, 390TestSessionInfo? testSessionInfo, 409TestSessionInfo? testSessionInfo,
Interfaces\IVsTestConsoleWrapperAsync.cs (22)
75/// TestSessionInfo, 80TestSessionInfo? testSessionInfo, 86/// TestSessionInfo, 92TestSessionInfo? testSessionInfo, 138/// TestSessionInfo, 146TestSessionInfo? testSessionInfo, 189/// TestSessionInfo, 197TestSessionInfo? testSessionInfo, 206/// TestSessionInfo, 215TestSessionInfo? testSessionInfo, 253/// TestSessionInfo, 261TestSessionInfo? testSessionInfo, 270/// TestSessionInfo, 279TestSessionInfo? testSessionInfo, 321/// TestSessionInfo, 330TestSessionInfo? testSessionInfo, 340/// TestSessionInfo, 350TestSessionInfo? testSessionInfo, 393/// TestSessionInfo, 402TestSessionInfo? testSessionInfo, 412/// TestSessionInfo, 422TestSessionInfo? testSessionInfo,
TestSession.cs (2)
32public TestSessionInfo? TestSessionInfo { get; private set; } 41TestSessionInfo? testSessionInfo,
VsTestConsoleRequestSender.cs (17)
171TestSessionInfo? testSessionInfo, 189TestSessionInfo? testSessionInfo, 207TestSessionInfo? testSessionInfo, 232TestSessionInfo? testSessionInfo, 257TestSessionInfo? testSessionInfo, 282TestSessionInfo? testSessionInfo, 307TestSessionInfo? testSessionInfo, 334TestSessionInfo? testSessionInfo, 361TestSessionInfo? testSessionInfo, 388TestSessionInfo? testSessionInfo, 411public TestSessionInfo? StartTestSession( 512public async Task<TestSessionInfo?> StartTestSessionAsync( 525return await Task.FromResult((TestSessionInfo?)null); 611TestSessionInfo? testSessionInfo, 701TestSessionInfo? testSessionInfo, 945TestSessionInfo? testSessionInfo, 1037TestSessionInfo? testSessionInfo,
VsTestConsoleWrapper.cs (24)
234var testSessionInfo = _requestSender.StartTestSession( 252TestSessionInfo? testSessionInfo, 264TestSessionInfo? testSessionInfo, 319TestSessionInfo? testSessionInfo, 372TestSessionInfo? testSessionInfo, 389TestSessionInfo? testSessionInfo, 443TestSessionInfo? testSessionInfo, 460TestSessionInfo? testSessionInfo, 518TestSessionInfo? testSessionInfo, 537TestSessionInfo? testSessionInfo, 597TestSessionInfo? testSessionInfo, 616TestSessionInfo? testSessionInfo, 747var testSessionInfo = await _requestSender.StartTestSessionAsync( 765TestSessionInfo? testSessionInfo, 777TestSessionInfo? testSessionInfo, 832TestSessionInfo? testSessionInfo, 879TestSessionInfo? testSessionInfo, 896TestSessionInfo? testSessionInfo, 950TestSessionInfo? testSessionInfo, 967TestSessionInfo? testSessionInfo, 1025TestSessionInfo? testSessionInfo, 1044TestSessionInfo? testSessionInfo, 1104TestSessionInfo? testSessionInfo, 1123TestSessionInfo? testSessionInfo,
Microsoft.VisualStudio.TestPlatform.ObjectModel (14)
Client\DiscoveryCriteria.cs (2)
100TestSessionInfo? testSessionInfo) 188public TestSessionInfo? TestSessionInfo { get; set; }
Client\Events\StartTestSessionCompleteEventArgs.cs (1)
20public TestSessionInfo? TestSessionInfo { get; set; }
Client\Events\StopTestSessionCompleteEventArgs.cs (2)
27public StopTestSessionCompleteEventArgs(TestSessionInfo? testSessionInfo) 36public TestSessionInfo? TestSessionInfo { get; set; }
Client\Payloads\DiscoveryRequestPayload.cs (1)
41public TestSessionInfo? TestSessionInfo { get; set; }
Client\Payloads\StopTestSessionPayload.cs (1)
19public TestSessionInfo? TestSessionInfo { get; set; }
Client\Payloads\TestRunRequestPayload.cs (1)
62public TestSessionInfo? TestSessionInfo { get; set; }
Client\TestRunCriteria.cs (3)
222TestSessionInfo? testSessionInfo, 474TestSessionInfo? testSessionInfo, 565public TestSessionInfo? TestSessionInfo { get; set; }
Client\TestSessionInfo.cs (3)
14public class TestSessionInfo : IEquatable<TestSessionInfo> 49return Equals(obj as TestSessionInfo); 59public bool Equals(TestSessionInfo? other)