old_contents: from coalib.bearlib.abstractions.Linter import linter
  
  
  @linter(executable='mcs',
          use_stdout=False,
          use_stderr=True,
          output_format='regex',
          output_regex=r'.+\((?P<line>\d+),(?P<column>\d+)\): '
                       r'(?P<severity>error|warning) \w+: (?P<message>.+)')
  class CSharpLintBear:
      """
      Checks C# code for syntactical correctness using the ``mcs`` compiler.
      """
  
      LANGUAGES = {"C#"}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
  
      @staticmethod
      def create_arguments(filename, file, config_file):
          return filename,
  
new_contents: from coalib.bearlib.abstractions.Linter import linter
  
  
  @linter(executable='mcs',
          use_stdout=False,
          use_stderr=True,
          output_format='regex',
          output_regex=r'.+\((?P<line>\d+),(?P<column>\d+)\): '
                       r'(?P<severity>error|warning) \w+: (?P<message>.+)')
  class CSharpLintBear:
      """
      Checks C# code for syntactical correctness using the ``mcs`` compiler.
      """
  
      LANGUAGES = {"C#"}
      AUTHORS = {'The coala developers'}
      AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
      LICENSE = 'AGPL-3.0'
      CAN_DETECT = {'Syntax'}
  
      @staticmethod
      def create_arguments(filename, file, config_file):
          return filename,
  
subject: Add CAN_DETECT info