Fixed paths

Fixed paths

--- src/NSwag.CodeGeneration/CodeGenerators/TypeScript/Templates/FetchClientTemplate.cs
+++ src/NSwag.CodeGeneration/CodeGenerators/TypeScript/Templates/FetchClientTemplate.cs
@@ -18,7 +18,7 @@
     /// Class to produce the template output
     /// </summary>

-    #line 1 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+    #line 1 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.TextTemplating", "14.0.0.0")]
     internal partial class FetchClientTemplate : FetchClientTemplateBase
     {
@@ -30,228 +30,228 @@
         {
             this.Write("\r\n");

-            #line 6 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 6 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.HasOperations){

             #line default
             #line hidden

-            #line 7 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 7 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.GenerateClientInterfaces){

             #line default
             #line hidden
             this.Write("export interface I");

-            #line 8 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 8 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(Model.Class));

             #line default
             #line hidden
             this.Write(" {\r\n");

-            #line 9 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 9 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var operation in Model.Operations){

             #line default
             #line hidden

-            #line 10 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 10 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasDocumentation){

             #line default
             #line hidden
             this.Write("    /**\r\n");

-            #line 11 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 11 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasSummary){

             #line default
             #line hidden
             this.Write("     * ");

-            #line 11 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 11 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.Summary));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 12 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 12 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 12 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 12 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.Parameters){

             #line default
             #line hidden

-            #line 13 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 13 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(parameter.HasDescription){

             #line default
             #line hidden
             this.Write("     * @");

-            #line 13 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 13 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" ");

-            #line 13 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 13 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Description ?? ""));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 14 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 14 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 14 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 14 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 14 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 14 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasResultDescription){

             #line default
             #line hidden
             this.Write("     * @return ");

-            #line 14 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 14 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.ResultDescription));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 15 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 15 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 15 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 15 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.IsDeprecated){

             #line default
             #line hidden
             this.Write("     * @deprecated\r\n");

-            #line 16 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 16 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("     */\r\n");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("    ");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.OperationNameLower));

             #line default
             #line hidden
             this.Write("(");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.Parameters){

             #line default
             #line hidden

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(": ");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Type));

             #line default
             #line hidden

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(!parameter.IsLast){

             #line default
             #line hidden
             this.Write(", ");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("): Promise<");

-            #line 17 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 17 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.ResultType));

             #line default
             #line hidden
             this.Write(">;\r\n");

-            #line 18 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 18 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("}\r\n");

-            #line 19 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 19 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("\r\nexport class ");

-            #line 21 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 21 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(Model.Class));

             #line default
             #line hidden
             this.Write(" ");

-            #line 21 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 21 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.GenerateClientInterfaces){

             #line default
             #line hidden
             this.Write("implements I");

-            #line 21 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 21 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(Model.Class));

             #line default
             #line hidden
             this.Write(" ");

-            #line 21 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 21 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
@@ -259,14 +259,14 @@
             this.Write("{\r\n    private baseUrl: string = undefined; \r\n\r\n    constructor(baseUrl?: string)" +
                     " {\r\n        this.baseUrl = baseUrl ? baseUrl : \"");

-            #line 25 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 25 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(Model.BaseUrl));

             #line default
             #line hidden
             this.Write("\"; \r\n    }\r\n");

-            #line 27 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 27 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.IsExtended){

             #line default
@@ -276,331 +276,331 @@
                     "ssor: (response: Response) => any) {\r\n        return processor(response);\r\n    }" +
                     "\r\n");

