Uh oh!
There was an error while loading. Please reload this page.
Some mixed missed Equals nullable annotations - #52166
Conversation
ghost
commented
May 1, 2021
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
publicoverrideboolEquals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)]object?obj){thrownull;}
Why "Attribute" was repeated twice? |
jeffhandley
commented
May 21, 2021
Weird -- I don't understand what's happening here either. @krwq can you review this and chime in if you've seen this before? |
stephentoub
commented
May 21, 2021
The compiler is searching for the type, both as written and with an Attribute suffix added on (even though it already has one). It means the attribute isn't imported, which generally means either a) a using is missing or b) it's coming from some build targeting a framework that lacks the attribute and where we're not yet injecting an internal version. |
jeffhandley
commented
May 21, 2021
Thanks, @stephentoub! @hrrrrustic -- let us know if you need any help narrowing the build errors down from here. |
jeffhandley
commented
May 22, 2021
Once this is merged, we'll need to edit the description on dotnet/docs#21202 to include the affected APIs from this PR. |
What kind of using you're talking about? The error was in the ref file, I've never saw usings in it 😄 to So I assume it's not possible to use this attribute here yet (correct me if I'm wrong) and simply revert changes |
buyaa-n
commented
May 27, 2021
@hrrrrustic |
959170c to
ceeaccfComparehrrrrustic
commented
May 27, 2021
Rebased on top to be above #53199 |
Uh oh!
There was an error while loading. Please reload this page.
…crosoft.Extensions.Logging.Abstractions.csproj Co-authored-by: Buyaa Namnan <buyankhishig.namnan@microsoft.com>
buyaa-n
commented
Jun 1, 2021
The Wasm test failures seem fixed , but rerunning that CI leg is not fixing the failure, so closing the PR and reopening it back |
Decided to push it without splitting by areas because there are not so much changes