This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Configuration; | |
using System.Text; | |
using System.Web; | |
using SecurityTrap.DoNotUse; | |
[assembly: PreApplicationStartMethod(typeof(EvilCode2), "RogueAction")] | |
namespace SecurityTrap.DoNotUse | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Configuration; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Web; | |
using SecurityTrap.DoNotUse; | |
[assembly: PreApplicationStartMethod(typeof(EvilCode), "RogueAction")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using FluentAssertions; | |
using Xunit; | |
// To run this example you need to reference nuget packages: Xunit and FluentAssertions. | |
namespace EqualitySample | |
{ | |
public class EqualityTestShould | |
{ | |
[Fact] |
NewerOlder