6 references to HasRequiredMembersError
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
6082
constructor.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)
1453
if (diagnosticInfo == null && this.ShouldCheckRequiredMembers() && ContainingType.
HasRequiredMembersError
)
Symbols\NamedTypeSymbol.cs (2)
550
/// The full list of all required members for this type, including from base classes. If <see cref="
HasRequiredMembersError
"/> is true,
591
if (BaseTypeNoUseSiteDiagnostics?.
HasRequiredMembersError
== true)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2634
if (BaseTypeNoUseSiteDiagnostics is (not SourceMemberContainerTypeSymbol) and {
HasRequiredMembersError
: true })
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
153
=> ContainingType.HasAnyRequiredMembers || ContainingType.
HasRequiredMembersError
;