1 write to _anonymousHttpContext
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (1)
Benchmarks\AntiforgeryTokenGeneratorBenchmarks.cs (1)
41
_anonymousHttpContext
= new DefaultHttpContext();
3 references to _anonymousHttpContext
Microsoft.AspNetCore.Antiforgery.Microbenchmarks (3)
Benchmarks\AntiforgeryTokenGeneratorBenchmarks.cs (3)
42
_anonymousHttpContext
.User = new ClaimsPrincipal(new ClaimsIdentity());
94
return _tokenGenerator.GenerateRequestToken(
_anonymousHttpContext
, _anonymousCookieToken);
107
_anonymousHttpContext
,