Skip to content

Commit

Permalink
Fixed CA1859 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktoriiaZheliezniak committed Jun 10, 2024
1 parent 2684544 commit d7297d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NJsonSchema/Generation/JsonSchemaGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ private void GenerateInheritanceDiscriminator(Type type, JsonSchema schema, Json
}
}

private object? TryGetInheritanceDiscriminatorConverter(Type type)
private SystemTextJsonInheritanceWrapper? TryGetInheritanceDiscriminatorConverter(Type type)
{
var typeAttributes = type.GetTypeInfo().GetCustomAttributes(false).OfType<Attribute>();

Expand Down

0 comments on commit d7297d5

Please sign in to comment.