terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ SetIsSpecifiedActions()

void Newtonsoft.Json.Serialization.DefaultContractResolver.SetIsSpecifiedActions ( JsonProperty property,
MemberInfo member,
bool allowNonPublicAccess )
inlineprivate

Definition at line 893 of file DefaultContractResolver.cs.

894 {
896 if (propertyInfo == null)
897 {
898 }
900 if (fieldInfo != null)
901 {
903 Func func = JsonTypeReflector.ReflectionDelegateFactory.CreateGet(fieldInfo);
904 long num = 0L;
905 bool flag = ReflectionUtils.CanSetMemberValue(fieldInfo, true, num != 0L);
906 Action action = JsonTypeReflector.ReflectionDelegateFactory.CreateSet(fieldInfo);
907 property.<SetIsSpecified>k__BackingField = action;
908 }
909 }
class f__AnonymousType0<< Count > j__TPar
BindingFlags< DefaultMembersSearchFlags > k__BackingField
static Type GetMemberUnderlyingType(MemberInfo member)
static bool CanSetMemberValue(MemberInfo member, bool nonPublic, bool canSetReadOnly)

References System.action, Newtonsoft.Json.Utilities.ReflectionUtils.CanSetMemberValue(), Newtonsoft.Json.Utilities.ReflectionUtils.GetMemberUnderlyingType(), j__TPar, Newtonsoft.Json.Serialization.DefaultContractResolver.k__BackingField, System.L, and Newtonsoft.Json.Serialization.JsonTypeReflector.ReflectionDelegateFactory.