-            #line 36 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 37 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 36 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 37 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var operation in Model.Operations){

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 39 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 39 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasDocumentation){

             #line default
             #line hidden
             this.Write("    /**\r\n");

-            #line 40 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 40 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasSummary){

             #line default
             #line hidden
             this.Write("     * ");

-            #line 40 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 40 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.Summary));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 41 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 41 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 41 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 41 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.Parameters){

             #line default
             #line hidden

-            #line 42 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 42 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(parameter.HasDescription){

             #line default
             #line hidden
             this.Write("     * @");

-            #line 42 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 42 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" ");

-            #line 42 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 42 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Description ?? ""));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 43 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 43 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 43 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 43 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 43 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 43 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasResultDescription){

             #line default
             #line hidden
             this.Write("     * @return ");

-            #line 43 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 43 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.ResultDescription));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 44 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 44 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 44 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 44 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.IsDeprecated){

             #line default
             #line hidden
             this.Write("     * @deprecated\r\n");

-            #line 45 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 45 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("     */\r\n");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("    ");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.OperationNameLower));

             #line default
             #line hidden
             this.Write("(");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.Parameters){

             #line default
             #line hidden

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(": ");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Type));

             #line default
             #line hidden

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(!parameter.IsLast){

             #line default
             #line hidden
             this.Write(", ");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("): Promise<");

-            #line 46 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 46 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.ResultType));

             #line default
             #line hidden
             this.Write("> {\r\n        let url_ = this.baseUrl + \"/");

-            #line 47 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 47 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.Path));

             #line default
             #line hidden

-            #line 47 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 47 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.QueryParameters.Any()){

             #line default
             #line hidden
             this.Write("?");

-            #line 47 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 47 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("\"; \r\n\r\n");

-            #line 49 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 49 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.PathParameters){

             #line default
             #line hidden
             this.Write("        if (");

-            #line 50 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 50 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === undefined || ");

-            #line 50 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 50 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === null)\r\n            throw new Error(\"The parameter \'");

-            #line 51 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 51 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write("\' must be defined.\");\r\n");

-            #line 52 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 52 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(parameter.IsDateArray){

             #line default
             #line hidden
             this.Write("        url_ = url_.replace(\"{");

-            #line 53 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 53 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("}\", encodeURIComponent(");

-            #line 53 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 53 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".map(s_ => s_.toJSON()).join())); \r\n");

-            #line 54 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 54 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else if(parameter.IsDate){

             #line default
             #line hidden
             this.Write("        url_ = url_.replace(\"{");

-            #line 55 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 55 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("}\", encodeURIComponent(\"\" + ");

-            #line 55 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 55 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".toJSON())); \r\n");

-            #line 56 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 56 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else if(parameter.IsArray){

             #line default
             #line hidden
             this.Write("        url_ = url_.replace(\"{");

-            #line 57 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 57 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("}\", encodeURIComponent(");

-            #line 57 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 57 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".join())); \r\n");

-            #line 58 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 58 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden
             this.Write("        url_ = url_.replace(\"{");

-            #line 59 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 59 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("}\", encodeURIComponent(\"\" + ");

-            #line 59 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 59 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(")); \r\n");

-            #line 60 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 60 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }

             #line default
             #line hidden

-            #line 61 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 61 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 63 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 63 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.QueryParameters){

             #line default
             #line hidden

-            #line 64 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 64 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if (parameter.IsRequired) {
         if(parameter.IsNullable){

@@ -608,49 +608,49 @@
             #line hidden
             this.Write("        if (");

-            #line 66 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 66 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === undefined)\r\n            throw new Error(\"The parameter \'");

-            #line 67 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 67 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write("\' must be defined.\");\r\n        else\r\n");

-            #line 69 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 69 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }else{

             #line default
             #line hidden
             this.Write("        if (");

-            #line 70 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 70 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === undefined || ");

-            #line 70 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 70 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === null)\r\n            throw new Error(\"The parameter \'");

-            #line 71 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 71 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write("\' must be defined and cannot be null.\");\r\n        else\r\n");

-            #line 73 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 73 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }
     }else{
         if(parameter.IsNullable){
@@ -659,133 +659,133 @@
             #line hidden
             this.Write("        if (");

-            #line 76 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 76 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" !== undefined)\r\n");

-            #line 77 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 77 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }else{

             #line default
             #line hidden
             this.Write("        if (");

-            #line 78 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 78 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" === null)\r\n            throw new Error(\"The parameter \'");

-            #line 79 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 79 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write("\' cannot be null.\");\r\n        else if (");

-            #line 80 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 80 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(" !== undefined)\r\n");

-            #line 81 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 81 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }
     }

             #line default
             #line hidden

-            #line 83 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 83 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(parameter.IsDateArray){

             #line default
             #line hidden
             this.Write("            ");

-            #line 84 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 84 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".forEach(item => { url_ += \"");

-            #line 84 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 84 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("=\" + encodeURIComponent(\"\" + item.toJSON()) + \"&\"; });\r\n");

-            #line 85 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 85 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else if(parameter.IsDate){

             #line default
             #line hidden
             this.Write("            url_ += \"");

-            #line 86 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 86 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("=\" + encodeURIComponent(\"\" + ");

-            #line 86 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 86 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".toJSON()) + \"&\"; \r\n");

-            #line 87 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 87 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else if(parameter.IsArray){

             #line default
             #line hidden
             this.Write("            ");

-            #line 88 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 88 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(".forEach(item => { url_ += \"");

-            #line 88 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 88 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("=\" + encodeURIComponent(\"\" + item) + \"&\"; });\r\n");

-            #line 89 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 89 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden
             this.Write("            url_ += \"");

-            #line 90 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 90 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("=\" + encodeURIComponent(\"\" + ");

-            #line 90 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 90 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(") + \"&\"; \r\n");

-            #line 91 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 91 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }
 }

@@ -793,97 +793,97 @@
             #line hidden
             this.Write("\r\n        ");

-            #line 94 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 94 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(RequestBodyGenerator.Render(operation, 2)));

             #line default
             #line hidden
             this.Write("\r\n        \r\n        return fetch(url_, ");

-            #line 96 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 96 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.IsExtended){

             #line default
             #line hidden
             this.Write("this.transformOptions(");

-            #line 96 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 96 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("{\r\n            body: content_,\r\n            method: \"");

-            #line 98 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 98 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.HttpMethodUpper.ToUpperInvariant()));

             #line default
             #line hidden
             this.Write("\",\r\n            headers: {\r\n");

-            #line 100 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 100 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var parameter in operation.HeaderParameters){

             #line default
             #line hidden
             this.Write("                \"");

-            #line 101 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 101 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.Name));

             #line default
             #line hidden
             this.Write("\": ");

-            #line 101 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 101 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(parameter.VariableNameLower));

             #line default
             #line hidden
             this.Write(", \r\n");

-            #line 102 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
-}
-
-            #line default
-            #line hidden
-
-            #line 103 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 102 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+}
+
+            #line default
+            #line hidden
+
+            #line 103 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasFormParameters){

             #line default
             #line hidden
             this.Write("                \'Content-Type\': undefined\r\n");

-            #line 104 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 104 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }else{

             #line default
             #line hidden
             this.Write("                \"Content-Type\": \"application/json; charset=UTF-8\"\r\n");

-            #line 106 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 106 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("            }\r\n        }");

-            #line 108 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 108 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.IsExtended){

             #line default
             #line hidden
             this.Write(")");

-            #line 108 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 108 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write(").then((response) => {\r\n");

-            #line 109 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 109 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(Model.IsExtended){

             #line default
