Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LargeObjectWithParameterizedConstructorConverterWithReflection.cs
Go to the documentation of this file.
3
5
7{
8 internal override bool RequiresDynamicMemberAccessors => true;
9
10 [RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
14
15 [UnconditionalSuppressMessage("ReflectionAnalysis", "IL2026:RequiresUnreferencedCode", Justification = "The ctor is marked RequiresUnreferencedCode.")]
17 {
18 jsonTypeInfo.CreateObjectWithArgs = options.MemberAccessorStrategy.CreateParameterizedConstructor<T>(base.ConstructorInfo);
19 }
20}