<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C# generation on Morphir .NET</title><link>https://finos.github.io/morphir-dotnet/docs/backends/csharp/</link><description>Recent content in C# generation on Morphir .NET</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://finos.github.io/morphir-dotnet/docs/backends/csharp/index.xml" rel="self" type="application/rss+xml"/><item><title>C# generation API and diagnostics</title><link>https://finos.github.io/morphir-dotnet/docs/backends/csharp/diagnostics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://finos.github.io/morphir-dotnet/docs/backends/csharp/diagnostics/</guid><description>&lt;p&gt;&lt;code&gt;CSharpGenerator.Generate(VersionedModel, GenerationOptions, CancellationToken)&lt;/code&gt;&#10;is synchronous and has no file, process, configuration or compiler dependency.&#10;&lt;code&gt;GenerationOptions.LanguageVersion&lt;/code&gt; accepts numeric &lt;code&gt;14&lt;/code&gt; or &lt;code&gt;15&lt;/code&gt;; the default is&#10;&lt;code&gt;14&lt;/code&gt;. Compiler release channel is chosen by the caller independently.&lt;/p&gt;&#10;&lt;p&gt;The existing &lt;code&gt;GenerationOptions&lt;/code&gt; record and three-argument entry point are&#10;unchanged. To choose an emitted namespace, call&#10;&lt;code&gt;NamespaceOverride.TryCreate(string)&lt;/code&gt;. It returns &lt;code&gt;Result&amp;lt;NamespaceOverride, GenerationDiagnostic&amp;gt;&lt;/code&gt;; a successful immutable value exposes &lt;code&gt;Value&lt;/code&gt;. Pass it to&#10;&lt;code&gt;CSharpGenerator.Generate(model, options, namespaceOverride, cancellationToken)&lt;/code&gt;.&#10;Both overloads use the same core implementation. An override applies to the&#10;input Library package and all its qualified type, value and constructor&#10;references. Package-derived source paths and the original typed IR remain&#10;unchanged. Separate or concurrent requests never share naming state.&lt;/p&gt;</description></item></channel></rss>