@@ -891,35 +891,35 @@
             this.Write("            return this.transformResult(url_, response, (response) => this.proces" +
                     "s");

-            #line 110 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 110 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.OperationNameUpper));

             #line default
             #line hidden
             this.Write("(response));\r\n");

-            #line 111 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 111 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }else{

             #line default
             #line hidden
             this.Write("            return this.process");

-            #line 112 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 112 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.OperationNameUpper));

             #line default
             #line hidden
             this.Write("(response);\r\n");

-            #line 113 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 113 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("        });\r\n    }\r\n\r\n    private process");

-            #line 117 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 117 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.OperationNameUpper));

             #line default
@@ -927,144 +927,144 @@
             this.Write("(response: Response) {\r\n        return response.text().then((data) => {\r\n        " +
                     "    const status = response.status.toString(); \r\n\r\n");

-            #line 121 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 121 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 foreach(var response in operation.Responses){

             #line default
             #line hidden
             this.Write("            if (status === \"");

-            #line 122 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 122 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write("\") {\r\n");

-            #line 123 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 123 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(response.HasType){

             #line default
             #line hidden
             this.Write("                let result");

-            #line 124 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 124 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write(": ");

-            #line 124 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 124 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.Type));

             #line default
             #line hidden
             this.Write(" = null; \r\n");

-            #line 125 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 125 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(response.IsDate){

             #line default
             #line hidden
             this.Write("                result");

-            #line 126 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 126 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write(" = new Date(data);\r\n");

-            #line 127 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 127 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden

-            #line 128 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 128 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       if(response.UseDtoClass){

             #line default
             #line hidden
             this.Write("                let resultData");

-            #line 129 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 129 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write(" = data === \"\" ? null : JSON.parse(data);\r\n                ");

-            #line 130 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 130 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(ConversionUtilities.Tab(response.DataConversionCode, 4)));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 131 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 131 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }else{

             #line default
             #line hidden
             this.Write("                result");

-            #line 132 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 132 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write(" = data === \"\" ? null : <");

-            #line 132 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 132 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.Type));

             #line default
             #line hidden
             this.Write(">JSON.parse(data);\r\n");

-            #line 133 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 133 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }

             #line default
             #line hidden

-            #line 134 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 134 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }

             #line default
             #line hidden

-            #line 135 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 135 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(response.IsSuccess){

             #line default
             #line hidden
             this.Write("                return result");

-            #line 136 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 136 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write("; \r\n");

-            #line 137 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 137 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden
             this.Write("                throw result");

-            #line 138 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 138 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(response.StatusCode));

             #line default
             #line hidden
             this.Write("; \r\n");

-            #line 139 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 139 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }
 }

@@ -1072,41 +1072,41 @@
             #line hidden
             this.Write("            }\r\n            else\r\n");

-            #line 143 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 143 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("            {\r\n");

-            #line 144 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 144 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 if(operation.HasDefaultResponse){

             #line default
             #line hidden
             this.Write("                let result: ");

-            #line 145 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 145 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.DefaultResponse.Type));

             #line default
             #line hidden
             this.Write(" = null; \r\n");

-            #line 146 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 146 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(operation.DefaultResponse.IsDate){

             #line default
             #line hidden
             this.Write("                result = new Date(data);\r\n");

-            #line 148 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 148 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden

-            #line 149 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 149 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       if(operation.DefaultResponse.UseDtoClass){

             #line default
@@ -1114,54 +1114,54 @@
             this.Write("                let resultData = data === \"\" ? null : JSON.parse(data);\r\n        " +
                     "    ");

-            #line 151 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 151 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(ConversionUtilities.Tab(operation.DefaultResponse.DataConversionCode, 3)));

             #line default
             #line hidden
             this.Write("\r\n");

-            #line 152 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 152 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }else{

             #line default
             #line hidden
             this.Write("                result = data === \"\" ? null : <");

-            #line 153 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 153 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
             this.Write(this.ToStringHelper.ToStringWithCulture(operation.DefaultResponse.Type));

             #line default
             #line hidden
             this.Write(">JSON.parse(data);\r\n");

-            #line 154 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 154 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
       }

             #line default
             #line hidden

-            #line 155 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 155 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }

             #line default
             #line hidden

-            #line 156 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 156 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   if(operation.DefaultResponse.IsSuccess){

             #line default
             #line hidden
             this.Write("                return result; \r\n");

-            #line 158 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 158 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }else{

             #line default
             #line hidden
             this.Write("                throw result; \r\n");

-            #line 160 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 160 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
   }
 }else{

@@ -1169,21 +1169,21 @@
             #line hidden
             this.Write("                throw \"error_no_callback_for_the_received_http_status\"; \r\n");

-            #line 163 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 163 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("            }\r\n        });\r\n    }\r\n");

-            #line 167 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 167 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default
             #line hidden
             this.Write("}\r\n");

-            #line 168 "C:\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
+            #line 168 "C:\Data\Projects\NSwag\src\NSwag.CodeGeneration\CodeGenerators\TypeScript\Templates\FetchClientTemplate.tt"
 }

             #line default


types with value

types with value

--- Structs.cs
+++ Structs.cs
@@ -1140,12 +1140,14 @@
 }

 // II.22.38
