Exemplo n.º 1
0
 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);
        }
Exemplo n.º 3
0
 private void AddLineDirective(CodeStatementCollection statements, Location location)
 {
     _codeDomHelper.AddSourceLinePragmaStatement(statements, location.Line, location.Column);
 }