8 references to OnSerializing
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\ClassDataContract.cs (2)
528
if (MethodRequiresMemberAccess(
OnSerializing
))
535
OnSerializing
!.Name),
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
178
if (classContract.
OnSerializing
!= null)
183
_ilg.Call(classContract.
OnSerializing
);
System\Runtime\Serialization\ReflectionClassWriter.cs (2)
134
if (classContract.
OnSerializing
!= null)
137
classContract.
OnSerializing
.Invoke(obj, new object[] { contextArg });
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
211
if (classContract.
OnSerializing
!= null)
216
_ilg.Call(classContract.
OnSerializing
);