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, 1521{ IsCallingMethod: true } => EscapeLevel.CallingMethod, 2826mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod)); 2944if (escapeLevel != EscapeLevel.CallingMethod) 3041escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3101escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3109escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3120escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true)); 4996if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)