1 type derived from Handshake
Microsoft.Build (1)
CommunicationsUtilities.cs (1)
274internal sealed class ServerNodeHandshake : Handshake
5 instantiations of Handshake
Microsoft.Build (5)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
43return new Handshake(handshakeOptions);
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (2)
73return new Handshake(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: enableNodeReuse, lowPriority: enableLowPriority)); 101Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: ComponentHost.BuildParameters.EnableNodeReuse, lowPriority: ComponentHost.BuildParameters.LowPriority));
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
632var handshake = new Handshake(hostContext, predefinedToolsDirectory: msbuildAssemblyPath); 664new Handshake(hostContext),
30 references to Handshake
Microsoft.Build (30)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
35protected override Handshake GetHandshake()
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (2)
70internal static Handshake GetHandshake(bool enableNodeReuse, bool enableLowPriority) 101Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: ComponentHost.BuildParameters.EnableNodeReuse, lowPriority: ComponentHost.BuildParameters.LowPriority));
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (4)
191Handshake hostHandshake, 417private string GetProcessesToIgnoreKey(Handshake hostHandshake, int nodeProcessId) 450private Stream TryConnectToProcess(int nodeProcessId, int timeout, Handshake handshake) 503internal static bool TryConnectToPipeStream(NamedPipeClientStream nodeStream, string pipeName, Handshake handshake, int timeout, out HandshakeResult result)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (13)
369ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 370if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2)) 385if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET)) 393s_msbuildName = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET) 411ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 418bool isX64 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.X64); 419bool isArm64 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.Arm64); 420bool isCLR2 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2); 456ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 626if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET)) 632var handshake = new Handshake(hostContext, predefinedToolsDirectory: msbuildAssemblyPath); 676bool isCLR2 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2); 678return Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NodeReuse)
BackEnd\Components\Communications\ServerNodeEndpointOutOfProc.cs (3)
13private readonly Handshake _handshake; 22Handshake handshake) 32protected override Handshake GetHandshake()
CommunicationsUtilities.cs (1)
171/// Initializes a new instance of the <see cref="Handshake"/> class with the specified node type
Evaluation\IntrinsicFunctions.cs (1)
511if (Handshake.IsHandshakeOptionEnabled(desiredContext, HandshakeOptions.NET))
INodePacket.cs (2)
329if (Handshake.IsHandshakeOptionEnabled(handshakeOptions, Handshake.NetTaskHostFlags))
Instance\TaskFactories\TaskHostTask.cs (1)
650if (Handshake.IsHandshakeOptionEnabled(requiredContext, HandshakeOptions.NET))
NodeEndpointOutOfProcBase.cs (2)
281protected abstract Handshake GetHandshake(); 410Handshake handshake = GetHandshake();