emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode b609f42 187/459: New imenu test-file for me


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode b609f42 187/459: New imenu test-file for method-indexing.
Date: Sun, 22 Aug 2021 13:59:24 -0400 (EDT)

branch: externals/csharp-mode
commit b609f424c8b9d8febf163ed08a82dd3127adeef5
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    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
---
 test-files/imenu-method-test.cs | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/test-files/imenu-method-test.cs b/test-files/imenu-method-test.cs
new file mode 100644
index 0000000..77b2f9e
--- /dev/null
+++ b/test-files/imenu-method-test.cs
@@ -0,0 +1,33 @@
+using System;
+
+
+/// <summary>
+///   This class is used to test implementation of method-indexing.
+/// </summary>
+public class MethodTest
+{
+    [DllImport("user32.dll")]
+    public extern int GetTickCount64();
+
+    public async string OpenWebServiceAsync(string url)
+    {
+        await foo;
+    }
+
+    public new string GetString()
+    {
+
+    }
+
+    public virtual override bool Equals(object other)
+    {
+
+    }
+
+    public abstract string SubClassMethod();
+
+    public unsafe static void FastCopy(byte[] src, byte[] dst, int count)
+    {
+
+    }
+}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]