According to the Docs:
CS0111 occurs if a class contains two member declarations with the same name and parameter types.
A namespace has duplicate identifiers. Rename or delete one of the duplicate identifiers.
Could you please provide the steps and the sample to help us reproduce the issue?