-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check in simple end-to-end test for covariant returns. #46285
Check in simple end-to-end test for covariant returns. #46285
Conversation
/cc @jaredpar |
Add a canary test that fails on a runtime supporting covaraint returns to make sure we're testing CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks (iteration 5)
@@ -4,7 +4,7 @@ | |||
<PropertyGroup> | |||
<OutputType>Library</OutputType> | |||
<RootNamespace>Microsoft.CodeAnalysis.CSharp.UnitTests</RootNamespace> | |||
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks> | |||
<TargetFrameworks>net5.0;net472</TargetFrameworks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, we're intentionally keeping our other test projects targeting netcoreapp3.1? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
static CovariantReturnTests() | ||
{ | ||
if (new CovarantReturnRuntimeOnly().ShouldSkip) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CovarantReturnRuntimeOnly [](start = 20, length = 25)
typo: Covariant
…t/roslyn into covariant-returns-e2e1
…hat is what is breaking the tests.
This updates our build to support the use of `net5.0` as a target framework inside of our repository. Note: this is back porting some changes from the covariant returns branch. Wanted to get them into master sooner so we get more exposure to them.
No description provided.