10 references to WithScriptCompilationInfo
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
4034return this.WithScriptCompilationInfo((CSharpScriptCompilationInfo?)info);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\CompilationAPITests.cs (9)
1750.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(firstCompilation, null, null)) 2139var c2 = c1.WithScriptCompilationInfo(null); 2143var c3 = c2.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: null, returnType: typeof(int), globalsType: null)); 2148var c4 = c3.WithScriptCompilationInfo(null); 2152var c5 = c4.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c1, returnType: typeof(int), globalsType: null)); 2155var c6 = c5.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c1, returnType: typeof(bool), globalsType: null)); 2158var c7 = c6.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c2, returnType: typeof(bool), globalsType: null)); 2161var c8 = c7.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: null, returnType: typeof(bool), globalsType: null)); 2164var c9 = c8.WithScriptCompilationInfo(null);