8 overrides of GetMembers
Microsoft.CodeAnalysis.CSharp (8)
Symbols\ArrayTypeSymbol.cs (1)
266public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\DynamicTypeSymbol.cs (1)
137public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
93public override ImmutableArray<Symbol> GetMembers(string name) => ImmutableArray<Symbol>.Empty;
Symbols\FunctionTypeSymbol.cs (1)
138public override ImmutableArray<Symbol> GetMembers(string name) => throw ExceptionUtilities.Unreachable();
Symbols\NamedTypeSymbol.cs (1)
653public abstract override ImmutableArray<Symbol> GetMembers(string name);
Symbols\NamespaceSymbol.cs (1)
280public sealed override ImmutableArray<Symbol> GetMembers(string name)
Symbols\PointerTypeSymbol.cs (1)
137public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\TypeParameterSymbol.cs (1)
149public sealed override ImmutableArray<Symbol> GetMembers(string name)
20 references to GetMembers
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Conversions.cs (2)
688var members = type.GetMembers(name); 1854foreach (var candidate in builderType.GetMembers(methodName))
Binder\Binder_Lookup.cs (1)
1313return nsOrType.GetMembers(name);
Binder\LockBinder.cs (1)
112var members = type.GetMembers(name);
BoundTree\BoundExpressionExtensions.cs (1)
196var ctor = expr.Type.GetMembers(WellKnownMemberNames.InstanceConstructorName).FirstOrDefault();
CodeGen\EmitConversion.cs (1)
379foreach (var possibleCtor in delegateType.GetMembers(WellKnownMemberNames.InstanceConstructorName))
Compilation\CSharpCompilation.cs (1)
4986AddCache(container.GetMembers(declaration.Name).OfType<NamespaceOrTypeSymbol>());
Compilation\SyntaxTreeSemanticModel.cs (1)
1759var collection = name != null ? container.GetMembers(name) : container.GetMembersUnordered();
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
366foreach (Symbol objectMember in objectType.GetMembers(WellKnownMemberNames.DestructorName))
FlowAnalysis\LocalDataFlowPass.cs (1)
174var restField = containingType.GetMembers(NamedTypeSymbol.ValueTupleRestFieldName).FirstOrDefault(s => s is not TupleVirtualElementFieldSymbol) as FieldSymbol;
FlowAnalysis\NullableWalker.cs (1)
7246foreach (Symbol member in type.GetMembers(memberName))
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
250=> variableType.GetMembers(WellKnownMemberNames.ObjectToString).Any(m => m.GetOverriddenMember() is not null);
Lowering\SyntheticBoundNodeFactory.cs (1)
260receiverOpt.Type.GetMembers(propertySym.Name).OfType<PropertySymbol>().Single() == propertySym);
Symbols\Attributes\AttributeData.cs (1)
290foreach (Symbol foundMember in type.GetMembers(memberName))
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (2)
176foreach (Symbol member in targetTypeSymbol.GetMembers(targetMemberName)) 199foreach (Symbol member in targetTypeSymbol.GetMembers(targetMemberName))
Symbols\NamespaceOrTypeSymbol.cs (1)
409symbols = namespaceOrType.GetMembers(name).OfType<NamespaceOrTypeSymbol>();
Symbols\PublicModel\NamespaceOrTypeSymbol.cs (1)
20return UnderlyingNamespaceOrTypeSymbol.GetMembers(name).GetPublicSymbols();
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
158foreach (var member in containingType.GetMembers(WellKnownMemberNames.CloneMethodName))
Symbols\TypeSymbol.cs (1)
2176foreach (Symbol member in currType.GetMembers(interfaceMember.Name))