11 references to ComparerHelpers
Microsoft.AspNetCore.OpenApi (11)
Comparers\OpenApiAnyComparer.cs (2)
33
OpenApiArray arrayX => y is OpenApiArray arrayY &&
ComparerHelpers
.ListEquals(arrayX, arrayY, Instance),
34
OpenApiObject objectX => y is OpenApiObject objectY &&
ComparerHelpers
.DictionaryEquals(objectX, objectY, Instance),
Comparers\OpenApiDiscriminatorComparer.cs (1)
29
ComparerHelpers
.DictionaryEquals(x.Mapping, y.Mapping, StringComparer.Ordinal);
Comparers\OpenApiExternalDocsComparer.cs (1)
29
ComparerHelpers
.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.Instance);
Comparers\OpenApiSchemaComparer.cs (6)
32
ComparerHelpers
.DictionaryEquals(x.Properties, y.Properties, Instance) &&
36
ComparerHelpers
.ListEquals(x.AllOf, y.AllOf, Instance) &&
37
ComparerHelpers
.ListEquals(x.AnyOf, y.AnyOf, Instance) &&
45
ComparerHelpers
.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.Instance) &&
47
ComparerHelpers
.ListEquals(x.Enum, y.Enum, OpenApiAnyComparer.Instance) &&
59
ComparerHelpers
.ListEquals(x.OneOf, y.OneOf, Instance) &&
Comparers\OpenApiXmlComparer.cs (1)
32
ComparerHelpers
.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.Instance);