2 overrides of PreserveInitialParameterValuesAndThreadId
Microsoft.CodeAnalysis.CSharp (2)
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
135
protected override bool
PreserveInitialParameterValuesAndThreadId
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
170
protected override bool
PreserveInitialParameterValuesAndThreadId
6 references to PreserveInitialParameterValuesAndThreadId
Microsoft.CodeAnalysis.CSharp (6)
Lowering\StateMachineRewriter\StateMachineRewriter.cs (6)
104
if (
PreserveInitialParameterValuesAndThreadId
&& CanGetThreadId())
112
if (
PreserveInitialParameterValuesAndThreadId
)
243
if (
PreserveInitialParameterValuesAndThreadId
)
255
var proxyField = F.StateMachineField(typeMap.SubstituteType(parameter.Type).Type, parameter.Name, isPublic: !
PreserveInitialParameterValuesAndThreadId
);
258
if (
PreserveInitialParameterValuesAndThreadId
)
297
var proxies =
PreserveInitialParameterValuesAndThreadId
? initialParameters : nonReusableLocalProxies;