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