File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
MetadataProcessor.Console Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,11 @@ public void GenerateSkeleton(
9797 string file ,
9898 string name ,
9999 string project ,
100- bool interopCode )
100+ bool withoutInteropCode )
101101 {
102102 try
103103 {
104- if ( interopCode )
104+ if ( ! withoutInteropCode )
105105 {
106106 System . Console . Error . WriteLine ( "Generator for Interop stubs is not supported yet." ) ;
107107
@@ -115,7 +115,7 @@ public void GenerateSkeleton(
115115 file ,
116116 name ,
117117 project ,
118- interopCode ) ;
118+ withoutInteropCode ) ;
119119
120120 skeletonGenerator . GenerateSkeleton ( ) ;
121121 }
@@ -220,9 +220,9 @@ public static void Main(string[] args)
220220 string file = args [ i + 1 ] ;
221221 string name = args [ i + 2 ] ;
222222 string project = args [ i + 3 ] ;
223- bool interopCode = false ;
223+ bool withoutInteropCode = false ;
224224
225- if ( ! bool . TryParse ( args [ i + 4 ] , out interopCode ) )
225+ if ( ! bool . TryParse ( args [ i + 4 ] , out withoutInteropCode ) )
226226 {
227227 System . Console . Error . WriteLine ( "Bad parameter for generateSkeleton. Generate code without Interop support has to be 'true' or 'false'." ) ;
228228
@@ -233,7 +233,7 @@ public static void Main(string[] args)
233233 file ,
234234 name ,
235235 project ,
236- interopCode ) ;
236+ withoutInteropCode ) ;
237237
238238 i += 4 ;
239239 }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public sealed class nanoSkeletonGenerator
2222 private readonly string _path ;
2323 private readonly string _name ;
2424 private readonly string _project ;
25- private readonly bool _interopCode ;
25+ private readonly bool _withoutInteropCode ;
2626
2727 private string _assemblyName ;
2828
@@ -31,13 +31,13 @@ public nanoSkeletonGenerator(
3131 string path ,
3232 string name ,
3333 string project ,
34- bool interopCode )
34+ bool withoutInteropCode )
3535 {
3636 _tablesContext = tablesContext ;
3737 _path = path ;
3838 _name = name ;
3939 _project = project ;
40- _interopCode = interopCode ;
40+ _withoutInteropCode = withoutInteropCode ;
4141 }
4242
4343 public void GenerateSkeleton ( )
You can’t perform that action at this time.
0 commit comments