1 type derived from Handshake
Microsoft.Build (1)
CommunicationsUtilities.cs (1)
180internal sealed class ServerNodeHandshake : Handshake
5 instantiations of Handshake
Microsoft.Build (5)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
41return new Handshake(handshakeOptions);
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (2)
73return new Handshake(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: enableNodeReuse, lowPriority: enableLowPriority)); 101Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: ComponentHost.BuildParameters.EnableNodeReuse, lowPriority: ComponentHost.BuildParameters.LowPriority));
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
596new Handshake(hostContext), 620new Handshake(hostContext),
24 references to Handshake
Microsoft.Build (24)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
34protected override Handshake GetHandshake()
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (2)
70internal static Handshake GetHandshake(bool enableNodeReuse, bool enableLowPriority) 101Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, 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) 495internal static void ConnectToPipeStream(NamedPipeClientStream nodeStream, string pipeName, Handshake handshake, int timeout)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (10)
392ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 393if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2)) 408if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET)) 416s_msbuildName = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET) 434ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 441bool isX64 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.X64); 442bool isArm64 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.Arm64); 443bool isCLR2 = Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2); 479ErrorUtilities.VerifyThrowInternalErrorUnreachable(Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost)); 584if (Handshake.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET))
BackEnd\Components\Communications\ServerNodeEndpointOutOfProc.cs (3)
13private readonly Handshake _handshake; 22Handshake handshake) 32protected override Handshake GetHandshake()
Evaluation\IntrinsicFunctions.cs (1)
515if (Handshake.IsHandshakeOptionEnabled(desiredContext, HandshakeOptions.NET))
Instance\TaskFactories\TaskHostTask.cs (1)
587if (Handshake.IsHandshakeOptionEnabled(requiredContext, HandshakeOptions.NET))
NodeEndpointOutOfProcBase.cs (2)
281protected abstract Handshake GetHandshake(); 410Handshake handshake = GetHandshake();