-sealed class TypeRef : ICanRead
+sealed class TypeRef : ICanRead, IHaveValue
 {
     public CodedIndex ResolutionScope;
     public StringHeapIndex TypeName;
     public StringHeapIndex TypeNamespace;

+    public object Value => (string)TypeNamespace.Value + "." + (string)TypeName.Value;
+
     public CodeNode Read(Stream stream)
     {
         return new CodeNode
@@ -1159,7 +1161,7 @@

 // II.22.38
-sealed class TypeDef : ICanRead
+sealed class TypeDef : ICanRead, IHaveValue
 {
     public TypeAttributes Flags;
     public StringHeapIndex TypeName;
@@ -1167,6 +1169,8 @@
     public CodedIndex Extends;
     public CodedIndex FieldList;
     public CodedIndex MethodList;
+
+    public object Value => (string)TypeNamespace.Value + "." + (string)TypeName.Value;

     public CodeNode Read(Stream stream)
     {


[mscorlib] Mono friendly MethodInfo

[mscorlib] Mono friendly MethodInfo

--- mscorlib/system/reflection/methodinfo.cs
+++ mscorlib/system/reflection/methodinfo.cs
@@ -25,7 +25,9 @@
     using System.Text;
     using System.Threading;
     using MemberListType = System.RuntimeType.MemberListType;
+#if !MONO
     using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache;
+#endif
     using System.Runtime.CompilerServices;

     [Serializable]
@@ -35,7 +37,10 @@
     [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
 #pragma warning restore 618
     [System.Runtime.InteropServices.ComVisible(true)]
-    public abstract class MethodInfo : MethodBase, _MethodInfo
+    public abstract class MethodInfo : MethodBase
+#if !MOBILE
+    , _MethodInfo
+#endif
     {
         #region Constructor
         protected MethodInfo() { }
@@ -96,7 +101,7 @@
         public virtual Delegate CreateDelegate(Type delegateType, Object target) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); }
         #endregion

-#if !FEATURE_CORECLR
+#if !FEATURE_CORECLR && !MOBILE
         Type _MethodInfo.GetType()
         {
             return base.GetType();
@@ -124,8 +129,17 @@
             throw new NotImplementedException();
         }
 #endif
+
+#if MONO
+        // TODO: Remove, needed only for MonoCustomAttribute
+        internal virtual MethodInfo GetBaseMethod ()
+        {
+            return this;
+        }
+#endif
     }

+#if !MONO
     [Serializable]
     internal sealed class RuntimeMethodInfo : MethodInfo, ISerializable, IRuntimeMethodInfo
     {
@@ -1063,4 +1077,5 @@
         }
         #endregion
     }
+#endif
 }


baking temporarily bypassed (no more checkerboard appearance)

git-svn-id: c32cf1ecefca26b8770d7b0740bc0c5c174087e4@1359 c754d5e9-d413-0410-bcdf-9574c9dba6b7

--- libsecondlife/AppearanceManager.cs
+++ libsecondlife/AppearanceManager.cs
@@ -881,10 +881,12 @@

             Client.DebugLog("WearablesDownloadEvent completed");

+            /* FIXME: Baking disabled
             // Now that we know what the avatar is wearing, we can check if anything needs to be rebaked
             RequestCachedBakes();

             CachedResponseEvent.WaitOne();
+            */

             // Send a list of what we are currently wearing
             SendAgentIsNowWearing();


#107130# init

#107130# init

--- cli_ure/source/ure/uno/util/WeakBase.cs
+++ cli_ure/source/ure/uno/util/WeakBase.cs
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: WeakBase.cs,v $
  *
- *  $Revision: 1.2 $
- *
- *  last change: $ $Date: 2003-04-07 09:40:46 $
+ *  $Revision: 1.3 $
+ *
+ *  last change: $ $Date: 2003-07-16 10:42:04 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -77,7 +77,7 @@
 {
     // Contains all WeakAdapter which have been created in this class
     // They have to be notified when this object dies
-    private WeakAdapter m_adapter;
+    private WeakAdapter m_adapter = null;

     protected static Hashtable s_types = new Hashtable();
     protected static Hashtable s_impl_ids = new Hashtable();


rearranged output

rearranged output

--- Ricochet/TestClient/TestClient.cs
+++ Ricochet/TestClient/TestClient.cs
@@ -21,7 +21,7 @@
         const bool reportClient = true;
         const int reportServerStatsTimer = 5000;
         const int reportClientStatsTimer = 5000;
-        const int numThreads = 16;
+        const int numThreads = 500;
         const string payloadPrefix = smallPayload; // or bigPayload

         // probably don't play with these
@@ -137,10 +137,10 @@

             Console.WriteLine("\nThe output first shows stuff about instantaneous numbers (across the most recent {0} seconds).", reportClientStatsTimer/1000.0);
             Console.Write("Avg (inst) response time (ms)");
-            Console.Write(", (Max");
-            Console.Write(", Stddev");
+            Console.Write(", (Stddev");
             Console.Write(", 99 Pctile");
-            Console.Write(", 99.99 Pctile)");
+            Console.Write(", 99.99 Pctile");
+            Console.Write(", Max)");
             Console.Write(", Requests per second");
             Console.WriteLine("\n");

@@ -182,7 +182,7 @@

                 arls.Add(avg);

-                Console.Write("{0:0.000} ({1:#,000.}, {2:0.00}, {3:00.00}, {4:00.00}), {5:#,###.} rps",
+                Console.Write("{0:0.000} ({2:0.00}, {3:00.00}, {4:00.00}, {1:#,000.}), {5:#,###.} rps",
                     avg,
                     max,
                     stddev,


Fix sync, when no video data it crashed

Fix sync, when no video data it crashed

--- RunApproachStatistics/App.xaml.cs
+++ RunApproachStatistics/App.xaml.cs
@@ -133,8 +133,14 @@
                     WebClient myWebClient = new WebClient();
                     NetworkCredential myCredentials = new NetworkCredential("snijhof", "MKD7529s09");
                     myWebClient.Credentials = myCredentials;
-                    byte[] responseArray = myWebClient.UploadFile("ftp://student.aii.avans.nl/GRP/42IN11EWd/Videos/" + v.videopath, Path.Combine(filePath,v.videopath));
-
+                    try
+                    {
+                        byte[] responseArray = myWebClient.UploadFile("ftp://student.aii.avans.nl/GRP/42IN11EWd/Videos/" + v.videopath, Path.Combine(filePath, v.videopath));
+                    }
+                    catch(WebException e)
+                    {
+                        // No video data for file
+                    }

                     //delete file
                     File.Delete(Path.Combine(syncPath, s));


Aggregate actor confirm scheduling

Aggregate actor confirm scheduling

--- GridDomain.CQRS.Messaging.Akka/TypedMessageActor.cs
+++ GridDomain.CQRS.Messaging.Akka/TypedMessageActor.cs
@@ -1,19 +0,0 @@
-using Akka.Actor;
-
-namespace GridDomain.CQRS.Messaging.Akka
-{
-    public class TypedMessageActor<T> : IHandler<T>
-    {
-        public readonly IActorRef Actor;
-
-        public TypedMessageActor(IActorRef actor)
-        {
-            Actor = actor;
-        }
-
-        public void Handle(T msg)
-        {
-            Actor.Ask(msg);
-        }
-    }
-}


[Modify] Remove it

[Modify] Remove it

--- websocket-sharp/Server/WebSocketServiceManager.cs
+++ websocket-sharp/Server/WebSocketServiceManager.cs
@@ -406,33 +406,6 @@

     #region Internal Methods

-    internal void Add<TBehavior> (string path, Func<TBehavior> creator)
-      where TBehavior : WebSocketBehavior
-    {
-      path = path.TrimSlashFromEnd ();
-
-      lock (_sync) {
-        WebSocketServiceHost host;
-        if (_hosts.TryGetValue (path, out host))
-          throw new ArgumentException ("Already in use.", "path");
-
-        host = new WebSocketServiceHost<TBehavior> (
-                 path, creator, null, _log
-               );
-
-        if (!_clean)
-          host.KeepClean = false;
-
-        if (_waitTime != host.WaitTime)
-          host.WaitTime = _waitTime;
-
-        if (_state == ServerState.Start)
-          host.Start ();
-
-        _hosts.Add (path, host);
-      }
-    }
-
     internal bool InternalTryGetServiceHost (
       string path, out WebSocketServiceHost host
     )


[Modify] Polish it

[Modify] Polish it

--- websocket-sharp/Server/WebSocketSessionManager.cs
+++ websocket-sharp/Server/WebSocketSessionManager.cs
@@ -406,13 +406,15 @@
     private void stop (PayloadData payloadData, bool send)
     {
       var bytes = send
-                  ? WebSocketFrame.CreateCloseFrame (payloadData, false).ToArray ()
+                  ? WebSocketFrame
+                    .CreateCloseFrame (payloadData, false)
+                    .ToArray ()
                   : null;

       lock (_sync) {
         _state = ServerState.ShuttingDown;
-
         _sweepTimer.Enabled = false;
+
         foreach (var session in _sessions.Values.ToList ())
           session.Context.WebSocket.Close (payloadData, bytes);


make ProductId writeable

make ProductId writeable

--- src/libfintx/Helper/Program.cs
+++ src/libfintx/Helper/Program.cs
@@ -29,6 +29,9 @@

         public static string Version { get; set; } = "0.1";

-        public const string ProductId = "9FA6681DEC0CF3046BFC2F8A6";
+        /// <summary>
+        /// Produktregistrierungsnummer. Replace it with you own id if available.
+        /// </summary>
+        public static string ProductId = "9FA6681DEC0CF3046BFC2F8A6";
     }
 }


Fixed key to letter conversion.

Fixed key to letter conversion.

--- Rusty/Core/Common/KeyboardHook.cs
+++ Rusty/Core/Common/KeyboardHook.cs
@@ -362,24 +362,14 @@

             char Letter(Keys key)
             {
-                const string map = "abcdefghijklmnopqrstuvwxyz";
-                var list = new Keys[] { Keys.A, Keys.B, Keys.D, Keys.E, Keys.F, Keys.G, Keys.H, Keys.I, Keys.J, Keys.K, Keys.L
-                    , Keys.M, Keys.N, Keys.O, Keys.P, Keys.Q, Keys.R, Keys.S, Keys.T, Keys.U, Keys.V, Keys.W, Keys.X, Keys.Y, Keys.Z };
-
-                for (int i = 0; i < list.Length; i++)
-                {
-                    if ((key & list[i]) == list[i])
-                    {
-                        char letter = map[i];
-
-                        if ((key & Keys.Shift) == Keys.Shift) // TODO: check capslock
-                            letter = letter.ToString().ToUpperInvariant()[0];
-
-                        return letter;
-                    }
-                }
-
-                return (char)0;
+                bool caps = (key & Keys.Shift) == Keys.Shift || pressed[Keys.ShiftKey] || pressed[Keys.LShiftKey] || pressed[Keys.RShiftKey];
+                key &= ~Keys.Modifiers;
+                string letter = key.ToString();
+
+                if (!caps)
+                    letter = letter.ToLowerInvariant();
+
+                return letter.Length == 1 ? letter[0] : (char)0;
             }

             #endregion


Setup heroes from Hero Card (if set) (#93)

--- SabberStoneCore/src/Model/Game.cs
+++ SabberStoneCore/src/Model/Game.cs
@@ -239,9 +239,10 @@

 			if (setupHeroes)
 			{
-				_players[0].AddHeroAndPower(Cards.HeroCard(gameConfig.Player1HeroClass));
+				_players[0].AddHeroAndPower(gameConfig.Player1HeroCard ?? Cards.HeroCard(gameConfig.Player1HeroClass));
 				_players[0].BaseClass = _players[0].HeroClass;
-				_players[1].AddHeroAndPower(Cards.HeroCard(gameConfig.Player2HeroClass));
+
+				_players[1].AddHeroAndPower(gameConfig.Player2HeroCard ?? Cards.HeroCard(gameConfig.Player2HeroClass));
 				_players[1].BaseClass = _players[1].HeroClass;
 			}


Changed formatting in SaveyourUpdate.Hasher.MakeHashString() function

--- Saveyour/SaveyourUpdate/Hasher.cs
+++ Saveyour/SaveyourUpdate/Hasher.cs
@@ -5,6 +5,7 @@
 using System.IO;
 using System.Security.Cryptography;
 using System.Text;
+using System.Diagnostics;

 namespace SaveyourUpdate
 {


Quick speed test.

Quick speed test.

--- SimpleTester/KeyValueSpeedTest.cs
+++ SimpleTester/KeyValueSpeedTest.cs
@@ -1,19 +1,20 @@
-using BTDB.Allocators;
-using BTDB.Buffer;
+using BTDB.Buffer;
 using BTDB.KVDBLayer;
 using System;
+using System.Collections.Generic;
 using System.Diagnostics;
 using System.IO;
+using BTDB.ODBLayer;

 namespace SimpleTester
 {
-    enum KVType
+    public enum KVType
     {
         Managed,
         BTree
     }

-    class KeyValueSpeedTest
+    public class KeyValueSpeedTest
     {
         readonly Stopwatch _sw = new Stopwatch();
         readonly bool _inMemory;
@@ -44,6 +45,7 @@
                 _fileCollection = new InMemoryFileCollection();
                 return _fileCollection;
             }
+
             const string dbfilename = "data";
             if (Directory.Exists(dbfilename))
                 Directory.Delete(dbfilename, true);
@@ -61,6 +63,7 @@
             {
                 return _fileCollection;
             }
+
             const string dbfilename = "data";
             if (_memoryMapped)
                 return new OnDiskMemoryMappedFileCollection(dbfilename);
@@ -81,25 +84,31 @@
                     {
                         for (int j = 0; j < 200; j++)
                         {
-                            tr.CreateOrUpdateKeyValue(new[] { (byte)j, (byte)i }, new byte[1 + i * j]);
+                            tr.CreateOrUpdateKeyValue(new[] {(byte) j, (byte) i}, new byte[1 + i * j]);
                             pureDataLength += 2 + 1 + i * j;
                         }
-                        if (alsoDoReads) using (var trCheck = db.StartTransaction())
+
+                        if (alsoDoReads)
+                            using (var trCheck = db.StartTransaction())
                             {
                                 long pureDataLengthCheck = 0;
                                 while (trCheck.FindNextKey())
                                 {
-                                    pureDataLengthCheck += trCheck.GetKey().Length + trCheck.GetValueAsReadOnlySpan().Length;
+                                    pureDataLengthCheck +=
+                                        trCheck.GetKey().Length + trCheck.GetValueAsReadOnlySpan().Length;
                                 }
+
                                 if (pureDataLengthCheck != pureDataLengthPrevTr)
                                 {
                                     throw new Exception("Transactions are not in serializable mode");
                                 }
                             }
+
                         tr.Commit();
                     }
                 }
             }
+
             _sw.Stop();
             Console.WriteLine("Pure data length: {0}", pureDataLength);
             Console.WriteLine("Time: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
@@ -117,6 +126,7 @@
                         throw new NotImplementedException();
                 }
             }
+
             switch (_kvType)
             {
                 case KVType.Managed:
@@ -145,12 +155,14 @@
                     {
                         pureDataLengthCheck += trCheck.GetKey().Length + trCheck.GetValue().Length;
                     }
+
                     if (pureDataLengthCheck != 396130000)
                     {
                         throw new Exception("Bug");
                     }
                 }
             }
+
             _sw.Stop();
             Console.WriteLine("Time: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
         }
@@ -169,15 +181,16 @@
                     {
                         using (var tr = db.StartTransaction())
                         {
-                            key[0] = (byte)(i / 100);
-                            key[1] = (byte)(i % 100);
-                            value[100] = (byte)(i / 100);
-                            value[200] = (byte)(i % 100);
+                            key[0] = (byte) (i / 100);
+                            key[1] = (byte) (i % 100);
+                            value[100] = (byte) (i / 100);
+                            value[200] = (byte) (i % 100);
                             tr.CreateOrUpdateKeyValue(key, value);
                             tr.Commit();
                         }
                     }
                 }
+
                 _sw.Stop();
                 Console.WriteLine("Time to create 10GB DB: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
                 _sw.Restart();
@@ -191,18 +204,20 @@
                     {
                         using (var tr = db.StartTransaction())
                         {
-                            key[0] = (byte)(i / 100);
-                            key[1] = (byte)(i % 100);
+                            key[0] = (byte) (i / 100);
+                            key[1] = (byte) (i % 100);
                             tr.FindExactKey(key);
                             var value = tr.GetValueAsByteArray();
-                            if (value[100] != (byte)(i / 100)) throw new InvalidDataException();
-                            if (value[200] != (byte)(i % 100)) throw new InvalidDataException();
-                        }
-                    }
+                            if (value[100] != (byte) (i / 100)) throw new InvalidDataException();
+                            if (value[200] != (byte) (i % 100)) throw new InvalidDataException();
+                        }
+                    }
+
                     _sw.Stop();
                     Console.WriteLine("Time to read all values 10GB DB: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
                     Console.WriteLine(db.CalcStats());
                 }
+
                 _sw.Restart();
                 using (var db = CreateKeyValueDB(fileCollection))
                 {
@@ -214,14 +229,15 @@
                     {
                         using (var tr = db.StartTransaction())
                         {
-                            key[0] = (byte)(i / 100);
-                            key[1] = (byte)(i % 100);
+                            key[0] = (byte) (i / 100);
+                            key[1] = (byte) (i % 100);
                             tr.FindExactKey(key);
                             var value = tr.GetValueAsByteArray();
-                            if (value[100] != (byte)(i / 100)) throw new InvalidDataException();
-                            if (value[200] != (byte)(i % 100)) throw new InvalidDataException();
-                        }
-                    }
+                            if (value[100] != (byte) (i / 100)) throw new InvalidDataException();
+                            if (value[200] != (byte) (i % 100)) throw new InvalidDataException();
+                        }
+                    }
+
                     _sw.Stop();
                     Console.WriteLine("Time to read2 all values 10GB DB: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
                     Console.WriteLine(db.CalcStats());
@@ -246,9 +262,11 @@
                             rnd.NextBytes(value);
                             tr.CreateOrUpdateKeyValueUnsafe(key, value);
                         }
