Improved consistency of invalid context exception messages

このコミットが含まれているのは:
Sergio Pedri committed 2021-03-07 23:24:24 +01:00
1 親 cedf4ea1a8
コミット db991d004a
33ファイル変更
+4709 -4709

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

+13 -13
ファイルの表示
@@ -17,66 +17,66 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Bool2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref bool this[int i] => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");
public ref bool this[int i] => throw new InvalidExecutionContextException($"{typeof(Bool2)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>X</c> component.
/// </summary>
public ref bool X => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(X)}");
public ref bool X => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Y</c> component.
/// </summary>
public ref bool Y => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(Y)}");
public ref bool Y => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(Y)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XX)}");
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XY)}");
public ref Bool2 XY => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 YX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YX)}");
public ref Bool2 YX => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YY)}");
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>R</c> component.
/// </summary>
public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}");
public ref bool R => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>G</c> component.
/// </summary>
public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}");
public ref bool G => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(G)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RR)}");
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RG)}");
public ref Bool2 RG => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GR)}");
public ref Bool2 GR => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GG)}");
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(GG)}");
}
}
+79 -79
ファイルの表示
@@ -20,396 +20,396 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Bool3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref bool this[int i] => throw new InvalidExecutionContextException($"{nameof(Bool3)}[int]");
public ref bool this[int i] => throw new InvalidExecutionContextException($"{typeof(Bool3)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>X</c> component.
/// </summary>
public ref bool X => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(X)}");
public ref bool X => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Y</c> component.
/// </summary>
public ref bool Y => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(Y)}");
public ref bool Y => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Z</c> component.
/// </summary>
public ref bool Z => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(Z)}");
public ref bool Z => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(Z)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XX)}");
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
public ref Bool2 XY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZ)}");
public ref Bool2 XZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 YX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
public ref Bool2 YX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YY)}");
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZ)}");
public ref Bool2 YZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZX)}");
public ref Bool2 ZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZY)}");
public ref Bool2 ZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZ)}");
public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXX)}");
public ref readonly Bool3 XXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 XXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXY)}");
public ref readonly Bool3 XXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXZ)}");
public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYX)}");
public ref readonly Bool3 XYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 XYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYY)}");
public ref readonly Bool3 XYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZX)}");
public ref readonly Bool3 XZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 XZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
public ref Bool3 XZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZZ)}");
public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 YXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXX)}");
public ref readonly Bool3 YXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXY)}");
public ref readonly Bool3 YXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 YYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYX)}");
public ref readonly Bool3 YYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYY)}");
public ref readonly Bool3 YYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYZ)}");
public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 YZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
public ref Bool3 YZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZY)}");
public ref readonly Bool3 YZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZZ)}");
public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 ZXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXX)}");
public ref readonly Bool3 ZXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 ZXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
public ref Bool3 ZXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXZ)}");
public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 ZYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
public ref Bool3 ZYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 ZYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYY)}");
public ref readonly Bool3 ZYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYZ)}");
public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 ZZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZX)}");
public ref readonly Bool3 ZZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 ZZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZY)}");
public ref readonly Bool3 ZZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZZ)}");
public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>R</c> component.
/// </summary>
public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(R)}");
public ref bool R => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>G</c> component.
/// </summary>
public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(G)}");
public ref bool G => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>B</c> component.
/// </summary>
public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(B)}");
public ref bool B => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(B)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}");
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
public ref Bool2 RG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RB)}");
public ref Bool2 RB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
public ref Bool2 GR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}");
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GB)}");
public ref Bool2 GB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BR)}");
public ref Bool2 BR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BG)}");
public ref Bool2 BG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BB)}");
public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRR)}");
public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRG)}");
public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRB)}");
public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGR)}");
public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGG)}");
public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 RGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
public ref Bool3 RGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBR)}");
public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 RBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
public ref Bool3 RBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBB)}");
public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRR)}");
public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRG)}");
public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 GRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
public ref Bool3 GRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGR)}");
public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGG)}");
public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGB)}");
public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 GBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
public ref Bool3 GBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBG)}");
public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBB)}");
public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRR)}");
public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 BRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
public ref Bool3 BRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRB)}");
public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 BGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
public ref Bool3 BGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGG)}");
public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGB)}");
public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBR)}");
public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBG)}");
public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBB)}");
public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBB)}");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
ファイル差分が大きすぎるため表示されません。 差分を読み込み
+18 -18
ファイルの表示
@@ -17,100 +17,100 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Double2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref double this[int i] => throw new InvalidExecutionContextException($"{nameof(Double2)}[int]");
public ref double this[int i] => throw new InvalidExecutionContextException($"{typeof(Double2)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>X</c> component.
/// </summary>
public ref double X => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(X)}");
public ref double X => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Y</c> component.
/// </summary>
public ref double Y => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(Y)}");
public ref double Y => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(Y)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XX)}");
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
public ref Double2 XY => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double2 YX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
public ref Double2 YX => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YY)}");
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>R</c> component.
/// </summary>
public ref double R => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(R)}");
public ref double R => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>G</c> component.
/// </summary>
public ref double G => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(G)}");
public ref double G => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(G)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RR)}");
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
public ref Double2 RG => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
public ref Double2 GR => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GG)}");
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(GG)}");
/// <summary>
/// Negates a <see cref="Double2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Double2"/> value to negate.</param>
public static Double2 operator -(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.-");
public static Double2 operator -(Double2 xy) => throw new InvalidExecutionContextException($"{typeof(Double2)}.-");
/// <summary>
/// Sums two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to sum.</param>
/// <param name="right">The second <see cref="Double2"/> value to sum.</param>
public static Double2 operator +(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.+");
public static Double2 operator +(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.+");
/// <summary>
/// Divides two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to divide.</param>
/// <param name="right">The second <see cref="Double2"/> value to divide.</param>
public static Double2 operator /(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}./");
public static Double2 operator /(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}./");
/// <summary>
/// Multiplies two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Double2"/> value to multiply.</param>
public static Double2 operator *(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.*");
public static Double2 operator *(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.*");
/// <summary>
/// Subtracts two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Double2"/> value to subtract.</param>
public static Double2 operator -(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.-");
public static Double2 operator -(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.-");
}
}
+84 -84
ファイルの表示
@@ -20,430 +20,430 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Double3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref double this[int i] => throw new InvalidExecutionContextException($"{nameof(Double3)}[int]");
public ref double this[int i] => throw new InvalidExecutionContextException($"{typeof(Double3)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>X</c> component.
/// </summary>
public ref double X => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(X)}");
public ref double X => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Y</c> component.
/// </summary>
public ref double Y => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(Y)}");
public ref double Y => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Z</c> component.
/// </summary>
public ref double Z => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(Z)}");
public ref double Z => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(Z)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XX)}");
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
public ref Double2 XY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZ)}");
public ref Double2 XZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double2 YX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
public ref Double2 YX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YY)}");
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZ)}");
public ref Double2 YZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZX)}");
public ref Double2 ZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZY)}");
public ref Double2 ZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZ)}");
public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXX)}");
public ref readonly Double3 XXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 XXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXY)}");
public ref readonly Double3 XXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXZ)}");
public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYX)}");
public ref readonly Double3 XYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 XYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYY)}");
public ref readonly Double3 XYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 XYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
public ref Double3 XYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZX)}");
public ref readonly Double3 XZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 XZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
public ref Double3 XZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZZ)}");
public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 YXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXX)}");
public ref readonly Double3 YXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXY)}");
public ref readonly Double3 YXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 YXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
public ref Double3 YXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 YYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYX)}");
public ref readonly Double3 YYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYY)}");
public ref readonly Double3 YYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYZ)}");
public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double3 YZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
public ref Double3 YZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZY)}");
public ref readonly Double3 YZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZZ)}");
public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 ZXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXX)}");
public ref readonly Double3 ZXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 ZXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
public ref Double3 ZXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXZ)}");
public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double3 ZYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
public ref Double3 ZYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 ZYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYY)}");
public ref readonly Double3 ZYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYZ)}");
public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 ZZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZX)}");
public ref readonly Double3 ZZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 ZZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZY)}");
public ref readonly Double3 ZZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZZ)}");
public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>R</c> component.
/// </summary>
public ref double R => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(R)}");
public ref double R => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>G</c> component.
/// </summary>
public ref double G => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(G)}");
public ref double G => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>B</c> component.
/// </summary>
public ref double B => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(B)}");
public ref double B => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(B)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}");
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
public ref Double2 RG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RB)}");
public ref Double2 RB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
public ref Double2 GR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}");
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GB)}");
public ref Double2 GB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BR)}");
public ref Double2 BR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BG)}");
public ref Double2 BG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BB)}");
public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRR)}");
public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRG)}");
public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRB)}");
public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGR)}");
public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGG)}");
public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double3 RGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
public ref Double3 RGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBR)}");
public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double3 RBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
public ref Double3 RBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBB)}");
public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRR)}");
public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRG)}");
public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double3 GRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
public ref Double3 GRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGR)}");
public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGG)}");
public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGB)}");
public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double3 GBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
public ref Double3 GBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBG)}");
public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBB)}");
public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRR)}");
public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double3 BRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
public ref Double3 BRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRB)}");
public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double3 BGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
public ref Double3 BGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGG)}");
public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGB)}");
public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBR)}");
public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBG)}");
public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBB)}");
public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBB)}");
/// <summary>
/// Negates a <see cref="Double3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Double3"/> value to negate.</param>
public static Double3 operator -(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.-");
public static Double3 operator -(Double3 xyz) => throw new InvalidExecutionContextException($"{typeof(Double3)}.-");
/// <summary>
/// Sums two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to sum.</param>
/// <param name="right">The second <see cref="Double3"/> value to sum.</param>
public static Double3 operator +(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.+");
public static Double3 operator +(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.+");
/// <summary>
/// Divides two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to divide.</param>
/// <param name="right">The second <see cref="Double3"/> value to divide.</param>
public static Double3 operator /(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}./");
public static Double3 operator /(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}./");
/// <summary>
/// Multiplies two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Double3"/> value to multiply.</param>
public static Double3 operator *(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.*");
public static Double3 operator *(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.*");
/// <summary>
/// Subtracts two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Double3"/> value to subtract.</param>
public static Double3 operator -(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.-");
public static Double3 operator -(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.-");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
ファイル差分が大きすぎるため表示されません。 差分を読み込み
+18 -18
ファイルの表示
@@ -17,100 +17,100 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Float2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref float this[int i] => throw new InvalidExecutionContextException($"{nameof(Float2)}[int]");
public ref float this[int i] => throw new InvalidExecutionContextException($"{typeof(Float2)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>X</c> component.
/// </summary>
public ref float X => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(X)}");
public ref float X => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Y</c> component.
/// </summary>
public ref float Y => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(Y)}");
public ref float Y => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(Y)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XX)}");
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
public ref Float2 XY => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float2 YX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
public ref Float2 YX => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YY)}");
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>R</c> component.
/// </summary>
public ref float R => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(R)}");
public ref float R => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>G</c> component.
/// </summary>
public ref float G => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(G)}");
public ref float G => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(G)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RR)}");
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
public ref Float2 RG => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
public ref Float2 GR => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GG)}");
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(GG)}");
/// <summary>
/// Negates a <see cref="Float2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Float2"/> value to negate.</param>
public static Float2 operator -(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.-");
public static Float2 operator -(Float2 xy) => throw new InvalidExecutionContextException($"{typeof(Float2)}.-");
/// <summary>
/// Sums two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to sum.</param>
/// <param name="right">The second <see cref="Float2"/> value to sum.</param>
public static Float2 operator +(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.+");
public static Float2 operator +(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.+");
/// <summary>
/// Divides two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to divide.</param>
/// <param name="right">The second <see cref="Float2"/> value to divide.</param>
public static Float2 operator /(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}./");
public static Float2 operator /(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}./");
/// <summary>
/// Multiplies two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Float2"/> value to multiply.</param>
public static Float2 operator *(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.*");
public static Float2 operator *(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.*");
/// <summary>
/// Subtracts two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Float2"/> value to subtract.</param>
public static Float2 operator -(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.-");
public static Float2 operator -(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.-");
}
}
+84 -84
ファイルの表示
@@ -20,430 +20,430 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Float3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref float this[int i] => throw new InvalidExecutionContextException($"{nameof(Float3)}[int]");
public ref float this[int i] => throw new InvalidExecutionContextException($"{typeof(Float3)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>X</c> component.
/// </summary>
public ref float X => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(X)}");
public ref float X => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Y</c> component.
/// </summary>
public ref float Y => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(Y)}");
public ref float Y => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Z</c> component.
/// </summary>
public ref float Z => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(Z)}");
public ref float Z => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(Z)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XX)}");
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
public ref Float2 XY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZ)}");
public ref Float2 XZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float2 YX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
public ref Float2 YX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YY)}");
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZ)}");
public ref Float2 YZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZX)}");
public ref Float2 ZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZY)}");
public ref Float2 ZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZ)}");
public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXX)}");
public ref readonly Float3 XXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 XXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXY)}");
public ref readonly Float3 XXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXZ)}");
public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYX)}");
public ref readonly Float3 XYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 XYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYY)}");
public ref readonly Float3 XYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 XYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
public ref Float3 XYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZX)}");
public ref readonly Float3 XZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 XZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
public ref Float3 XZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZZ)}");
public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 YXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXX)}");
public ref readonly Float3 YXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXY)}");
public ref readonly Float3 YXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 YXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
public ref Float3 YXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 YYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYX)}");
public ref readonly Float3 YYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYY)}");
public ref readonly Float3 YYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYZ)}");
public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float3 YZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
public ref Float3 YZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZY)}");
public ref readonly Float3 YZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZZ)}");
public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 ZXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXX)}");
public ref readonly Float3 ZXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 ZXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
public ref Float3 ZXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXZ)}");
public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float3 ZYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
public ref Float3 ZYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 ZYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYY)}");
public ref readonly Float3 ZYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYZ)}");
public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 ZZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZX)}");
public ref readonly Float3 ZZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 ZZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZY)}");
public ref readonly Float3 ZZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZZ)}");
public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>R</c> component.
/// </summary>
public ref float R => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(R)}");
public ref float R => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>G</c> component.
/// </summary>
public ref float G => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(G)}");
public ref float G => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>B</c> component.
/// </summary>
public ref float B => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(B)}");
public ref float B => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(B)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}");
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
public ref Float2 RG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RB)}");
public ref Float2 RB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
public ref Float2 GR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}");
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GB)}");
public ref Float2 GB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BR)}");
public ref Float2 BR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BG)}");
public ref Float2 BG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BB)}");
public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRR)}");
public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRG)}");
public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRB)}");
public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGR)}");
public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGG)}");
public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float3 RGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
public ref Float3 RGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBR)}");
public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float3 RBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
public ref Float3 RBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBB)}");
public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRR)}");
public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRG)}");
public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float3 GRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
public ref Float3 GRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGR)}");
public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGG)}");
public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGB)}");
public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float3 GBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
public ref Float3 GBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBG)}");
public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBB)}");
public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRR)}");
public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float3 BRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
public ref Float3 BRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRB)}");
public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float3 BGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
public ref Float3 BGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGG)}");
public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGB)}");
public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBR)}");
public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBG)}");
public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBB)}");
public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBB)}");
/// <summary>
/// Negates a <see cref="Float3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Float3"/> value to negate.</param>
public static Float3 operator -(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.-");
public static Float3 operator -(Float3 xyz) => throw new InvalidExecutionContextException($"{typeof(Float3)}.-");
/// <summary>
/// Sums two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to sum.</param>
/// <param name="right">The second <see cref="Float3"/> value to sum.</param>
public static Float3 operator +(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.+");
public static Float3 operator +(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.+");
/// <summary>
/// Divides two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to divide.</param>
/// <param name="right">The second <see cref="Float3"/> value to divide.</param>
public static Float3 operator /(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}./");
public static Float3 operator /(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}./");
/// <summary>
/// Multiplies two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Float3"/> value to multiply.</param>
public static Float3 operator *(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.*");
public static Float3 operator *(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.*");
/// <summary>
/// Subtracts two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Float3"/> value to subtract.</param>
public static Float3 operator -(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.-");
public static Float3 operator -(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.-");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
ファイル差分が大きすぎるため表示されません。 差分を読み込み
+18 -18
ファイルの表示
@@ -17,100 +17,100 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Int2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref int this[int i] => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
public ref int this[int i] => throw new InvalidExecutionContextException($"{typeof(Int2)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
/// </summary>
public ref int X => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(X)}");
public ref int X => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Y</c> component.
/// </summary>
public ref int Y => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(Y)}");
public ref int Y => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(Y)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
public ref Int2 XY => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int2 YX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
public ref Int2 YX => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}");
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>R</c> component.
/// </summary>
public ref int R => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
public ref int R => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>G</c> component.
/// </summary>
public ref int G => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
public ref int G => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(G)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
public ref Int2 RG => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
public ref Int2 GR => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}");
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(GG)}");
/// <summary>
/// Negates a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> value to negate.</param>
public static Int2 operator -(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.-");
public static Int2 operator -(Int2 xy) => throw new InvalidExecutionContextException($"{typeof(Int2)}.-");
/// <summary>
/// Sums two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to sum.</param>
/// <param name="right">The second <see cref="Int2"/> value to sum.</param>
public static Int2 operator +(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.+");
public static Int2 operator +(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.+");
/// <summary>
/// Divides two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to divide.</param>
/// <param name="right">The second <see cref="Int2"/> value to divide.</param>
public static Int2 operator /(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}./");
public static Int2 operator /(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}./");
/// <summary>
/// Multiplies two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Int2"/> value to multiply.</param>
public static Int2 operator *(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.*");
public static Int2 operator *(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.*");
/// <summary>
/// Subtracts two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Int2"/> value to subtract.</param>
public static Int2 operator -(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.-");
public static Int2 operator -(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.-");
}
}
+84 -84
ファイルの表示
@@ -20,430 +20,430 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="Int3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref int this[int i] => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
public ref int this[int i] => throw new InvalidExecutionContextException($"{typeof(Int3)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
/// </summary>
public ref int X => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(X)}");
public ref int X => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Y</c> component.
/// </summary>
public ref int Y => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(Y)}");
public ref int Y => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Z</c> component.
/// </summary>
public ref int Z => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(Z)}");
public ref int Z => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(Z)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}");
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
public ref Int2 XY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZ)}");
public ref Int2 XZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int2 YX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
public ref Int2 YX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}");
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZ)}");
public ref Int2 YZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZX)}");
public ref Int2 ZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZY)}");
public ref Int2 ZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZ)}");
public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}");
public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}");
public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}");
public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}");
public ref readonly Int3 XYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}");
public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
public ref Int3 XYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}");
public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 XZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
public ref Int3 XZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}");
public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}");
public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}");
public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
public ref Int3 YXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}");
public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}");
public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}");
public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int3 YZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
public ref Int3 YZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}");
public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}");
public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}");
public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 ZXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
public ref Int3 ZXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}");
public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int3 ZYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
public ref Int3 ZYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}");
public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}");
public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}");
public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}");
public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}");
public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>R</c> component.
/// </summary>
public ref int R => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
public ref int R => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>G</c> component.
/// </summary>
public ref int G => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
public ref int G => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>B</c> component.
/// </summary>
public ref int B => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
public ref int B => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(B)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}");
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
public ref Int2 RG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}");
public ref Int2 RB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
public ref Int2 GR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}");
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}");
public ref Int2 GB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}");
public ref Int2 BR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}");
public ref Int2 BG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BB)}");
public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}");
public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}");
public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}");
public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}");
public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}");
public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
public ref Int3 RGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}");
public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int3 RBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
public ref Int3 RBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}");
public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}");
public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}");
public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
public ref Int3 GRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}");
public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}");
public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}");
public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int3 GBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
public ref Int3 GBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}");
public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}");
public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}");
public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int3 BRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
public ref Int3 BRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}");
public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int3 BGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
public ref Int3 BGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}");
public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}");
public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}");
public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}");
public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}");
public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBB)}");
/// <summary>
/// Negates a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> value to negate.</param>
public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{typeof(Int3)}.-");
/// <summary>
/// Sums two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to sum.</param>
/// <param name="right">The second <see cref="Int3"/> value to sum.</param>
public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.+");
public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.+");
/// <summary>
/// Divides two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to divide.</param>
/// <param name="right">The second <see cref="Int3"/> value to divide.</param>
public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}./");
public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}./");
/// <summary>
/// Multiplies two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Int3"/> value to multiply.</param>
public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.*");
public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.*");
/// <summary>
/// Subtracts two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Int3"/> value to subtract.</param>
public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.-");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
ファイル差分が大きすぎるため表示されません。 差分を読み込み
+11 -11
ファイルの表示
@@ -121,14 +121,14 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// Gets a reference to a specific row in the current <see cref="<#=fullTypeName#>"/> instance.
/// </summary>
/// <param name="row">The row to access.</param>
public ref <#=rowTypeName#> this[int row] => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}[int]");
public ref <#=rowTypeName#> this[int row] => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}[{typeof(int)}]");
/// <summary>
/// Gets a swizzled reference to a specific sequence of items in the current <see cref="<#=fullTypeName#>"/> instance.
/// </summary>
/// <param name="xy0">The identifier of the first item to index.</param>
/// <param name="xy1">The identifier of the second item to index.</param>
public ref <#=typeName#>2 this[MatrixIndex xy0, MatrixIndex xy1] => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
public ref <#=typeName#>2 this[MatrixIndex xy0, MatrixIndex xy1] => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}[{typeof(MatrixIndex)}, {typeof(MatrixIndex)}]");
/// <summary>
/// Gets a swizzled reference to a specific sequence of items in the current <see cref="<#=fullTypeName#>"/> instance.
@@ -136,7 +136,7 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// <param name="xy0">The identifier of the first item to index.</param>
/// <param name="xy1">The identifier of the second item to index.</param>
/// <param name="xy2">The identifier of the third item to index.</param>
public ref <#=typeName#>3 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2] => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
public ref <#=typeName#>3 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2] => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}[{typeof(MatrixIndex)}, {typeof(MatrixIndex)}, {typeof(MatrixIndex)}]");
/// <summary>
/// Gets a swizzled reference to a specific sequence of items in the current <see cref="<#=fullTypeName#>"/> instance.
@@ -145,7 +145,7 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// <param name="xy1">The identifier of the second item to index.</param>
/// <param name="xy2">The identifier of the third item to index.</param>
/// <param name="xy3">The identifier of the fourth item to index.</param>
public ref <#=typeName#>4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}[{nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}, {nameof(MatrixIndex)}]");
public ref <#=typeName#>4 this[MatrixIndex xy0, MatrixIndex xy1, MatrixIndex xy2, MatrixIndex xy3] => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}[{typeof(MatrixIndex)}, {typeof(MatrixIndex)}, {typeof(MatrixIndex)}, {typeof(MatrixIndex)}]");
<#
for (int i = 1; i <= rows; i++)
for (int j = 1; j <= columns; j++)
@@ -198,7 +198,7 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// Negates a <see cref="<#=fullTypeName#>"/> value.
/// </summary>
/// <param name="matrix">The <see cref="<#=fullTypeName#>"/> value to negate.</param>
public static <#=fullTypeName#> operator -(<#=fullTypeName#> matrix) => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}.-");
public static <#=fullTypeName#> operator -(<#=fullTypeName#> matrix) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.-");
<#
}
@@ -212,28 +212,28 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// </summary>
/// <param name="left">The first <see cref="<#=fullTypeName#>"/> value to sum.</param>
/// <param name="right">The second <see cref="<#=fullTypeName#>"/> value to sum.</param>
public static <#=fullTypeName#> operator +(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}.+");
public static <#=fullTypeName#> operator +(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.+");
/// <summary>
/// Divides two <see cref="<#=fullTypeName#>"/> values (elementwise division).
/// </summary>
/// <param name="left">The first <see cref="<#=fullTypeName#>"/> value to divide.</param>
/// <param name="right">The second <see cref="<#=fullTypeName#>"/> value to divide.</param>
public static <#=fullTypeName#> operator /(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}./");
public static <#=fullTypeName#> operator /(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}./");
/// <summary>
/// Multiplies two <see cref="<#=fullTypeName#>"/> values (elementwise product).
/// </summary>
/// <param name="left">The first <see cref="<#=fullTypeName#>"/> value to multiply.</param>
/// <param name="right">The second <see cref="<#=fullTypeName#>"/> value to multiply.</param>
public static <#=fullTypeName#> operator *(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}.*");
public static <#=fullTypeName#> operator *(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.*");
/// <summary>
/// Subtracts two <see cref="<#=fullTypeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=fullTypeName#>"/> value to subtract.</param>
/// <param name="right">The second <see cref="<#=fullTypeName#>"/> value to subtract.</param>
public static <#=fullTypeName#> operator -(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=fullTypeName#>)}.-");
public static <#=fullTypeName#> operator -(<#=fullTypeName#> left, <#=fullTypeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.-");
<#
}
@@ -246,7 +246,7 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// Casts a <see cref="<#=typeName#><#=columns#>"/> value to a <see cref="<#=fullTypeName#>"/> one.
/// </summary>
/// <param name="vector">The input <see cref="<#=typeName#><#=columns#>"/> value to cast.</param>
public static implicit operator <#=fullTypeName#>(<#=typeName#><#=columns#> vector) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.{nameof(<#=fullTypeName#>)}({nameof(<#=typeName#><#=columns#>)})");
public static implicit operator <#=fullTypeName#>(<#=typeName#><#=columns#> vector) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.{typeof(<#=fullTypeName#>)}({typeof(<#=typeName#><#=columns#>)})");
<#
}
@@ -258,7 +258,7 @@ void GenerateMatrixProperties(string typeName, int rows, int columns, int elemen
/// Casts a <see cref="<#=fullTypeName#>"/> value to a <see cref="<#=typeName#><#=rows#>"/> one.
/// </summary>
/// <param name="matrix">The input <see cref="<#=fullTypeName#>"/> value to cast.</param>
public static implicit operator <#=typeName#><#=rows#>(<#=fullTypeName#> matrix) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.{nameof(<#=typeName#><#=rows#>)}({nameof(<#=fullTypeName#>)})");
public static implicit operator <#=typeName#><#=rows#>(<#=fullTypeName#> matrix) => throw new InvalidExecutionContextException($"{typeof(<#=fullTypeName#>)}.{typeof(<#=typeName#><#=rows#>)}({typeof(<#=fullTypeName#>)})");
<#
}
#>
+17 -17
ファイルの表示
@@ -17,94 +17,94 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="UInt2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref uint this[int i] => throw new InvalidExecutionContextException($"{nameof(UInt2)}[int]");
public ref uint this[int i] => throw new InvalidExecutionContextException($"{typeof(UInt2)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>X</c> component.
/// </summary>
public ref uint X => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(X)}");
public ref uint X => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>Y</c> component.
/// </summary>
public ref uint Y => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(Y)}");
public ref uint Y => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(Y)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XX)}");
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
public ref UInt2 XY => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref UInt2 YX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
public ref UInt2 YX => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YY)}");
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>R</c> component.
/// </summary>
public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(R)}");
public ref uint R => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>G</c> component.
/// </summary>
public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(G)}");
public ref uint G => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(G)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RR)}");
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
public ref UInt2 RG => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
public ref UInt2 GR => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GG)}");
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(GG)}");
/// <summary>
/// Sums two <see cref="UInt2"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt2"/> value to sum.</param>
/// <param name="right">The second <see cref="UInt2"/> value to sum.</param>
public static UInt2 operator +(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.+");
public static UInt2 operator +(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.+");
/// <summary>
/// Divides two <see cref="UInt2"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt2"/> value to divide.</param>
/// <param name="right">The second <see cref="UInt2"/> value to divide.</param>
public static UInt2 operator /(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}./");
public static UInt2 operator /(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}./");
/// <summary>
/// Multiplies two <see cref="UInt2"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt2"/> value to multiply.</param>
/// <param name="right">The second <see cref="UInt2"/> value to multiply.</param>
public static UInt2 operator *(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.*");
public static UInt2 operator *(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.*");
/// <summary>
/// Subtracts two <see cref="UInt2"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt2"/> value to subtract.</param>
/// <param name="right">The second <see cref="UInt2"/> value to subtract.</param>
public static UInt2 operator -(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.-");
public static UInt2 operator -(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.-");
}
}
+83 -83
ファイルの表示
@@ -20,424 +20,424 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="UInt3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref uint this[int i] => throw new InvalidExecutionContextException($"{nameof(UInt3)}[int]");
public ref uint this[int i] => throw new InvalidExecutionContextException($"{typeof(UInt3)}[{typeof(int)}]");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>X</c> component.
/// </summary>
public ref uint X => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(X)}");
public ref uint X => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>Y</c> component.
/// </summary>
public ref uint Y => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(Y)}");
public ref uint Y => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>Z</c> component.
/// </summary>
public ref uint Z => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(Z)}");
public ref uint Z => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(Z)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XX)}");
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
public ref UInt2 XY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZ)}");
public ref UInt2 XZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref UInt2 YX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
public ref UInt2 YX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YY)}");
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZ)}");
public ref UInt2 YZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZX)}");
public ref UInt2 ZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZY)}");
public ref UInt2 ZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZ)}");
public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 XXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXX)}");
public ref readonly UInt3 XXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 XXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXY)}");
public ref readonly UInt3 XXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXZ)}");
public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 XYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYX)}");
public ref readonly UInt3 XYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 XYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYY)}");
public ref readonly UInt3 XYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 XZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZX)}");
public ref readonly UInt3 XZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref UInt3 XZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
public ref UInt3 XZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZZ)}");
public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 YXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXX)}");
public ref readonly UInt3 YXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 YXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXY)}");
public ref readonly UInt3 YXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 YYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYX)}");
public ref readonly UInt3 YYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 YYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYY)}");
public ref readonly UInt3 YYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYZ)}");
public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref UInt3 YZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
public ref UInt3 YZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 YZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZY)}");
public ref readonly UInt3 YZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZZ)}");
public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 ZXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXX)}");
public ref readonly UInt3 ZXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref UInt3 ZXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
public ref UInt3 ZXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXZ)}");
public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref UInt3 ZYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
public ref UInt3 ZYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 ZYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYY)}");
public ref readonly UInt3 ZYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYZ)}");
public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly UInt3 ZZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZX)}");
public ref readonly UInt3 ZZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly UInt3 ZZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZY)}");
public ref readonly UInt3 ZZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZZ)}");
public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>R</c> component.
/// </summary>
public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(R)}");
public ref uint R => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>G</c> component.
/// </summary>
public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(G)}");
public ref uint G => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="uint"/> value representing the <c>B</c> component.
/// </summary>
public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(B)}");
public ref uint B => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(B)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}");
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
public ref UInt2 RG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RB)}");
public ref UInt2 RB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
public ref UInt2 GR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}");
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GB)}");
public ref UInt2 GB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BR)}");
public ref UInt2 BR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BG)}");
public ref UInt2 BG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BB)}");
public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRR)}");
public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRG)}");
public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRB)}");
public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGR)}");
public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGG)}");
public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref UInt3 RGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
public ref UInt3 RGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBR)}");
public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref UInt3 RBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
public ref UInt3 RBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBB)}");
public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRR)}");
public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRG)}");
public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref UInt3 GRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
public ref UInt3 GRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGR)}");
public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGG)}");
public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGB)}");
public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGB)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref UInt3 GBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
public ref UInt3 GBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBG)}");
public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBB)}");
public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRR)}");
public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref UInt3 BRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
public ref UInt3 BRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRB)}");
public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref UInt3 BGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
public ref UInt3 BGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGG)}");
public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGB)}");
public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBR)}");
public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBG)}");
public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBB)}");
public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBB)}");
/// <summary>
/// Sums two <see cref="UInt3"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt3"/> value to sum.</param>
/// <param name="right">The second <see cref="UInt3"/> value to sum.</param>
public static UInt3 operator +(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.+");
public static UInt3 operator +(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.+");
/// <summary>
/// Divides two <see cref="UInt3"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt3"/> value to divide.</param>
/// <param name="right">The second <see cref="UInt3"/> value to divide.</param>
public static UInt3 operator /(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}./");
public static UInt3 operator /(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}./");
/// <summary>
/// Multiplies two <see cref="UInt3"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt3"/> value to multiply.</param>
/// <param name="right">The second <see cref="UInt3"/> value to multiply.</param>
public static UInt3 operator *(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.*");
public static UInt3 operator *(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.*");
/// <summary>
/// Subtracts two <see cref="UInt3"/> values.
/// </summary>
/// <param name="left">The first <see cref="UInt3"/> value to subtract.</param>
/// <param name="right">The second <see cref="UInt3"/> value to subtract.</param>
public static UInt3 operator -(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.-");
public static UInt3 operator -(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.-");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
ファイル差分が大きすぎるため表示されません。 差分を読み込み
+7 -7
ファイルの表示
@@ -94,7 +94,7 @@ namespace ComputeSharp
/// Gets a reference to a specific component in the current <see cref="<#=typeName#>"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref <#=hlslElementTypeName#> this[int i] => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}[int]");
public ref <#=hlslElementTypeName#> this[int i] => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}[{typeof(int)}]");
<#
PushIndent(" ");
PushIndent(" ");
@@ -132,7 +132,7 @@ namespace ComputeSharp
// Property
Write($"public {refType} {propertyType} {propertyName} ");
WriteLine($"=> throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({propertyName})}}\");");
WriteLine($"=> throw new InvalidExecutionContextException($\"{{typeof({typeName})}}.{{nameof({propertyName})}}\");");
}
PopIndent();
@@ -149,7 +149,7 @@ namespace ComputeSharp
/// Negates a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to negate.</param>
public static <#=typeName#> operator -(<#=typeName#> <#=argumentName#>) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.-");
public static <#=typeName#> operator -(<#=typeName#> <#=argumentName#>) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.-");
<#
}
@@ -163,28 +163,28 @@ namespace ComputeSharp
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to sum.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to sum.</param>
public static <#=typeName#> operator +(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.+");
public static <#=typeName#> operator +(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.+");
/// <summary>
/// Divides two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to divide.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to divide.</param>
public static <#=typeName#> operator /(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}./");
public static <#=typeName#> operator /(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}./");
/// <summary>
/// Multiplies two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to multiply.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to multiply.</param>
public static <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.*");
public static <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.*");
/// <summary>
/// Subtracts two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to subtract.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to subtract.</param>
public static <#=typeName#> operator -(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.-");
public static <#=typeName#> operator -(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.-");
<#
}
#>
+1 -1
ファイルの表示
@@ -44,7 +44,7 @@ namespace ComputeSharp
/// </summary>
/// <param name="i">The index of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ConstantBuffer<T>)}<T>[int]");
public T this[int i] => throw new InvalidExecutionContextException($"{typeof(ConstantBuffer<T>)}[{typeof(int)}]");
/// <summary>
/// Gets the right padded size for <typeparamref name="T"/> elements to store in the current instance.
+1 -1
ファイルの表示
@@ -31,7 +31,7 @@ namespace ComputeSharp
/// </summary>
/// <param name="i">The index of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyBuffer<T>)}<T>[int]");
public T this[int i] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyBuffer<T>)}[{typeof(int)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -34,10 +34,10 @@ namespace ComputeSharp
}
/// <inheritdoc/>
public TPixel this[int x, int y] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture2D<T, TPixel>)}<T>[int,int]");
public TPixel this[int x, int y] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D<T, TPixel>)}[{typeof(int)}, {typeof(int)}]");
/// <inheritdoc/>
public TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture2D<T,TPixel>)}<T>[Int2]");
public TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D<T,TPixel>)}[{typeof(Int2)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -34,14 +34,14 @@ namespace ComputeSharp
/// <param name="x">The horizontal offset of the value to get.</param>
/// <param name="y">The vertical offset of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[int x, int y] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture2D<T>)}<T>[int,int]");
public T this[int x, int y] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D<T>)}[{typeof(int)}, {typeof(int)}]");
/// <summary>
/// Gets a single <typeparamref name="T"/> value from the current readonly texture.
/// </summary>
/// <param name="xy">The coordinates of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[Int2 xy] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture2D<T>)}<T>[Int2]");
public T this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture2D<T>)}[{typeof(Int2)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -35,10 +35,10 @@ namespace ComputeSharp
}
/// <inheritdoc/>
public TPixel this[int x, int y, int z] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture3D<T, TPixel>)}<T>[int,int,int]");
public TPixel this[int x, int y, int z] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture3D<T, TPixel>)}[{typeof(int)}, {typeof(int)}, {typeof(int)}]");
/// <inheritdoc/>
public TPixel this[Int3 xyz] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture3D<T, TPixel>)}<T>[Int3]");
public TPixel this[Int3 xyz] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture3D<T, TPixel>)}[{typeof(Int3)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -36,14 +36,14 @@ namespace ComputeSharp
/// <param name="y">The vertical offset of the value to get.</param>
/// <param name="z">The depthwise offset of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[int x, int y, int z] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture3D<T>)}<T>[int,int,int]");
public T this[int x, int y, int z] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture3D<T>)}[{typeof(int)}, {typeof(int)}, {typeof(int)}]");
/// <summary>
/// Gets a single <typeparamref name="T"/> value from the current readonly texture.
/// </summary>
/// <param name="xyz">The coordinates of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public T this[Int3 xyz] => throw new InvalidExecutionContextException($"{nameof(ReadOnlyTexture3D<T>)}<T>[Int3]");
public T this[Int3 xyz] => throw new InvalidExecutionContextException($"{typeof(ReadOnlyTexture3D<T>)}[{typeof(Int3)}]");
/// <inheritdoc/>
public override string ToString()
+1 -1
ファイルの表示
@@ -31,7 +31,7 @@ namespace ComputeSharp
/// </summary>
/// <param name="i">The index of the value to get or set.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public ref T this[int i] => throw new InvalidExecutionContextException($"{nameof(ReadWriteBuffer<T>)}<T>[int]");
public ref T this[int i] => throw new InvalidExecutionContextException($"{typeof(ReadWriteBuffer<T>)}[{typeof(int)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -34,10 +34,10 @@ namespace ComputeSharp
}
/// <inheritdoc/>
public ref TPixel this[int x, int y] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture2D<T, TPixel>)}<T>[int,int]");
public ref TPixel this[int x, int y] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture2D<T, TPixel>)}[{typeof(int)}, {typeof(int)}]");
/// <inheritdoc/>
public ref TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture2D<T, TPixel>)}<T>[Int2]");
public ref TPixel this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture2D<T, TPixel>)}[{typeof(Int2)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -34,14 +34,14 @@ namespace ComputeSharp
/// <param name="x">The horizontal offset of the value to get.</param>
/// <param name="y">The vertical offset of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public ref T this[int x, int y] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture2D<T>)}<T>[int,int]");
public ref T this[int x, int y] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture2D<T>)}[{typeof(int)}, {typeof(int)}]");
/// <summary>
/// Gets or sets a single <typeparamref name="T"/> value from the current writeable texture.
/// </summary>
/// <param name="xy">The coordinates of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public ref T this[Int2 xy] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture2D<T>)}<T>[Int2]");
public ref T this[Int2 xy] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture2D<T>)}[{typeof(Int2)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -35,10 +35,10 @@ namespace ComputeSharp
}
/// <inheritdoc/>
public ref TPixel this[int x, int y, int z] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture3D<T, TPixel>)}<T>[int,int,int]");
public ref TPixel this[int x, int y, int z] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture3D<T, TPixel>)}[{typeof(int)}, {typeof(int)}, {typeof(int)}]");
/// <inheritdoc/>
public ref TPixel this[Int3 xyz] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture3D<T, TPixel>)}<T>[Int3]");
public ref TPixel this[Int3 xyz] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture3D<T, TPixel>)}[{typeof(Int3)}]");
/// <inheritdoc/>
public override string ToString()
+2 -2
ファイルの表示
@@ -36,14 +36,14 @@ namespace ComputeSharp
/// <param name="y">The vertical offset of the value to get.</param>
/// <param name="z">The depthwise offset of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public ref T this[int x, int y, int z] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture3D<T>)}<T>[int,int,int]");
public ref T this[int x, int y, int z] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture3D<T>)}[{typeof(int)}, {typeof(int)}, {typeof(int)}]");
/// <summary>
/// Gets a single <typeparamref name="T"/> value from the current writeable texture.
/// </summary>
/// <param name="xyz">The coordinates of the value to get.</param>
/// <remarks>This API can only be used from a compute shader, and will always throw if used anywhere else.</remarks>
public ref T this[Int3 xyz] => throw new InvalidExecutionContextException($"{nameof(ReadWriteTexture3D<T>)}<T>[Int3]");
public ref T this[Int3 xyz] => throw new InvalidExecutionContextException($"{typeof(ReadWriteTexture3D<T>)}[{typeof(Int3)}]");
/// <inheritdoc/>
public override string ToString()