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