22 references to Active
Microsoft.Build (19)
BackEnd\Components\Communications\NodeEndpointInProc.cs (4)
213
ErrorUtilities.VerifyThrow(_status == LinkStatus.
Active
, "Cannot send when link status is not active. Current status {0}", _status);
283
ChangeLinkStatus(LinkStatus.
Active
);
284
_peerEndpoint.ChangeLinkStatus(LinkStatus.
Active
);
304
ErrorUtilities.VerifyThrow(_status == LinkStatus.
Active
, "Endpoint is not connected. Current status {0}", _status);
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
418
if (status == LinkStatus.
Active
)
BackEnd\Node\InProcNode.cs (5)
243
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
254
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
265
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
276
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
351
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
BackEnd\Node\OutOfProcNode.cs (6)
376
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
394
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
405
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
416
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
512
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
584
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
BackEnd\Node\OutOfProcServerNode.cs (1)
287
if (_nodeEndpoint.LinkStatus == LinkStatus.
Active
)
NodeEndpointOutOfProcBase.cs (2)
185
if (_status == LinkStatus.
Active
)
471
ChangeLinkStatus(LinkStatus.
Active
);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\NodeEndpointInProc_Tests.cs (3)
268
Assert.Equal(LinkStatus.
Active
, _linkStatusTable[endpoints.NodeEndpoint].status);
269
Assert.Equal(LinkStatus.
Active
, _linkStatusTable[endpoints.ManagerEndpoint].status);
372
Assert.Equal(LinkStatus.
Active
, endpoint.LinkStatus); // "Expected LinkStatus to be Active"