Exemple #1
0
 public override void VisitClassReference <TGenericParameter>(IClassReference <TGenericParameter> classReference)
 {
     genericParameters = () => new ReadOnlyListWrapper <TGenericParameter, ITypeReferenceWrapper>(
         classReference.GenericParameters,
         input => TypeReferenceWrapper.Create(input));
     name = () => classReference.Name;
 }
Exemple #2
0
 public override void VisitNestedTypeReference <TTypeReference>(INestedTypeReference <TTypeReference> nestedTypeReference)
 {
     nestedType = () => TypeReferenceWrapper.Create(nestedTypeReference.NestedType);
     type       = () => TypeReferenceWrapper.Create(nestedTypeReference.Type);
 }
Exemple #3
0
 public override void VisitArrayTypeReference <TTypeReference>(IArrayTypeReference <TTypeReference> arrayTypeReference)
 {
     dimensions  = () => arrayTypeReference.Dimensions;
     elementType = () => TypeReferenceWrapper.Create(arrayTypeReference.ElementType);
 }