8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2938
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3024
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3029
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3037
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3044
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3089
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3097
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3108
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2285
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2341
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2383
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2569
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2620
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2830
ArrayBuilder<
EscapeValue
> escapeValues)
2882
ArrayBuilder<
EscapeValue
> escapeValues)
2912
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2957
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2964
ArrayBuilder<
EscapeValue
> escapeValues)
2986
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2989
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3001
ArrayBuilder<
EscapeValue
> escapeValues)
3052
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3055
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3066
ArrayBuilder<
EscapeValue
> escapeValues)
3271
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3316
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4916
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4935
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1001
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();