2 writes to Fragment
Microsoft.AspNetCore.Mvc.Core (1)
UrlHelperExtensions.cs (1)
345Fragment = fragment
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTestBase.cs (1)
580Fragment = "somefragment",
14 references to Fragment
Microsoft.AspNetCore.Mvc.Core (3)
Routing\EndpointRoutingUrlHelper.cs (2)
85fragment: routeContext.Fragment == null ? FragmentString.Empty : new FragmentString("#" + routeContext.Fragment));
Routing\UrlHelper.cs (1)
70return GenerateUrl(routeContext.Protocol, routeContext.Host, virtualPathData, routeContext.Fragment);
Microsoft.AspNetCore.Mvc.Core.Test (7)
RedirectToPageResultTest.cs (2)
129Assert.Equal("test-fragment", context.Fragment); 183Assert.Equal("test-fragment", context.Fragment);
Routing\UrlHelperExtensionsTest.cs (5)
49Assert.Null(actual.Fragment); 102Assert.Null(actual.Fragment); 134Assert.Null(actual.Fragment); 166Assert.Null(actual.Fragment); 203Assert.Equal("#toc", actual.Fragment);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
FormActionTagHelperTest.cs (1)
281Assert.Equal("test", param.Fragment, StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
RemoteAttributeTest.cs (1)
539Assert.Null(routeContext.Fragment);
Rendering\HtmlHelperFormTest.cs (1)
286context.Fragment == null)))
Rendering\HtmlHelperLinkGenerationTest.cs (1)
139context.Fragment));