6 references to AsExactByteCount
ILCompiler.Compiler (6)
Compiler\TypePreinit.cs (6)
2409public override sbyte AsSByte() => (sbyte)AsExactByteCount(1)[0]; 2410public override short AsInt16() => BitConverter.ToInt16(AsExactByteCount(2), 0); 2411public override int AsInt32() => BitConverter.ToInt32(AsExactByteCount(4), 0); 2412public override long AsInt64() => BitConverter.ToInt64(AsExactByteCount(8), 0); 2413public override float AsSingle() => BitConverter.ToSingle(AsExactByteCount(4), 0); 2414public override double AsDouble() => BitConverter.ToDouble(AsExactByteCount(8), 0);