21 references to BuildManagerState
Microsoft.Build (21)
BackEnd\BuildManager\BuildManager.cs (21)
147private BuildManagerState _buildManagerState; 293_buildManagerState = BuildManagerState.Idle; 502RequireState(BuildManagerState.Idle, "BuildInProgress"); 619_buildManagerState = BuildManagerState.Building; 796if (_buildManagerState == BuildManagerState.Idle) 830ErrorIfState(BuildManagerState.WaitingForBuildToComplete, "WaitingForEndOfBuild"); 831ErrorIfState(BuildManagerState.Building, "BuildInProgress"); 893ErrorIfState(BuildManagerState.WaitingForBuildToComplete, "WaitingForEndOfBuild"); 894ErrorIfState(BuildManagerState.Idle, "NoBuildInProgress"); 895VerifyStateInternal(BuildManagerState.Building); 944ErrorIfState(BuildManagerState.WaitingForBuildToComplete, "WaitingForEndOfBuild"); 945ErrorIfState(BuildManagerState.Idle, "NoBuildInProgress"); 946VerifyStateInternal(BuildManagerState.Building); 948_buildManagerState = BuildManagerState.WaitingForBuildToComplete; 1090_buildManagerState = BuildManagerState.Idle; 1269VerifyStateInternal(BuildManagerState.Building); 1413VerifyStateInternal(BuildManagerState.Building); 2108private void ErrorIfState(BuildManagerState disallowedState, string exceptionResouorce) 2119private void RequireState(BuildManagerState requiredState, string exceptionResouorce) 2127private void VerifyStateInternal(BuildManagerState requiredState) 3130RequireState(BuildManagerState.Idle, "ShouldNotDisposeWhenBuildManagerActive");