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