29 references to CreateCompilationWithMscorlib461
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenDynamicTests.cs (2)
15790var comp = CreateCompilationWithMscorlib461( 15812var comp = CreateCompilationWithMscorlib461(
CodeGen\CodeGenExprLambdaTests.cs (2)
2537var comp = CreateCompilationWithMscorlib461( 3597var comp45 = CreateCompilationWithMscorlib461(
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\DiagnosticAnalyzerTests.cs (7)
2458var compilation = CreateCompilationWithMscorlib461(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9); 3188var compilation = CreateCompilationWithMscorlib461(new[] { source1, source2 }); 3220var compilation = CreateCompilationWithMscorlib461(new[] { source1, source2 }); 3344var compilation = CreateCompilationWithMscorlib461(new[] { source1, source2, source3 }); 3680var compilation = CreateCompilationWithMscorlib461(new[] { source1, source2, source3 }); 3747var compilation = CreateCompilationWithMscorlib461(new[] { source }); 4308var compilation = CreateCompilationWithMscorlib461(new[] { source1, source2 });
Semantics\OutVarTests.cs (1)
34919var compilation = CreateCompilationWithMscorlib461(new[] { text1, text2 });
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\InitOnlyMemberTests.cs (2)
4594var piaCompilation = CreateCompilationWithMscorlib461(new[] { IsExternalInitTypeDefinition, pia }, options: TestOptions.DebugDll); 4610var compilation = CreateCompilationWithMscorlib461(new[] { source },
Semantics\NullableReferenceTypesTests.cs (11)
61532CSharpCompilation c = CreateCompilationWithMscorlib461( 61590CSharpCompilation c = CreateCompilationWithMscorlib461( 65544var comp = CreateCompilationWithMscorlib461( 76388CreateCompilationWithMscorlib461(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics( 76421CreateCompilationWithMscorlib461(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics( 76927var compilation = CreateCompilationWithMscorlib461(new[] { source }, 79271var comp = CreateCompilationWithMscorlib461( 79896var comp = CreateCompilationWithMscorlib461( 160345CSharpCompilation c = CreateCompilationWithMscorlib461( 160403CSharpCompilation c = CreateCompilationWithMscorlib461( 160452CSharpCompilation c = CreateCompilationWithMscorlib461(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\AssemblyAndNamespaceTests.cs (1)
663CreateCompilationWithMscorlib461(new[] { source1, source2 }, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics();
Symbols\Source\MethodTests.cs (3)
584var comp = CreateCompilationWithMscorlib461(new[] { text, text1, text2 }); 758var comp2 = CreateCompilationWithMscorlib461(new string[] { text1 }, new List<MetadataReference>() { compRef1 }, assemblyName: "Test2"); 764var comp = CreateCompilationWithMscorlib461(new string[] { text2 }, new List<MetadataReference>() { compRef1, compRef2 }, assemblyName: "Test3");