[c#] Inconsistent Accessibility: Parameter type is less accessible than method