File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -480,11 +480,9 @@ internal sealed class Protocol : {ImplNamespaceBase}.ProtocolBase
480
480
///<summary>Default TCP port (= { port } )</summary>
481
481
public override int DefaultPort => { port } ;
482
482
" ;
483
- EmitLine ( publicVars ) ;
484
- EmitMethodArgumentReader ( ) ;
485
- EmitLine ( "" ) ;
486
- EmitContentHeaderReader ( ) ;
487
- EmitLine ( " }" ) ;
483
+
484
+ EmitLine ( "namespace RabbitMQ.Client" ) ;
485
+ EmitLine ( "{" ) ;
488
486
EmitLine ( " public static class Constants" ) ;
489
487
EmitLine ( " {" ) ;
490
488
foreach ( KeyValuePair < string , int > de in m_constants )
@@ -493,6 +491,12 @@ internal sealed class Protocol : {ImplNamespaceBase}.ProtocolBase
493
491
EmitLine ( $ " public const int { MangleConstant ( de . Key ) } = { de . Value } ;") ;
494
492
}
495
493
EmitLine ( " }" ) ;
494
+ EmitLine ( "}" ) ;
495
+ EmitLine ( publicVars ) ;
496
+ EmitMethodArgumentReader ( ) ;
497
+ EmitLine ( "" ) ;
498
+ EmitContentHeaderReader ( ) ;
499
+ EmitLine ( " }" ) ;
496
500
foreach ( AmqpClass c in m_classes )
497
501
{
498
502
EmitClassMethods ( c ) ;
You can’t perform that action at this time.
0 commit comments