public ParameterSpec(string name, MethodSpec host, Location loc, int initstackidx, bool isReference = false) : base(name, new MemberSignature(host.Name + "_param_" + name, loc)) { method = host; IsReference = isReference; Emitter = ReferenceSpec.GetEmitter(this, 4, ReferenceKind.Parameter, isReference); InitialStackIndex = initstackidx; }
public VarSpec(string name, MethodSpec host, Location loc) : base(name, new MemberSignature(host.Name + "_" + name, loc)) { method = host; Initialized = false; Emitter = ReferenceSpec.GetEmitter(this, 0, ReferenceKind.LocalVariable); InitialStackIndex = 0; }
public FieldSpec(string name, Location loc) : base(name, new MemberSignature(name, loc)) { Emitter = ReferenceSpec.GetEmitter(this, 0, ReferenceKind.Field); InitialFieldIndex = 0; }