' ' Visual Basic .NET Parser ' ' Copyright (C) 2005, Microsoft Corporation. All rights reserved. ' ' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER ' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF ' MERCHANTIBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. ' ''' ''' A parse tree for a constructor declaration. ''' Public NotInheritable Class ConstructorDeclaration Inherits MethodDeclaration ''' ''' Creates a new parse tree for a constructor declaration. ''' ''' The attributes for the parse tree. ''' The modifiers for the parse tree. ''' The location of the keyword. ''' The name of the declaration. ''' The parameters of the declaration. ''' The statements in the declaration. ''' The end block declaration, if any. ''' The location of the parse tree. ''' The comments for the parse tree. Public Sub New(ByVal attributes As AttributeBlockCollection, ByVal modifiers As ModifierCollection, ByVal keywordLocation As Location, ByVal name As SimpleName, ByVal parameters As ParameterCollection, ByVal statements As StatementCollection, ByVal endDeclaration As EndBlockDeclaration, ByVal span As Span, ByVal comments As IList(Of Comment)) MyBase.New(TreeType.ConstructorDeclaration, attributes, modifiers, keywordLocation, name, Nothing, parameters, Nothing, Nothing, Nothing, Nothing, Nothing, statements, endDeclaration, span, comments) End Sub End Class