File: Microsoft\VisualBasic\CompilerServices\StandardModuleAttribute.vb
Web Access
Project: src\src\libraries\Microsoft.VisualBasic.Core\src\Microsoft.VisualBasic.Core.vbproj (Microsoft.VisualBasic.Core)
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
 
Imports System
Imports System.ComponentModel
 
Namespace Global.Microsoft.VisualBasic.CompilerServices
    ''' <summary>
    ''' StandardModuleAttribute is used by the compiler to mark all Module
    ''' declarations.  This is needed so we can promote the module's
    ''' contents into the default namespace.
    ''' </summary>
    ''' <remarks>
    ''' WARNING: Do not rename this attribute or move it out of this 
    ''' module.  Otherwise there are compiler changes that will
    ''' need to be made!
    ''' </remarks>
    <AttributeUsage(AttributeTargets.Class, Inherited:=False, AllowMultiple:=False)>
    <EditorBrowsable(EditorBrowsableState.Never)>
    Public NotInheritable Class StandardModuleAttribute
        Inherits Attribute
    End Class
End Namespace