1 write to _getObjectDataMethod
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1572
_getObjectDataMethod
= mapping.TargetMethods[0];
6 references to _getObjectDataMethod
System.Data.Entity (6)
System\Data\Objects\Internal\EntityProxyFactory.cs (6)
1575
bool canOverrideMethod = (
_getObjectDataMethod
.IsVirtual && !
_getObjectDataMethod
.IsFinal) &&
_getObjectDataMethod
.IsPublic;
1586
Debug.Assert(!(_canOverride && (
_getObjectDataMethod
== null || _serializationConstructor == null)), "Both GetObjectData method and Serialization Constructor must be present when proxy overrides ISerializable implementation.");
1627
MethodBuilder proxyGetObjectData = typeBuilder.DefineMethod(
_getObjectDataMethod
.Name,
1652
generator.Emit(OpCodes.Call,
_getObjectDataMethod
);