88 references to CreateElement
Microsoft.Build (2)
Construction\ProjectExtensionsElement.cs (1)
137
idElement = XmlDocument.
CreateElement
(name, XmlElement.NamespaceURI);
ElementLocation\XmlDocumentWithLocation.cs (1)
186
return
CreateElement
(localName, namespaceURI);
Microsoft.Build.Tasks.Core (18)
AddToWin32Manifest.cs (1)
247
: document.
CreateElement
(localName, namespaceURI);
BootstrapperUtil\BootstrapperBuilder.cs (4)
595
XmlElement rootElement = _document.
CreateElement
("Products", BOOTSTRAPPER_NAMESPACE);
955
XmlElement mergeElement = _document.
CreateElement
("Package", BOOTSTRAPPER_NAMESPACE);
1231
XmlNode mergeSubNode = _document.
CreateElement
(strNodeName, BOOTSTRAPPER_NAMESPACE);
1560
XmlNode productNode = _document.
CreateElement
("Product", BOOTSTRAPPER_NAMESPACE);
ManifestUtil\mansign2.cs (2)
419
publisherIdentity = manifestDom.
CreateElement
("publisherIdentity", AssemblyV2NamespaceUri);
952
XmlElement dsObject = licenseDom.
CreateElement
("Object", SignedXml.XmlDsigNamespaceUrl);
ManifestUtil\TrustInfo.cs (10)
131
defaultAssemblyRequestElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.defaultAssemblyRequestElement), XmlNamespaces.asmv2);
181
XmlElement trustInfoElement = _inputTrustInfoDocument.
CreateElement
(XmlUtil.TrimPrefix(XPaths.trustInfoElement), XmlNamespaces.asmv2);
219
XmlElement requestedPrivilegeElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.requestedPrivilegeElement), XmlNamespaces.asmv3);
297
XmlElement requestedExecutionLevelElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.requestedExecutionLevelElement), XmlNamespaces.asmv3);
324
securityElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.securityElement), XmlNamespaces.asmv2);
330
applicationRequestMinimumElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);
336
permissionSetElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.permissionSetElement), XmlNamespaces.asmv2);
720
trustInfoElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.trustInfoElement), XmlNamespaces.asmv2);
763
securityElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.securityElement), XmlNamespaces.asmv2);
769
applicationRequestMinimumElement = document.
CreateElement
(XmlUtil.TrimPrefix(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);
ManifestUtil\XmlUtil.cs (1)
40
XmlElement newElement = document.
CreateElement
(element.Name, namespaceURI);
PresentationBuildTasks (8)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (7)
724
XmlNode nodeItemGroup = xmlProjectDoc.
CreateElement
(ITEMGROUP_NAME, root.NamespaceURI);
734
XmlElement nodeItem = xmlProjectDoc.
CreateElement
(sItemName, root.NamespaceURI);
750
embedItem = xmlProjectDoc.
CreateElement
(EMBEDINTEROPTYPES, root.NamespaceURI);
758
embedItem = xmlProjectDoc.
CreateElement
(ALIASES, root.NamespaceURI);
779
XmlNode nodeItemGroup = xmlProjectDoc.
CreateElement
("PropertyGroup", root.NamespaceURI);
789
XmlElement nodeItem = xmlProjectDoc.
CreateElement
(property.PropertyName, root.NamespaceURI);
886
XmlNode nodeImport = xmlProjectDoc.
CreateElement
("Import", xmlProjectDoc.DocumentElement.NamespaceURI);
Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
118
hostInBrowser = manifestDocument.
CreateElement
(c_hostInBrowser, c_asmv3);
PresentationFramework (3)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (2)
489
root = xmlDoc.
CreateElement
(GetXmlName(token), AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
499
root = xmlDoc.
CreateElement
(GetXmlName(token), AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
System\Windows\Annotations\AnnotationHelper.cs (1)
1040
XmlElement colorsElement = doc.
CreateElement
(HighlightComponent.ColorsContentName, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\SchemaExporter.cs (5)
221
XmlElement defaultValueElement = XmlDoc.
CreateElement
(DefaultValueAnnotation.Name, DefaultValueAnnotation.Namespace);
235
XmlElement actualTypeElement = xmlDoc.
CreateElement
(ActualTypeAnnotationName.Name, ActualTypeAnnotationName.Namespace);
294
XmlElement typeElement = XmlDoc.
CreateElement
(elementName, elementNs);
416
XmlElement isDictionaryElement = XmlDoc.
CreateElement
(IsDictionaryAnnotationName.Name, IsDictionaryAnnotationName.Namespace);
836
XmlElement annotationElement = XmlDoc.
CreateElement
(annotationQualifiedName.Name, annotationQualifiedName.Namespace);
System.Private.Xml (2)
System\Xml\Dom\XmlDocument.cs (1)
1119
return
CreateElement
(name, namespaceURI);
System\Xml\Serialization\XmlSerializationReader.cs (1)
1889
unknownNode = Document.
CreateElement
(elemName, elemNs);
System.Security.Cryptography.Xml (50)
System\Security\Cryptography\Xml\CipherData.cs (2)
80
XmlElement cipherDataElement = (XmlElement)document.
CreateElement
("CipherData", EncryptedXml.XmlEncNamespaceUrl);
83
XmlElement cipherValueElement = document.
CreateElement
("CipherValue", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\CipherReference.cs (1)
58
XmlElement referenceElement = document.
CreateElement
(ReferenceType, EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\DataObject.cs (1)
118
XmlElement objectElement = document.
CreateElement
("Object", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\DSAKeyValue.cs (9)
96
XmlElement keyValueElement = xmlDocument.
CreateElement
(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl);
97
XmlElement dsaKeyValueElement = xmlDocument.
CreateElement
(DSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl);
99
XmlElement pElement = xmlDocument.
CreateElement
(PElementName, SignedXml.XmlDsigNamespaceUrl);
103
XmlElement qElement = xmlDocument.
CreateElement
(QElementName, SignedXml.XmlDsigNamespaceUrl);
107
XmlElement gElement = xmlDocument.
CreateElement
(GElementName, SignedXml.XmlDsigNamespaceUrl);
111
XmlElement yElement = xmlDocument.
CreateElement
(YElementName, SignedXml.XmlDsigNamespaceUrl);
118
XmlElement jElement = xmlDocument.
CreateElement
(JElementName, SignedXml.XmlDsigNamespaceUrl);
125
XmlElement seedElement = xmlDocument.
CreateElement
(SeedElementName, SignedXml.XmlDsigNamespaceUrl);
129
XmlElement counterElement = xmlDocument.
CreateElement
(PgenCounterElementName, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedData.cs (2)
83
XmlElement encryptedDataElement = (XmlElement)document.
CreateElement
("EncryptedData", EncryptedXml.XmlEncNamespaceUrl);
111
XmlElement encryptionPropertiesElement = document.
CreateElement
("EncryptionProperties", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedKey.cs (4)
158
XmlElement encryptedKeyElement = (XmlElement)document.
CreateElement
("EncryptedKey", EncryptedXml.XmlEncNamespaceUrl);
188
XmlElement encryptionPropertiesElement = document.
CreateElement
("EncryptionProperties", EncryptedXml.XmlEncNamespaceUrl);
200
XmlElement referenceListElement = document.
CreateElement
("ReferenceList", EncryptedXml.XmlEncNamespaceUrl);
211
XmlElement carriedKeyNameElement = (XmlElement)document.
CreateElement
("CarriedKeyName", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
94
XmlElement referenceElement = document.
CreateElement
(ReferenceType, EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\EncryptionMethod.cs (2)
69
XmlElement encryptionMethodElement = (XmlElement)document.
CreateElement
("EncryptionMethod", EncryptedXml.XmlEncNamespaceUrl);
75
XmlElement keySizeElement = document.
CreateElement
("KeySize", EncryptedXml.XmlEncNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfo.cs (1)
44
XmlElement keyInfoElement = xmlDocument.
CreateElement
("KeyInfo", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoName.cs (1)
46
XmlElement nameElement = xmlDocument.
CreateElement
("KeyName", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoRetrievalMethod.cs (1)
56
XmlElement retrievalMethodElement = xmlDocument.
CreateElement
("RetrievalMethod", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (8)
223
XmlElement x509DataElement = xmlDocument.
CreateElement
("X509Data", SignedXml.XmlDsigNamespaceUrl);
229
XmlElement issuerSerialElement = xmlDocument.
CreateElement
("X509IssuerSerial", SignedXml.XmlDsigNamespaceUrl);
230
XmlElement issuerNameElement = xmlDocument.
CreateElement
("X509IssuerName", SignedXml.XmlDsigNamespaceUrl);
233
XmlElement serialNumberElement = xmlDocument.
CreateElement
("X509SerialNumber", SignedXml.XmlDsigNamespaceUrl);
244
XmlElement subjectKeyIdElement = xmlDocument.
CreateElement
("X509SKI", SignedXml.XmlDsigNamespaceUrl);
254
XmlElement subjectNameElement = xmlDocument.
CreateElement
("X509SubjectName", SignedXml.XmlDsigNamespaceUrl);
264
XmlElement x509Element = xmlDocument.
CreateElement
("X509Certificate", SignedXml.XmlDsigNamespaceUrl);
272
XmlElement crlElement = xmlDocument.
CreateElement
("X509CRL", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Reference.cs (3)
170
XmlElement referenceElement = document.
CreateElement
("Reference", SignedXml.XmlDsigNamespaceUrl);
189
XmlElement digestMethodElement = document.
CreateElement
("DigestMethod", SignedXml.XmlDsigNamespaceUrl);
200
XmlElement digestValueElement = document.
CreateElement
("DigestValue", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\RSAKeyValue.cs (4)
78
XmlElement keyValueElement = xmlDocument.
CreateElement
(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl);
79
XmlElement rsaKeyValueElement = xmlDocument.
CreateElement
(RSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl);
81
XmlElement modulusElement = xmlDocument.
CreateElement
(ModulusElementName, SignedXml.XmlDsigNamespaceUrl);
85
XmlElement exponentElement = xmlDocument.
CreateElement
(ExponentElementName, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Signature.cs (2)
95
XmlElement signatureElement = (XmlElement)document.
CreateElement
("Signature", SignedXml.XmlDsigNamespaceUrl);
109
XmlElement signatureValueElement = document.
CreateElement
("SignatureValue", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\SignedInfo.cs (2)
167
XmlElement signedInfoElement = document.
CreateElement
("SignedInfo", SignedXml.XmlDsigNamespaceUrl);
179
XmlElement signatureMethodElement = document.
CreateElement
("SignatureMethod", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Transform.cs (1)
130
XmlElement transformElement = document.
CreateElement
(name, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\TransformChain.cs (1)
156
XmlElement transformsElement = document.
CreateElement
("Transforms", ns);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
125
XmlElement element = document.
CreateElement
("Transform", SignedXml.XmlDsigNamespaceUrl);
130
XmlElement exceptUriElement = document.
CreateElement
("Except", Consts.XmlDecryptionTransformNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (2)
99
XmlElement element = document.
CreateElement
("Transform", SignedXml.XmlDsigNamespaceUrl);
102
XmlElement prefixListElement = document.
CreateElement
("InclusiveNamespaces", SignedXml.XmlDsigExcC14NTransformUrl);