8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2944
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3030
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3035
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3043
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3050
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3095
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3103
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3114
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2291
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2347
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2389
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2575
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2626
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2836
ArrayBuilder<
EscapeValue
> escapeValues)
2888
ArrayBuilder<
EscapeValue
> escapeValues)
2918
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2963
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2970
ArrayBuilder<
EscapeValue
> escapeValues)
2992
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2995
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3007
ArrayBuilder<
EscapeValue
> escapeValues)
3058
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3061
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3072
ArrayBuilder<
EscapeValue
> escapeValues)
3277
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3322
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4930
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4949
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1001
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();