Our source generator has logic to escape the assembly name as it is used as part of the namespace for generated sources. The escaping logic doesn't handle dashes which it should.
public static string EscapeTypeNameForIdentifier(string typeName)
{
return Regex.Replace(typeName, """[(\ |:<>,\.)]""", "_");
}
Our source generator has logic to escape the assembly name as it is used as part of the namespace for generated sources. The escaping logic doesn't handle dashes which it should.