System.Runtime.Serialization.CodeGenerator.And C# (CSharp) Method

And() private method

private And ( ) : void
return void
        internal void And()
        {
            if (_codeGenTrace != CodeGenTrace.None)
                EmitSourceInstruction("And");
            _ilGen.Emit(OpCodes.And);
        }
        internal void Or()

Usage Example

コード例 #1
0
        public void Load(int bitIndex)
        {
            LocalBuilder local    = _locals[GetByteIndex(bitIndex)];
            byte         bitValue = GetBitValue(bitIndex);

            _ilg.Load(local);
            _ilg.Load(bitValue);
            _ilg.And();
            _ilg.Load(bitValue);
            _ilg.Ceq();
        }