12 references to VerifyThrowInvalidOperation
Microsoft.Build.Engine (12)
Engine\Project.cs (1)
800error.VerifyThrowInvalidOperation(this.ParentEngine.ToolsetStateMap.ContainsKey(value), "UnrecognizedToolsVersion", value);
Items\BuildItem.cs (5)
425ErrorUtilities.VerifyThrowInvalidOperation(XMakeElements.IllegalItemPropertyNames[itemName] == null, "CannotModifyReservedItem", itemName); 572ErrorUtilities.VerifyThrowInvalidOperation(XMakeElements.IllegalItemPropertyNames[value] == null, "CannotModifyReservedItem", value); 755ErrorUtilities.VerifyThrowInvalidOperation(IsBackedByXml, "CannotSetExcludeOnVirtualItem", XMakeAttributes.exclude); 758ErrorUtilities.VerifyThrowInvalidOperation(this.ParentPersistedItem == null, "CannotSetExcludeOnEvaluatedItem", XMakeAttributes.exclude); 1524ErrorUtilities.VerifyThrowInvalidOperation(XMakeElements.IllegalItemPropertyNames[metadataName] == null,
Properties\BuildProperty.cs (4)
296ErrorUtilities.VerifyThrowInvalidOperation(XMakeElements.IllegalItemPropertyNames[this.Name] == null, 403ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.ImportedProperty, 406ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.EnvironmentProperty, 409ErrorUtilities.VerifyThrowInvalidOperation(this.type != PropertyType.ReservedProperty,
Properties\BuildPropertyGroup.cs (2)
1450error.VerifyThrowInvalidOperation(IsVirtual, errorResourceName, XMakeElements.propertyGroup); 1483error.VerifyThrowInvalidOperation(IsPersisted, errorResourceName, arg);