18 writes to Version
Microsoft.VisualStudio.TestPlatform.Client (1)
DesignMode\DesignModeClient.cs (1)
179_protocolConfig.Version = Math.Min(version, _protocolConfig.Version);
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Constants.cs (1)
186public static readonly ProtocolConfig DefaultProtocolConfig = new() { Version = 7 };
vstest.console (8)
InProcessVsTestConsoleWrapper.cs (8)
277new ProtocolConfig { Version = _highestSupportedVersion }); 344new ProtocolConfig { Version = _highestSupportedVersion }); 438new ProtocolConfig { Version = _highestSupportedVersion }); 517new ProtocolConfig { Version = _highestSupportedVersion }); 607new ProtocolConfig { Version = _highestSupportedVersion }); 716new ProtocolConfig { Version = _highestSupportedVersion }); 827new ProtocolConfig { Version = _highestSupportedVersion }); 969new ProtocolConfig { Version = _highestSupportedVersion }),
vstest.console.arm64 (8)
src\vstest\src\vstest.console\InProcessVsTestConsoleWrapper.cs (8)
277new ProtocolConfig { Version = _highestSupportedVersion }); 344new ProtocolConfig { Version = _highestSupportedVersion }); 438new ProtocolConfig { Version = _highestSupportedVersion }); 517new ProtocolConfig { Version = _highestSupportedVersion }); 607new ProtocolConfig { Version = _highestSupportedVersion }); 716new ProtocolConfig { Version = _highestSupportedVersion }); 827new ProtocolConfig { Version = _highestSupportedVersion }); 969new ProtocolConfig { Version = _highestSupportedVersion }),
9 references to Version
Microsoft.TestPlatform.CommunicationUtilities (1)
TestRequestSender.cs (1)
84_highestSupportedVersion = protocolConfig.Version;
Microsoft.TestPlatform.CrossPlatEngine (2)
Client\Parallel\ParallelDiscoveryEventsHandler.cs (1)
202var rawMessage = _dataSerializer.SerializePayload(messageType, payload, _requestData.ProtocolConfig!.Version);
Client\Parallel\ParallelRunEventsHandler.cs (1)
203var rawMessage = _dataSerializer.SerializePayload(messageType, payload, _requestData.ProtocolConfig!.Version);
Microsoft.VisualStudio.TestPlatform.Client (6)
DesignMode\DesignModeClient.cs (5)
179_protocolConfig.Version = Math.Min(version, _protocolConfig.Version); 180_communicationManager.SendMessage(MessageType.VersionCheck, _protocolConfig.Version); 357if (_protocolConfig.Version < ObjectModel.Constants.MinimumProtocolVersionWithDebugSupport) 375if (_protocolConfig.Version < 7) 377_communicationManager.SendMessage(MessageType.EditorAttachDebugger, attachDebuggerInfo.ProcessId, _protocolConfig.Version);
Discovery\DiscoveryRequest.cs (1)
127if (Constants.DefaultProtocolConfig.Version < Constants.MinimumProtocolVersionWithCancelDiscoveryEventHandlerSupport)