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