16 references to _factory
Microsoft.CodeAnalysis.CSharp (16)
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (16)
37_factory, 80Debug.Assert(_factory.TopLevelMethod is not null); 81Debug.Assert(_factory.CurrentFunction is not null); 84if (isMethodBody && _factory.TopLevelMethod.MethodKind == MethodKind.StaticConstructor) 89instrumentation = _factory.CombineInstrumentation( 91prologue: _factory.ExpressionStatement(_factory.ThrowIfModuleCancellationRequested())); 95=> _factory.Sequence([], [_factory.ThrowIfModuleCancellationRequested()], expression); 98=> _factory.StatementList(_factory.ExpressionStatement(_factory.ThrowIfModuleCancellationRequested()), statement); 137arguments = [.. arguments[0..^1], _factory.Sequence([lastArgument], _factory.ModuleCancellationToken())]; 144arguments = [.. arguments, _factory.ModuleCancellationToken()]; 170if (member == _factory.TopLevelMethod?.OriginalDefinition)