6 implementations of GetMembers
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
858 references to GetMembers
ConfigurationSchemaGenerator (5)
ILLink.RoslynAnalyzer (9)
Microsoft.Analyzers.Extra (17)
Microsoft.Analyzers.Local (5)
Microsoft.AspNetCore.Analyzers.Test (4)
Microsoft.AspNetCore.App.Analyzers (3)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Mvc.Analyzers (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
Microsoft.CodeAnalysis (12)
Microsoft.CodeAnalysis.CodeStyle (18)
Microsoft.CodeAnalysis.CodeStyle.Fixes (11)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
78.GetMembers(EqualsName)
Microsoft.CodeAnalysis.CSharp.CodeStyle (9)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (25)
CodeGen\CodeGenTupleTest.cs (23)
4492var stringItem1 = vt2.GetMembers("Item1")[0];
4496var intItem2 = vt2.GetMembers("Item2")[0];
5920Assert.Equal(loc1, tuple.GetMembers("i1").Single().Locations.Single());
5921Assert.Equal(loc2, tuple.GetMembers("i2").Single().Locations.Single());
6374Assert.True(tupleWithoutNames.GetMembers("Item1").Single().Locations.IsEmpty);
6399Assert.Equal(loc1, tuple.GetMembers("Item1").Single().Locations.Single());
6400Assert.Equal(loc2, tuple.GetMembers("Item2").Single().Locations.Single());
20500var members = c.GetMembers("I1<System.ValueTuple<System.Int32,System.Int32>>.M");
20716var members = c.GetMembers("I1<System.ValueTuple<T,T>>.M");
23448var m = (MethodSymbol)(((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First());
23504var m = (IMethodSymbol)(comp.Compilation.GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First());
23850var m = (MethodSymbol)(comp.GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First());
23903var m = (PropertySymbol)(((CSharpCompilation)comp.Compilation).GetTypeByMetadataName("ConsoleApplication5.C2").GetMembers("Goo").First());
27397VerifyTypeFromCSharp((NamedTypeSymbol)((FieldSymbol)containingType.GetMembers("F0").Single()).Type, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, "System.ValueTuple", "()");
27398VerifyTypeFromCSharp((NamedTypeSymbol)((FieldSymbol)containingType.GetMembers("F1").Single()).Type, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, "(System.Int32, System.Int32)", "(System.Int32, System.Int32)");
27399VerifyTypeFromCSharp((NamedTypeSymbol)((FieldSymbol)containingType.GetMembers("F2").Single()).Type, TupleUnderlyingTypeValue.Distinct, TupleUnderlyingTypeValue.Distinct, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, "(System.Int32 A, System.Int32 B)", "(A As System.Int32, B As System.Int32)");
27400VerifyTypeFromCSharp((NamedTypeSymbol)((FieldSymbol)containingType.GetMembers("F3").Single()).Type, TupleUnderlyingTypeValue.Same, TupleUnderlyingTypeValue.Null, TupleUnderlyingTypeValue.Null, TupleUnderlyingTypeValue.Null, "(System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object)", "(System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object)");
27401VerifyTypeFromCSharp((NamedTypeSymbol)((FieldSymbol)containingType.GetMembers("F4").Single()).Type, TupleUnderlyingTypeValue.Distinct, TupleUnderlyingTypeValue.Distinct, TupleUnderlyingTypeValue.Null, TupleUnderlyingTypeValue.Null, "(System.Object, System.Object B, System.Object, System.Object D, System.Object, System.Object F, System.Object, System.Object H)", "(System.Object, B As System.Object, System.Object, D As System.Object, System.Object, F As System.Object, System.Object, H As System.Object)");
27419VerifyTypeFromVisualBasic((INamedTypeSymbol)((IFieldSymbol)containingType.GetMembers("F0").Single()).Type, TupleUnderlyingTypeValue.Null, "System.ValueTuple", "System.ValueTuple");
27420VerifyTypeFromVisualBasic((INamedTypeSymbol)((IFieldSymbol)containingType.GetMembers("F1").Single()).Type, TupleUnderlyingTypeValue.Distinct, "(System.Int32, System.Int32)", "(System.Int32, System.Int32)");
27421VerifyTypeFromVisualBasic((INamedTypeSymbol)((IFieldSymbol)containingType.GetMembers("F2").Single()).Type, TupleUnderlyingTypeValue.Distinct, "(System.Int32 A, System.Int32 B)", "(A As System.Int32, B As System.Int32)");
27422VerifyTypeFromVisualBasic((INamedTypeSymbol)((IFieldSymbol)containingType.GetMembers("F3").Single()).Type, TupleUnderlyingTypeValue.Distinct, "(System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object)", "(System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object, System.Object)");
27423VerifyTypeFromVisualBasic((INamedTypeSymbol)((IFieldSymbol)containingType.GetMembers("F4").Single()).Type, TupleUnderlyingTypeValue.Distinct, "(System.Object, System.Object B, System.Object, System.Object D, System.Object, System.Object F, System.Object, System.Object H)", "(System.Object, B As System.Object, System.Object, D As System.Object, System.Object, F As System.Object, System.Object, H As System.Object)");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (17)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (57)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (215)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (49)
CodeGeneration\SymbolEditorTests.cs (25)
83Assert.Equal(1, newSymbol.GetMembers("m").Length);
115Assert.Equal(1, newSymbol.GetMembers("m").Length);
116Assert.Equal(0, newSymbol.GetMembers("m2").Length);
119Assert.Equal(1, newSymbol.GetMembers("m").Length);
120Assert.Equal(1, newSymbol.GetMembers("m2").Length);
152Assert.Equal(1, newSymbol.GetMembers("m").Length);
153Assert.Equal(0, newSymbol.GetMembers("m2").Length);
156Assert.Equal(1, newSymbol.GetMembers("m").Length);
157Assert.Equal(1, newSymbol.GetMembers("m2").Length);
199Assert.Equal(1, newSymbolA.GetMembers("ma").Length);
202Assert.Equal(1, newSymbolB.GetMembers("mb").Length);
245Assert.Equal(1, newSymbolA.GetMembers("ma").Length);
248Assert.Equal(1, newSymbolB.GetMembers("mb").Length);
360Assert.Equal(1, newSymbol.GetMembers("m").Length);
397Assert.Equal(1, newSymbol.GetMembers("m").Length);
438Assert.Equal(1, newSymbol.GetMembers("m").Length);
442Assert.Equal(1, newSymbol2.GetMembers("m").Length);
443Assert.Equal(1, newSymbol2.GetMembers("m2").Length);
484Assert.Equal(1, newSymbol.GetMembers("m").Length);
489Assert.Equal(1, newSymbol2.GetMembers("m").Length);
490Assert.Equal(1, newSymbol2.GetMembers("m2").Length);
530var member = symbol.GetMembers("m").First();
534Assert.Equal(1, newSymbol.GetMembers("m").Length);
712var symbolX = symbol.GetMembers("X").First();
713var symbolY = symbol.GetMembers("Y").First();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (141)
Microsoft.CodeAnalysis.Features (29)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (17)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (9)
Microsoft.CodeAnalysis.Workspaces (28)
Microsoft.CodeAnalysis.Workspaces.UnitTests (14)
Microsoft.Extensions.Options.SourceGeneration (4)
Microsoft.Gen.Logging (4)
Microsoft.Interop.ComInterfaceGenerator (11)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.SourceGeneration (28)
Microsoft.VisualStudio.LanguageServices (2)
Mvc.Analyzers.Test (22)
Mvc.Api.Analyzers.Test (37)