10 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.ValueChecks.cs (10)
138/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/>
161EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod,
1249{ IsCallingMethod: true } => EscapeLevel.CallingMethod,
2537mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod));
2717escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
2788escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
2796escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
2801escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
4776if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)