1 write to Method
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.ValueChecks.cs (1)
51
Method
= method;
18 references to Method
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.ValueChecks.cs (16)
43
internal bool UseUpdatedEscapeRules =>
Method
?.UseUpdatedEscapeRules == true;
45
Method
is { RefKind: not RefKind.None, ReturnType: { } returnType } &&
71
var method = replace(
Method
);
72
Symbol symbol = ReferenceEquals(Symbol,
Method
) && method is not null ? method : Symbol;
74
wasError =
Method
is not null && method is null;
98
public override string? ToString() =>
Method
?.ToString();
2334
if (methodInvocationInfo.MethodInfo.
Method
?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true)
2670
var method = methodInvocationInfo.MethodInfo.
Method
;
2760
MethodSymbol? method = methodInfo.
Method
;
2876
if (!hasRefToRefStructThis(methodInfo.
Method
))
2884
Debug.Assert(methodInfo.
Method
?.IsExtensionMethod != false);
4948
if (methodInfo.
Method
is null)
4955
if (methodInfo.
Method
.IsEffectivelyReadOnly)
4968
Parameters = methodInfo.
Method
.Parameters,
5004
if (methodInfo.
Method
is null || methodInfo.
Method
.IsEffectivelyReadOnly)
Binder\Binder_Statements.cs (2)
1657
Debug.Assert(methodInvocationInfo.MethodInfo.
Method
is not null);
1660
symbolForReporting: methodInvocationInfo.MethodInfo.
Method
.AssociatedSymbol, diagnostics);