45 references to GetAttributeLocation
Microsoft.Build (45)
Construction\ProjectElement.cs (2)
279public virtual ElementLocation ConditionLocation => GetAttributeLocation(XMakeAttributes.condition); 285public ElementLocation LabelLocation => GetAttributeLocation(XMakeAttributes.label);
Construction\ProjectImportElement.cs (2)
67public ElementLocation ProjectLocation => GetAttributeLocation(XMakeAttributes.project); 118public ElementLocation SdkLocation => GetAttributeLocation(XMakeAttributes.sdk);
Construction\ProjectItemElement.cs (9)
291public ElementLocation IncludeLocation => GetAttributeLocation(XMakeAttributes.include); 296public ElementLocation ExcludeLocation => GetAttributeLocation(XMakeAttributes.exclude); 301public ElementLocation RemoveLocation => GetAttributeLocation(XMakeAttributes.remove); 306public ElementLocation UpdateLocation => GetAttributeLocation(XMakeAttributes.update); 311public ElementLocation MatchOnMetadataLocation => GetAttributeLocation(XMakeAttributes.matchOnMetadata); 316public ElementLocation MatchOnMetadataOptionsLocation => GetAttributeLocation(XMakeAttributes.matchOnMetadataOptions); 321public ElementLocation KeepMetadataLocation => GetAttributeLocation(XMakeAttributes.keepMetadata); 326public ElementLocation RemoveMetadataLocation => GetAttributeLocation(XMakeAttributes.removeMetadata); 331public ElementLocation KeepDuplicatesLocation => GetAttributeLocation(XMakeAttributes.keepDuplicates);
Construction\ProjectOnErrorElement.cs (1)
68public ElementLocation ExecuteTargetsLocation => GetAttributeLocation(XMakeAttributes.executeTargets);
Construction\ProjectOutputElement.cs (3)
121public ElementLocation TaskParameterLocation => GetAttributeLocation(XMakeAttributes.taskParameter); 126public ElementLocation PropertyNameLocation => GetAttributeLocation(XMakeAttributes.propertyName); 131public ElementLocation ItemTypeLocation => GetAttributeLocation(XMakeAttributes.itemName);
Construction\ProjectRootElement.cs (5)
647public ElementLocation ToolsVersionLocation => GetAttributeLocation(XMakeAttributes.toolsVersion); 652public ElementLocation DefaultTargetsLocation => GetAttributeLocation(XMakeAttributes.defaultTargets); 657public ElementLocation InitialTargetsLocation => GetAttributeLocation(XMakeAttributes.initialTargets); 662public ElementLocation SdkLocation => GetAttributeLocation(XMakeAttributes.sdk); 667public ElementLocation TreatAsLocalPropertyLocation => GetAttributeLocation(XMakeAttributes.treatAsLocalProperty);
Construction\ProjectTargetElement.cs (8)
293public ElementLocation NameLocation => GetAttributeLocation(XMakeAttributes.name); 298public ElementLocation InputsLocation => GetAttributeLocation(XMakeAttributes.inputs); 303public ElementLocation OutputsLocation => GetAttributeLocation(XMakeAttributes.outputs); 312ElementLocation location = GetAttributeLocation(XMakeAttributes.keepDuplicateOutputs); 327public ElementLocation DependsOnTargetsLocation => GetAttributeLocation(XMakeAttributes.dependsOnTargets); 332public ElementLocation BeforeTargetsLocation => GetAttributeLocation(XMakeAttributes.beforeTargets); 337public ElementLocation ReturnsLocation => GetAttributeLocation(XMakeAttributes.returns); 342public ElementLocation AfterTargetsLocation => GetAttributeLocation(XMakeAttributes.afterTargets);
Construction\ProjectTaskElement.cs (3)
194public ElementLocation ContinueOnErrorLocation => GetAttributeLocation(XMakeAttributes.continueOnError); 200public ElementLocation MSBuildRuntimeLocation => GetAttributeLocation(XMakeAttributes.msbuildRuntime); 206public ElementLocation MSBuildArchitectureLocation => GetAttributeLocation(XMakeAttributes.msbuildArchitecture);
Construction\ProjectUsingTaskBodyElement.cs (1)
121public ElementLocation EvaluateLocation => GetAttributeLocation(XMakeAttributes.evaluate) ?? Location;
Construction\ProjectUsingTaskElement.cs (7)
172public ElementLocation TaskNameLocation => GetAttributeLocation(XMakeAttributes.taskName); 177public ElementLocation AssemblyFileLocation => GetAttributeLocation(XMakeAttributes.assemblyFile); 182public ElementLocation AssemblyNameLocation => GetAttributeLocation(XMakeAttributes.assemblyName); 187public ElementLocation RuntimeLocation => GetAttributeLocation(XMakeAttributes.runtime); 192public ElementLocation ArchitectureLocation => GetAttributeLocation(XMakeAttributes.architecture); 197public ElementLocation TaskFactoryLocation => GetAttributeLocation(XMakeAttributes.taskFactory); 202public ElementLocation OverrideLocation => GetAttributeLocation(XMakeAttributes.overrideUsingTask);
Construction\ProjectUsingTaskParameterElement.cs (3)
152public ElementLocation ParameterTypeLocation => GetAttributeLocation(XMakeAttributes.parameterType) ?? Location; 159public ElementLocation OutputLocation => GetAttributeLocation(XMakeAttributes.output) ?? Location; 166public ElementLocation RequiredLocation => GetAttributeLocation(XMakeAttributes.required) ?? Location;
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
129public static ElementLocation GetAttributeLocation(ProjectElement xml, string attributeName) => xml.GetAttributeLocation(attributeName);