1 instantiation of ImportGenericContext
Mono.Cecil (1)
Mono.Cecil\Import.cs (1)
121 return context != null ? new ImportGenericContext (context) : default (ImportGenericContext);
23 references to ImportGenericContext
Mono.Cecil (23)
Mono.Cecil\Import.cs (23)
119 public static ImportGenericContext For (IGenericParameterProvider context) 121 return context != null ? new ImportGenericContext (context) : default (ImportGenericContext); 162 TypeReference ImportType (Type type, ImportGenericContext context, Type [] required_modifiers, Type [] optional_modifiers) 175 TypeReference ImportType (Type type, ImportGenericContext context) 180 TypeReference ImportType (Type type, ImportGenericContext context, ImportGenericKind import_kind) 225 TypeReference ImportTypeSpecification (Type type, ImportGenericContext context) 245 static TypeReference ImportGenericParameter (Type type, ImportGenericContext context) 272 TypeReference ImportGenericInstance (Type type, ImportGenericContext context) 353 FieldReference ImportField (SR.FieldInfo field, ImportGenericContext context) 382 MethodReference ImportMethod (SR.MethodBase method, ImportGenericContext context, ImportGenericKind import_kind) 410 : ImportType (typeof (void), default (ImportGenericContext)); 442 MethodReference ImportMethodSpecification (SR.MethodBase method, ImportGenericContext context) 474 ImportGenericContext.For (context), 481 return ImportField (field, ImportGenericContext.For (context)); 488 ImportGenericContext.For (context), 504 internal virtual TypeReference ImportType (TypeReference type, ImportGenericContext context) 585 TypeReference ImportTypeSpecification (TypeReference type, ImportGenericContext context) 674 FieldReference ImportField (FieldReference field, ImportGenericContext context) 690 MethodReference ImportMethod (MethodReference method, ImportGenericContext context) 727 MethodSpecification ImportMethodSpecification (MethodReference method, ImportGenericContext context) 748 return ImportType (type, ImportGenericContext.For (context)); 754 return ImportField (field, ImportGenericContext.For (context)); 760 return ImportMethod (method, ImportGenericContext.For (context));