diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs index b0872f51..9d123f70 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool2.cs @@ -69,7 +69,7 @@ namespace ComputeSharp /// /// Gets or sets the value of the first color component /// - public uint R + public bool R { get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}"); set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}"); @@ -78,7 +78,7 @@ namespace ComputeSharp /// /// Gets or sets the value of the second color component /// - public uint G + public bool G { get => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}"); set => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}"); @@ -88,7 +88,7 @@ namespace ComputeSharp /// Gets or sets a specific component in the current instance /// /// The index of the component to access - public float this[int i] + public bool this[int i] { get => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]"); set => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");