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