7 references to HasSetsRequiredMembers
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (2)
5014if (resultMember.HasSetsRequiredMembers && !constructor.HasSetsRequiredMembers)
Binder\Binder_Statements.cs (1)
3991Binder.ReportConstructorUseSiteDiagnostics(diagnosticsLocation, diagnostics, suppressUnsupportedRequiredMembersError: constructor.HasSetsRequiredMembers, constructorUseSiteInfo);
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (2)
164var methodsSetsRequiredMembers = methodDefinition.HasSetsRequiredMembers; 191(!methodsSetsRequiredMembers || overload.HasSetsRequiredMembers))
Symbols\SymbolExtensions.cs (1)
828=> method is { MethodKind: MethodKind.Constructor, HasSetsRequiredMembers: false };
Symbols\Wrapped\WrappedMethodSymbol.cs (1)
362protected sealed override bool HasSetsRequiredMembersImpl => UnderlyingMethod.HasSetsRequiredMembers;