ImportField() публичный Метод

public ImportField ( FieldReference field, ImportGenericContext context ) : FieldReference
field FieldReference
context ImportGenericContext
Результат FieldReference
Пример #1
0
        FieldReference Import(SR.FieldInfo field, IGenericParameterProvider context)
        {
            CheckField(field);
            CheckContext(context, this);

            return(MetadataImporter.ImportField(field, (IGenericContext)context));
        }
Пример #2
0
        public FieldReference Import(FieldReference field)
        {
            CheckField(field);

            if (field.Module == this)
            {
                return(field);
            }

            return(MetadataImporter.ImportField(field, null));
        }
Пример #3
0
        public FieldReference Import(FieldReference field)
        {
            CheckField(field);

            if (field.Module == this)
            {
                return(field);
            }

            return(MetadataImporter.ImportField(field, default(ImportGenericContext)));
        }
Пример #4
0
        FieldReference Import(FieldReference field, IGenericParameterProvider context)
        {
            CheckField(field);

            if (field.Module == this)
            {
                return(field);
            }

            CheckContext(context, this);

            return(MetadataImporter.ImportField(field, (IGenericContext)context));
        }
Пример #5
0
        public FieldReference Import(SR.FieldInfo field)
        {
            CheckField(field);

            return(MetadataImporter.ImportField(field, null));
        }