Fixed static fields in discovered types
このコミットが含まれているのは:
1 親
c9542275e8
コミット
423b2ffd63
1ファイル変更
+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
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする