10 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.ValueChecks.cs (10)
139/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/> 162EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod, 1250{ IsCallingMethod: true } => EscapeLevel.CallingMethod, 2538mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod)); 2718escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2789escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2797escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2802escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true)); 4777if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)