Skip to content

Conversation

@VSadov
Copy link
Member

@VSadov VSadov commented Sep 6, 2025

Mostly to check the current state of build/tests, although maybe we could merge this ? . . .
(perhaps not yet, while there is still some backporting to v10)

<PropertyGroup>
<RunAnalyzers>true</RunAnalyzers>
<NoWarn>$(NoWarn);xUnit1013;CS1998</NoWarn>
<NoWarn>$(NoWarn);xUnit1013;CS1998;SYSLIB5007</NoWarn>
Copy link
Member Author

@VSadov VSadov Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tommcdon The SYSLIB5007nowarn is to suppress warnings about using experimental API. CompilerServices/AsyncHelpers where the Await helpers live is still marked as experimental.
It will not be experimental in at some point, hopefully soon.

Copy link
Member Author

@VSadov VSadov Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note the <Features>$(Features);runtime-async=on</Features> below - that enables the new style codegen for async/await on the Roslyn side.

Right now we enable this only for tests under tests/async, if we build that at all.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nowarn for SYSLIB5007 should no longer be needed

}

// Roslyn NYI - async in structs. Remove opt-out once supported.
[System.Runtime.CompilerServices.RuntimeAsyncMethodGeneration(false)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer needed either.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NYI has been implemented.

@VSadov VSadov force-pushed the asyncTest branch 3 times, most recently from 2cf4728 to 4da8472 Compare November 13, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant