You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inconsistent accessibility: parameter type 'type' is less accessible than method 'method'
14
14
15
-
This error occurs when you declare a method (including constructors) with a parameter type that is less accessible than the method itself. For example, you might have a public constructor that uses an internal or private class as a parameter type.
15
+
This error occurs when you declare a method (including constructors) with a parameter type that's less accessible than the method itself. For example, you might have a public constructor that uses an internal or private class as a parameter type.
16
16
17
-
The most common scenario is when you're defining a public method but one of its parameter types is internal or private. This creates an inconsistency because external code can see the method but can't access the types needed to call it.
17
+
The most common scenario is when you define a public method but one of its parameter types is internal or private. This creates an inconsistency because external code can see the method but can't access the types needed to call it.
0 commit comments