1 type derived from Handshake
Microsoft.Build (1)
CommunicationsUtilities.cs (1)
274
internal sealed class ServerNodeHandshake :
Handshake
5 instantiations of Handshake
Microsoft.Build (5)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
43
return new
Handshake
(handshakeOptions);
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (2)
73
return new
Handshake
(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: enableNodeReuse, lowPriority: enableLowPriority));
101
Handshake 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)
632
var handshake = new
Handshake
(hostContext, predefinedToolsDirectory: msbuildAssemblyPath);
664
new
Handshake
(hostContext),
30 references to Handshake
Microsoft.Build (30)
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
35
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, taskHostParameters: TaskHostParameters.Empty, 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)
503
internal static bool TryConnectToPipeStream(NamedPipeClientStream nodeStream, string pipeName,
Handshake
handshake, int timeout, out HandshakeResult result)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (13)
369
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
370
if (
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2))
385
if (
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET))
393
s_msbuildName =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET)
411
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
418
bool isX64 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.X64);
419
bool isArm64 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.Arm64);
420
bool isCLR2 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2);
456
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
626
if (
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET))
632
var
handshake = new Handshake(hostContext, predefinedToolsDirectory: msbuildAssemblyPath);
676
bool isCLR2 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2);
678
return
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NodeReuse)
BackEnd\Components\Communications\ServerNodeEndpointOutOfProc.cs (3)
13
private readonly
Handshake
_handshake;
22
Handshake
handshake)
32
protected 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)
511
if (
Handshake
.IsHandshakeOptionEnabled(desiredContext, HandshakeOptions.NET))
INodePacket.cs (2)
329
if (
Handshake
.IsHandshakeOptionEnabled(handshakeOptions,
Handshake
.NetTaskHostFlags))
Instance\TaskFactories\TaskHostTask.cs (1)
650
if (
Handshake
.IsHandshakeOptionEnabled(requiredContext, HandshakeOptions.NET))
NodeEndpointOutOfProcBase.cs (2)
281
protected abstract
Handshake
GetHandshake();
410
Handshake
handshake = GetHandshake();