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

Attributes not attached to parameters aren't recognized as attributes but as a generic type #216

Open
3 tasks done
JustinGrote opened this issue Mar 23, 2023 · 0 comments

Comments

@JustinGrote
Copy link

JustinGrote commented Mar 23, 2023

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("NotRealRule")]
$mycodeblock

Expected behavior

At least classified as entity.other.attribute and something more powershell-specific. See example for an attribute attached to param block
image

Actual behavior

image

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.3
PSEdition                      Core
GitCommitId                    7.3.3
OS                             Microsoft Windows 10.0.23419
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

1.0

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

No branches or pull requests

1 participant