imenu-interface-property-test.cs (584B)
1 using System; 2 3 public interface IImenuTest 4 { 5 string InterfaceString { get; } 6 } 7 8 /// <summary> 9 /// This test-case checks whether imenu indexes member declarations 10 /// with no access-modifier, but instead with the explicit 11 /// interface-name prefixed. 12 /// 13 /// We expect both the method and property to show up in our index, 14 /// with interface-name included. 15 /// </summary> 16 public class ImenuTest : IImenuTest 17 { 18 string IImenuTest.InterfaceString { get { return "i"; }} 19 20 string IImenuTest.MethodName(string param1, int param2) 21 { 22 23 } 24 }