8 references to AllRequiredMembers
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
6090return constructor.ContainingType.AllRequiredMembers;
FlowAnalysis\NullableWalker.cs (3)
679foreach (var (_, member) in baseType.AllRequiredMembers) 916=> containingType.AllRequiredMembers.SelectManyAsArray(static kvp => getAllMembersToBeDefaulted(kvp.Value)), 931var requiredMembers = containingType.BaseTypeNoUseSiteDiagnostics?.AllRequiredMembers ?? ImmutableSegmentedDictionary<string, Symbol>.Empty;
Symbols\NamedTypeSymbol.cs (4)
544/// Returns true if there are any required members. Prefer calling this over checking <see cref="AllRequiredMembers"/> for empty, as 547internal bool HasAnyRequiredMembers => HasDeclaredRequiredMembers || !AllRequiredMembers.IsEmpty; 583? builder?.ToImmutable() ?? BaseTypeNoUseSiteDiagnostics?.AllRequiredMembers ?? ImmutableSegmentedDictionary<string, Symbol>.Empty 596var baseAllRequiredMembers = BaseTypeNoUseSiteDiagnostics?.AllRequiredMembers ?? ImmutableSegmentedDictionary<string, Symbol>.Empty;