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();
2077
if (methodInfo.
Method
?.RequiresInstanceReceiver == true && receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true)
2388
var method = methodInfo.
Method
;
2477
if (methodInfo.
Method
is not null && methodInfo.SetMethod is not null)
2479
var getArgument = getReceiverCore(methodInfo.
Method
, receiver);
2495
return getReceiverCore(methodInfo.
Method
, receiver);
4745
if (methodInfo.
Method
is null)
4752
if (methodInfo.
Method
.IsEffectivelyReadOnly)
4763
methodInfo.
Method
.Parameters,
4797
if (methodInfo.
Method
is null || methodInfo.
Method
.IsEffectivelyReadOnly)