internal static void ThrowDynamicUnionResolverException_Subtype(Type type, UnionAttribute item) { throw GetException(); MessagePackDynamicUnionResolverException GetException() { return(new MessagePackDynamicUnionResolverException("Same union subType has found. Type:" + type.Name + " SubType: " + item.SubType)); } }
internal static void ThrowDynamicUnionResolverException_Key(Type type, UnionAttribute item) { throw GetException(); MessagePackDynamicUnionResolverException GetException() { return(new MessagePackDynamicUnionResolverException("Same union key has found. Type:" + type.Name + " Key:" + item.Key)); } }