3 overrides of IsGlobalProperty
Microsoft.Build (3)
Definition\ProjectProperty.cs (2)
426
public override bool
IsGlobalProperty
621
public override bool
IsGlobalProperty
ObjectModelRemoting\LinkedObjectFactory.cs (1)
349
public override bool
IsGlobalProperty
=> Link.IsGlobalProperty;
11 references to IsGlobalProperty
Microsoft.Build (4)
Definition\Project.cs (2)
2933
ErrorUtilities.VerifyThrowInvalidOperation(property?.
IsGlobalProperty
!= true, "OM_GlobalProperty", name);
3157
ErrorUtilities.VerifyThrowInvalidOperation(!property.
IsGlobalProperty
, "OM_GlobalProperty", property.Name);
Definition\ProjectProperty.cs (1)
334
if (property?.
IsGlobalProperty
== true && !project.GlobalPropertiesToTreatAsLocal.Contains(propertyName))
ObjectModelRemoting\DefinitionObjectsLinks\ProjectPropertyLink.cs (1)
49
/// Access to remote <see cref="ProjectProperty.
IsGlobalProperty
"/>.
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\Project_Tests.cs (1)
883
project.GetProperty("p").
IsGlobalProperty
.ShouldBeTrue();
Definition\ProjectProperty_Tests.cs (3)
181
Assert.False(project.GetProperty(varName).
IsGlobalProperty
);
197
Assert.True(project.GetProperty("g").
IsGlobalProperty
);
213
Assert.False(project.GetProperty("MSBuildProjectFile").
IsGlobalProperty
);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
113
Assert.Equal(real.
IsGlobalProperty
, view.
IsGlobalProperty
);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
27
public bool IsGlobalProperty => this.Source.
IsGlobalProperty
;