FAQ
Why Does The Code In The Reports Not Look Exactly Like My Source Code?
SPCAF performs the analysis of your customization without access to the source code by de-compiling the solution.
SPCAF performs the analysis of your customization without access to the source code by de-compiling the solution.
Some coding constructs which look different in the source code e.g.
using(SPSite site = new SPSite(url)){<br></br>...<br></br>}
and
SPSite site = new SPSite(url);<br></br><br></br>try{<br></br><br></br>...<br></br><br></br>}<br></br><br></br>finally{<br></br><br></br>site.Dispose();<br></br><br></br>}
get compiled into the same intermediate language (IL).
For this reason, SPCAF can’t retrieve the exactly used source code, upon de-compilation.