Skip to content
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

Add Rosylyn analyzer for irrelevant APIs #717

Merged
merged 25 commits into from
Sep 15, 2023
Merged

Conversation

Copy link
Contributor

@timbussmann timbussmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid to me. I added a few thoughts about the diagnostic messages (sorry for not making better suggestions right away).

internal static readonly DiagnosticDescriptor MaxAutoLockRenewalDurationNotAllowed = new DiagnosticDescriptor(
id: MaxAutoLockRenewalDurationNotAllowedId,
title: "MaxAutoLockRenewalDuration is not supported in Azure Functions",
messageFormat: "Azure Functions endpoints do not control the message receiver and cannot decide the lock renewal duration.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpalac
Copy link
Contributor Author

jpalac commented Sep 13, 2023

Thank you @timbussmann and @danielmarbach for taking the time to look over this PR.

@jpalac jpalac merged commit 3df1093 into master Sep 15, 2023
2 checks passed
@jpalac jpalac deleted the api-usage-analyzer-spike branch September 15, 2023 04:41
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.

Prevent the use of NSB configuration APIs that aren't applicable to serverless environments
5 participants