Example #1
0
 public MethodParameterReference(MethodParameter decl) : base()
 {
     this.decl = decl;
     decl.references.push(this);
 }
Example #2
0
 public Field(string name, IType type, Expression initializer, Visibility visibility, bool isStatic, MethodParameter constructorParam, string leadingTrivia)
 {
     this.name                  = name;
     this.type                  = type;
     this.initializer           = initializer;
     this.visibility            = visibility;
     this.isStatic              = isStatic;
     this.constructorParam      = constructorParam;
     this.leadingTrivia         = leadingTrivia;
     this.parentInterface       = null;
     this.staticReferences      = new List <StaticFieldReference>();
     this.instanceReferences    = new List <InstanceFieldReference>();
     this.interfaceDeclarations = null;
 }