Minor code refactorings
このコミットが含まれているのは:
1 親
c14dd305ae
コミット
b24e6b4c0d
27ファイル変更
+131
-121
検索条件に一致するファイルはありません
@@ -78,7 +78,7 @@ public sealed class AutoConstructorGenerator : IIncrementalGenerator
|
||||
}
|
||||
|
||||
// Check whether the field is annotated to have a special behavior
|
||||
if (fieldSymbol.Type.TryGetAttributeWithFullMetadataName("ComputeSharp.AutoConstructorBehaviorAttribute", out AttributeData? usageData) &&
|
||||
if (fieldSymbol.Type.TryGetAttributeWithFullyQualifiedMetadataName("ComputeSharp.AutoConstructorBehaviorAttribute", out AttributeData? usageData) &&
|
||||
usageData!.ConstructorArguments is { Length: 1 } arguments &&
|
||||
arguments[0].Value is (int)AutoConstructorBehavior.IgnoreAndSetToDefault)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする