We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e0998c commit 3936e72Copy full SHA for 3936e72
1 file changed
CSharpMath.Editor/MathListIndex.cs
@@ -39,9 +39,9 @@ public enum MathListSubIndexType : byte {
39
public class MathListIndex {
40
41
///<summary>The index of the associated atom.</summary>
42
- public int AtomIndex { get; set; }
+ public int AtomIndex { get; }
43
44
- public (MathListSubIndexType SubIndexType, MathListIndex SubIndex)? SubIndexInfo;
+ public readonly (MathListSubIndexType SubIndexType, MathListIndex SubIndex)? SubIndexInfo;
45
46
/// <summary>Factory function to create a `MathListIndex` with no subindexes.</summary>
47
/// <param name="index">The index of the atom that the `MathListIndex` points at.</param>
0 commit comments