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