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(); 2335if (methodInvocationInfo.MethodInfo.Method?.RequiresInstanceReceiver == true && methodInvocationInfo.Receiver?.Type?.IsRefLikeOrAllowsRefLikeType() == true) 2671var method = methodInvocationInfo.MethodInfo.Method; 2761MethodSymbol? method = methodInfo.Method; 2877if (!hasRefToRefStructThis(methodInfo.Method)) 2885Debug.Assert(methodInfo.Method?.IsExtensionMethod != false); 4949if (methodInfo.Method is null) 4956if (methodInfo.Method.IsEffectivelyReadOnly) 4969Parameters = methodInfo.Method.Parameters, 5005if (methodInfo.Method is null || methodInfo.Method.IsEffectivelyReadOnly)