<PackageReference Include="System.Text.Json" Version="11.0.0-preview.2.26159.112" />

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 const string FSharpCoreUnreferencedCodeMessage = "Uses Reflection to access FSharp.Core components at runtime."; public static FSharpCoreReflectionProxy Instance { get; } public static bool IsFSharpType(Type type); public FSharpKind DetectFSharpKind(Type type); public Func<TFSharpOption, T> CreateFSharpOptionValueGetter<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpOption, T>(); public Func<TElement, TFSharpOption> CreateFSharpOptionSomeConstructor<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpOption, TElement>(); public StructGetter<TFSharpValueOption, TElement> CreateFSharpValueOptionValueGetter<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] TFSharpValueOption, TElement>() where TFSharpValueOption : struct; public Func<TElement, TFSharpOption> CreateFSharpValueOptionSomeConstructor<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.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>(); } }