5 references to HasRequiredMembersError
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
6136constructor.ContainingType.HasRequiredMembersError) // An error will be reported on the constructor if from source, or a use-site diagnostic will be reported on the use if from metadata.
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1460if (diagnosticInfo == null && this.ShouldCheckRequiredMembers() && ContainingType.HasRequiredMembersError)
Symbols\NamedTypeSymbol.cs (2)
559/// The full list of all required members for this type, including from base classes. If <see cref="HasRequiredMembersError"/> is true, 600if (BaseTypeNoUseSiteDiagnostics?.HasRequiredMembersError == true)
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
153=> ContainingType.HasAnyRequiredMembers || ContainingType.HasRequiredMembersError;