We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Fact, WorkItem(60394, "https://github.com/dotnet/roslyn/issues/60394")] public void UnqualifiedOperatorMember1_Unchecked() { UsingNode("operator unchecked +", TestOptions.RegularWithDocumentationComments, // (1,16): warning CS1584: XML comment has syntactically incorrect cref attribute 'operator unchecked +' // /// <see cref="operator unchecked +"/> Diagnostic(ErrorCode.WRN_BadXMLRefSyntax, "operator unchecked +").WithArguments("operator unchecked +").WithLocation(1, 16), // (1,25): error CS9027: Unexpected keyword 'unchecked' // /// <see cref="operator unchecked +"/> Diagnostic(ErrorCode.ERR_MisplacedUnchecked, "unchecked").WithLocation(1, 25)); N(SyntaxKind.OperatorMemberCref); { N(SyntaxKind.OperatorKeyword); N(SyntaxKind.PlusToken); } EOF(); }
Expected: A warning. I think we never report errors for doc comments.
Introduced in #61309.
The text was updated successfully, but these errors were encountered:
ref readonly
cref
jcouv
Successfully merging a pull request may close this issue.
Expected: A warning. I think we never report errors for doc comments.
Introduced in #61309.
The text was updated successfully, but these errors were encountered: