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