9 instantiations of XmlNameSyntax
Microsoft.CodeAnalysis.VisualBasic (9)
Generated\Syntax.xml.Internal.Generated.vb (7)
29687Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New XmlNameSyntax(o) 29697ObjectBinder.RegisterTypeReader(GetType(XmlNameSyntax), Function(r) New XmlNameSyntax(r)) 29733Return new XmlNameSyntax(Me.Kind, newErrors, GetAnnotations, _prefix, _localName) 29737Return new XmlNameSyntax(Me.Kind, GetDiagnostics, annotations, _prefix, _localName) 41160Return New XmlNameSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, newPrefix, newLocalName) 52743Dim result = New XmlNameSyntax(SyntaxKind.XmlName, prefix, localName) 64821Dim result = New XmlNameSyntax(SyntaxKind.XmlName, prefix, localName, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
31914Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax(kind, errors, annotations, if(prefix IsNot Nothing, DirectCast(prefix.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlPrefixSyntax), Nothing), localName), Nothing, 0)
Parser\ParseXml.vb (1)
2314Return New XmlNameSyntax(node.Kind, node.GetDiagnostics, node.GetAnnotations, prefix, localName)
70 references to XmlNameSyntax
Microsoft.CodeAnalysis.VisualBasic (68)
Generated\Syntax.xml.Internal.Generated.vb (43)
28927Friend ReadOnly _name as XmlNameSyntax 28930Friend Sub New(ByVal kind As SyntaxKind, lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 28945Friend Sub New(ByVal kind As SyntaxKind, lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 28961Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanSlashToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 28984Dim _name = DirectCast(reader.ReadValue(), XmlNameSyntax) 29022Friend ReadOnly Property Name As InternalSyntax.XmlNameSyntax 29697ObjectBinder.RegisterTypeReader(GetType(XmlNameSyntax), Function(r) New XmlNameSyntax(r)) 29755Friend ReadOnly _name as XmlNameSyntax 29758Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 29771Friend Sub New(ByVal kind As SyntaxKind, lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 29785Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), lessThanToken As InternalSyntax.PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As InternalSyntax.PunctuationSyntax) 29806Dim _name = DirectCast(reader.ReadValue(), XmlNameSyntax) 29841Friend ReadOnly Property Name As InternalSyntax.XmlNameSyntax 33317Friend ReadOnly _name as XmlNameSyntax 33323Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 33340Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 33358Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 33378Dim _name = DirectCast(reader.ReadValue(), XmlNameSyntax) 33424Friend ReadOnly Property Name As InternalSyntax.XmlNameSyntax 33495Friend ReadOnly _name as XmlNameSyntax 33501Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 33518Friend Sub New(ByVal kind As SyntaxKind, name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax, context As ISyntaxFactoryContext) 33536Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), name As XmlNameSyntax, equalsToken As InternalSyntax.PunctuationSyntax, startQuoteToken As InternalSyntax.PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As InternalSyntax.PunctuationSyntax) 33556Dim _name = DirectCast(reader.ReadValue(), XmlNameSyntax) 33602Friend ReadOnly Property Name As InternalSyntax.XmlNameSyntax 37528Public Overridable Function VisitXmlName(ByVal node As XmlNameSyntax) As VisualBasicSyntaxNode 41073Dim newName = DirectCast(Visit(node._name), XmlNameSyntax) 41151Public Overrides Function VisitXmlName(ByVal node As XmlNameSyntax) As VisualBasicSyntaxNode 41171Dim newName = DirectCast(Visit(node._name), XmlNameSyntax) 41528Dim newName = DirectCast(Visit(node._name), XmlNameSyntax) 41549Dim newName = DirectCast(Visit(node._name), XmlNameSyntax) 52632Friend Shared Function XmlElementEndTag(lessThanSlashToken As PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As PunctuationSyntax) As XmlElementEndTagSyntax 52734Friend Shared Function XmlName(prefix As XmlPrefixSyntax, localName As XmlNameTokenSyntax) As XmlNameSyntax 52740Return DirectCast(cached, XmlNameSyntax) 52757Friend Shared Function XmlBracketedName(lessThanToken As PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As PunctuationSyntax) As XmlBracketedNameSyntax 53414Friend Shared Function XmlCrefAttribute(name As XmlNameSyntax, equalsToken As PunctuationSyntax, startQuoteToken As PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As PunctuationSyntax) As XmlCrefAttributeSyntax 53429Friend Shared Function XmlNameAttribute(name As XmlNameSyntax, equalsToken As PunctuationSyntax, startQuoteToken As PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As PunctuationSyntax) As XmlNameAttributeSyntax 64710Friend Function XmlElementEndTag(lessThanSlashToken As PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As PunctuationSyntax) As XmlElementEndTagSyntax 64812Friend Function XmlName(prefix As XmlPrefixSyntax, localName As XmlNameTokenSyntax) As XmlNameSyntax 64818Return DirectCast(cached, XmlNameSyntax) 64835Friend Function XmlBracketedName(lessThanToken As PunctuationSyntax, name As XmlNameSyntax, greaterThanToken As PunctuationSyntax) As XmlBracketedNameSyntax 65492Friend Function XmlCrefAttribute(name As XmlNameSyntax, equalsToken As PunctuationSyntax, startQuoteToken As PunctuationSyntax, reference As CrefReferenceSyntax, endQuoteToken As PunctuationSyntax) As XmlCrefAttributeSyntax 65507Friend Function XmlNameAttribute(name As XmlNameSyntax, equalsToken As PunctuationSyntax, startQuoteToken As PunctuationSyntax, reference As IdentifierNameSyntax, endQuoteToken As PunctuationSyntax) As XmlNameAttributeSyntax
Generated\Syntax.xml.Syntax.Generated.vb (5)
31284Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlElementEndTagSyntax(kind, errors, annotations, lessThanSlashToken, if(name IsNot Nothing, DirectCast(name.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax), Nothing), greaterThanToken), Nothing, 0) 31936return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax)._localName, Me.GetChildPosition(1), Me.GetChildIndex(1)) 32023Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlBracketedNameSyntax(kind, errors, annotations, lessThanToken, DirectCast(name.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax), greaterThanToken), Nothing, 0) 34781Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlCrefAttributeSyntax(kind, errors, annotations, DirectCast(name.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax), equalsToken, startQuoteToken, DirectCast(reference.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.CrefReferenceSyntax), endQuoteToken), Nothing, 0) 34946Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameAttributeSyntax(kind, errors, annotations, DirectCast(name.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.XmlNameSyntax), equalsToken, startQuoteToken, DirectCast(reference.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.IdentifierNameSyntax), endQuoteToken), Nothing, 0)
Parser\ParseExpression.vb (2)
1196Dim result = SyntaxFactory.XmlBracketedName(lessToken, DirectCast(name, XmlNameSyntax), greaterToken) 1218Private Function ReportExpectedXmlName() As XmlNameSyntax
Parser\ParseXml.vb (17)
757Dim name = DirectCast(nameExpr, XmlNameSyntax) 864Dim name As XmlNameSyntax = Nothing 911name = DirectCast(ParseXmlQualifiedName(False, False, ScannerState.EndElement, ScannerState.EndElement), XmlNameSyntax) 1029Dim xmlName = DirectCast(xmlElementName, XmlNameSyntax) 1049Dim xmlName = DirectCast(name, XmlNameSyntax) 1367Dim xmlName = DirectCast(name, XmlNameSyntax) 1591Private Function ParseXmlQualifiedNameVB() As XmlNameSyntax 2161Dim name As XmlNameSyntax = DirectCast(Visit(node.Name), XmlNameSyntax) 2206Dim nameNew As XmlNameSyntax = DirectCast(Visit(node.Name), XmlNameSyntax) 2223Dim nameNew As XmlNameSyntax = DirectCast(Visit(node.Name), XmlNameSyntax) 2271Return InternalSyntaxFactory.XmlBracketedName(lessThanToken, DirectCast(name, XmlNameSyntax), greaterThanToken) 2277Public Overrides Function VisitXmlName(node As XmlNameSyntax) As VisualBasicSyntaxNode 2483Friend Function MatchEndElement(this As List(Of XmlContext), name As XmlNameSyntax) As Integer 2499Dim startName = DirectCast(nameExpr, XmlNameSyntax)
Syntax\InternalSyntax\SyntaxNodeExtensions.vb (1)
704Dim xmlNameInferredFrom = DirectCast(input, XmlNameSyntax)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (1)
1303Private Shared Function GenerateGreenXmlName() As InternalSyntax.XmlNameSyntax
Parser\ParseXml.vb (1)
3543Dim getPossibleKeywordKind = Function(x As XmlNameSyntax) DirectCast(x.Green, InternalSyntax.XmlNameSyntax).LocalName.PossibleKeywordKind