1 write to Method
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder.ValueChecks.cs (1)
59Method = method;
17 references to Method
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (17)
46/// <see cref="Method"/> will represent the `get` accessor and this will 51internal bool UseUpdatedEscapeRules => Method?.UseUpdatedEscapeRules == true; 53Method is { RefKind: not RefKind.None, ReturnType: { } returnType } && 90var method = replace(Method); 92Symbol symbol = ReferenceEquals(Symbol, Method) && method is not null ? method : Symbol; 94wasError = (Method is not null && method is null) || (SetMethod is not null && setMethod is null); 117public override string? ToString() => Method?.ToString(); 2074if (methodInfo.Method?.RequiresInstanceReceiver == true && receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true) 2385var method = methodInfo.Method; 2474if (methodInfo.Method is not null && methodInfo.SetMethod is not null) 2476var getArgument = getReceiverCore(methodInfo.Method, receiver); 2492return getReceiverCore(methodInfo.Method, receiver); 4733if (methodInfo.Method is null) 4740if (methodInfo.Method.IsEffectivelyReadOnly) 4751methodInfo.Method.Parameters, 4785if (methodInfo.Method is null || methodInfo.Method.IsEffectivelyReadOnly)