@@ -30,7 +30,7 @@ public GSet()
3030 //:base();
3131 }
3232
33- private GSet ( Dictionary < T , int > /*!*/ ht , List < T > arr )
33+ private GSet ( Dictionary < T , int > ht , List < T > arr )
3434 {
3535 Contract . Requires ( ht != null ) ;
3636 Contract . Requires ( arr != null ) ;
@@ -47,7 +47,7 @@ public GSet(int capacity)
4747 }
4848
4949
50- public readonly static GSet < T > /*!*/
50+ public readonly static GSet < T >
5151 Empty = new GSet < T > ( ) ;
5252
5353 public void Clear ( )
@@ -146,7 +146,7 @@ public T Take()
146146 return r ;
147147 }
148148
149- public void Intersect ( GSet < T > /*!*/ s )
149+ public void Intersect ( GSet < T > s )
150150 {
151151 Contract . Requires ( s != null ) ;
152152 if ( s == this )
@@ -222,7 +222,7 @@ public bool ContainsRange(IEnumerable<T> s)
222222 return true ;
223223 }
224224
225- public object /*!*/ Clone ( )
225+ public object Clone ( )
226226 {
227227 Contract . Ensures ( Contract . Result < object > ( ) != null ) ;
228228 return new GSet < T > ( new Dictionary < T , int > ( ht ) , new List < T > ( arr ) ) ;
@@ -234,11 +234,11 @@ public virtual int Count
234234 }
235235
236236 [ Pure ]
237- public override string /*!*/ ToString ( )
237+ public override string ToString ( )
238238 {
239239 Contract . Ensures ( Contract . Result < string > ( ) != null ) ;
240240 string s = null ;
241- foreach ( object /*!*/ key in ht . Keys )
241+ foreach ( object key in ht . Keys )
242242 {
243243 Contract . Assert ( key != null ) ;
244244 if ( s == null )
@@ -266,34 +266,33 @@ public virtual int Count
266266 //----------------------------- Static Methods ---------------------------------
267267
268268 // Functional Intersect
269- public static GSet < T > /*!*/ Intersect ( GSet < T > /*!*/ a , GSet < T > /*!*/ b )
269+ public static GSet < T > Intersect ( GSet < T > a , GSet < T > b )
270270 {
271271 Contract . Requires ( b != null ) ;
272272 Contract . Requires ( a != null ) ;
273273 Contract . Ensures ( Contract . Result < GSet < T > > ( ) != null ) ;
274- //Contract.Ensures(Contract.ForAll(result, x => a[x] && b[x] ));
275- GSet < T > /*!*/
276- res = ( GSet < T > /*!*/ ) Cce . NonNull ( a . Clone ( ) ) ;
274+ GSet < T >
275+ res = ( GSet < T > ) Cce . NonNull ( a . Clone ( ) ) ;
277276 res . Intersect ( b ) ;
278277 return res ;
279278 }
280279
281280 // Functional Union
282- public static GSet < T > /*!*/ Union ( GSet < T > /*!*/ a , GSet < T > /*!*/ b )
281+ public static GSet < T > Union ( GSet < T > a , GSet < T > b )
283282 {
284283 Contract . Requires ( a != null ) ;
285284 Contract . Requires ( b != null ) ;
286285 Contract . Ensures ( Contract . Result < GSet < T > > ( ) != null ) ;
287286 // Contract.Ensures(Contract.ForAll(result, x => a[x] || b[x] ));
288- GSet < T > /*!*/
289- res = ( GSet < T > /*!*/ ) Cce . NonNull ( a . Clone ( ) ) ;
287+ GSet < T >
288+ res = ( GSet < T > ) Cce . NonNull ( a . Clone ( ) ) ;
290289 res . AddRange ( b ) ;
291290 return res ;
292291 }
293292
294- public delegate bool SetFilter ( object /*!*/ obj ) ;
293+ public delegate bool SetFilter ( object obj ) ;
295294
296- public static GSet < T > /*!*/ Filter ( GSet < T > /*!*/ a , Func < T , bool > filter )
295+ public static GSet < T > Filter ( GSet < T > a , Func < T , bool > filter )
297296 {
298297 Contract . Requires ( filter != null ) ;
299298 Contract . Requires ( a != null ) ;
0 commit comments