public override void LoadCache() { _owner = Owner; _constraint = Constraint; }
public override void ClearCache() { _owner = null; _constraint = null; }
void IGenericParamProvider.AddGenericParameter(GenericParameter parameter) { Array.Resize(ref _genericParameters, _genericParameters.Length + 1); _genericParameters[_genericParameters.Length - 1] = parameter; }
public GenericParamConstraint(GenericParameter owner, TypeReference constraint) : base(new MetaDataRow(owner.TableIndex, 0U)) { this._owner = owner; this._constraint = constraint; }
public override void ClearCache() { base.ClearCache(); _paramRange = null; _semantics = null; _body = null; _genericParameters = new GenericParameter[0]; _hasLoadedGenericParameters = false; }