10 references to WithScriptCompilationInfo
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
3986return this.WithScriptCompilationInfo((CSharpScriptCompilationInfo?)info);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\CompilationAPITests.cs (9)
1751.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(firstCompilation, null, null)) 2140var c2 = c1.WithScriptCompilationInfo(null); 2144var c3 = c2.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: null, returnType: typeof(int), globalsType: null)); 2149var c4 = c3.WithScriptCompilationInfo(null); 2153var c5 = c4.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c1, returnType: typeof(int), globalsType: null)); 2156var c6 = c5.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c1, returnType: typeof(bool), globalsType: null)); 2159var c7 = c6.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: c2, returnType: typeof(bool), globalsType: null)); 2162var c8 = c7.WithScriptCompilationInfo(new CSharpScriptCompilationInfo(previousCompilationOpt: null, returnType: typeof(bool), globalsType: null)); 2165var c9 = c8.WithScriptCompilationInfo(null);