File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 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
480480 ///<summary>Default TCP port (= { port } )</summary>
481481 public override int DefaultPort => { port } ;
482482" ;
483- EmitLine ( publicVars ) ;
484- EmitMethodArgumentReader ( ) ;
485- EmitLine ( "" ) ;
486- EmitContentHeaderReader ( ) ;
487- EmitLine ( " }" ) ;
483+
484+ EmitLine ( "namespace RabbitMQ.Client" ) ;
485+ EmitLine ( "{" ) ;
488486 EmitLine ( " public static class Constants" ) ;
489487 EmitLine ( " {" ) ;
490488 foreach ( KeyValuePair < string , int > de in m_constants )
@@ -493,6 +491,12 @@ internal sealed class Protocol : {ImplNamespaceBase}.ProtocolBase
493491 EmitLine ( $ " public const int { MangleConstant ( de . Key ) } = { de . Value } ;") ;
494492 }
495493 EmitLine ( " }" ) ;
494+ EmitLine ( "}" ) ;
495+ EmitLine ( publicVars ) ;
496+ EmitMethodArgumentReader ( ) ;
497+ EmitLine ( "" ) ;
498+ EmitContentHeaderReader ( ) ;
499+ EmitLine ( " }" ) ;
496500 foreach ( AmqpClass c in m_classes )
497501 {
498502 EmitClassMethods ( c ) ;
You can’t perform that action at this time.
0 commit comments