CS0050: Inconsistent Accessibility
Receiving error message only on methods that return <IEnumerable<obj>>. I checked all my access modifiers and they appear correct. Could anyone assist?
6 Replies
do you have your own class called "Task" somewhere?
and what is the access modifier on
Term
?Term is "internal class term"
ah yes so thats why
Does it also need to be public?
yes
This method is public, but it exposes an internal type
that wont work
Thanks, that worked!