8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2939
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3025
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3030
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3038
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3045
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3090
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3098
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3109
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2286
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2342
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2384
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2570
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2621
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2831
ArrayBuilder<
EscapeValue
> escapeValues)
2883
ArrayBuilder<
EscapeValue
> escapeValues)
2913
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2958
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2965
ArrayBuilder<
EscapeValue
> escapeValues)
2987
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2990
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3002
ArrayBuilder<
EscapeValue
> escapeValues)
3053
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3056
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3067
ArrayBuilder<
EscapeValue
> escapeValues)
3272
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3317
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4925
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4944
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1001
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();