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