Base:
method
GetMembers
Microsoft.CodeAnalysis.CSharp.Symbols.NamespaceOrTypeSymbol.GetMembers(System.String)
17 overrides of GetMembers
Microsoft.CodeAnalysis.CSharp (17)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (1)
71public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray((member, name) => member.Name == name, name);
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (1)
90public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
234public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray((member, name) => member.Name == name, name);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
126public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\ErrorTypeSymbol.cs (1)
159public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1504public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\NativeIntegerTypeSymbol.cs (1)
140public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray((member, name) => member.Name == name, name);
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
130public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1479public sealed override ImmutableArray<Symbol> GetMembers(string name)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
314public sealed override ImmutableArray<Symbol> GetMembers(string name)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
202public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray(static (m, name) => m.Name == name, name);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
879public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray(static (m, name) => m.Name == name, name);
Symbols\Synthesized\SynthesizedContainer.cs (1)
121public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
143public override ImmutableArray<Symbol> GetMembers(string name) => name == WellKnownMemberNames.InstanceConstructorName ? Constructors.CastArray<Symbol>() : ImmutableArray<Symbol>.Empty;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
56public override ImmutableArray<Symbol> GetMembers(string name)
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
133public override ImmutableArray<Symbol> GetMembers(string name) => GetMembers().WhereAsArray(m => m.Name == name);
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
116public override ImmutableArray<Symbol> GetMembers(string name) => ImmutableArray<Symbol>.Empty;
56 references to GetMembers
Microsoft.CodeAnalysis.CSharp (56)
Binder\Binder_AnonymousTypes.cs (1)
122foreach (var symbol in anonymousType.GetMembers(field.Name))
Binder\Binder_Expressions.cs (1)
3259foreach (Symbol member in ContainingType?.GetMembers(identifier) ?? ImmutableArray<Symbol>.Empty)
Binder\Binder_Patterns.cs (1)
1299foreach (var symbol in tupleType.GetMembers(name))
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
581foreach (Symbol sym in container.GetMembers(memberName))
Compiler\MethodBodySynthesizer.cs (1)
598foreach (Symbol member in baseType.GetMembers(WellKnownMemberNames.DestructorName))
Emitter\Model\AttributeDataAdapter.cs (1)
183foreach (var member in type.GetMembers(name))
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
526foreach (var member in AdaptedNamedTypeSymbol.GetMembers(WellKnownMemberNames.StaticConstructorName))
FlowAnalysis\NullableWalker.cs (7)
965foreach (var member in property.ContainingType.GetMembers(notNullMemberName)) 982foreach (var member in method.ContainingType.GetMembers(memberName)) 1018enforceMemberNotNullWhenIfAffected(returnStatement.Syntax, sense: true, members: method.ContainingType.GetMembers(memberName), state: pendingReturn.StateWhenTrue, otherState: pendingReturn.StateWhenFalse); 1023enforceMemberNotNullWhenIfAffected(returnStatement.Syntax, sense: false, members: method.ContainingType.GetMembers(memberName), state: pendingReturn.StateWhenFalse, otherState: pendingReturn.StateWhenTrue); 1049foreach (var member in method.ContainingType.GetMembers(memberName)) 1103foreach (var member in type.GetMembers(memberName)) 8489tupleType.GetMembers(NamedTypeSymbol.ValueTupleRestFieldName).FirstOrDefault() is FieldSymbol restField)
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (2)
476var members = builderType.GetMembers(methodName); 504var members = builderType.GetMembers(propertyName);
Lowering\DiagnosticsPass_Warnings.cs (1)
365foreach (var sym in t.GetMembers(opName))
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (1)
166foreach (var member in methodDefinition.ContainingType.GetMembers(method.Name))
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
666var typeToStringMembers = type.GetMembers(objectToStringMethod.Name);
Lowering\MethodToClassRewriter.cs (2)
634foreach (var member in newType.GetMembers(method.Name)) 677foreach (var member in newType.GetMembers(property.Name))
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
782foreach (var member in ((NamedTypeSymbol)translatedType.OriginalDefinition).GetMembers(method.Name))
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
54return this.GetMembers(name);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
132return this.GetMembers(name);
Symbols\Attributes\AttributeData.cs (2)
557var members = permissionSetType.GetMembers(propName); 653foreach (var member in AttributeClass.GetMembers(memberName))
Symbols\Compilation_WellKnownMembers.cs (1)
247var members = declaringType.GetMembers(descriptor.Name);
Symbols\NamedTypeSymbol.cs (7)
184var methods = GetMembers(WellKnownMemberNames.DelegateInvokeName); 267? GetMembers(WellKnownMemberNames.InstanceConstructorName) 270? GetMembers(WellKnownMemberNames.StaticConstructorName) 450return (SynthesizedInteractiveInitializerMethod)GetMembers(SynthesizedInteractiveInitializerMethod.InitializerName).Single(); 457return (SynthesizedEntryPointSymbol)GetMembers(name).Single(); 669return GetMembers(name); 1712=> GetMembers(name).CastArray<ISymbolInternal>();
Symbols\OverriddenOrHiddenMembersHelpers.cs (6)
562foreach (Symbol otherMember in currType.GetMembers(member.Name)) 676foreach (Symbol otherMember in currType.GetMembers(member.Name)) 796foreach (Symbol otherMember in representativeMember.ContainingType.GetMembers(representativeMember.Name)) 859foreach (Symbol otherMember in representativeMember.ContainingType.GetMembers(representativeMember.Name)) 991foreach (Symbol otherMethod in method.ContainingType.GetMembers(method.Name)) 1032foreach (Symbol otherMember in currType.GetMembers(method.Name))
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
132return this.RetargetingTranslator.Retarget(_underlyingType.GetMembers(name));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (3)
1029foreach (var retargetedMember in retargetedType.GetMembers(method.Name)) 1095foreach (var retargetedMember in retargetedType.GetMembers(property.Name)) 1114foreach (var retargetedMember in retargetedType.GetMembers(@event.Name))
Symbols\Source\ExplicitInterfaceHelpers.cs (3)
132foreach (var candidateMember in explicitInterfaceType.GetMembers(name)) 253foreach (Symbol interfaceMember in explicitInterfaceNamedType.GetMembers(interfaceMemberName)) 388foreach (Symbol collisionCandidateMember in explicitInterfaceType.GetMembers(implementedMember.Name))
Symbols\Source\SourceEventSymbol.cs (1)
703foreach (Symbol interfaceMember in @interface.GetMembers(this.Name))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
701foreach (var hiddenMember in currType.GetMembers(symbol.Name))
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1440bool isField = attribute.AttributeClass.GetMembers(key).Any(
Symbols\SubstitutedNamedTypeSymbol.cs (1)
337var originalMembers = OriginalDefinition.GetMembers(name);
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
43foreach (var member in ContainingType.GetMembers(WellKnownMemberNames.ObjectEquals))
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
41F.CloseMethod(F.Block(F.Return(F.Not(F.Call(receiver: null, ContainingType.GetMembers(WellKnownMemberNames.EqualityOperatorName).OfType<SynthesizedRecordEqualityOperator>().Single(),
Symbols\Tuples\TupleTypeSymbol.cs (2)
522var members = type.GetMembers(relativeDescriptor.Name); 1084Debug.Assert(TupleUnderlyingType.GetMembers(underlyingAssociatedField.Name).IndexOf(underlyingAssociatedField) < 0);
Symbols\TypeSymbol.cs (1)
1724foreach (Symbol member in implicitImpl.ContainingType.GetMembers(implicitImpl.Name))