11 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (11)
360/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/> 383EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod, 1520{ IsCallingMethod: true } => EscapeLevel.CallingMethod, 2815mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod)); 2933if (escapeLevel != EscapeLevel.CallingMethod) 3030escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3090escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3098escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3109escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true)); 4948if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)