12 references to Binary
System.Data.Services.Client (12)
System\Data\Services\Client\ClientConvert.cs (12)
190
case StorageType.
Binary
:
191
Debug.Assert(null != knownTypes[(int)StorageType.
Binary
], "null typeof(System.Data.Linq.Binary)");
192
return Activator.CreateInstance(knownTypes[(int)StorageType.
Binary
], Convert.FromBase64String(propertyValue));
218
return StorageType.
Binary
== (StorageType)IndexOfStorage(value.GetType());
355
case StorageType.
Binary
:
356
Debug.Assert(null != knownTypes[(int)StorageType.
Binary
], "null typeof(System.Data.Linq.Binary)");
357
Debug.Assert(knownTypes[(int)StorageType.
Binary
].IsInstanceOfType(propertyValue), "not IsInstanceOfType System.Data.Linq.Binary");
409
case StorageType.
Binary
:
459
Type[] types = new Type[1 + (int)StorageType.
Binary
];
488
types[(int)StorageType.
Binary
] = null; // delay populated
541
ClientConvert.knownTypes[(int)StorageType.
Binary
] = type;
543
return (int)StorageType.
Binary
;