I haven't read all the previous posts to see if this has been reported yet,
so if it has I'm sorry to be redundant.
My scenario is relatively simple: I have a generic method that accepts a
generic type as a parameter. When I call "GetType( )" on that parameter,
Resharper tracks it as a syntax error. Everything compiles fine, but the
Resharper syntax error warning (a highlight in red) remains.
Here is the method signature:
public void Save]]>(T obj);
And here is the call inside of this method:
I do not constrain this parameter, nor should I need to because GetType is
found in the "object" class.