private class LogTask { public bool m_Exit; public string m_Format; object[] m_Args; LogTask( bool exit, string taskFormat, params object[] args ) { m_Exit = exit; if ( exit ) return; else { m_Format = taskFormat; m_Args = args; } } } public void EnqueueTask( bool exit, LogLevel reqLevel, LogLevel level, string taskFormat, params object[] args ) { if ( exit || reqLevel <= level ) { LogTask task = new LogTask( exit, taskFormat, args ); // Engines\Logging\StewsLog.cs(46,20): error CS0122: 'Server.Engines.Logging.LogPCQueue.LogTask.LogTask(bool, string, params object[])' is inaccessible due to its protection level ... }