50 references to CreateAttribute
aspire (1)
Projects\ProjectUpdater.cs (1)
443var newSdkAttribute = projectDocument.CreateAttribute("Sdk");
ILLink.Tasks (9)
CreateRuntimeRootDescriptorFile.cs (9)
358XmlAttribute featureAssemblyFullName = doc.CreateAttribute("fullname"); 362XmlAttribute featureName = doc.CreateAttribute("feature"); 366XmlAttribute featureValue = doc.CreateAttribute("featurevalue"); 370XmlAttribute featureDefault = doc.CreateAttribute("featuredefault"); 394XmlAttribute typeFullName = doc.CreateAttribute("fullname"); 405XmlAttribute preserve = doc.CreateAttribute("preserve"); 411XmlAttribute preserve = doc.CreateAttribute("preserve"); 421XmlAttribute fieldName = doc.CreateAttribute("name"); 433XmlAttribute methodName = doc.CreateAttribute("name");
Microsoft.Build.Tasks.Core (14)
BootstrapperUtil\BootstrapperBuilder.cs (6)
1143XmlAttribute attribute = targetNode.OwnerDocument.CreateAttribute(attributeName); 1171XmlAttribute sourcePathAttribute = packageFilesNode.OwnerDocument.CreateAttribute("SourcePath"); 1175XmlAttribute targetPathAttribute = packageFilesNode.OwnerDocument.CreateAttribute("TargetPath"); 1181XmlAttribute oldNameAttribute = packageFilesNode.OwnerDocument.CreateAttribute("OldName"); 1513XmlAttribute sizeAttribute = packageFileNode.OwnerDocument.CreateAttribute("Size"); 1946XmlAttribute attrib = node.OwnerDocument.CreateAttribute(attributeName);
ManifestUtil\TrustInfo.cs (7)
43sameSiteAttribute = permissionSetElement.OwnerDocument.CreateAttribute(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute)); 75unrestrictedAttribute = document.CreateAttribute(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute)); 95unrestrictedAttribute = document.CreateAttribute(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute)); 110idAttribute = document.CreateAttribute(XmlUtil.TrimPrefix(XPaths.idAttribute)); 136idrefAttribute = document.CreateAttribute(XmlUtil.TrimPrefix(XPaths.permissionSetReferenceAttribute)); 299XmlAttribute levelAttribute = document.CreateAttribute("level"); 305XmlAttribute uiAccessAttribute = document.CreateAttribute("uiAccess");
ManifestUtil\XmlUtil.cs (1)
42XmlAttribute newAttribute = document.CreateAttribute(attribute.Name);
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
XML\XmlPersistence.cs (1)
705: (XmlNode)xml.Attributes.Append(xml.OwnerDocument.CreateAttribute(attributeName));
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
DataCollector\DataCollectorSettings.cs (1)
229XmlAttribute attribute = doc.CreateAttribute(attributeName);
Logger\LoggerSettings.cs (1)
117XmlAttribute attribute = doc.CreateAttribute(attributeName);
PresentationBuildTasks (5)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (5)
721XmlAttribute attrInclude = xmlProjectDoc.CreateAttribute(INCLUDE_ATTR_NAME); 871XmlAttribute projectAttribute = xmlProjectDoc.CreateAttribute("Project"); 873XmlAttribute sdkAttributeProps = xmlProjectDoc.CreateAttribute("Sdk"); 880XmlAttribute sdkVersionAttributeProps = xmlProjectDoc.CreateAttribute("Version"); 887XmlAttribute sdkVersionAttributeProps = xmlProjectDoc.CreateAttribute("MinimumVersion");
ReachFramework (1)
PrintConfig\PrintSchemaShim.cs (1)
129XmlAttribute nameAttr = ticket.XmlDoc.CreateAttribute("name");
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\SchemaExporter.cs (7)
222XmlAttribute emitDefaultValueAttribute = XmlDoc.CreateAttribute(Globals.EmitDefaultValueAttribute); 237XmlAttribute nameAttribute = xmlDoc.CreateAttribute(Globals.ActualTypeNameAttribute); 241XmlAttribute nsAttribute = xmlDoc.CreateAttribute(Globals.ActualTypeNamespaceAttribute); 296XmlAttribute nameAttribute = XmlDoc.CreateAttribute(Globals.GenericNameAttribute); 301XmlAttribute nsAttribute = XmlDoc.CreateAttribute(Globals.GenericNamespaceAttribute); 317XmlAttribute nestedLevelAttribute = XmlDoc.CreateAttribute(Globals.GenericParameterNestedLevelAttribute); 327XmlAttribute typeNestedLevelsAttribute = XmlDoc.CreateAttribute(Globals.GenericParameterNestedLevelAttribute);
System.Private.Xml (1)
System\Xml\Dom\XmlElement.cs (1)
284attr = OwnerDocument.CreateAttribute(name);
System.Security.Cryptography.Xml (7)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
59XmlAttribute nsattrib = (XmlAttribute)OwnerDocument.CreateAttribute(name); 131XmlAttribute nsattrib = (XmlAttribute)OwnerDocument.CreateAttribute(name);
System\Security\Cryptography\Xml\Utils.cs (5)
470XmlAttribute nsattrib = (XmlAttribute)elem.OwnerDocument.CreateAttribute(name); 484XmlAttribute nsattrib = (XmlAttribute)elem.OwnerDocument.CreateAttribute(key); 515XmlAttribute nsattrib = elem.OwnerDocument.CreateAttribute(name); 528XmlAttribute nsattrib = elem.OwnerDocument.CreateAttribute("xmlns"); 548XmlAttribute nsattrib = elem.OwnerDocument.CreateAttribute(name);
vstest.console (1)
Processors\EnableBlameArgumentProcessor.cs (1)
347var attribute = xmlDocument.CreateAttribute(entry.Key);
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Processors\EnableBlameArgumentProcessor.cs (1)
347var attribute = xmlDocument.CreateAttribute(entry.Key);