public FunctionDeclaration( CodeFile file, TextSpan span, FunctionSymbol symbol, TextSpan nameSpan, FixedList <INamedParameter> parameters, IReachabilityAnnotations reachabilityAnnotations, IBody body) : base(file, span, symbol, nameSpan, parameters.ToFixedList <IConstructorParameter>(), reachabilityAnnotations) { Symbol = symbol; Parameters = parameters; Body = body; }
public AbstractMethodDeclaration( CodeFile file, TextSpan span, IClassDeclaration declaringClass, MethodSymbol symbol, TextSpan nameSpan, ISelfParameter selfParameter, FixedList <INamedParameter> parameters, IReachabilityAnnotations reachabilityAnnotations) : base(file, span, symbol, nameSpan, parameters.ToFixedList <IConstructorParameter>(), reachabilityAnnotations) { Symbol = symbol; SelfParameter = selfParameter; Parameters = parameters; DeclaringClass = declaringClass; }