+
                         tr.Commit();
                     }
                 }
+
                 using (var db = CreateKeyValueDB(fileCollection))
                 {
                 }
@@ -257,7 +275,9 @@

         void OpenDBSpeedTest()
         {
-            GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect();
+            GC.Collect();
+            GC.WaitForPendingFinalizers();
+            GC.Collect();
             var memStart = GC.GetTotalMemory(false);
             _sw.Start();
             using (var fileCollection = OpenTestFileCollection())
@@ -265,13 +285,17 @@
                 using (IKeyValueDB db = CreateKeyValueDB(fileCollection))
                 {
                     _sw.Stop();
-                    GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect();
+                    GC.Collect();
+                    GC.WaitForPendingFinalizers();
+                    GC.Collect();
                     var memFinish = GC.GetTotalMemory(false);
-                    Console.WriteLine("Time to open DB : {0,15}ms Memory: {1}KB {2}KB", _sw.Elapsed.TotalMilliseconds, (memFinish - memStart) / 1024, Process.GetCurrentProcess().WorkingSet64 / 1024);
+                    Console.WriteLine("Time to open DB : {0,15}ms Memory: {1}KB {2}KB", _sw.Elapsed.TotalMilliseconds,
+                        (memFinish - memStart) / 1024, Process.GetCurrentProcess().WorkingSet64 / 1024);
                     Console.WriteLine(db.CalcStats());
                     _sw.Restart();
                 }
             }
