-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Pack error codes. Disallow UnmanagedCallersOnly for abstract static methods. #54118
Pack error codes. Disallow UnmanagedCallersOnly for abstract static methods. #54118
Conversation
@@ -6697,4 +6697,8 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ | |||
<data name="ERR_AbstractConversionNotInvolvingContainedType" xml:space="preserve"> | |||
<value>User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</value> | |||
</data> | |||
<data name="ERR_InterfaceImplementedByUnmanagedCallersOnlyMethod" xml:space="preserve"> | |||
<value>'UnmanagedCallersOnly' method '{0}' cannot implement interface member '{1}' in type '{2}'</value> |
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.
It looks like {2}
is included in this diagnostic because it may not be the same as the containing type of {0}
. Is that correct? #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.
It looks like {2} is included in this diagnostic because it may not be the same as the containing type of {0}. Is that correct?
Correct.
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 (commit 2)
@dotnet/roslyn-infrastructure It looks like all CI jobs succeeded for this PR, but the status isn't updated on the PR page, which is blocking merging. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
AzDO pipelines all succeeded here but we were hitting the bug where it's not updating GH status. Forced merge. |
No description provided.