23 references to EndpointMode
Microsoft.Build (10)
BackEnd\Components\Communications\NodeEndpointInProc.cs (9)
42private EndpointMode _mode; 102private NodeEndpointInProc(EndpointMode commMode, IBuildComponentHost host) 110if (commMode == EndpointMode.Asynchronous) 169if (_mode == EndpointMode.Asynchronous) 187if (_mode == EndpointMode.Asynchronous) 215if (_mode == EndpointMode.Synchronous) 240internal static EndpointPair CreateInProcEndpoints(EndpointMode mode, IBuildComponentHost host) 309if (_mode == EndpointMode.Asynchronous) 335ErrorUtilities.VerifyThrow(_mode == EndpointMode.Asynchronous, "EndPoint mode is synchronous, should be asynchronous");
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
366NodeEndpointInProc.EndpointPair endpoints = NodeEndpointInProc.CreateInProcEndpoints(NodeEndpointInProc.EndpointMode.Synchronous, _componentHost);
Microsoft.Build.Engine.UnitTests (13)
BackEnd\NodeEndpointInProc_Tests.cs (13)
176NodeEndpointInProc.EndpointMode.Synchronous, _host); 180NodeEndpointInProc.EndpointMode.Asynchronous, _host); 189NodeEndpointInProc.EndpointMode.Synchronous, null); 199NodeEndpointInProc.EndpointMode.Asynchronous, null); 213NodeEndpointInProc.EndpointMode.Synchronous, _host); 233NodeEndpointInProc.EndpointMode.Asynchronous, _host); 251NodeEndpointInProc.EndpointMode.Synchronous, _host); 275DisconnectionTestHelper(NodeEndpointInProc.EndpointMode.Synchronous); 281DisconnectionTestHelper(NodeEndpointInProc.EndpointMode.Asynchronous); 291NodeEndpointInProc.EndpointMode.Synchronous, _host); 320NodeEndpointInProc.EndpointMode.Asynchronous, _host); 404private void DisconnectionTestHelper(NodeEndpointInProc.EndpointMode mode) 422private NodeEndpointInProc.EndpointPair SetupConnection(NodeEndpointInProc.EndpointMode mode)