Switched source generators to global:: type names

このコミットが含まれているのは:
Sergio Pedri committed 2021-10-30 15:11:44 +02:00
1 親 4d07edcd7c
コミット 06b12f5a6c
9ファイル変更
+75 -109

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

+1 -1
ファイルの表示
@@ -77,7 +77,7 @@ public sealed partial class ShaderMethodSourceGenerator : ISourceGenerator
var source =
CompilationUnit().AddAttributeLists(
AttributeList(SingletonSeparatedList(
Attribute(IdentifierName(typeof(ShaderMethodSourceAttribute).FullName)).AddArgumentListArguments(
Attribute(IdentifierName($"global::ComputeSharp.__Internals.{typeof(ShaderMethodSourceAttribute).FullName}")).AddArgumentListArguments(
AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(methodDeclarationSymbol.GetFullMetadataName(true)))),
AttributeArgument(LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(invokeMethod))),
AttributeArgument(NestedArrayExpression(processedTypes)),