+
             _sw.Stop();
             Console.WriteLine("Time to close DB: {0,15}ms", _sw.Elapsed.TotalMilliseconds);
         }
@@ -320,13 +344,15 @@
                         for (int i = 0; i < keys; i++)
                         {
                             int o = 0;
-                            PackUnpack.PackVUInt(key, ref o, (uint)i);
+                            PackUnpack.PackVUInt(key, ref o, (uint) i);
                             tr.CreateOrUpdateKeyValue(ByteBuffer.NewSync(key, 0, o), ByteBuffer.NewSync(value));
                         }
+
                         tr.Commit();
                     }
                 }
             }
+
             Console.WriteLine("CreateSequence:" + sw.Elapsed.TotalMilliseconds);
         }

@@ -344,13 +370,15 @@
                         for (int i = 0; i < keys; i++)
                         {
                             int o = 0;
-                            PackUnpack.PackVUInt(key, ref o, (uint)i);
+                            PackUnpack.PackVUInt(key, ref o, (uint) i);
                             tr.Find(ByteBuffer.NewSync(key, 0, o));
                         }
+
                         tr.Commit();
                     }
                 }
             }
+
             Console.WriteLine("CheckSequence:" + sw.Elapsed.TotalMilliseconds);
         }

@@ -374,27 +402,78 @@
                             rnd.NextBytes(value.AsSpan(0, valueLen));
                             tr.CreateOrUpdateKeyValue(key.AsSpan(0, keyLen), value.AsSpan(0, valueLen));
                         }
