Example #1
0
        protected Compilation CreateCompilation(bool avoidStandardReferences) {
            Compilation compilation = new Compilation(this);
            if (avoidStandardReferences == false) {
                compilation.AddReference("mscorlib.dll");
            }
            compilation.Options.InternalTestMode = true;

            return compilation;
        }