11 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (11)
347/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/>
370EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod,
1518{ IsCallingMethod: true } => EscapeLevel.CallingMethod,
2799mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod));
2917if (escapeLevel != EscapeLevel.CallingMethod)
3014escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3074escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3082escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3093escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
4984if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)