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)
2294
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2350
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2392
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2578
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2629
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)
4960
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4979
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1027
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();