inconsistent accessibility error in C# interface implementation
<p>At first, I have gone over similar questions already, but i still think my problem is something different.:)</p>

<p>I have an interface :</p>

<pre><code>namespace TEDLibrary
{
    public interface ILogWriter
    {
        void WriteLog(ILogRecord log);
    }
}
</code></pre>

<p>and i have an implementation class :</p>

<pre><code>namespace TEDLibrary
{
    public class LogWriter : ILogWriter
    {
        public LogWriter()
        { 

        }

        public void WriteLog(ILogRecord log)
        { 

        }
    }
}
</code></pre>

<p>As you see classes and members are <strong>public</strong> already.</p>

<p>However i get </p>

<blockquote>
  <p>Inconsistent accessibility: parameter type 'TEDLibrary.ILogRecord' is
  less accessible than method
  'TEDLibrary.ILogWriter.WriteLog(TEDLibrary.ILogRecord)'</p>
</blockquote>

<p>I tried to declare WriteLog method in interface as public but it is not allowed.</p>
