예제 #1
0
 public TYPE(Mono.Cecil.TypeReference mono_type)
 {
     _cil_type                = mono_type;
     _verification_type       = InitVerificationType(_cil_type);
     _stack_verification_type = InitStackVerificationType(_verification_type);
     _intermediate_type_ref   = _stack_verification_type.ToTypeRef();
 }
예제 #2
0
        public TYPE(System.Type system_type)
        {
            var mono_type = system_type.ToMonoTypeReference();

            _cil_type                = mono_type;
            _verification_type       = InitVerificationType(_cil_type);
            _stack_verification_type = InitStackVerificationType(_verification_type);
            _intermediate_type_ref   = _stack_verification_type.ToTypeRef();
        }