13 references to IsReservedProperty
Microsoft.Build (13)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (1)
76!ReservedPropertyNames.IsReservedProperty(property.Name),
Construction\ProjectPropertyElement.cs (1)
97ErrorUtilities.VerifyThrowInvalidOperation(!XMakeElements.ReservedItemNames.Contains(name) && !ReservedPropertyNames.IsReservedProperty(name), "OM_CannotCreateReservedProperty", name);
Definition\ProjectProperty.cs (2)
550ErrorUtilities.VerifyThrowArgument(mayBeReserved || !ReservedPropertyNames.IsReservedProperty(name), "OM_ReservedName", name); 636{ return ReservedPropertyNames.IsReservedProperty(Name); }
Definition\ToolsetReader.cs (1)
549else if (ReservedPropertyNames.IsReservedProperty(property.Name))
Evaluation\Expander.cs (1)
1601if (!ReservedPropertyNames.IsReservedProperty(propertyName))
Evaluation\ProjectParser.cs (2)
226ProjectErrorUtilities.VerifyThrowInvalidProject(!XMakeElements.ReservedItemNames.Contains(childElement.Name) && !ReservedPropertyNames.IsReservedProperty(childElement.Name), childElement.Location, "CannotModifyReservedProperty", childElement.Name); 699ProjectErrorUtilities.VerifyThrowInvalidProject(String.IsNullOrWhiteSpace(propertyNameAttribute?.Value) || !ReservedPropertyNames.IsReservedProperty(propertyNameAttribute.Value), element.Location, "CannotModifyReservedProperty", propertyNameAttribute?.Value);
Instance\ProjectInstance.cs (2)
2304if (!ReservedPropertyNames.IsReservedProperty(property.Name)) 2959|| ReservedPropertyNames.IsReservedProperty(environmentVariableName)))
Instance\ProjectPropertyInstance.cs (2)
329ErrorUtilities.VerifyThrowArgument(mayBeReserved || !ReservedPropertyNames.IsReservedProperty(name), "OM_CannotCreateReservedProperty", name); 335ProjectErrorUtilities.VerifyThrowInvalidProject(mayBeReserved || !ReservedPropertyNames.IsReservedProperty(name), location, "CannotModifyReservedProperty", name);
Utilities\Utilities.cs (1)
572!ReservedPropertyNames.IsReservedProperty(environmentVariableName))