3 writes to HasAntiforgeryToken
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
180formContext.HasAntiforgeryToken = true;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
DefaultHtmlGeneratorTest.cs (2)
967viewContext.FormContext.HasAntiforgeryToken = hasAntiforgeryToken; 991viewContext.FormContext.HasAntiforgeryToken = hasAntiforgeryToken;
1 reference to HasAntiforgeryToken
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultHtmlGenerator.cs (1)
175if (formContext.HasAntiforgeryToken)