1 write to Method
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.ValueChecks.cs (1)
60
Method
= method;
17 references to Method
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (17)
47
/// <see cref="
Method
"/> will represent the `get` accessor and this will
52
internal bool UseUpdatedEscapeRules =>
Method
?.UseUpdatedEscapeRules == true;
54
Method
is { RefKind: not RefKind.None, ReturnType: { } returnType } &&
91
var method = replace(
Method
);
93
Symbol symbol = ReferenceEquals(Symbol,
Method
) && method is not null ? method : Symbol;
95
wasError = (
Method
is not null && method is null) || (SetMethod is not null && setMethod is null);
118
public override string? ToString() =>
Method
?.ToString();
2078
if (methodInfo.
Method
?.RequiresInstanceReceiver == true && receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true)
2389
var method = methodInfo.
Method
;
2478
if (methodInfo.
Method
is not null && methodInfo.SetMethod is not null)
2480
var getArgument = getReceiverCore(methodInfo.
Method
, receiver);
2496
return getReceiverCore(methodInfo.
Method
, receiver);
4746
if (methodInfo.
Method
is null)
4753
if (methodInfo.
Method
.IsEffectivelyReadOnly)
4764
methodInfo.
Method
.Parameters,
4798
if (methodInfo.
Method
is null || methodInfo.
Method
.IsEffectivelyReadOnly)