1 write to _canOverride
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1583
_canOverride
= _serializationConstructor != null && (_serializationConstructor.IsPublic || _serializationConstructor.IsFamily || _serializationConstructor.IsFamilyOrAssembly);
3 references to _canOverride
System.Data.Entity (3)
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
1586
Debug.Assert(!(
_canOverride
&& (_getObjectDataMethod == null || _serializationConstructor == null)), "Both GetObjectData method and Serialization Constructor must be present when proxy overrides ISerializable implementation.");
1597
return !_baseImplementsISerializable ||
_canOverride
;
1611
if (_baseImplementsISerializable &&
_canOverride
)