internal FieldDeclaration(string name, Declaration declaringType, ITypeDeclaration type) : base(name,declaringType) { if (type==null) throw new ArgumentNullException("type"); this.type = type; }
internal MemberDeclaration( string name, Declaration declaringType ) : base(name,declaringType.Conformer) { this.declaringType=declaringType; }
internal EventDeclaration(string name, Declaration declaringType, ITypeDeclaration type) : base(name,declaringType) { if (type==null) throw new ArgumentNullException("type"); this.type = type; this.Attributes = MemberAttributes.Public; }
internal IndexerDeclaration( Declaration declaringType, ITypeDeclaration returnType) : base("Item",declaringType) { this.signature.ReturnType = returnType; this.Attributes = MemberAttributes.Public; }
internal EnumDeclaration( string name, Declaration declaringType, bool flags) : base(name, declaringType) { this.flags = flags; this.Attributes = MemberAttributes.Public; }
internal ConstantDeclaration( string name, Declaration declaringType, Type t, SnippetExpression expression ) : base(name,declaringType) { if (t==null) throw new ArgumentNullException("t"); if (expression == null) throw new ArgumentNullException("t"); this.type = t; this.expression = expression; }
internal DelegateDeclaration(string name, Declaration declaringType) : base(name,declaringType.Conformer) { this.Attributes = MemberAttributes.Public; }
public ConstructorDeclaration(Declaration declaringType) : base("",declaringType.Conformer) { this.declaringType = declaringType; this.Attributes = MemberAttributes.Public; }
internal MethodDeclaration(string name, Declaration declaringType) : base(name,declaringType) { this.Attributes = MemberAttributes.Public; }
internal ImplementationMemberDeclaration(string name, Declaration declaringType) : base(name,declaringType) { }