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;
32 references to Name
dotnet (7)
CommandFactory\CommandResolution\MSBuildProject.cs (7)
27.FirstOrDefault(p => p.Name.Equals("ProjectDepsFilePath")) 38.FirstOrDefault(p => p.Name.Equals("ProjectRuntimeConfigFilePath")) 49.FirstOrDefault(p => p.Name.Equals("TargetDir")) 62.FirstOrDefault(p => p.Name.Equals("DotnetCliToolTargetFramework")) 92.FirstOrDefault(p => p.Name.Equals("ToolDepsJsonGeneratorProject")) 181.Where(p => p.Name.Equals("ProjectAssetsFile")) 190.FirstOrDefault(p => p.Name.Equals("BaseIntermediateOutputPath"))
Microsoft.Build (10)
Definition\Project.cs (3)
3176ErrorUtilities.VerifyThrowInvalidOperation(!property.IsReservedProperty, "OM_ReservedName", property.Name); 3177ErrorUtilities.VerifyThrowInvalidOperation(!property.IsGlobalProperty, "OM_GlobalProperty", property.Name); 3190bool 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)
3142property.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)
50Assert.Equal("p", property.Name); 73Assert.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)
1959allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.Name] = property; 1973if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.Name, out propertyFromAllEvaluated)) 1975Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.Name)); 1979Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.Name)); 2123allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates[property.Name] = property; 2137if (!allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates.TryGetValue(property.Name, out propertyFromAllEvaluated)) 2139Assert.Fail(String.Format("project.Properties contained property {0}, but AllEvaluatedProperties did not.", property.Name)); 2143Assert.Fail(String.Format("The properties in project.Properties and AllEvaluatedProperties for property {0} were different.", property.Name)); 2258allProjectPropertiesNoDuplicateNames.Add(property.Name);
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
92properties = proj.AllEvaluatedProperties.ToLookup(p => p.Name, StringComparer.OrdinalIgnoreCase);