41 writes to ILVerifyMessage
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenAsyncSpillTests.cs (1)
3279
verify: Verification.FailsILVerify with {
ILVerifyMessage
= "[MoveNext]: Unrecognized arguments for delegate .ctor. { Offset = 0x6d }" });
CodeGen\CodeGenClosureLambdaTests.cs (1)
3249
verify: Verification.FailsILVerify with {
ILVerifyMessage
= "[Main]: Unrecognized arguments for delegate .ctor. { Offset = 0xe }" });
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (9)
1626
var verifier = CompileAndVerify(compilation, expectedOutput: "3402", verify: Verification.Fails with {
ILVerifyMessage
= ilVerifyMessage, PEVerifyMessage = peVerifyMessage });
2738
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
2808
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
2880
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
2925
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
2993
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
3086
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
3176
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
3245
verify: Verification.FailsILVerify with {
ILVerifyMessage
= ilVerifyMessage });
CodeGen\CodeGenTests.cs (1)
17286
ILVerifyMessage
=
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\ManagedAddressTests.cs (1)
68
ILVerifyMessage
= """
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (23)
RefStructInterfacesTests.cs (17)
8894
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
9098
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
9461
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
9673
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
9897
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
10109
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
10505
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
10702
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
10941
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
11157
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
11384
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
11944
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
11992
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
19101
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
19272
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
19597
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
19782
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" } :
Semantics\CollectionExpressionTests.cs (1)
14291
verify: Verification.Fails with {
ILVerifyMessage
= """
Semantics\ParamsCollectionTests.cs (5)
102
Verification.FailsILVerify with {
ILVerifyMessage
= "[InlineArrayAsSpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0xc }" }
3019
Verification.FailsILVerify with {
ILVerifyMessage
= "[InlineArrayAsReadOnlySpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x11 }" }
5678
Verification.FailsILVerify with {
ILVerifyMessage
= "[InlineArrayAsSpan]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0xc }" }
12528
Verification.FailsILVerify with {
ILVerifyMessage
= "[GetEnumerator]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x9 }" }
12844
ILVerifyMessage
= "The format of a DLL or executable being loaded is invalid"
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\DelegateTypeTests.cs (1)
11726
", verify: Verification.FailsILVerify with {
ILVerifyMessage
= "[F2]: Return type is ByRef, TypedReference, ArgHandle, or ArgIterator. { Offset = 0x18 }" });
Semantics\NativeIntegerTests.cs (1)
4690
verify: Verification.FailsILVerify with {
ILVerifyMessage
= "[GetHashCode]: Unrecognized arguments for delegate .ctor. { Offset = 0x12 }" },
Semantics\Utf8StringsLiteralsTests.cs (1)
3333
var verifier = CompileAndVerify(comp, verify: Verification.Fails with {
ILVerifyMessage
= """
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\SymbolErrorTests.cs (1)
20817
verify: Verification.FailsILVerify with {
ILVerifyMessage
= "[Main]: Unable to resolve token. { Offset = 0x1, Token = 167772167 }" });
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
62
=> this with {
ILVerifyMessage
= message };
4 references to ILVerifyMessage
Microsoft.CodeAnalysis.Test.Utilities (4)
CompilationVerifier.cs (4)
346
if (verification.Status.HasFlag(VerificationStatus.FailsILVerify) && verification.
ILVerifyMessage
is null)
361
if (verification.Status.HasFlag(VerificationStatus.FailsILVerify) && verification.
ILVerifyMessage
is null)
382
if (!actualSuccess && verification.
ILVerifyMessage
!= null && !IsEnglishLocal.Instance.ShouldSkip)
389
AssertEx.AssertEqualToleratingWhitespaceDifferences(verification.
ILVerifyMessage
, actualMessage);