2 instantiations of SerializationEvents
System.Resources.Extensions (2)
System\Resources\Extensions\BinaryFormat\SerializationEvents.cs (2)
16
private static readonly SerializationEvents s_noEvents =
new
();
44
: new
SerializationEvents
(onDeserializingMethods, onDeserializedMethods);
6 references to SerializationEvents
System.Resources.Extensions (6)
System\Resources\Extensions\BinaryFormat\Deserializer\ClassRecordDeserializer.cs (1)
52
SerializationEvents
.GetOnDeserializingForType(type, @object)?.Invoke(deserializer.Options.StreamingContext);
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
345
OnDeserialized +=
SerializationEvents
.GetOnDeserializedForType(type, @object);
System\Resources\Extensions\BinaryFormat\SerializationEvents.cs (4)
14
private static readonly ConcurrentDictionary<Type,
SerializationEvents
> s_cache = new();
16
private static readonly
SerializationEvents
s_noEvents = new();
33
private static
SerializationEvents
GetSerializationEventsForType(
37
private static
SerializationEvents
CreateSerializationEvents([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type)