1
Vote

Null string parameters, causes problems

description

String retVal = null;
EtxTrace.Trace("Search Result = {0}",retVal);
 
Also if you specific a negative number it compiles on some systems not others.
 
EtwTrace.Trace("Return Index {0}",-1);

comments