1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Collections.Generic;
9
namespace ICSharpCode.NRefactory.Parser.VB
17
CollectionInitializer,
32
public class Block : ICloneable
34
public static readonly Block Default = new Block() {
35
context = Context.Global,
36
lastExpressionStart = Location.Empty
39
public Context context;
40
public Location lastExpressionStart;
43
public override string ToString()
45
return string.Format("[Block Context={0}, LastExpressionStart={1}, IsClosed={2}]", context, lastExpressionStart, isClosed);
51
context = this.context,
52
lastExpressionStart = this.lastExpressionStart,
53
isClosed = this.isClosed