private static void AddLineDirective(CodeStatementCollection statements, Location location, SpecFlowConfiguration specFlowConfiguration, CodeDomHelper codeDomHelper) { if (location == null || specFlowConfiguration.AllowDebugGeneratedFiles) { return; } codeDomHelper.AddSourceLinePragmaStatement(statements, location.Line, location.Column); }
private void AddLineDirective(CodeStatementCollection statements, FilePosition filePosition) { if (filePosition == null || generatorConfiguration.AllowDebugGeneratedFiles) { return; } codeDomHelper.AddSourceLinePragmaStatement(statements, filePosition.Line, filePosition.Column); }
private void AddLineDirective(CodeStatementCollection statements, Location location) { _codeDomHelper.AddSourceLinePragmaStatement(statements, location.Line, location.Column); }