title: Source code obfuscation
body: <p>I'm aware that this is a bizarre request, but I need to obfuscate raw c# source code.</p>
  
  <p>Although it is a bad idea, the c# code would be compiled client side via a CSharpCodeProvider. Is there any existing class in c# to obfuscate source code? Alternatively, is there a third party library to do so?</p>
  
  <p>I've thought about using Roslyn and manual variable renaming but I can't find any information on how to do that. Does anyone know how to rename variables (and load a solution) using Roslyn?</p>
  
  <p>I've tried a manual syntax parser, which didn't go well.</p>
  
  <p>What I've done so far:</p>
  
  <p>Removed ALL comments.</p>
  
  <p>Removed all newlines and whitespace.</p>
  
  <p>Put all the files from all the different projects into one folder with random 25 character alphanumeric names. </p>
  
  <p>Added random comments mid code line. Not gonna stop anyone but gives me a headache to read <code>public /*SJKDSJKDJ398sLAjljKKxklw*/int /*SDSDSJCJKIORIO*/ privateServerKey = /*SDKSDKSDFKJSFKJ*/ ...</code></p>