12 references to GetBytes
ILCompiler.Compiler (1)
Compiler\TypePreinit.cs (1)
2432
public static ValueTypeValue FromInt16(short value) => new ValueTypeValue(BitConverter.
GetBytes
(value));
Microsoft.Diagnostics.NETCore.Client (1)
DiagnosticsIpc\IpcAdvertise.cs (1)
103
Array.Copy(BitConverter.
GetBytes
(future), 0, buffer, index, sizeof(short));
Microsoft.DotNet.Build.Tasks.Workloads (4)
Utils.cs (4)
147
Buffer.BlockCopy(BitConverter.
GetBytes
(timeMid), 0, hashBuffer, 4, 2);
148
Buffer.BlockCopy(BitConverter.
GetBytes
(timeHiVersion), 0, hashBuffer, 6, 2);
166
Buffer.BlockCopy(BitConverter.
GetBytes
(timeMid), 0, hash, 4, 2);
173
Buffer.BlockCopy(BitConverter.
GetBytes
(timeHiVersion), 0, hash, 6, 2);
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1810
value = BitConverter.
GetBytes
(valueId);
RepoTasks (4)
Uuid.cs (4)
39
Buffer.BlockCopy(BitConverter.
GetBytes
(timeMid), 0, hashBuffer, 4, 2);
40
Buffer.BlockCopy(BitConverter.
GetBytes
(timeHiVersion), 0, hashBuffer, 6, 2);
58
Buffer.BlockCopy(BitConverter.
GetBytes
(timeMid), 0, hash, 4, 2);
65
Buffer.BlockCopy(BitConverter.
GetBytes
(timeHiVersion), 0, hash, 6, 2);
System.Data.Common (1)
System\Data\Common\ObjectStorage.cs (1)
263
_values[recordNo] = BitConverter.
GetBytes
((short)value);