14 references to GetBytes
ILCompiler.ReadyToRun (6)
JitInterface\CorInfoImpl.ReadyToRun.cs (6)
1577
Array.Copy(BitConverter.
GetBytes
((uint)flags), 0, ehInfoData, clauseOffset + (int)EHInfoFields.Flags * sizeof(uint), sizeof(uint));
1578
Array.Copy(BitConverter.
GetBytes
((uint)clause.TryOffset), 0, ehInfoData, clauseOffset + (int)EHInfoFields.TryOffset * sizeof(uint), sizeof(uint));
1580
Array.Copy(BitConverter.
GetBytes
((uint)(clause.TryLength)), 0, ehInfoData, clauseOffset + (int)EHInfoFields.TryEnd * sizeof(uint), sizeof(uint));
1581
Array.Copy(BitConverter.
GetBytes
((uint)clause.HandlerOffset), 0, ehInfoData, clauseOffset + (int)EHInfoFields.HandlerOffset * sizeof(uint), sizeof(uint));
1582
Array.Copy(BitConverter.
GetBytes
((uint)(clause.HandlerLength)), 0, ehInfoData, clauseOffset + (int)EHInfoFields.HandlerEnd * sizeof(uint), sizeof(uint));
1583
Array.Copy(BitConverter.
GetBytes
(classTokenOrOffset), 0, ehInfoData, clauseOffset + (int)EHInfoFields.ClassTokenOrOffset * sizeof(uint), sizeof(uint));
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\GCInfo\X86\CallPattern.cs (1)
17
byte[] fld = BitConverter.
GetBytes
(val);
Microsoft.DotNet.StrongName (2)
Signing.cs (1)
224
var checksumBytes = BitConverter.
GetBytes
(checksum);
Utils.cs (1)
95
var flagBytes = BitConverter.
GetBytes
((uint)(peHeaders.CorHeader.Flags | CorFlags.StrongNameSigned));
Microsoft.ML.Tokenizers.Tests (1)
SentencePieceTests.cs (1)
918
byte[] bytes = BitConverter.
GetBytes
(value);
NuGet.Packaging (3)
Signing\Archive\SignedPackageArchiveUtility.cs (2)
420
byte[] array = BitConverter.
GetBytes
(value);
556
byte[] array = BitConverter.
GetBytes
(value);
Signing\DerEncoding\DerEncoder.cs (1)
124
byte[] bytes = BitConverter.
GetBytes
(value);
System.Data.Common (1)
System\Data\Common\ObjectStorage.cs (1)
279
_values[recordNo] = BitConverter.
GetBytes
((uint)value);