8 instantiations of EscapeValue
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.ValueChecks.cs (8)
2923
escapeValues.Add(new
EscapeValue
(parameter, argument, escapeLevel, isArgumentRefEscape));
3009
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.ReturnOnly, isRefEscape: true));
3014
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3022
escapeValues.Add(new
EscapeValue
(parameter, argument, valEscapeLevel, isRefEscape: false));
3029
escapeValues.Add(new
EscapeValue
(parameter, argument, refEscapeLevel, isRefEscape: true));
3074
escapeValues.Add(new
EscapeValue
(parameter: null, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3082
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: false));
3093
escapeValues.Add(new
EscapeValue
(parameter, argument, EscapeLevel.CallingMethod, isRefEscape: true));
21 references to EscapeValue
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (20)
2295
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2351
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2393
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2579
var argsAndParamsAll = ArrayBuilder<
EscapeValue
>.GetInstance();
2630
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2815
ArrayBuilder<
EscapeValue
> escapeValues)
2867
ArrayBuilder<
EscapeValue
> escapeValues)
2897
var unfilteredEscapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
2942
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2949
ArrayBuilder<
EscapeValue
> escapeValues)
2971
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
2974
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
2986
ArrayBuilder<
EscapeValue
> escapeValues)
3037
/// Returns the set of <see cref="
EscapeValue
"/> to an invocation that impact ref analysis.
3040
/// - For ref arguments it will return an <see cref="
EscapeValue
"/> for both ref and
3051
ArrayBuilder<
EscapeValue
> escapeValues)
3256
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
3301
void inferDeclarationExpressionValEscape(ImmutableArray<BoundExpression> argsOpt, ArrayBuilder<
EscapeValue
> escapeValues)
4961
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();
4980
foreach (
var
escapeValue in escapeValues)
Binder\RefSafetyAnalysis.cs (1)
1032
var escapeValues = ArrayBuilder<
EscapeValue
>.GetInstance();