mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -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.
25 lines
569 B
C#
25 lines
569 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Xml;
|
|
|
|
namespace System.Runtime.Serialization.Json
|
|
{
|
|
internal partial class JsonFormatWriterGenerator
|
|
{
|
|
partial class CriticalHelper
|
|
{
|
|
internal JsonFormatClassWriterDelegate GenerateClassWriter(ClassDataContract classContract)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
internal JsonFormatCollectionWriterDelegate GenerateCollectionWriter(CollectionDataContract collectionContract)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|