1 type derived from Handshake
Microsoft.Build (1)
CommunicationsUtilities.cs (1)
274
internal sealed class ServerNodeHandshake :
Handshake
4 instantiations of Handshake
Microsoft.Build (4)
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 (1)
666
new
Handshake
(hostContext),
29 references to Handshake
Microsoft.Build (29)
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)
503
internal static bool TryConnectToPipeStream(NamedPipeClientStream nodeStream, string pipeName,
Handshake
handshake, int timeout, out HandshakeResult result)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (10)
368
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
369
if (
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2))
392
s_msbuildName =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.NET)
410
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
417
bool isX64 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.X64);
418
bool isArm64 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.Arm64);
419
bool isCLR2 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2);
455
ErrorUtilities.VerifyThrowInternalErrorUnreachable(
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.TaskHost));
678
bool isCLR2 =
Handshake
.IsHandshakeOptionEnabled(hostContext, HandshakeOptions.CLR2);
680
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
INodePacket.cs (2)
329
if (
Handshake
.IsHandshakeOptionEnabled(handshakeOptions,
Handshake
.NetTaskHostFlags))
NodeEndpointOutOfProcBase.cs (6)
281
protected abstract
Handshake
GetHandshake();
410
Handshake
handshake = GetHandshake();
566
isAllowedMismatch = _versionHandshakeGroup.Contains(component.Key) && component.Value ==
Handshake
.NetTaskHostHandshakeVersion;
595
bool receivedIsX86 = !
Handshake
.IsHandshakeOptionEnabled(receivedNodeType, HandshakeOptions.X64) &&
596
!
Handshake
.IsHandshakeOptionEnabled(receivedNodeType, HandshakeOptions.Arm64);
598
bool expectedIsX64 =
Handshake
.IsHandshakeOptionEnabled(expectedNodeType, HandshakeOptions.X64);