public ConcreteMethodDeclarationSyntax( IClassDeclarationSyntax declaringClass, TextSpan span, CodeFile file, IAccessModifierToken?accessModifier, TextSpan nameSpan, Name name, ISelfParameterSyntax selfParameter, FixedList <INamedParameterSyntax> parameters, ITypeSyntax?returnType, IReachabilityAnnotationsSyntax reachabilityAnnotations, IBodySyntax body) : base(declaringClass, span, file, accessModifier, nameSpan, name, selfParameter, parameters, returnType, reachabilityAnnotations) { Body = body; }
public ConstructorDeclarationSyntax( IClassDeclarationSyntax declaringType, TextSpan span, CodeFile file, IAccessModifierToken?accessModifier, TextSpan nameSpan, Name?name, ISelfParameterSyntax implicitSelfParameter, FixedList <IConstructorParameterSyntax> parameters, IReachabilityAnnotationsSyntax reachabilityAnnotations, IBodySyntax body) : base(span, file, accessModifier, nameSpan, name, parameters, reachabilityAnnotations, new AcyclicPromise <ConstructorSymbol>()) { DeclaringClass = declaringType; ImplicitSelfParameter = implicitSelfParameter; Parameters = parameters; Body = body; Symbol = (AcyclicPromise <ConstructorSymbol>)base.Symbol; }
public AssociatedFunctionDeclarationSyntax( IClassDeclarationSyntax declaringClass, TextSpan span, CodeFile file, IAccessModifierToken?accessModifier, TextSpan nameSpan, Name name, FixedList <INamedParameterSyntax> parameters, ITypeSyntax?returnTypeSyntax, IReachabilityAnnotationsSyntax reachabilityAnnotations, IBodySyntax body) : base(span, file, accessModifier, nameSpan, name, parameters, reachabilityAnnotations, new AcyclicPromise <FunctionSymbol>()) { DeclaringClass = declaringClass; Name = name; Parameters = parameters; ReturnType = returnTypeSyntax; Body = body; Symbol = (AcyclicPromise <FunctionSymbol>)base.Symbol; }