12 references to Default
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
285
if (!RouteValueEqualityComparer.
Default
.Equals(routeValue.Value, string.Empty))
Microsoft.AspNetCore.Routing (10)
Matching\DfaMatcherBuilder.cs (1)
987
return !RouteValueEqualityComparer.
Default
.Equals(value, string.Empty);
Patterns\DefaultRoutePatternTransformer.cs (5)
51
if (RouteValueEqualityComparer.
Default
.Equals(kvp.Value, string.Empty))
66
!RouteValueEqualityComparer.
Default
.Equals(kvp.Value, defaultValue))
85
!RouteValueEqualityComparer.
Default
.Equals(string.Empty, defaultValue))
116
RouteValueEqualityComparer.
Default
.Equals(kvp.Value, defaultValue))
169
!RouteValueEqualityComparer.
Default
.Equals(kvp.Value, defaultValue))
Patterns\RoutePatternFactory.cs (2)
499
var found = RouteValueEqualityComparer.
Default
.Equals(string.Empty, kvp.Value);
518
RouteValueEqualityComparer.
Default
.Equals(kvp.Value, defaultValue))
Template\RoutePrecedence.cs (1)
267
!RouteValueEqualityComparer.
Default
.Equals(requiredValue, string.Empty))
Tree\LinkGenerationDecisionTree.cs (1)
172
public IEqualityComparer<object> ValueComparer => RouteValueEqualityComparer.
Default
;
Microsoft.AspNetCore.Routing.Tests (1)
DecisionTreeBuilderTest.cs (1)
206
public IEqualityComparer<object> ValueComparer => RouteValueEqualityComparer.
Default
;