1 write to Method
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.ValueChecks.cs (1)
59
Method
= method;
17 references to Method
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (17)
46
/// <see cref="
Method
"/> will represent the `get` accessor and this will
51
internal bool UseUpdatedEscapeRules =>
Method
?.UseUpdatedEscapeRules == true;
53
Method
is { RefKind: not RefKind.None, ReturnType: { } returnType } &&
90
var method = replace(
Method
);
92
Symbol symbol = ReferenceEquals(Symbol,
Method
) && method is not null ? method : Symbol;
94
wasError = (
Method
is not null && method is null) || (SetMethod is not null && setMethod is null);
117
public override string? ToString() =>
Method
?.ToString();
2074
if (methodInfo.
Method
?.RequiresInstanceReceiver == true && receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true)
2385
var method = methodInfo.
Method
;
2474
if (methodInfo.
Method
is not null && methodInfo.SetMethod is not null)
2476
var getArgument = getReceiverCore(methodInfo.
Method
, receiver);
2492
return getReceiverCore(methodInfo.
Method
, receiver);
4733
if (methodInfo.
Method
is null)
4740
if (methodInfo.
Method
.IsEffectivelyReadOnly)
4751
methodInfo.
Method
.Parameters,
4785
if (methodInfo.
Method
is null || methodInfo.
Method
.IsEffectivelyReadOnly)