private void MethodHidesInheritedNonVirtual(InternalMethod hidingMethod, IMethod hiddenMethod) { Warnings.Add(CompilerWarningFactory.MethodHidesInheritedNonVirtual(hidingMethod.Method, hidingMethod, hiddenMethod)); }