10 references to Instance
Microsoft.AspNetCore.OpenApi (10)
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\OpenApiExternalDocsComparer.cs (1)
29
ComparerHelpers.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.
Instance
);
Comparers\OpenApiSchemaComparer.cs (6)
39
OpenApiAnyComparer.
Instance
.Equals(x.Default, y.Default) &&
41
OpenApiAnyComparer.
Instance
.Equals(x.Example, y.Example) &&
45
ComparerHelpers.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.
Instance
) &&
47
ComparerHelpers.ListEquals(x.Enum, y.Enum, OpenApiAnyComparer.
Instance
) &&
106
hashCode.Add(obj.Default, OpenApiAnyComparer.
Instance
);
109
hashCode.Add(obj.Example, OpenApiAnyComparer.
Instance
);
Comparers\OpenApiXmlComparer.cs (1)
32
ComparerHelpers.DictionaryEquals(x.Extensions, y.Extensions, OpenApiAnyComparer.
Instance
);