18 references to Get
BuildBoss (1)
SharedUtil.cs (1)
21internal static XNamespace MSBuildNamespace { get; } = XNamespace.Get(MSBuildNamespaceUriRaw);
Microsoft.AspNetCore.DataProtection (1)
XmlConstants.cs (1)
16private static readonly XNamespace RootNamespace = XNamespace.Get("http://schemas.asp.net/2015/03/dataProtection");
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\GenerateBindingRedirects.cs (1)
88var ns = XNamespace.Get("urn:schemas-microsoft-com:asm.v1");
AssemblyDependency\ResolveAssemblyReference.cs (1)
1165var ns = XNamespace.Get("urn:schemas-microsoft-com:asm.v1");
System.Private.Xml.Linq (14)
System\Xml\Linq\XElement.cs (4)
471return namespaceName != null ? XNamespace.Get(namespaceName) : XNamespace.None; 485if (namespaceName != null) return XNamespace.Get(namespaceName); 2049name = XNamespace.Get(r.NamespaceURI).GetName(r.LocalName); 2071XAttribute a = new XAttribute(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
System\Xml\Linq\XLinq.cs (4)
190_ns = XNamespace.Get(namespaceName); 320_resolver.AddFirst(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.Value)); 338_resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.Value)); 578_resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.Value));
System\Xml\Linq\XName.cs (1)
95return XNamespace.Get(namespaceName).GetName(localName);
System\Xml\Linq\XNamespace.cs (1)
132return namespaceName != null ? Get(namespaceName) : null;
System\Xml\Linq\XNodeBuilder.cs (2)
169_attrName = XNamespace.Get(prefix.Length == 0 ? string.Empty : namespaceName!).GetName(localName); 183AddNode(new XElement(XNamespace.Get(namespaceName!).GetName(localName)));
System\Xml\Schema\XNodeValidator.cs (2)
35XNamespace xsi = XNamespace.Get("http://www.w3.org/2001/XMLSchema-instance"); 288a = new XAttribute(XNamespace.Get(sa.QualifiedName.Namespace).GetName(sa.QualifiedName.Name), GetDefaultValue(sa)!);