6 references to HasAnyRequiredMembers
Microsoft.CodeAnalysis.CSharp (6)
Symbols\ConstraintsHelper.cs (1)
1490bool hasAnyRequiredMembers = type.HasAnyRequiredMembers;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1012bool checkForRequiredMembers = this.ShouldCheckRequiredMembers() && this.ContainingType.HasAnyRequiredMembers;
Symbols\MethodSymbol.cs (1)
1271if (methodToAttribute.ShouldCheckRequiredMembers() && methodToAttribute.ContainingType.HasAnyRequiredMembers)
Symbols\NamedTypeSymbol.cs (1)
556/// <see cref="HasAnyRequiredMembers"/>, which will avoid calling this API if not required.
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2623if (HasAnyRequiredMembers)
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
153=> ContainingType.HasAnyRequiredMembers || ContainingType.HasRequiredMembersError;