1 write to Method
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.ValueChecks.cs (1)
52
Method
= method;
18 references to Method
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Statements.cs (2)
1657
Debug.Assert(methodInvocationInfo.MethodInfo.
Method
is not null);
1660
symbolForReporting: methodInvocationInfo.MethodInfo.
Method
.AssociatedSymbol, diagnostics);
Binder\Binder.ValueChecks.cs (16)
44
internal bool UseUpdatedEscapeRules =>
Method
?.UseUpdatedEscapeRules == true;
46
Method
is { RefKind: not RefKind.None, ReturnType: { } returnType } &&
72
var method = replace(
Method
);
73
Symbol symbol = ReferenceEquals(Symbol,
Method
) && method is not null ? method : Symbol;
75
wasError =
Method
is not null && method is null;
99
public override string? ToString() =>
Method
?.ToString();
2335
if (methodInvocationInfo.MethodInfo.
Method
?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true)
2671
var method = methodInvocationInfo.MethodInfo.
Method
;
2761
MethodSymbol? method = methodInfo.
Method
;
2877
if (!hasRefToRefStructThis(methodInfo.
Method
))
2885
Debug.Assert(methodInfo.
Method
?.IsExtensionMethod != false);
4949
if (methodInfo.
Method
is null)
4956
if (methodInfo.
Method
.IsEffectivelyReadOnly)
4969
Parameters = methodInfo.
Method
.Parameters,
5005
if (methodInfo.
Method
is null || methodInfo.
Method
.IsEffectivelyReadOnly)