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