23 references to WithPEVerifyCompatFeature
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (21)
CodeGen\CodeGenInParametersTests.cs (5)
938
comp = CompileAndVerify(text, verify: Verification.Fails, expectedOutput: "42", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
998
comp = CompileAndVerify(text, verify: Verification.Fails, expectedOutput: "42", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
1837
comp = CreateCompilationWithMscorlib46(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
2277
comp = CreateCompilationWithMscorlib46(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
2430
comp = CreateCompilationWithMscorlib46(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (2)
535
", TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
763
var parseOptions = CSharpParseOptions.Default.
WithPEVerifyCompatFeature
();
CodeGen\CodeGenReadonlyStructTests.cs (5)
67
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes, expectedOutput: @"12");
138
comp = CompileAndVerify(text, new[] { ref1 }, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes, expectedOutput: @"12");
206
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes, expectedOutput: @"12");
281
comp = CompileAndVerify(text, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes, expectedOutput: @"hello2");
362
comp = CompileAndVerify(text, new[] { ref1 }, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes, expectedOutput: @"hello2");
CodeGen\CodeGenRefLocalTests.cs (1)
66
parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(),
CodeGen\CodeGenRefReadonlyReturnTests.cs (2)
62
var comp = CompileAndVerify(source, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Fails);
915
comp = CompileAndVerify(text, new[] { ValueTupleRef, SystemRuntimeFacadeRef }, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Fails, targetFramework: TargetFramework.Mscorlib40);
CodeGen\CodeGenShortCircuitOperatorTests.cs (1)
7349
comp = CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: @"", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
(), verify: Verification.Passes);
CodeGen\CodeGenStructsAndEnum.cs (1)
1570
compilation = CompileAndVerify(source, expectedOutput: "S1", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
CodeGen\CodeGenTests.cs (4)
5189
compilation = CompileAndVerify(source, expectedOutput: @"hi", verify: Verification.Passes, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
5275
compilation = CompileAndVerify(source, expectedOutput: @"hihi", verify: Verification.Fails, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
12332
comp = CompileAndVerify(source, expectedOutput: @"42", verify: Verification.Passes, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
12482
comp = CompileAndVerify(source, expectedOutput: @"-10", verify: Verification.Passes, parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\NullableTests.cs (2)
209
verifier = CompileAndVerify(source: source3, expectedOutput: "1", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());
268
CompileAndVerify(source: source4.Replace("TYPE", type), expectedOutput: "0", parseOptions: TestOptions.Regular.
WithPEVerifyCompatFeature
());