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