1 write to Id
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Client\TestSessionInfo.cs (1)
21Id = Guid.NewGuid();
12 references to Id
Microsoft.TestPlatform.CommunicationUtilities (3)
Serialization\TestSessionInfoConverter.cs (3)
15/// JSON converter for <see cref="TestSessionInfo"/> that handles the private setter on <see cref="TestSessionInfo.Id"/> 36typeof(TestSessionInfo).GetProperty(nameof(TestSessionInfo.Id))!.SetValue(info, id); 45writer.WriteString("Id", value.Id);
Microsoft.TestPlatform.CrossPlatEngine (4)
TestEngine.cs (2)
85requestData.MetricsCollection.Add(TelemetryDataConstants.TestSessionId, discoveryCriteria.TestSessionInfo?.Id.ToString() ?? string.Empty); 209requestData.MetricsCollection.Add(TelemetryDataConstants.TestSessionId, testRunCriteria.TestSessionInfo?.Id.ToString() ?? string.Empty);
TestSession\ProxyTestSessionManager.cs (2)
152_testSessionInfo.Id); 221testSessionId = _testSessionInfo.Id.ToString();
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleRequestSender.cs (2)
683testSessionInfo?.Id, 773testSessionInfo?.Id,
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
Client\TestSessionInfo.cs (3)
37return Id.GetHashCode(); 61return other != null && Id.Equals(other.Id);