+
                         tr.Commit();
                     }
-                    Console.WriteLine("CreateSequence:" + sw.Elapsed.TotalMilliseconds + " Mem kb:" + Process.GetCurrentProcess().WorkingSet64 / 1024);
-                }
-            }
-        }
+
+                    Console.WriteLine("CreateSequence:" + sw.Elapsed.TotalMilliseconds + " Mem kb:" +
+                                      Process.GetCurrentProcess().WorkingSet64 / 1024);
+                }
+            }
+        }
+
+        public class BtdbTest
+        {
+            [PrimaryKey(1)] public ulong CompanyId { get; set; }
+            [PrimaryKey(2)] public ulong TestId { get; set; }
+
+            [SecondaryKey("Name", IncludePrimaryKeyOrder = 1)]
+            public string TestName { get; set; }
+
+            public string Data1 { get; set; }
+            public string Data2 { get; set; }
+            public string Data3 { get; set; }
+        }
+
+        public interface IBtdbTestTable
+        {
+            bool Upsert(BtdbTest btdbTest);
+            IEnumerator<BtdbTest> FindByName(ulong companyId, string testName);
+        }
+
+        void CreateBtdbTestInserts(int count)
+        {
+            var sw = Stopwatch.StartNew();
+            var rnd = new Random(1234);
+            using var fileCollection = CreateTestFileCollection();
+            using var db = CreateKeyValueDB(fileCollection);
+            using var odb = new ObjectDB();
+            odb.Open(db,false);
+            Func<IObjectDBTransaction, IBtdbTestTable> table;
+            using (var tr = odb.StartTransaction())
+            {
+                 table = tr.InitRelation<IBtdbTestTable>("BtdbTest");
+                 tr.Commit();
+            }
+            for (var i = 0; i < count; i++)
+            {
+                using var tr = odb.StartTransaction();
+                var tbl = table(tr);
+                tbl.Upsert(new BtdbTest { CompanyId = 123456, TestId = (ulong)i, TestName = "test name "+i, Data1 = "data1 "+i, Data2 = "data2 "+i, Data3="data3 "+i});
+                tr.Commit();
+            }
+
+            Console.WriteLine("CreateBtdbTestInserts:" + sw.Elapsed.TotalMilliseconds + " Mem kb:" +
+                              Process.GetCurrentProcess().WorkingSet64 / 1024);
+        }
+

         public void Run()
         {
-            Console.WriteLine("Type: {3} InMemory: {0} TrullyInMemory: {1} MemoryMapped: {2}", _inMemory, _fastInMemory, _memoryMapped, _kvType);
+            Console.WriteLine("Type: {3} InMemory: {0} TrullyInMemory: {1} MemoryMapped: {2}", _inMemory, _fastInMemory,
+                _memoryMapped, _kvType);
             //CreateTestDB(9999999);
             //CreateRandomKeySequence(10000000);
             //DoWork5(true);
             //CheckKeySequence(10000000);
-            CreateTestDB(9999999);
-            OpenDBSpeedTest();
+            //CreateTestDB(9999999);
+            //OpenDBSpeedTest();
             //CheckDBTest(9999999);
             //HugeTest();
             //DoWork5(false);
             //DoWork5(true);
             //DoWork5ReadCheck();
+            CreateBtdbTestInserts(10000000);
         }
     }
 }


