11 references to CallingMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (11)
359/// wider escape level. An destination that is <see cref="EscapeLevel.CallingMethod"/> 382EscapeLevel.CallingMethod => level == EscapeLevel.CallingMethod, 1475{ IsCallingMethod: true } => EscapeLevel.CallingMethod, 2770mixableArguments.Add(new MixableDestination(argument, EscapeLevel.CallingMethod)); 2888if (escapeLevel != EscapeLevel.CallingMethod) 2985escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3045escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3053escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 3064escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true)); 4895if (escapeValue.IsRefEscape && escapeValue.EscapeLevel != EscapeLevel.CallingMethod)