System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy
namespace System.Text.Json.Serialization.Metadata
{
internal sealed class FSharpCoreReflectionProxy
{
public enum FSharpKind
{
Unrecognized,
Option,
ValueOption,
List,
Set,
Map,
Record,
Union
}
public delegate TResult StructGetter<TStruct, TResult> (ref TStruct this) where TStruct : struct;
public static FSharpCoreReflectionProxy Instance { get; }
public static bool IsFSharpType(Type type);
public FSharpKind DetectFSharpKind(Type type);
public Func<TFSharpOption, T> CreateFSharpOptionValueGetter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpOption, T>();
public Func<TElement, TFSharpOption> CreateFSharpOptionSomeConstructor<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpOption, TElement>();
public StructGetter<TFSharpValueOption, TElement> CreateFSharpValueOptionValueGetter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpValueOption, TElement>() where TFSharpValueOption : struct;
public Func<TElement, TFSharpOption> CreateFSharpValueOptionSomeConstructor<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpOption, TElement>();
public Func<IEnumerable<TElement>, TFSharpList> CreateFSharpListConstructor<TFSharpList, TElement>();
public Func<IEnumerable<TElement>, TFSharpSet> CreateFSharpSetConstructor<TFSharpSet, TElement>();
public Func<IEnumerable<Tuple<TKey, TValue>>, TFSharpMap> CreateFSharpMapConstructor<TFSharpMap, TKey, TValue>();
}
}