Added initial attributes to track methods

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-01 01:08:17 +01:00
1 親 b6b80141c2
コミット 3a7e7559c3
5ファイル変更
+91 -3

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

+4
ファイルの表示
@@ -111,6 +111,10 @@ namespace ComputeSharp.SourceGenerators
foreach (var fieldSymbol in structDeclarationSymbol.GetMembers().OfType<IFieldSymbol>())
{
INamedTypeSymbol typeSymbol = (INamedTypeSymbol)fieldSymbol.Type;
// Delegate types are not included and are processed separately
if (typeSymbol.TypeKind == TypeKind.Delegate) continue;
string typeName = HlslKnownTypes.GetMappedName(typeSymbol);
_ = HlslKnownKeywords.TryGetMappedName(fieldSymbol.Name, out string? mapping);