PexSafeHelpers.ByteToBoolean(Byte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a bool which has the bit-pattern of the given byte.
public:
static bool ByteToBoolean(System::Byte value);
public static bool ByteToBoolean (byte value);
static member ByteToBoolean : byte -> bool
Public Shared Function ByteToBoolean (value As Byte) As Boolean
Parameters
- value
- Byte
The value.
Returns
Remarks
This is a conversion that can be done in safe MSIL code; however, the C# compiler doesn't allow it.