<div dir="ltr">The SR class is autogenerated in the corefx build from Resources/Strings.resx in each project with an msbuild task: <a href="https://github.com/dotnet/buildtools/blob/master/src/Microsoft.DotNet.Build.Tasks/PackageFiles/resources.targets">https://github.com/dotnet/buildtools/blob/master/src/Microsoft.DotNet.Build.Tasks/PackageFiles/resources.targets</a><div><br></div><div>The referencesources uses a similar pattern although most strings are stored in a .txt there and we used a tool to turn that into the .cs: <a href="https://github.com/mono/mono/blob/master/mcs/class/System/ReferenceSources/SR.cs">https://github.com/mono/mono/blob/master/mcs/class/System/ReferenceSources/SR.cs</a></div><div>For a library I've ported from corefx I manually added the SR class: (<a href="https://github.com/mono/mono/blob/master/mcs/class/System.Threading.Tasks.Dataflow/SR.cs">https://github.com/mono/mono/blob/master/mcs/class/System.Threading.Tasks.Dataflow/SR.cs</a></div><div><br></div><div>- Alex</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-28 18:38 GMT+02:00 Neale Ferguson <span dir="ltr"><<a href="mailto:neale@sinenomine.net" target="_blank">neale@sinenomine.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am looking at incorporating the CoreFx System.Data.SqlClient into mono<br>
and in examining the code have come across references to the System.SR<br>
namespace. I am not familiar with this and it seems not to exist elsewhere<br>
in either the reference sources or mono sources.<br>
<br>
Neale<br>
<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" rel="noreferrer" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</blockquote></div><br></div>