We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf8fe8c commit 2d7dec9Copy full SHA for 2d7dec9
CSharpMath.Editor/SubIndexTypeMismatchException.cs
@@ -7,8 +7,6 @@ public class SubIndexTypeMismatchException : InvalidOperationException {
7
public SubIndexTypeMismatchException(Type atomType, MathListIndex index) : base(
8
$"{atomType} not found at index {index.AtomIndex}.") { }
9
public SubIndexTypeMismatchException(MathListIndex index) : base(
10
- Array.IndexOf(typeof(MathListSubIndexType).GetEnumValues(), index.SubIndexType) == -1
11
- ? $"{index.SubIndexType} is an invalid subindex type."
12
- : $"{index.SubIndexType} not found at index {index.AtomIndex}.") { }
+ $"{index.SubIndexType} not found at index {index.AtomIndex}.") { }
13
}
14
0 commit comments