mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
The new code is to implement reflection (non-emit) based serialization so that it works on iOS. Actually I _totally_ switched to this new implementation because dynamic method based implementation also doesn't work fine, even on desktop (due to invocation failure on internal methods, it seems that our dynamic method needs some bugfixes). The new methods with NotImplementedException in new classes need to be implemented.
28 lines
726 B
C#
28 lines
726 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
|
|
namespace System.Runtime.Serialization.Json
|
|
{
|
|
internal partial class JsonFormatReaderGenerator
|
|
{
|
|
partial class CriticalHelper
|
|
{
|
|
public JsonFormatClassReaderDelegate GenerateClassReader(ClassDataContract classContract)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
public JsonFormatCollectionReaderDelegate GenerateCollectionReader(CollectionDataContract collectionContract)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
public JsonFormatGetOnlyCollectionReaderDelegate GenerateGetOnlyCollectionReader(CollectionDataContract collectionContract)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|