コード例 #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);
 }
コード例 #2
0
        private void AddLineDirective(CodeStatementCollection statements, FilePosition filePosition)
        {
            if (filePosition == null || generatorConfiguration.AllowDebugGeneratedFiles)
            {
                return;
            }

            codeDomHelper.AddSourceLinePragmaStatement(statements, filePosition.Line, filePosition.Column);
        }
コード例 #3
0
 private void AddLineDirective(CodeStatementCollection statements, Location location)
 {
     _codeDomHelper.AddSourceLinePragmaStatement(statements, location.Line, location.Column);
 }