3 overrides of IsGlobalProperty
Microsoft.Build (3)
Definition\ProjectProperty.cs (2)
426public override bool IsGlobalProperty 621public override bool IsGlobalProperty
ObjectModelRemoting\LinkedObjectFactory.cs (1)
349public override bool IsGlobalProperty => Link.IsGlobalProperty;
11 references to IsGlobalProperty
Microsoft.Build (4)
Definition\Project.cs (2)
2933ErrorUtilities.VerifyThrowInvalidOperation(property?.IsGlobalProperty != true, "OM_GlobalProperty", name); 3157ErrorUtilities.VerifyThrowInvalidOperation(!property.IsGlobalProperty, "OM_GlobalProperty", property.Name);
Definition\ProjectProperty.cs (1)
334if (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)
883project.GetProperty("p").IsGlobalProperty.ShouldBeTrue();
Definition\ProjectProperty_Tests.cs (3)
181Assert.False(project.GetProperty(varName).IsGlobalProperty); 197Assert.True(project.GetProperty("g").IsGlobalProperty); 213Assert.False(project.GetProperty("MSBuildProjectFile").IsGlobalProperty);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
113Assert.Equal(real.IsGlobalProperty, view.IsGlobalProperty);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
27public bool IsGlobalProperty => this.Source.IsGlobalProperty;