From 73b0ef707b605763097b0112a6f3018112d2352f Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Sep 2019 01:15:33 +0200 Subject: [PATCH] Fixed incorrect members in the Bool2 type --- src/ComputeSharp.Core/Primitives/Bool/Bool2.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]");