11 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (11)
361/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/>
384EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod,
1474{ IsCallingMethod: true } => EscapeLevel.CallingMethod,
2776mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod));
2894if (escapeLevel != EscapeLevel.CallingMethod)
2991escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3051escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3059escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3070escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
4934if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)