1 write to ForbidCount
Microsoft.AspNetCore.Authentication.Test (1)
PolicyTests.cs (1)
438ForbidCount++;
10 references to ForbidCount
Microsoft.AspNetCore.Authentication.Test (10)
PolicyTests.cs (10)
84Assert.Equal(0, handler2.ForbidCount); 95Assert.Equal(0, handler2.ForbidCount); 140Assert.Equal(0, handler2.ForbidCount); 151Assert.Equal(0, handler2.ForbidCount); 201Assert.Equal(0, handler2.ForbidCount); 212Assert.Equal(0, handler2.ForbidCount); 253Assert.Equal(0, handler2.ForbidCount); 264Assert.Equal(0, handler2.ForbidCount); 310Assert.Equal(0, handler2.ForbidCount); 321Assert.Equal(0, handler2.ForbidCount);