7 references to ToArray
System.Data.Linq (3)
DbConvert.cs (3)
53return ((Binary)value).ToArray(); 83return new Guid(((Binary)value).ToArray()); 87using (MemoryStream stream = new MemoryStream(((Binary)value).ToArray(), false)) {
System.Data.Services (4)
System\Data\Services\Parsing\WebConvert.cs (2)
135return TryKeyPrimitiveToString(((System.Data.Linq.Binary)value).ToArray(), out result); 679return TryXmlPrimitiveToString(((System.Data.Linq.Binary)value).ToArray(), out result);
System\Data\Services\Serializers\BinarySerializer.cs (1)
60bytes = (byte[])((System.Data.Linq.Binary)content).ToArray();
System\Data\Services\Serializers\JsonSerializer.cs (1)
378this.WritePrimitiveValue(((System.Data.Linq.Binary)value).ToArray());