8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2907
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
2993
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
2998
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3006
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3013
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3058
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3066
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3077
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2279
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2335
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2377
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2563
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2614
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2799
ArrayBuilder<
EscapeValue
> escapeValues)
2851
ArrayBuilder<
EscapeValue
> escapeValues)
2881
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2926
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2933
ArrayBuilder<
EscapeValue
> escapeValues)
2955
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2958
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
2970
ArrayBuilder<
EscapeValue
> escapeValues)
3021
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3024
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3035
ArrayBuilder<
EscapeValue
> escapeValues)
3240
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3285
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4945
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4964
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1081
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();