2 implementations of GetMembers
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamespaceSymbol.cs (1)
41IEnumerable<INamespaceOrTypeSymbol> INamespaceSymbol.GetMembers()
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamespaceSymbol.vb (1)
539Private Function INamespaceSymbol_GetMembers() As IEnumerable(Of INamespaceOrTypeSymbol) Implements INamespaceSymbol.GetMembers
41 references to GetMembers
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (1)
192processMembers(((INamespaceSymbol)symbol).GetMembers());
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamespaceOrTypeSymbolExtensions.cs (1)
101stack.AddRange(currentNs.GetMembers());
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
62var members = innermostNamespace.GetMembers().ToList();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
SymbolKey\SymbolKeyCompilationsTests.cs (2)
98var symbol01 = comp1.SourceModule.GlobalNamespace.GetMembers().FirstOrDefault() as NamedTypeSymbol; 99var symbol02 = comp1.SourceModule.GlobalNamespace.GetMembers().FirstOrDefault() as NamedTypeSymbol;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\SwitchTests.cs (1)
3042var pid = ((NamedTypeSymbol)comp.GlobalNamespace.GetMembers().Single(s => s.Name.StartsWith("<PrivateImplementationDetails>", StringComparison.Ordinal)));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_MarshalAs.cs (2)
34foreach (NamedTypeSymbol type in compilation.GlobalNamespace.GetMembers().Where(s => s.Kind == SymbolKind.NamedType)) 68foreach (NamedTypeSymbol type in compilation.GlobalNamespace.GetMembers().Where(s => s.Kind == SymbolKind.NamedType))
Attributes\AttributeTests_Synthesized.cs (1)
127var pid = (NamedTypeSymbol)comp.GlobalNamespace.GetMembers().Where(s => s.Name.StartsWith("<PrivateImplementationDetails>", StringComparison.Ordinal)).Single();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ScriptSemanticsTests.cs (1)
404var members = global.GetMembers().Where(m => !m.IsImplicitlyDeclared).AsImmutable();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Compilation\SemanticModelAPITests.cs (1)
841var mems = comp.SourceModule.GlobalNamespace.GetMembers();
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
2908var n1 = globalNS.GetMembers().First() as INamespaceSymbol; 2909var n2 = n1.GetMembers().First() as INamespaceSymbol; 2910var n3 = n2.GetMembers().First() as INamespaceSymbol;
Compilation\SymbolVisitorTests.cs (3)
140VisitChildren(symbol.GetMembers()); 321VisitChildren(symbol.GetMembers()); 412VisitChildren(symbol.GetMembers(), argument);
DeclarationTests.cs (1)
265Assert.Equal(SymbolKind.NamedType, comp.GlobalNamespace.GetMembers()[0].Kind);
Symbols\Source\EventTests.cs (1)
42var actualSymbols = comp.Assembly.GlobalNamespace.GetMembers();
Symbols\Source\ExternAliasTests.cs (1)
443Assert.Empty(firstTarget.GetMembers());
Symbols\TypeTests.cs (1)
1455var errSymbol = comp.SourceModule.GlobalNamespace.GetMembers().FirstOrDefault() as NamedTypeSymbol;
Microsoft.CodeAnalysis.Features (1)
Debugging\AbstractBreakpointResolver.cs (1)
295INamespaceSymbol namespaceSymbol => namespaceSymbol.GetMembers().SelectMany(GetTypeMembersRecursive),
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2098members = namespaceSym.GetMembers();
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamespaceSymbol.vb (1)
539Private Function INamespaceSymbol_GetMembers() As IEnumerable(Of INamespaceOrTypeSymbol) Implements INamespaceSymbol.GetMembers
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamespaceGenerator.vb (1)
52service.AddMembers(declaration, innermostNamespace.GetMembers().AsEnumerable(), options, cancellationToken),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Editing\VisualBasicImportAdder.vb (1)
100For Each typeOrNamespace In ns.GetMembers()
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Attributes\AttributeTests_MarshalAs.vb (2)
27For Each typeSym As NamedTypeSymbol In c.GlobalNamespace.GetMembers().Where(Function(s) s.Kind = SymbolKind.NamedType) 49For Each typeSym As NamedTypeSymbol In c.GlobalNamespace.GetMembers().Where(Function(s) s.Kind = SymbolKind.NamedType)
Attributes\AttributeTests_Synthesized.vb (1)
69Dim pid = DirectCast(comp.GlobalNamespace.GetMembers().Single(Function(s) s.Name.StartsWith("<PrivateImplementationDetails>", StringComparison.Ordinal)), NamedTypeSymbol)
CodeGen\CodeGenSelectCase.vb (1)
3368Dim pid = DirectCast(comp.GlobalNamespace.GetMembers().Single(Function(s) s.Name.StartsWith("<PrivateImplementationDetails>", StringComparison.Ordinal)), NamedTypeSymbol)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Recommendations\VisualBasicRecommendationServiceRunner.vb (2)
455Return namespaceSymbol.GetMembers().Any(Function(m) IsValidAccessibleInterfaceOrContainer(m, within)) 511Return namespaceSymbol.GetMembers().Any(Function(m) IsValidAccessibleClassOrContainer(m, within))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamespaceGenerator.vb (1)
52service.AddMembers(declaration, innermostNamespace.GetMembers().AsEnumerable(), options, cancellationToken),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Editing\VisualBasicImportAdder.vb (1)
100For Each typeOrNamespace In ns.GetMembers()
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
206foreach (var childNamespaceOrType in namespaceSymbol.GetMembers())
Shared\Extensions\INamespaceSymbolExtensions.cs (1)
69stack.AddRange(childNamespace.GetMembers());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamespaceOrTypeSymbolExtensions.cs (1)
101stack.AddRange(currentNs.GetMembers());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
62var members = innermostNamespace.GetMembers().ToList();
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\AbstractEntryPointFinder.cs (1)
21foreach (var member in symbol.GetMembers())
SemanticSearch.BuildTask (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
202Recurse(compilation.GlobalNamespace.GetMembers()); 233Recurse(ns.GetMembers());