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