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)
1575bool canOverrideMethod = (_getObjectDataMethod.IsVirtual && !_getObjectDataMethod.IsFinal) && _getObjectDataMethod.IsPublic; 1586Debug.Assert(!(_canOverride && (_getObjectDataMethod == null || _serializationConstructor == null)), "Both GetObjectData method and Serialization Constructor must be present when proxy overrides ISerializable implementation."); 1627MethodBuilder proxyGetObjectData = typeBuilder.DefineMethod(_getObjectDataMethod.Name, 1652generator.Emit(OpCodes.Call, _getObjectDataMethod);