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