Skip to content

LockStatementWithLockVsMonitor failing in native AOT outerloop #102321

Description

@MichalStrehovsky

See failures in #102299. This is failing everywhere and makes it difficult/impossible to run native AOT outerloop.

[SKIP] System.Threading.Tests.EventWaitHandleTests.PingPong
Process terminated. Assertion failed.
Do not use Monitor.Enter or TryEnter on a Lock instance; use Lock methods directly instead.
   at System.Diagnostics.DebugProvider.Fail(String, String) + 0x37
   at System.Diagnostics.Debug.Fail(String, String) + 0x4a
   at System.Threading.Monitor.IsEntered(Object) + 0x38
   at System.Threading.Tests.LockTests.LockStatementWithLockVsMonitor() + 0x45

Cc @kouvel

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions