diff --git a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
index 5e2cae43..8d847093 100644
--- a/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
+++ b/src/ComputeSharp.Core/Intrinsics/Attributes/HlslIntrinsicNameAttribute.cs
@@ -14,7 +14,7 @@ internal sealed class HlslIntrinsicNameAttribute(string name) : Attribute
///
/// Gets the name of the HLSL intrinsic.
///
- public string Name => name;
+ public string Name { get; } = name;
///
/// Gets whether or not matching parameters is also required to extract the name of this intrinsic.
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs
index 85d6bdd2..9bd4c07f 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DCompileOptionsAttribute.cs
@@ -31,5 +31,5 @@ public sealed class D2DCompileOptionsAttribute(D2D1CompileOptions options) : Att
///
/// Gets the number of threads in each thread group for the X axis
///
- public D2D1CompileOptions Options => options;
+ public D2D1CompileOptions Options { get; } = options;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DEffectAuthorAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DEffectAuthorAttribute.cs
index f8bf0788..924bc6d9 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DEffectAuthorAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DEffectAuthorAttribute.cs
@@ -15,5 +15,5 @@ public sealed class D2DEffectAuthorAttribute(string value) : Attribute
///
/// Gets the author value.
///
- public string Value => value;
+ public string Value { get; } = value;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DEffectCategoryAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DEffectCategoryAttribute.cs
index 381419fe..646672d0 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DEffectCategoryAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DEffectCategoryAttribute.cs
@@ -15,5 +15,5 @@ public sealed class D2DEffectCategoryAttribute(string value) : Attribute
///
/// Gets the category value.
///
- public string Value => value;
+ public string Value { get; } = value;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DEffectDescriptionAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DEffectDescriptionAttribute.cs
index 519a971b..19bd37e9 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DEffectDescriptionAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DEffectDescriptionAttribute.cs
@@ -15,5 +15,5 @@ public sealed class D2DEffectDescriptionAttribute(string value) : Attribute
///
/// Gets the description value.
///
- public string Value => value;
+ public string Value { get; } = value;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DEffectDisplayNameAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DEffectDisplayNameAttribute.cs
index 788027ef..35046822 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DEffectDisplayNameAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DEffectDisplayNameAttribute.cs
@@ -15,5 +15,5 @@ public sealed class D2DEffectDisplayNameAttribute(string value) : Attribute
///
/// Gets the display name value.
///
- public string Value => value;
+ public string Value { get; } = value;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs
index 23fa9bcf..de52a0b1 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DInputComplexAttribute.cs
@@ -17,5 +17,5 @@ public sealed class D2DInputComplexAttribute(int index) : Attribute
///
/// Gets the index of the resource declared as using complex sampling.
///
- public int Index => index;
+ public int Index { get; } = index;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs
index 0f67dce6..db472c14 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DInputCountAttribute.cs
@@ -17,5 +17,5 @@ public sealed class D2DInputCountAttribute(int count) : Attribute
///
/// Gets the number of texture inputs for the shader.
///
- public int Count => count;
+ public int Count { get; } = count;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs
index 81243509..b2ea705a 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DInputDescriptionAttribute.cs
@@ -18,12 +18,12 @@ public sealed class D2DInputDescriptionAttribute(int index, D2D1Filter filter) :
///
/// Gets the index of the resource to declare the description for.
///
- public int Index => index;
+ public int Index { get; } = index;
///
/// Gets the type of filter to apply to the input texture.
///
- public D2D1Filter Filter => filter;
+ public D2D1Filter Filter { get; } = filter;
///
/// Gets the mip level to retrieve from the upstream transform, if specified.
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs
index d005eb60..484ed9ee 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DInputSimpleAttribute.cs
@@ -17,5 +17,5 @@ public sealed class D2DInputSimpleAttribute(int index) : Attribute
///
/// Gets the index of the resource declared as using simple sampling.
///
- public int Index => index;
+ public int Index { get; } = index;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs
index f7e1129a..f410980a 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DPixelOptionsAttribute.cs
@@ -16,5 +16,5 @@ public sealed class D2DPixelOptionsAttribute(D2D1PixelOptions options) : Attribu
///
/// Gets the options to specify for the shader.
///
- public D2D1PixelOptions Options => options;
+ public D2D1PixelOptions Options { get; } = options;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs
index bd7a8c6c..da780e56 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DPixelShaderSourceAttribute.cs
@@ -39,5 +39,5 @@ public sealed class D2DPixelShaderSourceAttribute([StringSyntax("Hlsl")] string
///
/// Gets the number of texture inputs for the shader.
///
- public string HlslSource => hlslSource;
+ public string HlslSource { get; } = hlslSource;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs
index 1996f134..fa487717 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DResourceTextureIndexAttribute.cs
@@ -16,5 +16,5 @@ public sealed class D2DResourceTextureIndexAttribute(int index) : Attribute
///
/// Gets the index of the annotated resource field.
///
- public int Index => index;
+ public int Index { get; } = index;
}
\ No newline at end of file
diff --git a/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs b/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs
index 4e8cb333..93c30a5e 100644
--- a/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs
+++ b/src/ComputeSharp.D2D1/Attributes/D2DShaderProfileAttribute.cs
@@ -31,5 +31,5 @@ public sealed class D2DShaderProfileAttribute(D2D1ShaderProfile shaderProfile) :
///
/// The shader profile used to compile the annotated D2D1 pixel shader.
///
- public D2D1ShaderProfile ShaderProfile => shaderProfile;
+ public D2D1ShaderProfile ShaderProfile { get; } = shaderProfile;
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs b/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs
index f434e703..e8980964 100644
--- a/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs
+++ b/tests/ComputeSharp.Tests/Attributes/AdditionalDataAttribute.cs
@@ -12,5 +12,5 @@ public sealed class AdditionalDataAttribute(params object[] data) : Attribute
///
/// Gets the additional input data for the current attribute.
///
- public object[] Data => data;
+ public object[] Data { get; } = data;
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs
index 83c12feb..2340ead2 100644
--- a/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs
+++ b/tests/ComputeSharp.Tests/Attributes/AdditionalResourceAttribute.cs
@@ -12,5 +12,5 @@ public sealed class AdditionalResourceAttribute(Type type) : Attribute
///
/// Gets the additional resource type for the current attribute.
///
- public Type Type => type;
+ public Type Type { get; } = type;
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs b/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs
index 4b983fe3..191e4dd4 100644
--- a/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs
+++ b/tests/ComputeSharp.Tests/Attributes/DataAttribute.cs
@@ -12,5 +12,5 @@ public sealed class DataAttribute(params object[] data) : Attribute
///
/// Gets the input data for the current attribute.
///
- public object[] Data => data;
+ public object[] Data { get; } = data;
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs
index 5071db14..8c09c075 100644
--- a/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs
+++ b/tests/ComputeSharp.Tests/Attributes/DeviceAttribute.cs
@@ -13,5 +13,5 @@ public sealed class DeviceAttribute(Device device) : Attribute
///
/// Gets the target to use.
///
- public Device Device => device;
+ public Device Device { get; } = device;
}
\ No newline at end of file
diff --git a/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs b/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs
index 8be863c5..87db2586 100644
--- a/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs
+++ b/tests/ComputeSharp.Tests/Attributes/ResourceAttribute.cs
@@ -12,5 +12,5 @@ public sealed class ResourceAttribute(Type type) : Attribute
///
/// Gets the resource type for the current attribute.
///
- public Type Type => type;
+ public Type Type { get; } = type;
}
\ No newline at end of file