18 overrides of Name
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
42public override string Name { get { return _reader.Name; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3349public override string Name
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
27public override string Name { get { return _reader.Name; } }
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
347public override string Name
System\Runtime\Serialization\XmlSerializableReader.cs (1)
72public override string Name { get { return InnerReader.Name; } }
System\Xml\XmlDictionaryReader.cs (1)
1463public override string Name
System.Private.Xml (10)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
91public override string Name
System\Xml\Core\XmlTextReader.cs (1)
117public override string Name
System\Xml\Core\XmlTextReaderImpl.cs (1)
866public override string Name
System\Xml\Core\XmlValidatingReader.cs (1)
55public override string Name
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
296public override string Name
System\Xml\Core\XmlWrappingReader.cs (1)
35public override string Name { get { return reader.Name; } }
System\Xml\Core\XsdCachingReader.cs (1)
117public override string Name
System\Xml\Core\XsdValidatingReader.cs (1)
237public override string Name
System\Xml\Dom\XmlNodeReader.cs (1)
1175public override string Name
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
62public override string Name
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
227public override string Name
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
42public override string Name { get { return _reader.Name; } }
191 references to Name
Microsoft.Build (5)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (5)
78if (reader.NodeType == XmlNodeType.Element && reader.Name == "SdkResolver") 93throw new XmlException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnrecognizedElement", reader.Name)); 114switch (reader.Name) 136throw new XmlException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnrecognizedElement", reader.Name)); 146throw new XmlException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("UnrecognizedElement", reader.Name));
Microsoft.Build.Tasks.Core (24)
AppConfig\AppConfig.cs (1)
84if (reader.NodeType == XmlNodeType.Element && StringEquals(reader.Name, "runtime"))
AppConfig\DependentAssembly.cs (6)
54if (reader.NodeType == XmlNodeType.EndElement && AppConfig.StringEquals(reader.Name, "dependentassembly")) 60if (reader.NodeType == XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "assemblyIdentity")) 69if (AppConfig.StringEquals(reader.Name, "name")) 74if (AppConfig.StringEquals(reader.Name, "publicKeyToken")) 79if (AppConfig.StringEquals(reader.Name, "culture")) 104if (reader.NodeType == XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "bindingRedirect"))
AppConfig\RuntimeSection.cs (2)
24if (reader.NodeType == XmlNodeType.EndElement && AppConfig.StringEquals(reader.Name, "runtime")) 30if (reader.NodeType == XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "dependentAssembly"))
GenerateResource.cs (3)
1777if (String.Equals(reader.Name, "data", StringComparison.OrdinalIgnoreCase)) 1886else if (String.Equals(reader.Name, "assembly", StringComparison.OrdinalIgnoreCase)) 1975if (!String.Equals(reader.Name, "value", StringComparison.OrdinalIgnoreCase))
ManifestUtil\ManifestReader.cs (1)
238string tn = String.Format(CultureInfo.InvariantCulture, "{0}.{1}", ns, r.Name);
RedistList.cs (11)
671if (string.Equals(reader.Name, "FileList", StringComparison.OrdinalIgnoreCase)) 676if (string.Equals(reader.Name, "Redist", StringComparison.OrdinalIgnoreCase)) 688if (string.Equals(reader.Name, "Remap", StringComparison.OrdinalIgnoreCase)) 736if (string.Equals(reader.Name, "From", StringComparison.OrdinalIgnoreCase) && !reader.IsEmptyElement && fromEntry == null) 745if (string.Equals(reader.Name, "To", StringComparison.OrdinalIgnoreCase) && fromEntry != null && toEntry == null) 768if (reader.NodeType == XmlNodeType.EndElement && string.Equals(reader.Name, "From", StringComparison.OrdinalIgnoreCase)) 774if (reader.NodeType == XmlNodeType.EndElement && string.Equals(reader.Name, "Remap", StringComparison.OrdinalIgnoreCase)) 790if (string.Equals(reader.Name, "File", StringComparison.OrdinalIgnoreCase)) 808if (string.Equals(reader.Name, "Remap", StringComparison.OrdinalIgnoreCase)) 818if (reader.NodeType == XmlNodeType.EndElement && string.Equals(reader.Name, "FileList", StringComparison.OrdinalIgnoreCase)) 835attributes.Add(reader.Name, reader.Value);
Microsoft.Build.Utilities.Core (3)
ToolLocationHelper.cs (3)
3139if (string.Equals(reader.Name, "FileList", StringComparison.OrdinalIgnoreCase)) 3144if (string.Equals(reader.Name, "IncludeFramework", StringComparison.OrdinalIgnoreCase)) 3150if (string.Equals(reader.Name, "Name", StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis (1)
DocumentationComments\XmlDocumentationCommentTextReader.XmlStream.cs (1)
78&& reader.Name == s_currentElementName;
Microsoft.Maui.Controls.Build.Tasks (2)
XamlTask.cs (2)
54 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value); 58 var xmlType = new XmlType(reader.NamespaceURI, reader.Name, XamlParser.GetTypeArguments(reader));
Microsoft.Maui.Controls.Xaml (19)
XamlLoader.cs (6)
74 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value); 78 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), view, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 116 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value); 121 var rootnode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, typeArguments), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition }; 157 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value); 162 RootNode rootNode = new RuntimeRootNode(new XmlType(reader.NamespaceURI, reader.Name, null), null, (IXmlNamespaceResolver)reader) { LineNumber = ((IXmlLineInfo)reader).LineNumber, LinePosition = ((IXmlLineInfo)reader).LinePosition };
XamlParser.cs (13)
56 var elementName = reader.Name; 67 Debug.Assert(reader.Name == elementName); //make sure we close the right element 71 if (reader.Name.IndexOf(".", StringComparison.Ordinal) != -1) 74 if (reader.Name.StartsWith(elementName + ".", StringComparison.Ordinal)) 75 name = new XmlName(reader.NamespaceURI, reader.Name.Substring(elementName.Length + 1)); 80 throw new XamlParseException($"'{reader.Name}' is a duplicate property name.", ((IXmlLineInfo)reader).Clone()); 84 Debug.WriteLine($"Unexpected empty element '<{reader.Name} />'", (IXmlLineInfo)reader); 130 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value); 140 var name = reader.Name; 151 Debug.Assert(reader.Name == name); 159 var isEmpty = reader.IsEmptyElement && reader.Name == name; 160 var elementName = reader.Name; 188 Debug.WriteLine("Unhandled node {0} {1} {2}", reader.NodeType, reader.Name, reader.Value);
Microsoft.Maui.Graphics (3)
Text\XmlAttributedTextReader.cs (3)
72 string elementName = _reader.Name; 87 string elementName = _reader.Name; 121 var attributeName = _reader.Name;
PresentationBuildTasks (12)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
816xmlReader.Name,
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
417string attrName = (xmlReader.NodeType == XmlNodeType.Attribute) ? xmlReader.Name : null;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (6)
1226ThrowException(nameof(SR.ParserEmptyComplexProp), XmlReader.Name); 2103ThrowException(nameof(SR.ParserEntityReference), XmlReader.Name); 2135WriteDefTag(XmlReader.Name); 2208string attribName = XmlReader.Name; 2339string attribName = XmlReader.Name; 2792string attribName = XmlReader.Name;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
269Error(SR.XCRInvalidACChild, Reader.Name); 745_currentName = Reader.Name; 1158Error(SR.Format(SR.XCRInvalidACChild, Reader.Name));
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
42public override string Name { get { return _reader.Name; } }
PresentationFramework (2)
System\Windows\Documents\FixedFindEngine.cs (1)
391if (xmlReader.Name == "Glyphs")
System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
136if (!rootElement.Equals(xpsSchemaValidator.XmlReader.Name))
ReachFramework (12)
Packaging\XpsFixedDocumentReaderWriter.cs (2)
1094reader.Name == XpsS0Markup.SignatureDefinition 1103reader.Name == XpsS0Markup.SignatureDefinitions
Packaging\XPSSignatureDefinition.cs (10)
415reader.Name != XpsS0Markup.SignatureDefinition 455string nodeName = reader.Name; 460ValidateSignatureDefinitionAttribute(reader.Name, reader.Value); 464ValidateSpotLocationAttribute(reader.Name, reader.Value); 543if (reader.Name == XpsS0Markup.SpotLocation) 547else if (reader.Name == XpsS0Markup.Intent) 551else if (reader.Name == XpsS0Markup.SignBy) 555else if (reader.Name == XpsS0Markup.SigningLocale) 561throw new XpsPackagingException(SR.Format(SR.ReachPackaging_NotValidSignatureDefinitionElement, reader.Name)); 603if( reader.Name == XpsS0Markup.SignatureDefinition )
System.Configuration.ConfigurationManager (11)
System\Configuration\AppSettingsSection.cs (1)
90string elementName = reader.Name;
System\Configuration\ConfigurationElement.cs (9)
1400ElementTagName = reader.Name; 1402Values.SetValue(reader.Name, null, ConfigurationValueFlags.Modified, rootInfo); 1406if (((_lockedElementsList != null) && (_lockedElementsList.Contains(reader.Name) || 1407(_lockedElementsList.Contains(LockAll) && (reader.Name != ElementTagName)))) || 1409!_lockedAllExceptElementsList.Contains(reader.Name)) || 1413throw new ConfigurationErrorsException(SR.Format(SR.Config_base_element_locked, reader.Name), reader); 1420string propertyName = reader.Name; 1505string propertyName = reader.Name; 1698ConfigurationLockCollectionType.LockedElementsExceptionList, reader.Name);
System\Configuration\ConfigurationElementCollection.cs (1)
1123string propertyName = reader.Name;
System.Data.Common (6)
System\Data\DataSet.cs (3)
1728topNode.SetAttribute(reader.Name, reader.GetAttribute(i)); 2159topNode.SetAttribute(reader.Name, reader.GetAttribute(i)); 2705topNode.SetAttribute(reader.Name, reader.GetAttribute(i));
System\Data\DataTable.cs (2)
5856topNode.SetAttribute(reader.Name, reader.GetAttribute(i)); 6125topNode.SetAttribute(reader.Name, reader.GetAttribute(i));
System\Data\xmlsaver.cs (1)
3353return _xmlreader.Name;
System.IO.Packaging (16)
System\IO\Packaging\PackagingUtilities.cs (1)
97if (!string.Equals(reader.Name, XmlNamespace, StringComparison.Ordinal) &&
System\IO\Packaging\PartBasedPackageProperties.cs (7)
389throw new XmlException(SR.Format(SR.DuplicateCorePropertyName, reader!.Name), 505throw new XmlException(SR.Format(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name), 562throw new XmlException(SR.Format(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name), 577throw new XmlException(SR.Format(SR.PropertyWrongNumbOfAttribsDefinedOn, reader.Name), 611throw new XmlException(SR.Format(SR.UnknownDCDateTimeXsiType, reader.Name), 620throw new XmlException(SR.Format(SR.UnknownDCDateTimeXsiType, reader.Name), 630throw new XmlException(SR.Format(SR.UnknownDCDateTimeXsiType, reader.Name),
System\IO\Packaging\XmlCompatibilityReader.cs (3)
252Error(SR.XCRInvalidACChild, Reader.Name); 690_currentName = Reader.Name; 1101Error(SR.Format(SR.XCRInvalidACChild, Reader.Name));
System\IO\Packaging\XmlWrappingReader.cs (1)
27public override string Name { get { return _reader.Name; } }
System\IO\Packaging\ZipPackage.cs (4)
983&& (reader.Name == TypesTagName)) 1009&& (reader.Name == DefaultTagName)) 1016&& (reader.Name == OverrideTagName)) 1020else if (reader.NodeType == XmlNodeType.EndElement && reader.Depth == 0 && reader.Name == TypesTagName)
System.Private.DataContractSerialization (7)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
1092internal string Name { get { return reader.Name; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
72public override string Name { get { return InnerReader.Name; } }
System\Xml\XmlDictionaryReader.cs (1)
1467return _reader.Name;
System\Xml\XmlDictionaryWriter.cs (4)
271WriteEntityRef(reader.Name); 413WriteEntityRef(reader.Name); 417WriteProcessingInstruction(reader.Name, reader.Value); 420WriteDocType(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value);
System.Private.Xml (53)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
96return _coreReader.Name;
System\Xml\Core\XmlCharCheckingReader.cs (3)
265ValidateQName(base.reader.Name); 276ValidateQName(base.reader.Name); 303ValidateQName(base.reader.Name);
System\Xml\Core\XmlCharCheckingReaderAsync.cs (3)
127ValidateQName(base.reader.Name); 138ValidateQName(base.reader.Name); 165ValidateQName(base.reader.Name);
System\Xml\Core\XmlReader.cs (14)
762if (Name == name) 827if (Name != name) 902return MoveToContent() == XmlNodeType.Element && Name == name; 923if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) 983if (NodeType == XmlNodeType.Element && Ref.Equal(name, Name)) 1051if (nt == XmlNodeType.Element && Ref.Equal(name, Name)) 1164xtw.WriteEntityRef(Name); 1168xtw.WriteProcessingInstruction(Name, Value); 1171xtw.WriteDocType(Name, GetAttribute("PUBLIC"), GetAttribute("SYSTEM"), Value); 1190string attrName = Name; 1195xtw.WriteEntityRef(Name); 1787result += $", Name=\"{_reader.Name}\""; 1791result += $", Name=\"{_reader.Name}\", Value=\"{XmlConvert.EscapeValueForDebuggerDisplay(_reader.Value)}\""; 1802result += $", Name=\"{_reader.Name}'";
System\Xml\Core\XmlReaderAsync.cs (3)
238xtw.WriteEntityRef(Name); 242xtw.WriteProcessingInstruction(Name, Value); 245xtw.WriteDocType(Name, GetAttribute("PUBLIC"), GetAttribute("SYSTEM"), Value);
System\Xml\Core\XmlSubtreeReader.cs (1)
127return _useCurNode ? _curNode.name : reader.Name;
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
300return _coreReader.Name;
System\Xml\Core\XmlWrappingReader.cs (1)
35public override string Name { get { return reader.Name; } }
System\Xml\Core\XmlWriter.cs (4)
342WriteEntityRef(reader.Name); 401WriteEntityRef(reader.Name); 405WriteProcessingInstruction(reader.Name, reader.Value); 408WriteDocType(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value);
System\Xml\Core\XmlWriterAsync.cs (7)
263await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 335await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 339await WriteProcessingInstructionAsync(reader.Name, reader.Value).ConfigureAwait(false); 342await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false); 398await WriteEntityRefAsync(reader.Name).ConfigureAwait(false); 402await WriteProcessingInstructionAsync(reader.Name, reader.Value).ConfigureAwait(false); 405await WriteDocTypeAsync(reader.Name, reader.GetAttribute("PUBLIC"), reader.GetAttribute("SYSTEM"), reader.Value).ConfigureAwait(false);
System\Xml\Core\XsdValidatingReader.cs (1)
253return _coreReader.Name;
System\Xml\Dom\XmlLoader.cs (6)
210node = _doc!.CreateProcessingInstruction(r.Name, r.Value); 359XmlEntityReference eref = direct ? new XmlEntityReference(_reader.Name, _doc!) : _doc!.CreateEntityReference(_reader.Name); 392switch (_reader.Name) 427switch (_reader.Name) 538node = new XmlProcessingInstruction(_reader!.Name, _reader.Value, _doc!);
System\Xml\Schema\Parser.cs (2)
301currentNode = _dummyDocument.CreateEntityReference(_reader.Name); 309currentNode = _dummyDocument.CreateProcessingInstruction(_reader.Name, _reader.Value);
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (3)
1880if (IsXmlnsAttribute(Reader.Name)) 1883xmlnsMember.XmlnsSource(Reader.Name.Length == 5 ? string.Empty : Reader.LocalName, Reader.Value); 1890else if (!IsXmlnsAttribute(Reader.Name))
System\Xml\Serialization\XmlSerializationReader.cs (3)
1877string elemName = Reader.Name; 1895if (IsXmlnsAttribute(Reader.Name) || (Reader.Name == "id" && (!_soap12 || Reader.NamespaceURI == Soap12.Encoding)))
System.Private.Xml.Linq (8)
System\Xml\Linq\XContainer.cs (4)
938_currentContainer.AddNodeSkipNotify(new XProcessingInstruction(r.Name, r.Value)); 994_currentContainer.AddNodeSkipNotify(new XProcessingInstruction(r.Name, await r.GetValueAsync().ConfigureAwait(false))); 1092newNode = new XProcessingInstruction(r.Name, r.Value); 1208newNode = new XProcessingInstruction(r.Name, await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XDocumentType.cs (1)
48_name = r.Name;
System\Xml\Linq\XNode.cs (2)
493var name = reader.Name; 503var target = reader.Name;
System\Xml\Linq\XProcessingInstruction.cs (1)
53target = r.Name;
System.Xaml (7)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (3)
269Error(SR.XCRInvalidACChild, Reader.Name); 745_currentName = Reader.Name; 1158Error(SR.Format(SR.XCRInvalidACChild, Reader.Name));
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
42public override string Name { get { return _reader.Name; } }
System\Xaml\Parser\XamlScanner.cs (3)
246XamlPropertyName name = XamlPropertyName.Parse(_xmlReader.Name, _xmlReader.NamespaceURI); 249throw LineInfo(new XamlParseException(SR.Format(SR.ParentlessPropertyElement, _xmlReader.Name))); 553string xmlName = _xmlReader.Name;