16 references to GetBytes
mscorlib (2)
system\bitconverter.cs (2)
128
return
GetBytes
((long)value);
150
return
GetBytes
(*(long*)&value);
System.Data (6)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
230
values[recordNo] = BitConverter.
GetBytes
((Int64)value);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
439
byte[] b = BitConverter.
GetBytes
((long) GetValue(fi, obj));
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8391
byte[] lenBytes = BitConverter.
GetBytes
((Int64)size);
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (3)
519
_stateObj.WriteByteArray(BitConverter.
GetBytes
(time), (int)_metaData.MaxLength - 3, 0);
562
_stateObj.WriteByteArray(BitConverter.
GetBytes
(time), length, 0);
589
_stateObj.WriteByteArray(BitConverter.
GetBytes
(time), length - 5, 0); // time
System.Messaging (3)
System\Messaging\ActiveXMessageFormatter.cs (3)
319
byte[] bytes = BitConverter.
GetBytes
(Decimal.ToOACurrency((Decimal)obj));
326
byte[] bytes = BitConverter.
GetBytes
(((DateTime)obj).Ticks);
368
byte[] bytes = BitConverter.
GetBytes
((Int64)obj);
System.ServiceModel (3)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (3)
311
byte[] bytes = BitConverter.
GetBytes
(Decimal.ToOACurrency((Decimal)obj));
317
byte[] bytes = BitConverter.
GetBytes
(((DateTime)obj).Ticks);
361
byte[] bytes = BitConverter.
GetBytes
((Int64)obj);
System.Web (1)
Security\AnonymousIdentificationModule.cs (1)
345
byte [] bufDate = BitConverter.
GetBytes
(data.ExpireDate.ToFileTimeUtc());
WindowsBase (1)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
587
byte[] tempBuffer = BitConverter.
GetBytes
(value);