Simplify creating source generator builder types

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-09 13:31:41 +02:00
1 親 26934553f6
コミット 7506cab338
27ファイル変更
+58 -88

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -87,7 +87,7 @@ partial class D2DPixelShaderDescriptorGenerator
string assemblyName = typeSymbol.ContainingAssembly?.Name ?? string.Empty;
using ImmutableArrayBuilder<char> charBuffer = ImmutableArrayBuilder<char>.Rent();
using ImmutableArrayBuilder<char> charBuffer = new();
// Format the fully qualified name into a pooled builder to avoid the string allocation
typeSymbol.AppendFullyQualifiedMetadataName(in charBuffer);