This file is indexed.

/usr/share/gps/plug-ins/csharp.xml is in gnat-gps-common 5.0-16.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version='1.0'?>
<root>
  <Language>
    <Name>C#</Name>
    <Spec_Suffix>.cs</Spec_Suffix>
    <Keywords>(a(bstract|s)|b(ase|ool|reak|yte)|c(a(se|tch)|h(ar|ecked)|lass|on(st|tinue))|e(lse|num|vent|xplicit|xtern)|f(alse|inally|ixed|or|oreach)|goto|i(mplicit|nt|nterface|nternal|[fns])|lo(ck|ng)|n(amespace|ew|ull)|o(bject|perator|ut|verride)|p(arams|rivate|rotected|ublic)|r(eadonly|e(f|turn))|s(byte|ealed|hort|izeof|tackalloc|tatic|tring|truct|witch)|t(his|hrow|rue|ry|ypeof)|u(int|long|nchecked|nsafe|short|sing)|virtual|volatile|void|while)\b</Keywords>
    <Parent>c</Parent>
    <Context>
      <New_Line_Comment_Start>//</New_Line_Comment_Start>
      <String_Delimiter>&quot;</String_Delimiter>
      <Can_Indent>True</Can_Indent>
      <Syntax_Highlighting>True</Syntax_Highlighting>
      <Case_Sensitive>True</Case_Sensitive>
      <Quote_Character>\</Quote_Character>
      <Constant_Character>&apos;</Constant_Character>
    </Context>

    <Categories>
      <Category>
        <Name>use</Name>
        <Pattern>^\s*using\s+([^;]*);$</Pattern>
        <Index>1</Index>
      </Category>
      <Category>
        <Name>namespace</Name>
        <Pattern>^\s*namespace\s+([\w][\w\d_.]+)</Pattern>
        <Index>1</Index>
      </Category>
      <Category>
        <Name>function</Name>
        <Pattern>^\s*((abstract|public|private|protected|static)\s+)*[\w\d_*]+\s+([\w\d_]+)\s*\([^\)]*\)</Pattern>
        <Index>3</Index>
      </Category>
      <Category>
        <Name>class</Name>
        <Pattern>^\s*((abstract|public|private|static)\s+)*class\s+(\w[\w\d_]+)\s*(\:\s*\w*)?</Pattern>
        <Index>3</Index>
      </Category>
    </Categories>
  </Language>
</root>