Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.CodeAnalysis.VisualBasic.Syntax
  3. ModuleBlockSyntax
  4. WithInherits(SyntaxList<InheritsStatementSyntax>)
  • ModuleBlockSyntax
    • Begin
    • BlockStatement
    • End
    • EndBlockStatement
    • EndModuleStatement
    • Implements
    • Inherits
    • Members
    • ModuleStatement
    • Accept(VisualBasicSyntaxVisitor)
    • Accept<TResult>(VisualBasicSyntaxVisitor<TResult>)
    • AddImplements(ImplementsStatementSyntax[])
    • AddInherits(InheritsStatementSyntax[])
    • AddMembers(StatementSyntax[])
    • Update(ModuleStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)
    • WithBegin(ModuleStatementSyntax)
    • WithBlockStatement(TypeStatementSyntax)
    • WithEnd(EndBlockStatementSyntax)
    • WithEndBlockStatement(EndBlockStatementSyntax)
    • WithEndModuleStatement(EndBlockStatementSyntax)
    • WithImplements(SyntaxList<ImplementsStatementSyntax>)
    • WithInherits(SyntaxList<InheritsStatementSyntax>)
    • WithMembers(SyntaxList<StatementSyntax>)
    • WithModuleStatement(ModuleStatementSyntax)
net10.0
namespace Microsoft.CodeAnalysis.VisualBasic.Syntax
{
    public sealed class ModuleBlockSyntax : TypeBlockSyntax
    {
        public ModuleBlockSyntax WithInherits(SyntaxList<InheritsStatementSyntax> inherits);
    }
}
nuget.org
0.0 %
Reference this API
.NET
8.09.010.0
Information specific to net10.0
Assembly

Microsoft.CodeAnalysis.VisualBasic , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs a package reference to Microsoft.CodeAnalysis.VisualBasic.

Package Microsoft.CodeAnalysis.VisualBasic (5.0.0) net9.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/13/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