Base:
method
GetMembers
Microsoft.CodeAnalysis.CSharp.Symbols.NamedTypeSymbol.GetMembers(System.String)
73 references to GetMembers
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
1160return this.GetMembers(name); 1521var candidates = this.GetMembers(FixedFieldImplementationType.FixedElementFieldName);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (48)
Emit\NoPiaEmbedTypes.cs (48)
1352var ctor = (PEMethodSymbol)test11.GetMembers(".ctor").Single(); 1369var begin = (PEMethodSymbol)test11.GetMembers("BeginInvoke").Single(); 1385var end = (PEMethodSymbol)test11.GetMembers("EndInvoke").Single(); 1401var invoke = (PEMethodSymbol)test11.GetMembers("Invoke").Single(); 1485var m17 = (PEMethodSymbol)itest17.GetMembers("M17").Single(); 1504var m20 = (PEMethodSymbol)itest19.GetMembers("M20").Single(); 1556var m21 = (PEMethodSymbol)itest19.GetMembers("M21").Single(); 1575var p1 = (PEPropertySymbol)itest21.GetMembers("P1").Single(); 1581var get_P1 = (PEMethodSymbol)itest21.GetMembers("get_P1").Single(); 1582var set_P1 = (PEMethodSymbol)itest21.GetMembers("set_P1").Single(); 1588var p2 = (PEPropertySymbol)itest22.GetMembers("P2").Single(); 1590var get_P2 = (PEMethodSymbol)itest22.GetMembers("get_P2").Single(); 1591var set_P2 = (PEMethodSymbol)itest22.GetMembers("set_P2").Single(); 1597var p3 = (PEPropertySymbol)itest23.GetMembers("P3").Single(); 1599var get_P3 = (PEMethodSymbol)itest23.GetMembers("get_P3").Single(); 1605var p4 = (PEPropertySymbol)itest24.GetMembers("P4").Single(); 1612var set_P4 = (PEMethodSymbol)itest24.GetMembers("set_P4").Single(); 1618var e1 = (PEEventSymbol)itest25.GetMembers("E1").Single(); 1623var add_E1 = (PEMethodSymbol)itest25.GetMembers("add_E1").Single(); 1624var remove_E1 = (PEMethodSymbol)itest25.GetMembers("remove_E1").Single(); 1630var e2 = (PEEventSymbol)itest26.GetMembers("E2").Single(); 1636var add_E2 = (PEMethodSymbol)itest26.GetMembers("add_E2").Single(); 1637var remove_E2 = (PEMethodSymbol)itest26.GetMembers("remove_E2").Single(); 1739var m21 = (PEMethodSymbol)itest29.GetMembers("M21").Single(); 2211var goo = (PEEventSymbol)interface1_Event.GetMembers("Goo").Single(); 2221var goo1 = (PEMethodSymbol)interfaceEvents.GetMembers("Goo").Single(); 2912Assert.Equal("System.Int32[] ITest30.M1()", itest30.GetMembers("M1").Single().ToTestDisplayString()); 2975var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3041var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3106var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3171var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3239var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3243var m2 = (PEMethodSymbol)itest30.GetMembers("M2").Single(); 3330var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3454var m1 = (PEMethodSymbol)itest30.GetMembers("M1").Single(); 3955var m1 = (PEMethodSymbol)itest33.GetMembers("M1").Single(); 3958var m2 = (PEMethodSymbol)itest34.GetMembers("M2").Single(); 3961var m3 = (PEMethodSymbol)itest35.GetMembers("M3").Single(); 4039var m1 = (PEMethodSymbol)itest33.GetMembers("M1").Single(); 4042var m2 = (PEMethodSymbol)itest34.GetMembers("M2").Single(); 4045var m3 = (PEMethodSymbol)itest35.GetMembers("M3").Single(); 4181var m1 = (PEMethodSymbol)itest33.GetMembers("M1").Single(); 4184var m1Impl = (PEMethodSymbol)usePia7.GetMembers("ITest33.M1").Single(); 4246Assert.Equal(2, itest33.GetMembers("this[]").Length); 4306Assert.Equal(2, itest33.GetMembers("this[]").Length); 4366Assert.Equal(2, itest33.GetMembers("M1").Length); 4432Assert.Equal(2, itest33.GetMembers("Add").Length); 5311Assert.Equal(1, IEventsBase.GetMembers("MyEvent01").Length);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\Source\PropertyTests.cs (23)
631Assert.NotNull(type.GetMembers("StaticMethod").SingleOrDefault()); 632Assert.NotNull(type.GetMembers("InstanceMethod").SingleOrDefault()); 636Assert.Null(type.GetMembers("Static").SingleOrDefault()); 637Assert.Null(type.GetMembers("Instance").SingleOrDefault()); 716var goodStatic = (PEPropertySymbol)type.GetMembers("GoodStatic").Single(); 717var badStatic = (PEPropertySymbol)type.GetMembers("BadStatic").Single(); 718var mismatchedStatic = (PEPropertySymbol)type.GetMembers("MismatchedStatic").Single(); 733var goodInstance = (PEPropertySymbol)type.GetMembers("GoodInstance").Single(); 734var badInstance = (PEPropertySymbol)type.GetMembers("BadInstance").Single(); 735var mismatchedInstance = (PEPropertySymbol)type.GetMembers("MismatchedInstance").Single(); 749var staticAndInstance = (PEPropertySymbol)type.GetMembers("StaticAndInstance").Single(); 755var getUsedAsSet = (PEPropertySymbol)type.GetMembers("GetUsedAsSet").Single(); 793(PEPropertySymbol)type.GetMembers("FamilyGetAssemblySetStatic").Single(), 798(PEPropertySymbol)type.GetMembers("FamilyGetFamilyOrAssemblySetStatic").Single(), 803(PEPropertySymbol)type.GetMembers("FamilyGetFamilyAndAssemblySetStatic").Single(), 808(PEPropertySymbol)type.GetMembers("AssemblyGetFamilyOrAssemblySetStatic").Single(), 813(PEPropertySymbol)type.GetMembers("AssemblyGetFamilyAndAssemblySetStatic").Single(), 818(PEPropertySymbol)type.GetMembers("FamilyOrAssemblyGetFamilyOrAssemblySetStatic").Single(), 823(PEPropertySymbol)type.GetMembers("FamilyOrAssemblyGetFamilyAndAssemblySetStatic").Single(), 828(PEPropertySymbol)type.GetMembers("FamilyAndAssemblyGetFamilyAndAssemblySetStatic").Single(), 833(PEPropertySymbol)type.GetMembers("FamilyAndAssemblyGetOnlyInstance").Single(), 838(PEPropertySymbol)type.GetMembers("FamilyOrAssemblySetOnlyInstance").Single(), 843(PEPropertySymbol)type.GetMembers("FamilyAndAssemblyGetFamilyOrAssemblySetInstance").Single(),