We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a43740 + ef8125e commit 8384319Copy full SHA for 8384319
1 file changed
src/MetadataGen/MetadataGenerator.Core/Services/DataContractMetadataSerializer.cs
@@ -131,7 +131,7 @@ await Task.Run(() =>
131
file.WriteLine("namespace DG.Tools.XrmMockup {");
132
file.WriteLine("\tpublic struct SecurityRoles {");
133
134
- foreach (var securityRole in securityRoles.OrderBy(x => x.Value.Name))
+ foreach (var securityRole in securityRoles.OrderBy(x => x.Value.Name, StringComparer.Ordinal))
135
{
136
file.WriteLine($"\t\tpublic static Guid {ToSafeName(securityRole.Value.Name)} = new Guid(\"{securityRole.Key}\");");
137
}
0 commit comments