81 references to CreateCompilationWithCovariantReturns
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (81)
Symbols\CovariantReturnTests.cs (81)
443? CreateCompilationWithCovariantReturns(source, references, assemblyName, options, parseOptions)
582comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
639CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns)
651var comp = CreateCompilationWithCovariantReturns(source)
701var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
723comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
775var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
781comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
834var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
840comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
896var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
902comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
956var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
971comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1025var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1031comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1089var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1095comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1151var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1157comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1213var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1219comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1280var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1286comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1344comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1388comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1413var baseMetadata = CreateCompilationWithCovariantReturns(s0).EmitToImageReference();
1430var comp = CreateCompilationWithCovariantReturns(source, references: new[] { baseMetadata }, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1436comp = CreateCompilationWithCovariantReturns(source, references: new[] { baseMetadata }).VerifyDiagnostics(
1475var baseMetadata = CreateCompilationWithCovariantReturns(s0).EmitToImageReference();
1493var comp = CreateCompilationWithCovariantReturns(source, references: references, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1499comp = CreateCompilationWithCovariantReturns(source, references: references).VerifyDiagnostics(
1539var baseMetadata = CreateCompilationWithCovariantReturns(s0).EmitToImageReference();
1557var comp = CreateCompilationWithCovariantReturns(source, references: references, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1563comp = CreateCompilationWithCovariantReturns(source, references: new[] { baseMetadata }).VerifyDiagnostics(
1622var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1628comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1687comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1754comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1819var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1837comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1896var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
1905comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
1984comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2045comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2088var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2094comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2173comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2222var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2228comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2287var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2296comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2342var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2351comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2396var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2405comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2472comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2514var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2523comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
2575var csComp = CreateCompilationWithCovariantReturns(source0).VerifyDiagnostics(
2829var ref1b = CreateCompilationWithCovariantReturns(
2864var comp = CreateCompilationWithCovariantReturns(s2, references, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2871comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics(
2920var ref1b = CreateCompilationWithCovariantReturns(s1b, references: new[] { ref0 }, assemblyName: "ref1").EmitToImageReference();
2930var comp = CreateCompilationWithCovariantReturns(s2, references, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
2937comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics(
2987var ref1b = CreateCompilationWithCovariantReturns(s1b, references: new[] { ref0 }, assemblyName: "ref1").EmitToImageReference();
2997var comp = CreateCompilationWithCovariantReturns(s2, references, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
3004comp = CreateCompilationWithCovariantReturns(s2, references).VerifyDiagnostics(
3097var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
3106comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3139var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
3145comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3181var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
3187comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3238var comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3401var comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3569var comp = CreateCompilationWithCovariantReturns(source, parseOptions: TestOptions.WithoutCovariantReturns).VerifyDiagnostics(
3609comp = CreateCompilationWithCovariantReturns(source).VerifyDiagnostics(
3748var comp = CreateCompilationWithCovariantReturns(cSharpSource, references, parseOptions: TestOptions.WithoutCovariantReturns);
3759comp = CreateCompilationWithCovariantReturns(cSharpSource, references);