Implemented interface member:
property
Name
Microsoft.Build.Evaluation.IProperty.Name
3 overrides of Name
Microsoft.Build (3)
Definition\ProjectProperty.cs (2)
378public override string Name 565public override string Name
ObjectModelRemoting\LinkedObjectFactory.cs (1)
339public override string Name => Link.Name;
25 references to Name
Microsoft.Build (10)
Definition\Project.cs (3)
3156ErrorUtilities.VerifyThrowInvalidOperation(!property.IsReservedProperty, "OM_ReservedName", property.Name); 3157ErrorUtilities.VerifyThrowInvalidOperation(!property.IsGlobalProperty, "OM_GlobalProperty", property.Name); 3170bool result = _data.Properties.Remove(property.Name);
Definition\ProjectProperty.cs (5)
108EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, string.Empty, 0, 0); 127EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, location.File, location.Line, location.Column); 233{ return Name; } 268Name == other.Name;
Instance\ProjectInstance.cs (1)
3049property.Name,
ObjectModelRemoting\DefinitionObjectsLinks\ProjectPropertyLink.cs (1)
28/// Access to remote <see cref="ProjectProperty.Name"/>.
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\ProjectProperty_Tests.cs (2)
52Assert.Equal("p", property.Name); 75Assert.Equal("p", property.Name);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
109Assert.Equal(real.Name, view.Name);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
23public string Name => this.Source.Name;
Microsoft.Build.Engine.UnitTests (9)
Evaluation\Evaluator_Tests.cs (9)
1924allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.Name] = property; 1938if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.Name, out propertyFromAllEvaluated)) 1940Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.Name)); 1944Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.Name)); 2088allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.Name] = property; 2102if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.Name, out propertyFromAllEvaluated)) 2104Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.Name)); 2108Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.Name)); 2223allProjectPropertiesNoDuplicateNames.Add(property.Name);
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
92properties = proj.AllEvaluatedProperties.ToLookup(p => p.Name, StringComparer.OrdinalIgnoreCase);