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));
        }