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)); } }
protected virtual void Visit(SentinelType sentinelType, Context context) { this.VisitTypeReference(sentinelType.ElementType, context.ElementType(sentinelType)); }
protected virtual void Visit(ByReferenceType byReferenceType, Context context) { this.VisitTypeReference(byReferenceType.ElementType, context.ElementType(byReferenceType)); }
protected virtual void Visit(RequiredModifierType requiredModifierType, Context context) { this.VisitTypeReference(requiredModifierType.ElementType, context.ElementType(requiredModifierType)); }
protected virtual void Visit(PointerType pointerType, Context context) { this.VisitTypeReference(pointerType.ElementType, context.ElementType(pointerType)); }
protected virtual void Visit(PinnedType pinnedType, Context context) { this.VisitTypeReference(pinnedType.ElementType, context.ElementType(pinnedType)); }
protected virtual void Visit(ArrayType arrayType, Context context) { this.VisitTypeReference(arrayType.ElementType, context.ElementType(arrayType)); }