Skip to content

Commit b609f42

Browse files
committed
New imenu test-file for method-indexing.
Has lots of failing test-cases. Based on the following documentation: https://msdn.microsoft.com/en-us/library/6tcf2h8w.aspx
1 parent a8def67 commit b609f42

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

test-files/imenu-method-test.cs

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System;
2+
3+
4+
/// <summary>
5+
/// This class is used to test implementation of method-indexing.
6+
/// </summary>
7+
public class MethodTest
8+
{
9+
[DllImport("user32.dll")]
10+
public extern int GetTickCount64();
11+
12+
public async string OpenWebServiceAsync(string url)
13+
{
14+
await foo;
15+
}
16+
17+
public new string GetString()
18+
{
19+
20+
}
21+
22+
public virtual override bool Equals(object other)
23+
{
24+
25+
}
26+
27+
public abstract string SubClassMethod();
28+
29+
public unsafe static void FastCopy(byte[] src, byte[] dst, int count)
30+
{
31+
32+
}
33+
}

0 commit comments

Comments
 (0)