Replies: 1 comment
-
I've found it to be more trouble than it's worth and have just unconditionally turned it off in almost all my .NET 9 projects: dotnet/roslyn-analyzers#7192 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to seta blazor page / component as internal? marking the partial class in the code behind is not enough and will conflict with the default public visibility.
Example:
partial class AddDevice
will lead to a CA1515: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1515internal partial class AddDevice
will lead to an error of inconsistent visibility : Partial declarations of 'AddDevice' have conflicting accessibility modifiersBeta Was this translation helpful? Give feedback.
All reactions