Fix background color rendering in profile

--- Assets/MixedRealityToolkit/Inspectors/Profiles/MixedRealityCameraProfileInspector.cs
+++ Assets/MixedRealityToolkit/Inspectors/Profiles/MixedRealityCameraProfileInspector.cs
@@ -40,6 +40,7 @@
         private readonly GUIContent nearClipTitle = new GUIContent("Near Clip");
         private readonly GUIContent farClipTitle = new GUIContent("Far Clip");
         private readonly GUIContent clearFlagsTitle = new GUIContent("Clear Flags");
+        private readonly GUIContent backgroundColorTitle = new GUIContent("Background Color");

         private const string profileTitle = "Camera Settings";
         private const string profileDescription = "The Camera Profile helps configure cross platform camera settings.";
@@ -99,7 +100,7 @@

                         if ((CameraClearFlags)opaqueClearFlags.intValue == CameraClearFlags.Color)
                         {
-                            opaqueBackgroundColor.colorValue = EditorGUILayout.ColorField("Background Color", opaqueBackgroundColor.colorValue);
+                            EditorGUILayout.PropertyField(opaqueBackgroundColor, backgroundColorTitle);
                         }

                         opaqueQualityLevel.intValue = EditorGUILayout.Popup("Quality Setting", opaqueQualityLevel.intValue, QualitySettings.names);
@@ -113,7 +114,7 @@

                         if ((CameraClearFlags)transparentClearFlags.intValue == CameraClearFlags.Color)
                         {
-                            transparentBackgroundColor.colorValue = EditorGUILayout.ColorField("Background Color", transparentBackgroundColor.colorValue);
+                            EditorGUILayout.PropertyField(transparentBackgroundColor, backgroundColorTitle);
                         }

                         transparentQualityLevel.intValue = EditorGUILayout.Popup("Quality Setting", transparentQualityLevel.intValue, QualitySettings.names);


Update window to show completed configuration

--- Assets/MixedRealityToolkit/Inspectors/Setup/MixedRealityProjectConfiguratorWindow.cs
+++ Assets/MixedRealityToolkit/Inspectors/Setup/MixedRealityProjectConfiguratorWindow.cs
@@ -91,15 +91,30 @@
         {
             MixedRealityInspectorUtility.RenderMixedRealityToolkitLogo();

-            RenderChoiceDialog();
-
-            EditorGUILayout.Space();
-
-            showConfigurations = EditorGUILayout.Foldout(showConfigurations, "Modify Configurations", true);
-            if (showConfigurations)
-            {
-                RenderConfigurations();
-            }
+            if (!MixedRealityProjectConfigurator.IsProjectConfigured())
+            {
+                RenderChoiceDialog();
+
+                EditorGUILayout.Space();
+
+                showConfigurations = EditorGUILayout.Foldout(showConfigurations, "Modify Configurations", true);
+                if (showConfigurations)
+                {
+                    RenderConfigurations();
+                }
+            }
+            else
+            {
+                RenderConfiguredConfirmation();
+            }
+        }
+
+        private void RenderConfiguredConfirmation()
+        {
+            const string dialogTitle = "Project Configuration Complete";
+            const string dialogContent = "This Unity project is properly configured for the Mixed Reality Toolkit.";
+            EditorGUILayout.LabelField(dialogTitle, EditorStyles.boldLabel);
+            EditorGUILayout.LabelField(dialogContent);
         }

         private void RenderChoiceDialog()