From dc4d509cc2f815a28fa62d9dd859010d2957678e Mon Sep 17 00:00:00 2001 From: triton Date: Fri, 5 Apr 2013 03:22:26 +0100 Subject: [PATCH] Use the OutputNamespace property for generating the top-level namespace. --- src/Generator/Generators/CSharp/CSharpTextTemplate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index 35344e5c..997b8b26 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -103,7 +103,7 @@ namespace Cxxi.Generators.CSharp if (Options.GenerateLibraryNamespace) { - WriteLine("namespace {0}", SafeIdentifier(Driver.Options.LibraryName)); + WriteLine("namespace {0}", SafeIdentifier(Driver.Options.OutputNamespace)); WriteStartBraceIndent(); }