-
Notifications
You must be signed in to change notification settings - Fork 21.8k
[apim] Remove support for parameterless SymmetricAlgorithm.Create() #127739
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
base: main
Are you sure you want to change the base?
[apim] Remove support for parameterless SymmetricAlgorithm.Create() #127739
Conversation
Clarified exception handling for SymmetricAlgorithm.
@maksimkim : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
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.
Pull Request Overview
This PR updates the API Management policy expressions documentation to clarify that the parameterless Create()
method of SymmetricAlgorithm
is not supported in policy expressions. The change corrects the documentation to reflect the actual API limitations.
Changes
- Modified the allowed members specification for
System.Security.Cryptography.SymmetricAlgorithm
to explicitly exclude the parameterlessCreate()
method
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|`System.Security.Cryptography.SHA512`|All| | ||
|`System.Security.Cryptography.SHA512Managed`|All| | ||
|`System.Security.Cryptography.SymmetricAlgorithm`|All| | ||
|`System.Security.Cryptography.SymmetricAlgorithm`|All exception parameterless Create()| |
Copilot
AI
Oct 15, 2025
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.
Corrected 'exception' to 'except' for proper grammar.
|`System.Security.Cryptography.SymmetricAlgorithm`|All exception parameterless Create()| | |
|`System.Security.Cryptography.SymmetricAlgorithm`|All except parameterless Create()| |
Copilot uses AI. Check for mistakes.
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.
@maksimkim - Please make suggested wording change, othewise LGTM
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.
@maksimkim - Can you respond to the requested changes or let us know if you would like us to commit them?
@dlepow - When the changes are ready for publication, adding a #sign-off
comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team
Can you review the proposed changes? Important: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
SymmetricAlgorithm.Create() is not supported in policy expressions