16 references to GetBytes
mscorlib (2)
system\bitconverter.cs (2)
128return GetBytes((long)value); 150return GetBytes(*(long*)&value);
System.Data (6)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
230values[recordNo] = BitConverter.GetBytes((Int64)value);
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
439byte[] b = BitConverter.GetBytes((long) GetValue(fi, obj));
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8391byte[] 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)
319byte[] bytes = BitConverter.GetBytes(Decimal.ToOACurrency((Decimal)obj)); 326byte[] bytes = BitConverter.GetBytes(((DateTime)obj).Ticks); 368byte[] bytes = BitConverter.GetBytes((Int64)obj);
System.ServiceModel (3)
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (3)
311byte[] bytes = BitConverter.GetBytes(Decimal.ToOACurrency((Decimal)obj)); 317byte[] bytes = BitConverter.GetBytes(((DateTime)obj).Ticks); 361byte[] bytes = BitConverter.GetBytes((Int64)obj);
System.Web (1)
Security\AnonymousIdentificationModule.cs (1)
345byte [] bufDate = BitConverter.GetBytes(data.ExpireDate.ToFileTimeUtc());
WindowsBase (1)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (1)
587byte[] tempBuffer = BitConverter.GetBytes(value);