コード例 #1
0
 public virtual ISymbolReference ToReference()
 {
     if (owner == null)
     {
         return(TypeParameterReference.Create(ownerType, index));
     }
     return(new OwnedTypeParameterReference(owner.ToReference(), index));
 }
コード例 #2
0
 public override ITypeReference ToTypeReference()
 {
     return(TypeParameterReference.Create(ownerType, index));
 }
コード例 #3
0
 public ITypeReference ToTypeReference()
 {
     return(TypeParameterReference.Create(this.OwnerType, this.Index));
 }