We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SerializationStabilityTests
1 parent a82dc1e commit d611e80Copy full SHA for d611e80
src/BizHawk.Tests/Client.Common/config/SerializationStabilityTests.cs
@@ -78,6 +78,7 @@ static void CheckAll<T>(string? groupDesc = null)
78
if (mi.GetCustomAttribute<JsonIgnoreAttribute>() is not null) continue;
79
if (mi is PropertyInfo pi) CheckMemberAndTypeParams(pi.PropertyType, groupDesc);
80
else if (mi is FieldInfo fi) CheckMemberAndTypeParams(fi.FieldType, groupDesc);
81
+ else if (mi.MemberType is MemberTypes.Event) Assert.Fail($"cannot serialise event {t.FullName}.{mi.Name} in {groupDesc}");
82
}
83
84
CheckAll<Config>();
0 commit comments