20 references to ThrowInvalidOperation
Microsoft.Build.Utilities.Core (20)
ErrorUtilities.cs (5)
282ThrowInvalidOperation(resourceName, null); 297ThrowInvalidOperation(resourceName, arg0); 312ThrowInvalidOperation(resourceName, arg0, arg1); 327ThrowInvalidOperation(resourceName, arg0, arg1, arg2); 343ThrowInvalidOperation(resourceName, arg0, arg1, arg2, arg3);
FrameworkLocationHelper.cs (1)
1028ErrorUtilities.ThrowInvalidOperation("FrameworkLocationHelper.CouldNotGenerateReferenceAssemblyDirectory", targetFrameworkRootPath, frameworkName.ToString(), e.Message);
ReadOnlyEmptyCollection.cs (3)
87ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 95ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 118ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection");
ReadOnlyEmptyDictionary.cs (6)
166ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 175ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 191ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 209ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 217ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 240ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection");
TaskLoggingHelper.cs (2)
321ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message); 619ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message);
ToolLocationHelper.cs (3)
3172ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.InvalidRedistFile", redistFilePath, ex.Message); 3176ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.InvalidRedistFile", redistFilePath, ex.Message); 3224ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.CouldNotCreateChain", path, pathToReturn, e.Message);