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