[c#] is inaccessible due to its protection level