7 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.ValueChecks.cs (7)
2713escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true)); 2718escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2726escapeValues.Add(new EscapeValue(parameter, argument, valEscapeLevel, isRefEscape: false)); 2733escapeValues.Add(new EscapeValue(parameter, argument, refEscapeLevel, isRefEscape: true)); 2789escapeValues.Add(new EscapeValue(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2797escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false)); 2802escapeValues.Add(new EscapeValue(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
17 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (16)
2031var escapeValues = ArrayBuilder<EscapeValue>.GetInstance(); 2101var argsAndParamsAll = ArrayBuilder<EscapeValue>.GetInstance(); 2317var argsAndParamsAll = ArrayBuilder<EscapeValue>.GetInstance(); 2560ArrayBuilder<EscapeValue> escapeValues) 2617/// Returns the set of <see cref="EscapeValue"/> to an invocation that impact ref analysis. 2630ArrayBuilder<EscapeValue> escapeValues) 2664/// Returns the set of <see cref="EscapeValue"/> to an invocation that impact ref analysis. 2667/// - For ref arguments it will return an <see cref="EscapeValue"/> for both ref and 2685ArrayBuilder<EscapeValue> escapeValues) 2741/// Returns the set of <see cref="EscapeValue"/> to an invocation that impact ref analysis. 2744/// - For ref arguments it will return an <see cref="EscapeValue"/> for both ref and 2761ArrayBuilder<EscapeValue> escapeValues) 2988var escapeValues = ArrayBuilder<EscapeValue>.GetInstance(); 3039void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, SafeContext localScopeDepth, ArrayBuilder<EscapeValue> escapeValues) 4797var escapeValues = ArrayBuilder<EscapeValue>.GetInstance(); 4812foreach (var escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
852var escapeValues = ArrayBuilder<EscapeValue>.GetInstance();