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