Пример #1
0
 protected virtual void Visit(GenericInstanceType genericInstanceType, Context context)
 {
     this.VisitTypeReference(genericInstanceType.ElementType, context.ElementType(genericInstanceType));
     foreach (TypeReference reference in genericInstanceType.GenericArguments)
     {
         this.VisitTypeReference(reference, context.GenericArgument(genericInstanceType));
     }
 }
Пример #2
0
 protected virtual void Visit(SentinelType sentinelType, Context context)
 {
     this.VisitTypeReference(sentinelType.ElementType, context.ElementType(sentinelType));
 }
Пример #3
0
 protected virtual void Visit(ByReferenceType byReferenceType, Context context)
 {
     this.VisitTypeReference(byReferenceType.ElementType, context.ElementType(byReferenceType));
 }
Пример #4
0
 protected virtual void Visit(RequiredModifierType requiredModifierType, Context context)
 {
     this.VisitTypeReference(requiredModifierType.ElementType, context.ElementType(requiredModifierType));
 }
Пример #5
0
 protected virtual void Visit(PointerType pointerType, Context context)
 {
     this.VisitTypeReference(pointerType.ElementType, context.ElementType(pointerType));
 }
Пример #6
0
 protected virtual void Visit(PinnedType pinnedType, Context context)
 {
     this.VisitTypeReference(pinnedType.ElementType, context.ElementType(pinnedType));
 }
Пример #7
0
 protected virtual void Visit(ArrayType arrayType, Context context)
 {
     this.VisitTypeReference(arrayType.ElementType, context.ElementType(arrayType));
 }