File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public void GenerateInlineSummary(RawComment comment)
143143
144144 public void GenerateDebug ( Declaration decl )
145145 {
146- if ( Options . OutputDebug && ! String . IsNullOrWhiteSpace ( decl . DebugText ) )
146+ if ( Options . GenerateDebugOutput && ! string . IsNullOrWhiteSpace ( decl . DebugText ) )
147147 WriteLine ( "// DEBUG: " + decl . DebugText ) ;
148148 }
149149
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ public void GenerateDeclarationCommon(Declaration decl)
383383
384384 public void GenerateDebug ( Declaration decl )
385385 {
386- if ( Options . OutputDebug && ! string . IsNullOrWhiteSpace ( decl . DebugText ) )
386+ if ( Options . GenerateDebugOutput && ! string . IsNullOrWhiteSpace ( decl . DebugText ) )
387387 WriteLine ( "// DEBUG: " + decl . DebugText ) ;
388388 }
389389
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ public DriverOptions()
3434 /// Set to true to enable quiet output mode.
3535 /// </summary>
3636 public bool Quiet ;
37- public bool OutputDebug ;
3837
3938 /// <summary>
4039 /// Set to true to enable verbose output mode.
@@ -97,6 +96,12 @@ public string LibraryName
9796 public bool GenerateInternalImports ;
9897 public bool UseHeaderDirectories ;
9998
99+ /// <summary>
100+ /// If set to true, the generated code will be generated with extra
101+ /// debug output.
102+ /// </summary>
103+ public bool GenerateDebugOutput ;
104+
100105 /// <summary>
101106 /// If set to true the CLI generator will use ObjectOverridesPass to create
102107 /// Equals, GetHashCode and (if the insertion operator << is overloaded) ToString
You can’t perform that action at this time.
0 commit comments