42 references to NamespaceName
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AsyncEnumerableTestBase.cs (1)
88var @namespace = xml.Root.Name.NamespaceName;
Microsoft.CodeAnalysis.CSharp (2)
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
254return string.IsNullOrEmpty(element.Name.NamespaceName) && DocumentationCommentXmlNames.ElementEquals(element.Name.LocalName, name); 259return string.IsNullOrEmpty(attribute.Name.NamespaceName) && DocumentationCommentXmlNames.AttributeEquals(attribute.Name.LocalName, name);
Microsoft.CodeAnalysis.VisualBasic (2)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (2)
432Return String.IsNullOrEmpty(element.Name.NamespaceName) AndAlso 437Return String.IsNullOrEmpty(attribute.Name.NamespaceName) AndAlso
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Extensions\ISymbolExtensions.cs (1)
635=> string.IsNullOrEmpty(element.Name.NamespaceName) && DocumentationCommentXmlNames.ElementEquals(element.Name.LocalName, name);
Microsoft.DotNet.XliffTasks (5)
Model\XamlRuleDocument.cs (5)
30var descendentDisplayName = element.Elements(XName.Get($"{element.Name.LocalName}.DisplayName", element.Name.NamespaceName)).FirstOrDefault(); 31var descendentDescription = element.Elements(XName.Get($"{element.Name.LocalName}.Description", element.Name.NamespaceName)).FirstOrDefault(); 60if (element.Elements(XName.Get($"{element.Name.LocalName}.{localizableProperty}", element.Name.NamespaceName)).FirstOrDefault() is { } descendentValue) 82else if (AttributedName(element) == "SearchTerms" && (XmlName(attribute) == "Value" || element.Elements(XName.Get($"{element.Name.LocalName}.Value", element.Name.NamespaceName)).FirstOrDefault() is { })) 93else if (element.Elements(XName.Get($"{element.Name.LocalName}.Value", element.Name.NamespaceName)).FirstOrDefault() is { } descendentValue)
Microsoft.VisualStudio.LanguageServices (4)
Snippets\SnippetExpansionClient.cs (4)
309var ns = snippetNode.Name.NamespaceName; 1080var referencesNode = snippetNode.Element(XName.Get("References", snippetNode.Name.NamespaceName)); 1090var assemblyXmlName = XName.Get("Assembly", snippetNode.Name.NamespaceName); 1093foreach (var reference in referencesNode.Elements(XName.Get("Reference", snippetNode.Name.NamespaceName)))
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Snippets\CSharpSnippetExpansionLanguageHelper.cs (3)
78var importsNode = snippetNode.Element(XName.Get("Imports", snippetNode.Name.NamespaceName)); 111var namespaceXmlName = XName.Get("Namespace", snippetNode.Name.NamespaceName); 115foreach (var import in importsNode.Elements(XName.Get("Import", snippetNode.Name.NamespaceName)))
System.Private.Xml.Linq (24)
System\Xml\Linq\XAttribute.cs (3)
88string namespaceName = name.NamespaceName; 218w.WriteAttributeString(GetPrefixOfNamespace(name.Namespace), name.LocalName, name.NamespaceName, value); 703string namespaceName = name.NamespaceName;
System\Xml\Linq\XElement.cs (1)
515if (a.Name.NamespaceName.Length != 0 &&
System\Xml\Linq\XLinq.cs (3)
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\XNodeReader.cs (9)
254return e.Name.NamespaceName; 259string namespaceName = a.Name.NamespaceName; 481if (a.Name.LocalName == localName && a.Name.NamespaceName == namespaceName) 536if (a.Name.LocalName == localName && a.Name.NamespaceName == namespaceName) 624a.Name.NamespaceName == namespaceName) 671a.Name.NamespaceName == namespaceName) 893e.Name.NamespaceName == namespaceName) 912if (e.Name.LocalName == localName && e.Name.NamespaceName == namespaceName) 936e.Name.NamespaceName == namespaceName)
System\Xml\Schema\XNodeValidator.cs (2)
251validator!.ValidateAttribute(a.Name.LocalName, a.Name.NamespaceName, a.Value, si); 304validator!.ValidateElement(e.Name.LocalName, e.Name.NamespaceName, si, xsiType, xsiNil, null, null);
System\Xml\XPath\XNodeNavigator.cs (6)
142if (_parent != null && a.Name.NamespaceName.Length == 0) 179return e.Name.NamespaceName; 188return a.Name.NamespaceName; 331attribute.Name.NamespaceName == namespaceName && 350element.Name.NamespaceName == namespaceName) 526element.Name.NamespaceName == namespaceName)