I would like to perform a C# interception based with Attribute by example:
[CheckSomething]
public void Test()
{
}
And I want to cancel the execution of the method by example, i've alreay tried by creating an Attribute, an other problem is that i don't arrive to Console.WriteLine() in the constructor of the Attribute, does anyone know why ?
Thank you