256 references to FailsILVerify
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (40)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
713var verifier = CompileAndVerify(comp, expectedOutput: "123", verify: Verification.FailsILVerify); 872var verifier = CompileAndVerify(comp, expectedOutput: "123", verify: Verification.FailsILVerify);
CodeGen\CodeGenAsyncSpillTests.cs (1)
3279verify: Verification.FailsILVerify with { ILVerifyMessage = "[MoveNext]: Unrecognized arguments for delegate .ctor. { Offset = 0x6d }" });
CodeGen\CodeGenAwaitForeachTests.cs (7)
2383CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2386CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2454CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2457CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2509CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2510CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2511CompileAndVerify(source, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics();
CodeGen\CodeGenAwaitUsingTests.cs (2)
3251CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, verify: Verification.FailsILVerify).VerifyDiagnostics(); 3252CompileAndVerify(source, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics();
CodeGen\CodeGenClosureLambdaTests.cs (1)
3249verify: Verification.FailsILVerify with { ILVerifyMessage = "[Main]: Unrecognized arguments for delegate .ctor. { Offset = 0xe }" });
CodeGen\CodeGenDynamicTests.cs (1)
9796", verify: Verification.FailsILVerify); // ILVerify doesn't support TypedReference
CodeGen\CodeGenForEachTests.cs (9)
1398var verifier = CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: @" 1462var compilation = CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @" 1497var compilation = CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @" 1538CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @"123"); 1579CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @"123"); 1616CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @"123"); 1653CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: @"123"); 4407var verifier = CompileAndVerify(source, expectedOutput: "1235", verify: Verification.FailsILVerify); 4869CompileAndVerify(source, parseOptions: TestOptions.Regular9, verify: Verification.FailsILVerify, expectedOutput: @"123Disposed")
CodeGen\CodeGenIncrementTests.cs (1)
1039base.CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: "12").
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (9)
2738verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 2808verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 2880verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 2925verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 2993verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 3037var verifier = CompileAndVerify(compilation, expectedOutput: "1 2147483647", verify: Verification.FailsILVerify); 3086verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 3176verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage }); 3245verify: Verification.FailsILVerify with { ILVerifyMessage = ilVerifyMessage });
CodeGen\CodeGenShortCircuitOperatorTests.cs (1)
5232var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugExe.WithAllowUnsafe(true), expectedOutput: @"---
CodeGen\CodeGenTests.cs (3)
81var result = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugDll); 169var result = CompileAndVerify(source, verify: Verification.FailsILVerify, options: TestOptions.DebugDll); 17284", verify: Verification.FailsILVerify with
Emit\CompilationEmitTests.cs (1)
5553CompileAndVerify(comp, verify: Verification.FailsILVerify, symbolValidator: module =>
Emit\EmitMetadataTests.cs (2)
209CompileAndVerifyWithMscorlib40(sources, new[] { TestReferences.SymbolsTests.MultiModule.Assembly }, verify: Verification.FailsILVerify, assemblyValidator: (assembly) => 246CompileAndVerify(source, new[] { netModule1, netModule2 }, verify: Verification.FailsILVerify, assemblyValidator: (assembly) =>
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\AssemblyReferencesTests.cs (1)
486var v0 = CompileAndVerify(compilation0, verify: Verification.FailsILVerify);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (142)
Attributes\AttributeTests_Assembly.cs (5)
596verify: Verification.FailsILVerify, 627verify: Verification.FailsILVerify, 657verify: Verification.FailsILVerify, 687verify: Verification.FailsILVerify, 818verify: Verification.FailsILVerify,
Attributes\AttributeTests_Synthesized.cs (1)
1276: Verification.FailsILVerify;
FirstClassSpanTests.cs (44)
712var verifier = CompileAndVerify(comp, expectedOutput: "InvalidCastException", verify: Verification.FailsILVerify); 742var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 798var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 803verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 824var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 879var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 884verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 905var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 1968var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Internal"); 2021var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "External"); 2069var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Internal"); 2113var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "External"); 2182var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Span2"); 2257var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: """ 2307var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Internal"); 2350var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "External"); 2493var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Span2"); 2540var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Internal"); 2584var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "External"); 2603verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: "Internal"); 2699CompileAndVerify(comp2, verify: Verification.FailsILVerify) 3070CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify) 3102CompileAndVerify(source, parseOptions: TestOptions.Regular13, verify: Verification.FailsILVerify) 3124CompileAndVerify(source, parseOptions: TestOptions.RegularNext, verify: Verification.FailsILVerify) 3126CompileAndVerify(source, verify: Verification.FailsILVerify) 3184CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify) 3215CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify) 3246CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify) 3329CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify) 4069var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 4134var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 4426var verifier = CompileAndVerify(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion), verify: Verification.FailsILVerify); 5457var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5489var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5600CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5603var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5657var verifier = CompileAndVerify(comp, expectedOutput: "C", verify: Verification.FailsILVerify).VerifyDiagnostics(); 5701var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5950CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5953CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5983CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 5986CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 6016CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 6019CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics();
RefReadonlyParameterTests.cs (1)
3116var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: """
RefStructInterfacesTests.cs (20)
8894Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 9098Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 9461Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 9673Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 9897Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 10109Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 10505Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 10702Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 10941Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 11157Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 11384Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 11944Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 11992Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 19101Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 19272Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 19597Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 19782Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } : 28089Verification.FailsILVerify.WithILVerifyMessage( 28391Verification.FailsILVerify.WithILVerifyMessage( 28634Verification.FailsILVerify.WithILVerifyMessage(
Semantics\CollectionExpressionTests.cs (3)
8767CompileAndVerify(new[] { sourceA, sourceB }, verify: Verification.FailsILVerify, expectedOutput: "1, 2, "); 8815CompileAndVerify(new[] { sourceA, sourceB }, verify: Verification.FailsILVerify, expectedOutput: "1, 2, "); 41461CompileAndVerify(source, verify: Verification.FailsILVerify, expectedOutput: "1, 2, ");
Semantics\InlineArrayTests.cs (4)
20820verify: Verification.FailsILVerify, expectedOutput: expectedOutput).VerifyDiagnostics(); 20823verify: Verification.FailsILVerify, expectedOutput: expectedOutput).VerifyDiagnostics(); 22098verify: Verification.FailsILVerify, expectedOutput: expectedOutput).VerifyDiagnostics(); 22101verify: Verification.FailsILVerify, expectedOutput: expectedOutput).VerifyDiagnostics();
Semantics\LockTests.cs (56)
77verify: Verification.FailsILVerify); 396CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 429CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 465CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 501CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 537CompileAndVerify(source, expectedOutput: "OLD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 779CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 807CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 843var verifier = CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify); 905CompileAndVerify(source, expectedOutput: "E1DE2D", verify: Verification.FailsILVerify).VerifyDiagnostics( 940CompileAndVerify(source, expectedOutput: "E1DE2D", verify: Verification.FailsILVerify).VerifyDiagnostics( 975CompileAndVerify(source, expectedOutput: "E1DE2D", verify: Verification.FailsILVerify).VerifyDiagnostics( 1013CompileAndVerify(source, expectedOutput: "E1DE2D", verify: Verification.FailsILVerify).VerifyDiagnostics( 1052var verifier = CompileAndVerify(source, expectedOutput: "L", verify: Verification.FailsILVerify); 1320CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).VerifyDiagnostics(); 1405var verifier = CompileAndVerify(source, expectedOutput: "L", verify: Verification.FailsILVerify); 1473var verifier = CompileAndVerify(source, expectedOutput: "L", verify: Verification.FailsILVerify); 1638verify: Verification.FailsILVerify).VerifyDiagnostics(); 1640verify: Verification.FailsILVerify).VerifyDiagnostics(); 1655var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1669var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1682var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1712var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1743var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1775var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1893var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 1943expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2007expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2083expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2238expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2392expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2504expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2612expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2676expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2751expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 2906expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3056expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3120expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3195expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3350expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3544verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3548verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3583verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3587verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3656var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3660verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: expectedOutput); 3697var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 3888verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify); 4089var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 4134var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 4152var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, expectedOutput: """ 4212var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, 4322var verifier = CompileAndVerify(source, verify: Verification.FailsILVerify, 4442var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 4505var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify, 4559var verifier = CompileAndVerify([source, LockTypeDefinition], verify: Verification.FailsILVerify,
Semantics\ParamsCollectionTests.cs (4)
102Verification.FailsILVerify with { ILVerifyMessage = "[InlineArrayAsSpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0xc }" } 3019Verification.FailsILVerify with { ILVerifyMessage = "[InlineArrayAsReadOnlySpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x11 }" } 5678Verification.FailsILVerify with { ILVerifyMessage = "[InlineArrayAsSpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0xc }" } 12528Verification.FailsILVerify with { ILVerifyMessage = "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" }
Semantics\PatternMatchingTests.cs (3)
6227var comp = CompileAndVerify(compilation, expectedOutput: "ok", verify: Verification.FailsILVerify); 8447CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: @"True 10047CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: @"True
Semantics\PatternMatchingTests3.cs (1)
474var comp = CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: expectedOutput);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (25)
Semantics\ArglistTests.cs (7)
193var verifier = CompileAndVerify(source: text, expectedOutput: "System.Int32", verify: Verification.FailsILVerify); 361var verifier = CompileAndVerify(source: text, expectedOutput: "System.String", verify: Verification.FailsILVerify); 675var verifier = CompileAndVerify(source: text, expectedOutput: "1123", verify: Verification.FailsILVerify); 79742", verify: Verification.FailsILVerify); 905var verifier = CompileAndVerify(source: text, expectedOutput: "4242", verify: Verification.FailsILVerify); 1679CompileAndVerify(source, expectedOutput: "111", verify: Verification.FailsILVerify).VerifyDiagnostics(); 1698CompileAndVerify(source, expectedOutput: "111", verify: Verification.FailsILVerify).VerifyDiagnostics();
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
1591CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: "3"); 1595CompileAndVerify(compilation, verify: Verification.FailsILVerify, expectedOutput: "3");
Semantics\DelegateTypeTests.cs (1)
11726", verify: Verification.FailsILVerify with { ILVerifyMessage = "[F2]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x18 }" });
Semantics\FunctionPointerTests.cs (1)
2946", expectedOutput: "11", options: TestOptions.UnsafeReleaseExe, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\InterpolationTests.cs (2)
4056var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify, expectedOutput: @" 9745verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\NativeIntegerTests.cs (1)
4690verify: Verification.FailsILVerify with { ILVerifyMessage = "[GetHashCode]: Unrecognized arguments for delegate .ctor. { Offset = 0x12 }" },
Semantics\OverloadResolutionTests.cs (2)
9741CompileAndVerify(source, expectedOutput: "555", verify: Verification.FailsILVerify, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics); 9742CompileAndVerify(source, expectedOutput: "555", verify: Verification.FailsILVerify).VerifyDiagnostics(expectedDiagnostics);
Semantics\RawInterpolationTests_Handler.cs (2)
2459value:C", verify: Verification.FailsILVerify); 7958verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped);
Semantics\SpanStackSafetyTests.cs (5)
1062CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 1065CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 1209CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 1212CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).VerifyDiagnostics(); 2648CompileAndVerify(comp, expectedOutput: "Done", verify: Verification.FailsILVerify).VerifyDiagnostics();
Semantics\TargetTypedDefaultTests.cs (1)
1941CompileAndVerify(comp, expectedOutput: "123: True", verify: Verification.FailsILVerify);
Semantics\UseSiteErrorTests.cs (1)
2381CompileAndVerify(compilation5, verify: Verification.FailsILVerify);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Compilation\CompilationAPITests.cs (1)
1029CompileAndVerify(assembly, verify: Verification.FailsILVerify);
Compilation\UsedAssembliesTests.cs (3)
36CompileAndVerify(comp1, verify: Verification.FailsILVerify); 57CompileAndVerify(comp1, verify: Verification.FailsILVerify); 421CompileAndVerify(comp1, verify: Verification.FailsILVerify);
Symbols\DefaultInterfaceImplementationTests.cs (2)
67return ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped; 73return !isStatic && ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.FailsILVerify : Verification.Skipped;
Symbols\ExtensionMethodTests.cs (1)
2301G: S", verify: Verification.FailsILVerify);
Symbols\SymbolErrorTests.cs (2)
6250CompileAndVerify(comp, verify: Verification.FailsILVerify).VerifyDiagnostics(); 20817verify: Verification.FailsILVerify with { ILVerifyMessage = "[Main]: Unable to resolve token. { Offset = 0x1, Token = 167772167 }" });
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (20)
Attributes\AssemblyAttributes.vb (5)
788verify:=Verification.FailsILVerify, 819verify:=Verification.FailsILVerify, 850verify:=Verification.FailsILVerify, 881verify:=Verification.FailsILVerify, 1020verify:=Verification.FailsILVerify,
CodeGen\CodeGenAsyncTests.vb (2)
9922verify:=Verification.FailsILVerify.WithILVerifyMessage("[MoveNext]: Unrecognized arguments for delegate .ctor. { Offset = 0x86 }")) 9925verify:=Verification.FailsILVerify.WithILVerifyMessage("[MoveNext]: Unrecognized arguments for delegate .ctor. { Offset = 0x75 }"))
CodeGen\CodeGenDelegateCreation.vb (1)
2346verify:=Verification.FailsILVerify.WithILVerifyMessage("[Test15]: Unrecognized arguments for delegate .ctor. { Offset = 0x1f }"),
CodeGen\CodeGenNullable.vb (1)
3486Dim verifier = CompileAndVerify(source, verify:=Verification.FailsILVerify.WithILVerifyMessage("
CodeGen\CodeGenTests.vb (2)
53</compilation>, verify:=Verification.FailsILVerify). 6431</compilation>, references:={TestReferences.SymbolsTests.PropertiesWithByRef}, verify:=Verification.FailsILVerify)
CodeGen\CodeGenTryCatchThrow.vb (1)
124verify:=Verification.FailsILVerify,
CodeGen\CodeGenTuples.vb (3)
5011</compilation>, references:={ValueTupleRef, SystemRuntimeFacadeRef, MscorlibRef_v46}, expectedOutput:=<![CDATA[42]]>, verify:=Verification.FailsILVerify) 5130</compilation>, references:={ValueTupleRef, SystemRuntimeFacadeRef, MscorlibRef_v46}, expectedOutput:=<![CDATA[(42, 42)]]>, verify:=Verification.FailsILVerify) 5299</compilation>, references:={ValueTupleRef, SystemRuntimeFacadeRef, MscorlibRef_v46}, expectedOutput:=<![CDATA[42]]>, verify:=Verification.FailsILVerify)
Emit\CompilationEmitTests.vb (1)
695CompileAndVerify(comp, emitOptions:=emitRefAssembly, verify:=Verification.FailsILVerify, validator:=assemblyValidator)
Emit\EditAndContinue\AssemblyReferencesTests.vb (1)
333Dim v0 = CompileAndVerify(compilation0, verify:=Verification.FailsILVerify)
Emit\EmitMetadata.vb (2)
273dllImage = CompileAndVerify(c2, verify:=Verification.FailsILVerify).EmittedAssemblyData 311Dim manifestModule = CompileAndVerify(c1, verify:=Verification.FailsILVerify).EmittedAssemblyData
PDB\PDBTests.vb (1)
752Dim v = CompileAndVerify(CreateCompilationWithMscorlib40AndVBRuntime(source, TestOptions.DebugExe), verify:=Verification.FailsILVerify)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Compilation\CompilationAPITests.vb (1)
903CompileAndVerify(assembly, verify:=Verification.FailsILVerify)
Semantics\IReadOnlyListAndCollection.vb (2)
136]]>, verify:=Verification.FailsILVerify) 352]]>, verify:=Verification.FailsILVerify)
Semantics\UseSiteErrorTests.vb (1)
669CompileAndVerify(compilation5, verify:=Verification.FailsILVerify)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (15)
SymbolsTests\Metadata\WinMdEventTest.vb (2)
224verify:=Verification.FailsILVerify) 770CompileAndVerify(compilation, verify:=Verification.FailsILVerify).VerifyIL("abcdef.goo", expectedIL.Value())
SymbolsTests\Retargeting\NoPia.vb (1)
1637CompileAndVerify(consumer, verify:=Verification.FailsILVerify)
SymbolsTests\Retargeting\RetargetingTests.vb (8)
944Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 1305Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 1685Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 1882Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 2156Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 2345Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify, 2664Dim Main_Retarget = CompileAndVerify(sourceMain, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify) 3055Dim Main_Retarget = CompileAndVerify(source, references:={RetargetReference}, options:=TestOptions.ReleaseExe, verify:=Verification.FailsILVerify,
SymbolsTests\SymbolErrorTests.vb (1)
24349verify:=Verification.FailsILVerify.WithILVerifyMessage("[Main]: Unable to resolve token. { Offset = 0x1, Token = 167772166 }"))
UsedAssembliesTests.vb (3)
30CompileAndVerify(comp1, verify:=Verification.FailsILVerify) 52CompileAndVerify(comp1, verify:=Verification.FailsILVerify) 239CompileAndVerify(comp1, verify:=Verification.FailsILVerify)