Skip to content

Potential fix for code scanning alert no. 72: Missing a summary in documentation comment#163

Merged
arvindshmicrosoft merged 1 commit intomainfrom
alert-autofix-72
Mar 31, 2026
Merged

Potential fix for code scanning alert no. 72: Missing a summary in documentation comment#163
arvindshmicrosoft merged 1 commit intomainfrom
alert-autofix-72

Conversation

@arvindshmicrosoft
Copy link
Copy Markdown
Member

Potential fix for https://github.com/microsoft/SQLCallStackResolver/security/code-scanning/72

In general, to fix this problem you should ensure that any /// documentation comment associated with a member includes a <summary> element that briefly describes the purpose of that member. If there is already descriptive text, it should be wrapped inside <summary>...</summary>.

For this specific case in Engine/StackResolver.cs, update the comment directly above ExtractFromXELAsync to be a valid XML documentation comment by adding a <summary> element and placing the existing sentence inside it. No imports or additional methods are needed, and no behavior of ExtractFromXELAsync changes; only its documentation comment is updated. The change is limited to the region around line 37 where the method is declared.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…cumentation comment

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@arvindshmicrosoft arvindshmicrosoft marked this pull request as ready for review March 31, 2026 04:45
@arvindshmicrosoft arvindshmicrosoft merged commit 43ec468 into main Mar 31, 2026
4 checks passed
@arvindshmicrosoft arvindshmicrosoft deleted the alert-autofix-72 branch March 31, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant