Fixed static fields in discovered types

このコミットが含まれているのは:
Sergio Pedri committed 2021-07-15 12:42:38 +02:00
1 親 c9542275e8
コミット 423b2ffd63
1ファイル変更
+2
+2
ファイルの表示
@@ -421,6 +421,8 @@ namespace ComputeSharp.SourceGenerators
// Declare the fields of the current type
foreach (var field in type.GetMembers().OfType<IFieldSymbol>())
{
if (field.IsStatic) continue;
INamedTypeSymbol fieldType = (INamedTypeSymbol)field.Type;
// Convert the name to the fully qualified HLSL version