< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 403
Coverable lines: 403
Total lines: 626
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 192
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)0%48480%
Read(...)100%110%
OnTryRead(...)0%440%
ReadFromString(...)0%660%
ReadFromObject(...)0%80800%
ThrowForMissingRequiredFields(...)0%660%
Write(...)100%110%
OnTryWrite(...)0%10100%
ConfigureJsonTypeInfo(...)100%110%
LookupCaseByName(...)0%660%
TryGetFieldIndex(...)0%660%
BuildFieldIndexMap(...)0%440%
.ctor(...)100%110%
.ctor(...)0%440%
ResolveCustomConverter(...)0%14140%

File(s)

https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/FSharp/FSharpUnionConverter.cs

Error during reading file 'https://raw.githubusercontent.com/dotnet/runtime/87bcbd26c0325d512bb7d091f493e73201aee1d6/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/FSharp/FSharpUnionConverter.cs': Response status code does not indicate success: 404 (Not Found).

Methods/Properties

CanHaveMetadata()
.ctor(System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy/FSharpUnionCaseInfo[],System.Func`2<System.Object,System.Int32>,System.Text.Json.JsonSerializerOptions,System.String)
Read(System.Text.Json.Utf8JsonReader&,System.Type,System.Text.Json.JsonSerializerOptions)
OnTryRead(System.Text.Json.Utf8JsonReader&,System.Type,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack&,T&)
ReadFromString(System.Text.Json.Utf8JsonReader&,System.Text.Json.JsonSerializerOptions)
ReadFromObject(System.Text.Json.Utf8JsonReader&,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack&)
ThrowForMissingRequiredFields(System.Text.Json.Serialization.Converters.FSharpUnionConverter`1/CaseInfo<T>,System.Collections.BitArray)
Write(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions)
OnTryWrite(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions,System.Text.Json.WriteStack&)
ConfigureJsonTypeInfo(System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions)
LookupCaseByName(System.String)
TryGetFieldIndex(System.String,System.Text.Json.Serialization.Converters.FSharpUnionConverter`1/CaseInfo<T>,System.Int32&)
BuildFieldIndexMap(System.Text.Json.Serialization.Converters.FSharpUnionConverter`1/CaseFieldInfo<T>[],System.StringComparer,System.Type,System.String)
.ctor(System.String,System.Text.Json.JsonEncodedText,System.Int32,System.Boolean,System.Text.Json.Serialization.Converters.FSharpUnionConverter`1/CaseFieldInfo<T>[],System.Object[],System.Collections.Generic.Dictionary`2<System.String,System.Int32>,System.Collections.Generic.Dictionary`2<System.String,System.Int32>,System.Func`2<System.Object,System.Object[]>,System.Func`2<System.Object[],System.Object>,System.Type)
EncodedDiscriminatorName()
IsFieldless()
Fields()
DefaultFieldValues()
FieldIndexMap()
FieldIndexMapCaseInsensitive()
FieldReader()
Constructor()
DeclaringType()
.ctor(System.String,System.Text.Json.JsonEncodedText,System.Reflection.PropertyInfo,System.Text.Json.JsonSerializerOptions)
FieldName()
EncodedFieldName()
FieldType()
NumberHandling()
Converter()
PropertyInfoForTypeInfo()
ResolveCustomConverter(System.Text.Json.Serialization.JsonConverterAttribute,System.Type,System.Reflection.PropertyInfo,System.Text.Json.JsonSerializerOptions)