8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2922
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3008
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3013
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3021
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3028
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3073
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3081
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3092
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2269
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2325
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2367
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2553
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2604
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2814
ArrayBuilder<
EscapeValue
> escapeValues)
2866
ArrayBuilder<
EscapeValue
> escapeValues)
2896
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2941
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2948
ArrayBuilder<
EscapeValue
> escapeValues)
2970
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2973
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
2985
ArrayBuilder<
EscapeValue
> escapeValues)
3036
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3039
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3050
ArrayBuilder<
EscapeValue
> escapeValues)
3255
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3300
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4900
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4919
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1001
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();