11 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (11)
346/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/> 369EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod, 1517{ IsCallingMethod: true } => EscapeLevel.CallingMethod, 2798mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod)); 2916if (escapeLevel != EscapeLevel.CallingMethod) 3013escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3073escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3081escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3092escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true)); 4983if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)