8 instantiations of EnumStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (8)
Generated\Syntax.xml.Internal.Generated.vb (7)
3270
Friend Shared CreateInstance As Func(Of ObjectReader, Object) = Function(o) New
EnumStatementSyntax
(o)
3283
ObjectBinder.RegisterTypeReader(GetType(EnumStatementSyntax), Function(r) New
EnumStatementSyntax
(r))
3367
Return new
EnumStatementSyntax
(Me.Kind, newErrors, GetAnnotations, _attributeLists, _modifiers, _enumKeyword, _identifier, _underlyingType)
3371
Return new
EnumStatementSyntax
(Me.Kind, GetDiagnostics, annotations, _attributeLists, _modifiers, _enumKeyword, _identifier, _underlyingType)
38131
Return New
EnumStatementSyntax
(node.Kind, node.GetDiagnostics, node.GetAnnotations, newAttributeLists.Node, newModifiers.Node, newEnumKeyword, newIdentifier, newUnderlyingType)
43282
Return New
EnumStatementSyntax
(SyntaxKind.EnumStatement, attributeLists.Node, modifiers.Node, enumKeyword, identifier, underlyingType)
55360
Return New
EnumStatementSyntax
(SyntaxKind.EnumStatement, attributeLists.Node, modifiers.Node, enumKeyword, identifier, underlyingType, _factoryContext)
Generated\Syntax.xml.Syntax.Generated.vb (1)
4186
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
EnumStatementSyntax
(kind, errors, annotations, if(attributeLists IsNot Nothing, attributeLists.Green, Nothing), modifiers, enumKeyword, identifier, if(underlyingType IsNot Nothing, DirectCast(underlyingType.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.AsClauseSyntax), Nothing)), Nothing, 0)
23 references to EnumStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (22)
Generated\Syntax.xml.Internal.Generated.vb (14)
2162
Friend ReadOnly _enumStatement as
EnumStatementSyntax
2166
Friend Sub New(ByVal kind As SyntaxKind, enumStatement As
EnumStatementSyntax
, members As GreenNode, endEnumStatement As EndBlockStatementSyntax)
2181
Friend Sub New(ByVal kind As SyntaxKind, enumStatement As
EnumStatementSyntax
, members As GreenNode, endEnumStatement As EndBlockStatementSyntax, context As ISyntaxFactoryContext)
2197
Friend Sub New(ByVal kind As SyntaxKind, ByVal errors as DiagnosticInfo(), ByVal annotations as SyntaxAnnotation(), enumStatement As
EnumStatementSyntax
, members As GreenNode, endEnumStatement As EndBlockStatementSyntax)
2215
Dim _enumStatement = DirectCast(reader.ReadValue(),
EnumStatementSyntax
)
2252
Friend ReadOnly Property EnumStatement As InternalSyntax.
EnumStatementSyntax
3283
ObjectBinder.RegisterTypeReader(GetType(
EnumStatementSyntax
), Function(r) New EnumStatementSyntax(r))
36728
Public Overridable Function VisitEnumStatement(ByVal node As
EnumStatementSyntax
) As VisualBasicSyntaxNode
37988
Dim newEnumStatement = DirectCast(Visit(node._enumStatement),
EnumStatementSyntax
)
38116
Public Overrides Function VisitEnumStatement(ByVal node As
EnumStatementSyntax
) As VisualBasicSyntaxNode
43068
Friend Shared Function EnumBlock(enumStatement As
EnumStatementSyntax
, members As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax
43279
Friend Shared Function EnumStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), enumKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, underlyingType As AsClauseSyntax) As
EnumStatementSyntax
55146
Friend Function EnumBlock(enumStatement As
EnumStatementSyntax
, members As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), endEnumStatement As EndBlockStatementSyntax) As EnumBlockSyntax
55357
Friend Function EnumStatement(attributeLists As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), modifiers As Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode), enumKeyword As KeywordSyntax, identifier As IdentifierTokenSyntax, underlyingType As AsClauseSyntax) As
EnumStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (4)
2634
Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EnumBlockSyntax(kind, errors, annotations, DirectCast(enumStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
EnumStatementSyntax
), if(members IsNot Nothing, members.Green, Nothing), DirectCast(endEnumStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
4225
Dim slot = DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
EnumStatementSyntax
)._modifiers
4251
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
EnumStatementSyntax
)._enumKeyword, Me.GetChildPosition(2), Me.GetChildIndex(2))
4269
return new SyntaxToken(Me, DirectCast(Me.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.
EnumStatementSyntax
)._identifier, Me.GetChildPosition(3), Me.GetChildIndex(3))
Parser\BlockContexts\EnumDeclarationBlockContext.vb (1)
23
Dim beginBlock As
EnumStatementSyntax
= Nothing
Parser\BlockContexts\ExecutableStatementContext.vb (1)
120
If Not DirectCast(node,
EnumStatementSyntax
).Modifiers.Any() Then
Parser\Parser.vb (2)
1436
) As
EnumStatementSyntax
1470
Dim statement As
EnumStatementSyntax
= SyntaxFactory.EnumStatement(attributes, modifiers, enumKeyword, identifier, optionalUnderlyingType)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
191
Private Shared Function GenerateGreenEnumStatement() As InternalSyntax.
EnumStatementSyntax