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