8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2950
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3036
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3041
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3049
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3056
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3101
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3109
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3120
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2297
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2353
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2395
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2581
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2632
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2842
ArrayBuilder<
EscapeValue
> escapeValues)
2894
ArrayBuilder<
EscapeValue
> escapeValues)
2924
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2969
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2976
ArrayBuilder<
EscapeValue
> escapeValues)
2998
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3001
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3013
ArrayBuilder<
EscapeValue
> escapeValues)
3064
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3067
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3078
ArrayBuilder<
EscapeValue
> escapeValues)
3283
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3328
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4973
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4992
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1010
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();