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