Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CheckAndAddMember()

static void System.Runtime.Serialization.ClassDataContract.CheckAndAddMember ( List< DataMember > members,
DataMember memberContract,
Dictionary< string, DataMember > memberNamesTable )
inlinestaticpackage

Definition at line 1234 of file ClassDataContract.cs.

1235 {
1237 {
1238 Type declaringType = memberContract.MemberInfo.DeclaringType;
1240 }
1243 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
void Add(TKey key, TValue value)
DataContract(DataContractCriticalHelper helper)
static string GetClrTypeFullName(Type type)
static string DupEnumMemberValue
Definition SR.cs:76
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.SR.DupEnumMemberValue, System.SR.DupMemberName, System.SR.Format(), System.Runtime.Serialization.DataContract.GetClrTypeFullName(), System.Runtime.Serialization.DataContract.ThrowInvalidDataContractException(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Runtime.Serialization.ClassDataContract.ClassDataContractCriticalHelper.ImportDataMembers(), and System.Runtime.Serialization.EnumDataContract.EnumDataContractCriticalHelper.ImportDataMembers().