6 references to AsExactByteCount
ILCompiler.Compiler (6)
Compiler\TypePreinit.cs (6)
2425public override sbyte AsSByte() => (sbyte)AsExactByteCount(1)[0]; 2426public override short AsInt16() => BitConverter.ToInt16(AsExactByteCount(2), 0); 2427public override int AsInt32() => BitConverter.ToInt32(AsExactByteCount(4), 0); 2428public override long AsInt64() => BitConverter.ToInt64(AsExactByteCount(8), 0); 2429public override float AsSingle() => BitConverter.ToSingle(AsExactByteCount(4), 0); 2430public override double AsDouble() => BitConverter.ToDouble(AsExactByteCount(8), 0);