Base:
property
Name
System.Xml.XmlNode.Name
63 references to Name
Microsoft.Build (13)
Construction\ProjectRootElement.cs (1)
1785
return CreateMetadataElement(attribute.
Name
, attribute.Value, attribute.Location);
Construction\ProjectTaskElement.cs (3)
376
if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.
Name
))
448
if (!XMakeAttributes.IsSpecialTaskAttribute(attribute.
Name
))
454
_parameters[attribute.
Name
] = (attribute.Value, attribute.Location);
Construction\Solution\ProjectInSolution.cs (2)
557
a.
Name
.Equals("xmlns:dwd", StringComparison.OrdinalIgnoreCase) ||
558
a.
Name
.StartsWith("xmlns:dd", StringComparison.OrdinalIgnoreCase));
Evaluation\ProjectParser.cs (5)
319
CheckMetadataAsAttributeName(attribute.
Name
, out isKnownAttribute, out isValidMetadataNameInAttribute);
656
!XMakeAttributes.IsBadlyCasedSpecialTaskAttribute(attribute.
Name
),
659
attribute.
Name
,
736
CheckMetadataAsAttributeName(attribute.
Name
, out bool isKnownAttribute, out bool isValidMetadataNameInAttribute);
750
else if (!ValidAttributesOnlyConditionAndLabel.Contains(attribute.
Name
))
Xml\ProjectXmlUtilities.cs (2)
187
ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(validAttributes.Contains(attribute.
Name
), attribute);
196
ProjectErrorUtilities.ThrowInvalidProject(attribute.Location, "UnrecognizedAttribute", attribute.
Name
, attribute.OwnerElement.Name);
Microsoft.Build.Tasks.Core (20)
BootstrapperUtil\BootstrapperBuilder.cs (4)
1150
var targetAttribute = (XmlAttribute)(targetNode.Attributes.GetNamedItem(attribute.
Name
));
1276
AddAttribute(mergeSubNode, attribute.
Name
, attribute.Value);
1280
if (mergeSubNode.Attributes.GetNamedItem(attribute.
Name
) == null)
1282
AddAttribute(mergeSubNode, attribute.
Name
, attribute.Value);
ManifestUtil\mansign2.cs (1)
705
assemblyIdentityNode.SetAttribute(attribute.
Name
, attribute.Value);
ManifestUtil\SecurityUtil.cs (1)
423
se.AddAttribute(xa.
Name
, xa.Value);
ManifestUtil\XmlUtil.cs (1)
43
XmlAttribute newAttribute = document.CreateAttribute(attribute.
Name
);
XamlTaskFactory\RelationsParser.cs (13)
287
if (String.Equals(attribute.
Name
, prefixString, StringComparison.OrdinalIgnoreCase))
291
else if (String.Equals(attribute.
Name
, toolNameString, StringComparison.OrdinalIgnoreCase))
295
else if (String.Equals(attribute.
Name
, nameProperty, StringComparison.OrdinalIgnoreCase))
299
else if (String.Equals(attribute.
Name
, baseClassAttribute, StringComparison.OrdinalIgnoreCase))
303
else if (String.Equals(attribute.
Name
, namespaceAttribute, StringComparison.OrdinalIgnoreCase))
307
else if (String.Equals(attribute.
Name
, resourceNamespaceAttribute, StringComparison.OrdinalIgnoreCase))
333
if (attribute.
Name
.Equals(attributeName, StringComparison.OrdinalIgnoreCase))
400
if (String.Equals(attribute.
Name
, tasksAttribute, StringComparison.OrdinalIgnoreCase))
444
switch (attrib.
Name
.ToUpperInvariant())
488
switch (attrib.
Name
.ToUpperInvariant())
502
switch (attrib.
Name
.ToUpperInvariant())
516
switch (attrib.
Name
.ToUpperInvariant())
556
switch (attribute.
Name
.ToUpperInvariant())
Microsoft.Build.Utilities.Core (5)
SDKManifest.cs (5)
375
if (attribute.
Name
.StartsWith(Attributes.FrameworkIdentity, StringComparison.OrdinalIgnoreCase))
382
_frameworkIdentities.Add(attribute.
Name
, value);
386
if (attribute.
Name
.StartsWith(Attributes.APPX, StringComparison.OrdinalIgnoreCase))
393
_appxLocations.Add(attribute.
Name
, value);
397
switch (attribute.
Name
)
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
167
if (attr.
Name
== "xmlns")
Microsoft.Web.Xdt.Extensions (2)
InsertOrAppendAttribute.cs (2)
94
if (string.Equals(att.
Name
, AttributeName, StringComparison.OrdinalIgnoreCase))
111
if (string.Equals(att.
Name
, AttributeName, StringComparison.OrdinalIgnoreCase))
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
810
if (xmlAttribute.
Name
.Equals("Sdk", StringComparison.OrdinalIgnoreCase))
ReachFramework (2)
PrintConfig\PrtTicket_Editor.cs (2)
154
if (attr.
Name
.StartsWith("xmlns:", StringComparison.Ordinal) ||
155
(attr.
Name
== "xmlns"))
System.Configuration.ConfigurationManager (3)
System\Configuration\HandlerBase.cs (1)
103
SR.Format(SR.Config_base_unrecognized_attribute, node.Attributes[0].
Name
),
System\Configuration\RuntimeConfigurationRecord.cs (1)
127
if (ConfigurationElement.IsLockAttributeName(attribute.
Name
))
System\Configuration\SingleTagSectionHandler.cs (1)
43
result[attribute.
Name
] = attribute.Value;
System.Private.Xml (7)
System\Xml\Dom\XmlAttributeCollection.cs (3)
47
&& name == node.
Name
)
88
&& tmp.
Name
== node.
Name
System\Xml\Serialization\SchemaObjectWriter.cs (3)
25
return string.Compare(a1.
Name
, a2.
Name
, StringComparison.Ordinal);
207
WriteAttribute(a.
Name
, a.NamespaceURI, a.Value);
System\Xml\Serialization\XmlSerializationWriter.cs (1)
944
WriteAttribute(attr.
Name
, attr.NamespaceURI, attr.Value);
System.Security.Cryptography.Xml (9)
System\Security\Cryptography\Xml\CanonicalXmlAttribute.cs (2)
28
strBuilder.Append($" {
Name
}=\"");
35
byte[] rgbData = Encoding.UTF8.GetBytes(" " +
Name
+ "=\"");
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
554
propagatedNamespace.
Name
,
System\Security\Cryptography\Xml\Utils.cs (6)
88
bool attrIsAllowed = attr.
Name
== "xmlns" || attr.
Name
.StartsWith("xmlns:") || attr.
Name
== "xml:space" || attr.
Name
== "xml:lang" || attr.
Name
== "xml:base";
92
attrIsAllowed = attr.
Name
== expectedAttrNames[expectedInd];