Using the following code:
RouteCollection routes = new RouteCollection();
routes.MapRoute(
name: "FooRoute",
url: "Foo/{Foo}",
defaults: new RouteValueDictionary { { "Foo", "Bar" } }
);
Expected: routes should contain 1 route, with 1 default:
Foo = Bar
Actual: routes contains 1 route with the following defaults:
Count = 1
Keys = { "Foo" }
Value = { "Bar" }