Example #1
0
        public FieldReference ImportReference(SR.FieldInfo field, IGenericParameterProvider context)
        {
            Mixin.CheckField(field);
            CheckContext(context, this);

            return(ReflectionImporter.ImportReference(field, context));
        }
Example #2
0
        public MethodReference ImportReference(SR.MethodBase method, IGenericParameterProvider context)
        {
            Mixin.CheckMethod(method);
            CheckContext(context, this);

            return(ReflectionImporter.ImportReference(method, context));
        }
Example #3
0
        public TypeReference ImportReference(Type type, IGenericParameterProvider context)
        {
            Mixin.CheckType(type);
            CheckContext(context, this);

            return(ReflectionImporter.ImportReference(type, context));
        }