21 references to ThrowInvalidOperation
Microsoft.Build.Utilities.Core (21)
ErrorUtilities.cs (5)
262ThrowInvalidOperation(resourceName, null); 277ThrowInvalidOperation(resourceName, arg0); 292ThrowInvalidOperation(resourceName, arg0, arg1); 307ThrowInvalidOperation(resourceName, arg0, arg1, arg2); 323ThrowInvalidOperation(resourceName, arg0, arg1, arg2, arg3);
FrameworkLocationHelper.cs (1)
990ErrorUtilities.ThrowInvalidOperation("FrameworkLocationHelper.CouldNotGenerateReferenceAssemblyDirectory", targetFrameworkRootPath, frameworkName.ToString(), e.Message);
Modifiers.cs (1)
602ErrorUtilities.ThrowInvalidOperation("Shared.InvalidFilespecForTransform", modifier, itemSpec, e.Message);
ReadOnlyEmptyCollection.cs (3)
87ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 95ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 118ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection");
ReadOnlyEmptyDictionary.cs (6)
176ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 185ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 201ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 219ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 227ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection"); 250ErrorUtilities.ThrowInvalidOperation("OM_NotSupportedReadOnlyCollection");
TaskLoggingHelper.cs (2)
321ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message); 619ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message);
ToolLocationHelper.cs (3)
3166ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.InvalidRedistFile", redistFilePath, ex.Message); 3170ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.InvalidRedistFile", redistFilePath, ex.Message); 3218ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.CouldNotCreateChain", path, pathToReturn, e.Message);