Skip to content

Fix SA1411: Attribute constructor should not use unnecessary parenthesis - #24969

Open
xtqqczze wants to merge 1 commit into
PowerShell:masterfrom
xtqqczze:SA1411
Open

Fix SA1411: Attribute constructor should not use unnecessary parenthesis#24969
xtqqczze wants to merge 1 commit into
PowerShell:masterfrom
xtqqczze:SA1411

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

@iSazonov

This comment was marked as outdated.

@iSazonov Ilya (iSazonov) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Feb 8, 2025
@azure-pipelines

This comment was marked as outdated.

@iSazonov

Ilya (iSazonov) commented Feb 8, 2025

Copy link
Copy Markdown
Collaborator

xtqqczze Could you please migrate our Settings.StyleCop rules to .globalconfig file in follow PRs (one rule by one).

From https://github.com/DotNetAnalyzers/StyleCopAnalyzers

Settings.StyleCop is not supported, but a stylecop.json file may be used to customize the behavior of certain rules. See Configuration.md for more information.

GitHub
An implementation of StyleCop rules using the .NET Compiler Platform - DotNetAnalyzers/StyleCopAnalyzers

@iSazonov Ilya (iSazonov) self-assigned this Feb 8, 2025
iSazonov
Ilya (iSazonov) previously approved these changes Feb 8, 2025
@iSazonov
Ilya (iSazonov) enabled auto-merge (squash) February 8, 2025 06:26
@iSazonov
Ilya (iSazonov) self-requested a review February 8, 2025 06:27
@iSazonov

Copy link
Copy Markdown
Collaborator

Not all SA1411 fixed.

@iSazonov

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

Comment thread .globalconfig Outdated
@iSazonov

Copy link
Copy Markdown
Collaborator

can we merge?

As I said we should use .editorconfig.

@xtqqczze xtqqczze changed the title Enable SA1411: Attribute constructor should not use unnecessary parenthesis Enable SA1411: Attribute constructor should not use unnecessary parenthesis Feb 15, 2025
@xtqqczze

Copy link
Copy Markdown
Contributor Author

As I said we should use .editorconfig.

Changes to analyzer configuration should be in separate PR

@iSazonov
Ilya (iSazonov) self-requested a review April 23, 2025 11:34
@iSazonov Ilya (iSazonov) removed their assignment May 28, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Review - Needed The PR is being reviewed label May 28, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Jun 4, 2025
@iSazonov

Copy link
Copy Markdown
Collaborator

xtqqczze We need approving by code owners.

@microsoft-github-policy-service microsoft-github-policy-service Bot removed the Review - Needed The PR is being reviewed label Oct 9, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Review - Needed The PR is being reviewed label Oct 16, 2025
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

@xtqqczze
xtqqczze requested a review from a team as a code owner February 28, 2026 17:43
@xtqqczze xtqqczze changed the title Enable SA1411: Attribute constructor should not use unnecessary parenthesis Fix SA1411: Attribute constructor should not use unnecessary parenthesis Feb 28, 2026
@xtqqczze

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) removed changes requiring code owner approval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants