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

Compilerservices File Scoped doesnt work #2263

Closed
IXLLEGACYIXL opened this issue May 21, 2024 · 0 comments · Fixed by #2309
Closed

Compilerservices File Scoped doesnt work #2263

IXLLEGACYIXL opened this issue May 21, 2024 · 0 comments · Fixed by #2309
Labels
bug Something isn't working

Comments

@IXLLEGACYIXL
Copy link
Collaborator

Release Type: Official Release/GitHub (please choose appropriate option)
4.2.*

Version: Version number and/or git branch

Platform(s): Does the problem occur on Windows, Android...?

Describe the bug

File scoped STRDIAG001, file scope is not a normal accessor like public/internal so its not handled

To Reproduce
Steps to reproduce the behavior:

  1. create a file scoped class
  2. add datacontract
  3. no warning

Expected behavior
get a warning of strdiag001

@IXLLEGACYIXL IXLLEGACYIXL added the bug Something isn't working label May 21, 2024
IXLLEGACYIXL pushed a commit to NexStandard/stride that referenced this issue May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant