Is there a way to add a preprocessor directive that compares the C# version used by the compiler?
For example :
public T MyMethod() { #if CS_7