4 instantiations of InheritsStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
2412Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
1756Return New InheritsStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newInheritsKeyword, newTypes.Node) 7412Return New InheritsStatementSyntax(SyntaxKind.InheritsStatement, Nothing, Nothing, DirectCast(inheritsKeyword.Node, InternalSyntax.KeywordSyntax), types.Node)
Generated\Syntax.xml.Syntax.Generated.vb (1)
2798Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.InheritsStatementSyntax(kind, errors, annotations, inheritsKeyword, if(types IsNot Nothing, types.Green, Nothing)), Nothing, 0)
93 references to InheritsStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (64)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
166Public Overrides Function VisitInheritsStatement(inheritsSyntax As InheritsStatementSyntax) As Binder
Generated\Syntax.xml.Main.Generated.vb (14)
59Public Overridable Function VisitInheritsStatement(ByVal node As InheritsStatementSyntax) As TResult 794Public Overridable Sub VisitInheritsStatement(ByVal node As InheritsStatementSyntax) 1747Public Overrides Function VisitInheritsStatement(ByVal node As InheritsStatementSyntax) As SyntaxNode 7063Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax 7100Public Shared Function ModuleBlock(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ModuleBlockSyntax 7136Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax 7173Public Shared Function StructureBlock(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As StructureBlockSyntax 7209Public Shared Function InterfaceBlock(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endInterfaceStatement As EndBlockStatementSyntax) As InterfaceBlockSyntax 7246Public Shared Function InterfaceBlock(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As InterfaceBlockSyntax 7282Public Shared Function ClassBlock(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax 7319Public Shared Function ClassBlock(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax)) As ClassBlockSyntax 7406Public Shared Function InheritsStatement(inheritsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 7422Public Shared Function InheritsStatement(types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 7433Public Shared Function InheritsStatement(ParamArray types As TypeSyntax()) As InheritsStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (43)
1513Public ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1519Friend Overridable Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1521Return new SyntaxList(Of InheritsStatementSyntax)(listNode) 1529Public Function WithInherits([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1532Friend MustOverride Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1534Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 1537Friend MustOverride Function AddInheritsCore(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 1652Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1655Return new SyntaxList(Of InheritsStatementSyntax)(listNode) 1659Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1663Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1672Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As ModuleBlockSyntax 1676Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As ModuleBlockSyntax 1680Friend Overrides Function AddInheritsCore(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 1840Public Function Update(moduleStatement As ModuleStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endModuleStatement As EndBlockStatementSyntax) As ModuleBlockSyntax 1904Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 1907Return new SyntaxList(Of InheritsStatementSyntax)(listNode) 1911Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 1915Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 1924Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As StructureBlockSyntax 1928Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As StructureBlockSyntax 1932Friend Overrides Function AddInheritsCore(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 2092Public Function Update(structureStatement As StructureStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax 2156Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 2159Return new SyntaxList(Of InheritsStatementSyntax)(listNode) 2163Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 2167Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 2176Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As InterfaceBlockSyntax 2180Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As InterfaceBlockSyntax 2184Friend Overrides Function AddInheritsCore(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 2344Public Function Update(interfaceStatement As InterfaceStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endInterfaceStatement As EndBlockStatementSyntax) As InterfaceBlockSyntax 2408Public Shadows ReadOnly Property [Inherits] As SyntaxList(Of InheritsStatementSyntax) 2411Return new SyntaxList(Of InheritsStatementSyntax)(listNode) 2415Friend Overrides Function GetInheritsCore() As SyntaxList(Of InheritsStatementSyntax) 2419Friend Overrides Function WithInheritsCore([inherits] As SyntaxList(Of InheritsStatementSyntax)) As TypeBlockSyntax 2428Public Shadows Function WithInherits([inherits] as SyntaxList(Of InheritsStatementSyntax)) As ClassBlockSyntax 2432Public Shadows Function AddInherits(ParamArray items As InheritsStatementSyntax()) As ClassBlockSyntax 2436Friend Overrides Function AddInheritsCore(ParamArray items As InheritsStatementSyntax()) As TypeBlockSyntax 2596Public Function Update(classStatement As ClassStatementSyntax, [inherits] As SyntaxList(of InheritsStatementSyntax), [implements] As SyntaxList(of ImplementsStatementSyntax), members As SyntaxList(of StatementSyntax), endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax 2815Public Shadows Function WithInheritsKeyword(inheritsKeyword as SyntaxToken) As InheritsStatementSyntax 2836Public Shadows Function WithTypes(types as SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax 2840Public Shadows Function AddTypes(ParamArray items As TypeSyntax()) As InheritsStatementSyntax 2881Public Function Update(inheritsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax
Symbols\Source\SourceNamedTypeSymbol.vb (5)
1070Private Function ValidateClassBase(inheritsSyntax As SyntaxList(Of InheritsStatementSyntax), 1087Dim inheritsDeclaration = DirectCast(baseDeclaration, InheritsStatementSyntax) 1149Private Sub ValidateInheritedInterfaces(baseSyntax As SyntaxList(Of InheritsStatementSyntax), 1166Dim types = DirectCast(baseDeclaration, InheritsStatementSyntax).Types 1336If(getInherits, DirectCast(t, InheritsStatementSyntax).Types, DirectCast(t, ImplementsStatementSyntax).Types)
Syntax\SyntaxFactory.vb (1)
419Public Shared Function TypeBlock(ByVal blockKind As SyntaxKind, ByVal begin As TypeStatementSyntax, Optional ByVal [inherits] As SyntaxList(Of InheritsStatementSyntax) = Nothing, Optional ByVal [implements] As SyntaxList(Of ImplementsStatementSyntax) = Nothing, Optional ByVal members As SyntaxList(Of StatementSyntax) = Nothing, Optional ByVal [end] As EndBlockStatementSyntax = Nothing) As TypeBlockSyntax
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
SyntaxTreeExtensions.vb (2)
512token.IsChildToken(Of InheritsStatementSyntax)(Function(node) node.InheritsKeyword) OrElse 513token.IsChildSeparatorToken(Of InheritsStatementSyntax, TypeSyntax)(Function(baseDeclaration) baseDeclaration.Types) OrElse
TypeBlockSyntaxExtensions.vb (1)
61Private Function EnsureProperInherits(destinationType As TypeBlockSyntax) As SyntaxList(Of InheritsStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Completion\KeywordRecommenders\Declarations\OfKeywordRecommender.vb (1)
50Dim inheritsStatement = targetToken.GetAncestor(Of InheritsStatementSyntax)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
58If targetToken.IsChildToken(Of InheritsStatementSyntax)(Function(n) n.InheritsKeyword) OrElse
GenerateDefaultConstructors\VisualBasicGenerateDefaultConstructorsService.vb (1)
42Dim baseList = DirectCast(type.Parent, InheritsStatementSyntax)
GenerateType\VisualBasicGenerateTypeService.vb (1)
544If TypeOf node Is InheritsStatementSyntax Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
10296Private Shared Function GenerateRedInheritsStatement() As InheritsStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Workspaces (9)
CodeGeneration\NamedTypeGenerator.vb (1)
204Private Function GenerateInheritsStatements(namedType As INamedTypeSymbol) As SyntaxList(Of InheritsStatementSyntax)
CodeGeneration\VisualBasicSyntaxGenerator.vb (3)
3598Private Shared Function GetInherits(declaration As SyntaxNode) As SyntaxList(Of InheritsStatementSyntax) 3609Private Shared Function WithInherits(declaration As SyntaxNode, list As SyntaxList(Of InheritsStatementSyntax)) As SyntaxNode 3930Dim inh = DirectCast(parent, InheritsStatementSyntax)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (2)
512token.IsChildToken(Of InheritsStatementSyntax)(Function(node) node.InheritsKeyword) OrElse 513token.IsChildSeparatorToken(Of InheritsStatementSyntax, TypeSyntax)(Function(baseDeclaration) baseDeclaration.Types) OrElse
Recommendations\VisualBasicRecommendationServiceRunner.vb (2)
425If token.IsChildToken(Of InheritsStatementSyntax)(Function(n) n.InheritsKeyword) Then 430token.Parent?.FirstAncestorOrSelf(Of InheritsStatementSyntax) IsNot Nothing
TypeBlockSyntaxExtensions.vb (1)
61Private Function EnsureProperInherits(destinationType As TypeBlockSyntax) As SyntaxList(Of InheritsStatementSyntax)
Microsoft.VisualStudio.LanguageServices.VisualBasic (12)
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (2)
939Private Function CompareInherits(oldInherits As InheritsStatementSyntax, newInherits As InheritsStatementSyntax, newNodeParent As SyntaxNode, eventQueue As CodeModelEventQueue) As Boolean
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (4)
119Return GetInheritsStatementStartPoint(text, DirectCast(node, InheritsStatementSyntax), part) 209Return GetInheritsStatementEndPoint(text, DirectCast(node, InheritsStatementSyntax), part) 1335Private Shared Function GetInheritsStatementStartPoint(text As SourceText, inheritsStatement As InheritsStatementSyntax, part As EnvDTE.vsCMPart) As VirtualTreePoint? 1361Private Shared Function GetInheritsStatementEndPoint(text As SourceText, inheritsStatement As InheritsStatementSyntax, part As EnvDTE.vsCMPart) As VirtualTreePoint?
CodeModel\VisualBasicCodeModelService.vb (5)
944Return DirectCast(node, InheritsStatementSyntax).InheritsKeyword.ToString() 1215For Each [inherits] As InheritsStatementSyntax In GetInheritsNodes(parentNode) 1724Debug.Assert(TypeOf inheritsNode Is InheritsStatementSyntax) 1726namespaceName = DirectCast(inheritsNode, InheritsStatementSyntax).Types.ToString() 1729For Each [inherits] As InheritsStatementSyntax In GetInheritsNodes(parentNode)
Help\VisualBasicHelpContextService.Visitor.vb (1)
336Public Overrides Sub VisitInheritsStatement(node As InheritsStatementSyntax)