1 instantiation of FSharpCoreReflectionProxy
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\FSharpCoreReflectionProxy.cs (1)
72
s_singletonInstance ??= new
FSharpCoreReflectionProxy
(fsharpCoreAssembly);
26 references to FSharpCoreReflectionProxy
System.Text.Json (26)
System\Text\Json\Serialization\Converters\FSharp\FSharpListConverter.cs (3)
16
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
17
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
20
_listConstructor =
FSharpCoreReflectionProxy
.Instance.CreateFSharpListConstructor<TList, TElement>();
System\Text\Json\Serialization\Converters\FSharp\FSharpMapConverter.cs (3)
17
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
18
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
21
_mapConstructor =
FSharpCoreReflectionProxy
.Instance.CreateFSharpMapConstructor<TMap, TKey, TValue>();
System\Text\Json\Serialization\Converters\FSharp\FSharpOptionConverter.cs (4)
23
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
24
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
28
_optionValueGetter =
FSharpCoreReflectionProxy
.Instance.CreateFSharpOptionValueGetter<TOption, TElement>();
29
_optionConstructor =
FSharpCoreReflectionProxy
.Instance.CreateFSharpOptionSomeConstructor<TOption, TElement>();
System\Text\Json\Serialization\Converters\FSharp\FSharpSetConverter.cs (3)
16
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
17
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
20
_setConstructor =
FSharpCoreReflectionProxy
.Instance.CreateFSharpSetConstructor<TSet, TElement>();
System\Text\Json\Serialization\Converters\FSharp\FSharpTypeConverterFactory.cs (6)
7
using FSharpKind = System.Text.Json.Serialization.Metadata.
FSharpCoreReflectionProxy
.FSharpKind;
11
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
14
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
22
FSharpCoreReflectionProxy
.IsFSharpType(typeToConvert) &&
23
FSharpCoreReflectionProxy
.Instance.DetectFSharpKind(typeToConvert) is not FSharpKind.Unrecognized;
37
switch (
FSharpCoreReflectionProxy
.Instance.DetectFSharpKind(typeToConvert))
System\Text\Json\Serialization\Converters\FSharp\FSharpValueOptionConverter.cs (5)
20
private readonly
FSharpCoreReflectionProxy
.StructGetter<TValueOption, TElement> _optionValueGetter;
23
[RequiresUnreferencedCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
24
[RequiresDynamicCode(
FSharpCoreReflectionProxy
.FSharpCoreUnreferencedCodeMessage)]
28
_optionValueGetter =
FSharpCoreReflectionProxy
.Instance.CreateFSharpValueOptionValueGetter<TValueOption, TElement>();
29
_optionConstructor =
FSharpCoreReflectionProxy
.Instance.CreateFSharpValueOptionSomeConstructor<TValueOption, TElement>();
System\Text\Json\Serialization\Metadata\FSharpCoreReflectionProxy.cs (2)
40
private static
FSharpCoreReflectionProxy
? s_singletonInstance;
86
public static
FSharpCoreReflectionProxy
Instance