We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1287507 + 230af38 commit e6257d8Copy full SHA for e6257d8
CommunityToolkit.Mvvm.SourceGenerators/Extensions/INamedTypeSymbolExtensions.cs
@@ -40,7 +40,7 @@ ITypeSymbol ts when ts.ContainingType is ISymbol pt
40
// one to the outermost namespace, if any. Additionally, the ` and + symbols need to be replaced
41
// to avoid errors when generating code. This is a known issue with source generators not accepting
42
// those characters at the moment, see: https://github.com/dotnet/roslyn/issues/58476.
43
- return BuildFrom(symbol, new StringBuilder(256)).ToString().Replace('`', '-').Replace('+', '.');
+ return BuildFrom(symbol, new StringBuilder(256)).Replace('`', '-').Replace('+', '.').ToString();
44
}
45
46
/// <summary>
0 commit comments