コード例 #1
0
        public PrimitiveTypes(VirtualMachine virtualMachine)
        {
            Contract.Requires <ArgumentNullException>(virtualMachine != null, "virtualMachine");

            _boolean = new BooleanType(virtualMachine);
            _byte    = new ByteType(virtualMachine);
            _integer = new IntegerType(virtualMachine);
            _long    = new LongType(virtualMachine);
            _float   = new FloatType(virtualMachine);
            _double  = new DoubleType(virtualMachine);
            _short   = new ShortType(virtualMachine);
            _char    = new CharType(virtualMachine);
            _void    = new VoidType(virtualMachine);

            _voidValue = new VoidValue(virtualMachine);
        }
コード例 #2
0
ファイル: PrimitiveTypes.cs プロジェクト: Kav2018/JavaForVS
        public PrimitiveTypes(VirtualMachine virtualMachine)
        {
            Contract.Requires<ArgumentNullException>(virtualMachine != null, "virtualMachine");

            _boolean = new BooleanType(virtualMachine);
            _byte = new ByteType(virtualMachine);
            _integer = new IntegerType(virtualMachine);
            _long = new LongType(virtualMachine);
            _float = new FloatType(virtualMachine);
            _double = new DoubleType(virtualMachine);
            _short = new ShortType(virtualMachine);
            _char = new CharType(virtualMachine);
            _void = new VoidType(virtualMachine);

            _voidValue = new VoidValue(virtualMachine);
        }