From ca47896204482bf4a6979e3838bf7f09f61cebeb Mon Sep 17 00:00:00 2001
From: giy <giy@omp-system.ru>
Date: Fri, 02 Sep 2022 14:16:56 +0300
Subject: [PATCH] Обновление до версии 2.9.0

---
 QtVsTools.RegExpr/expression/CharClassSet.cs |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/QtVsTools.RegExpr/expression/CharClassSet.cs b/QtVsTools.RegExpr/expression/CharClassSet.cs
index 36e1fa6..16cc9ba 100644
--- a/QtVsTools.RegExpr/expression/CharClassSet.cs
+++ b/QtVsTools.RegExpr/expression/CharClassSet.cs
@@ -26,7 +26,6 @@
 **
 ****************************************************************************/
 
-using System;
 using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
@@ -48,8 +47,8 @@
     ///
     public partial class CharClassSet : CharClass, IEnumerable<IEnumerable<Element>>
     {
-        public IEnumerable<Element> Positives { get; set; }
-        public IEnumerable<Element> Negatives { get; set; }
+        private IEnumerable<Element> Positives { get; set; }
+        private IEnumerable<Element> Negatives { get; set; }
 
         bool IsSubSet { get; set; }
         bool HasPositive { get { return Positives != null && Positives.Any(); } }
@@ -210,13 +209,13 @@
 
             public class Expr
             {
-                public Op Operator { get; private set; }
+                public Op Operator { get; }
 
-                public List<Expr> Factors { get; private set; }
+                public List<Expr> Factors { get; }
                 public Expr(Op op, List<Expr> factors) { Operator = op; Factors = factors; }
                 public Expr(Op op, params Expr[] factors) : this(op, factors.ToList()) { }
 
-                public CharClass Term { get; private set; }
+                public CharClass Term { get; }
                 public Expr(CharClass c) { Operator = Op.Term; Term = c; }
                 public static implicit operator Expr(CharClass c) { return new Expr(c); }
                 public static implicit operator Expr(string s) { return Char[s]; }
@@ -325,7 +324,7 @@
             {
                 public Expr Expr { get; set; }
                 public Queue<Expr> Children { get; set; }
-                public List<CharClassSet> SubSets { get; set; }
+                public List<CharClassSet> SubSets { get; }
                 public StackFrame()
                 {
                     Expr = null;

--
Gitblit v1.9.1