13 references to CreateCSharpCompilation
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\SwitchTests.cs (2)
2624
var compilation = base.
CreateCSharpCompilation
(text);
2652
var compilation = base.
CreateCSharpCompilation
(text);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\MethodTypeInferenceTests.cs (3)
1115
var compilation =
CreateCSharpCompilation
(source);
1156
var compilation =
CreateCSharpCompilation
(source);
1197
var compilation =
CreateCSharpCompilation
(source).VerifyDiagnostics();
Microsoft.CodeAnalysis.UnitTests (5)
Symbols\DocumentationCommentIdTests.cs (5)
22
CreateCSharpCompilation
(
85
var comp =
CreateCSharpCompilation
(code);
109
var comp =
CreateCSharpCompilation
(code);
127
var comp =
CreateCSharpCompilation
("""
173
var comp =
CreateCSharpCompilation
(text, compilationOptions: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\CompilationAPITests.vb (3)
1959
comp =
CreateCSharpCompilation
("")
1991
comp =
CreateCSharpCompilation
("")
2505
Dim csComp =
CreateCSharpCompilation
("", referencedAssemblies:=TargetFrameworkUtil.GetReferences(TargetFramework.Standard))