Browse Source

Namespace adjustments for Syntax classes

pull/728/merge
Siegfried Pammer 9 years ago
parent
commit
840ec04fde
  1. 1
      ICSharpCode.Decompiler/CSharp/Analysis/AnnotationNames.cs
  2. 3
      ICSharpCode.Decompiler/CSharp/Annotations.cs
  3. 1
      ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs
  4. 2
      ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs
  5. 5
      ICSharpCode.Decompiler/CSharp/NRefactoryExtensions.cs
  6. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs
  7. 7
      ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs
  8. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/ITokenWriter.cs
  9. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertMissingTokensDecorator.cs
  10. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs
  11. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs
  12. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertSpecialsDecorator.cs
  13. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterOutputFormatter.cs
  14. 5
      ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs
  15. 2
      ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs
  16. 1
      ICSharpCode.Decompiler/CSharp/Resolver/CompositeResolveVisitorNavigator.cs
  17. 1
      ICSharpCode.Decompiler/CSharp/Resolver/DetectSkippableNodesNavigator.cs
  18. 1
      ICSharpCode.Decompiler/CSharp/Resolver/DynamicInvocationResolveResult.cs
  19. 1
      ICSharpCode.Decompiler/CSharp/Resolver/FindReferencedEntities.cs
  20. 1
      ICSharpCode.Decompiler/CSharp/Resolver/IResolveVisitorNavigator.cs
  21. 2
      ICSharpCode.Decompiler/CSharp/Resolver/MethodGroupResolveResult.cs
  22. 1
      ICSharpCode.Decompiler/CSharp/Resolver/NodeListResolveVisitorNavigator.cs
  23. 1
      ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs
  24. 6
      ICSharpCode.Decompiler/CSharp/Resolver/ReducedExtensionMethod.cs
  25. 1
      ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs
  26. 8
      ICSharpCode.Decompiler/CSharp/StatementBuilder.cs
  27. 27
      ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs
  28. 2
      ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs
  29. 15
      ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs
  30. 3
      ICSharpCode.Decompiler/CSharp/Syntax/CSharpModifierToken.cs
  31. 5
      ICSharpCode.Decompiler/CSharp/Syntax/CSharpTokenNode.cs
  32. 4
      ICSharpCode.Decompiler/CSharp/Syntax/CSharpUtil.cs
  33. 5
      ICSharpCode.Decompiler/CSharp/Syntax/ComposedType.cs
  34. 8
      ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs
  35. 3
      ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs
  36. 3
      ICSharpCode.Decompiler/CSharp/Syntax/ErrorNode.cs
  37. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousMethodExpression.cs
  38. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousTypeCreateExpression.cs
  39. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayCreateExpression.cs
  40. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayInitializerExpression.cs
  41. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AsExpression.cs
  42. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AssignmentExpression.cs
  43. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BaseReferenceExpression.cs
  44. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BinaryOperatorExpression.cs
  45. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CastExpression.cs
  46. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs
  47. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ConditionalExpression.cs
  48. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs
  49. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DirectionExpression.cs
  50. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ErrorExpression.cs
  51. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/Expression.cs
  52. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IdentifierExpression.cs
  53. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IndexerExpression.cs
  54. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/InvocationExpression.cs
  55. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs
  56. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/LambdaExpression.cs
  57. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/MemberReferenceExpression.cs
  58. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedArgumentExpression.cs
  59. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs
  60. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NullReferenceExpression.cs
  61. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ObjectCreateExpression.cs
  62. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs
  63. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PointerReferenceExpression.cs
  64. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PrimitiveExpression.cs
  65. 5
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs
  66. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs
  67. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/StackAllocExpression.cs
  68. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThisReferenceExpression.cs
  69. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs
  70. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs
  71. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UnaryOperatorExpression.cs
  72. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs
  73. 14
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UndocumentedExpression.cs
  74. 4
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Attribute.cs
  75. 6
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs
  76. 3
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs
  77. 4
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs
  78. 3
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs
  79. 3
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs
  80. 5
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NamespaceDeclaration.cs
  81. 6
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NewLineNode.cs
  82. 5
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/PreProcessorDirective.cs
  83. 4
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TextNode.cs
  84. 5
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeDeclaration.cs
  85. 4
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeParameterDeclaration.cs
  86. 3
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingAliasDeclaration.cs
  87. 5
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingDeclaration.cs
  88. 4
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/WhitespaceNode.cs
  89. 8
      ICSharpCode.Decompiler/CSharp/Syntax/IAstVisitor.cs
  90. 4
      ICSharpCode.Decompiler/CSharp/Syntax/Identifier.cs
  91. 7
      ICSharpCode.Decompiler/CSharp/Syntax/IdentifierExpressionBackreference.cs
  92. 3
      ICSharpCode.Decompiler/CSharp/Syntax/MemberType.cs
  93. 4
      ICSharpCode.Decompiler/CSharp/Syntax/ObservableAstVisitor.cs
  94. 3
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNode.cs
  95. 3
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNodeOrNull.cs
  96. 2
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Backreference.cs
  97. 4
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/BacktrackingInfo.cs
  98. 2
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Choice.cs
  99. 3
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/INode.cs
  100. 4
      ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs
  101. Some files were not shown because too many files have changed in this diff Show More

1
ICSharpCode.Decompiler/CSharp/Analysis/AnnotationNames.cs

@ -24,7 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.NRefactory.CSharp
{ {

3
ICSharpCode.Decompiler/CSharp/Annotations.cs

@ -16,11 +16,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.Decompiler.IL; using ICSharpCode.Decompiler.IL;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;

1
ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

@ -24,7 +24,6 @@ using System.Threading;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Resolver; using ICSharpCode.Decompiler.CSharp.Resolver;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
using Mono.Cecil; using Mono.Cecil;
using ICSharpCode.Decompiler.CSharp.Transforms; using ICSharpCode.Decompiler.CSharp.Transforms;
using ICSharpCode.Decompiler.IL; using ICSharpCode.Decompiler.IL;

2
ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs

@ -29,8 +29,6 @@ using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp;
using ExpressionType = System.Linq.Expressions.ExpressionType; using ExpressionType = System.Linq.Expressions.ExpressionType;
using PrimitiveType = ICSharpCode.Decompiler.CSharp.Syntax.PrimitiveType; using PrimitiveType = ICSharpCode.Decompiler.CSharp.Syntax.PrimitiveType;

5
ICSharpCode.Decompiler/CSharp/NRefactoryExtensions.cs

@ -18,8 +18,7 @@
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp; using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
using ICSharpCode.NRefactory.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp namespace ICSharpCode.Decompiler.CSharp
{ {
@ -57,7 +56,7 @@ namespace ICSharpCode.Decompiler.CSharp
return new NamedNode(patternGroupName, node); return new NamedNode(patternGroupName, node);
} }
public static void AddNamedArgument(this NRefactory.CSharp.Attribute attribute, string name, Expression argument) public static void AddNamedArgument(this Syntax.Attribute attribute, string name, Expression argument)
{ {
attribute.Arguments.Add(new AssignmentExpression(new IdentifierExpression(name), argument)); attribute.Arguments.Add(new AssignmentExpression(new IdentifierExpression(name), argument));
} }

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpAmbience.cs

@ -20,7 +20,6 @@ using System;
using System.IO; using System.IO;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

7
ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs

@ -22,10 +22,9 @@ using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp; using Attribute = ICSharpCode.Decompiler.CSharp.Syntax.Attribute;
using ICSharpCode.NRefactory.PatternMatching;
using Attribute = ICSharpCode.NRefactory.CSharp.Attribute;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {
@ -2276,7 +2275,7 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
#endregion #endregion
#region Pattern Nodes #region Pattern Nodes
public virtual void VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern) public virtual void VisitPatternPlaceholder(AstNode placeholder, Pattern pattern)
{ {
StartNode(placeholder); StartNode(placeholder);
VisitNodeInPattern(pattern); VisitNodeInPattern(pattern);

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/ITokenWriter.cs

@ -19,7 +19,6 @@
using System; using System;
using System.IO; using System.IO;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertMissingTokensDecorator.cs

@ -19,7 +19,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs

@ -18,7 +18,6 @@
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertRequiredSpacesDecorator.cs

@ -18,7 +18,6 @@
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertSpecialsDecorator.cs

@ -19,7 +19,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterOutputFormatter.cs

@ -21,7 +21,6 @@ using System.Globalization;
using System.IO; using System.IO;
using System.Text; using System.Text;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.OutputVisitor namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
{ {

5
ICSharpCode.Decompiler/CSharp/Resolver/CSharpOperators.cs

@ -23,7 +23,6 @@ using System.Text;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {
@ -169,10 +168,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
get { return EmptyList<IAttribute>.Instance; } get { return EmptyList<IAttribute>.Instance; }
} }
NRefactory.Documentation.DocumentationComment IEntity.Documentation {
get { return null; }
}
Accessibility IHasAccessibility.Accessibility { Accessibility IHasAccessibility.Accessibility {
get { return Accessibility.Public; } get { return Accessibility.Public; }
} }

2
ICSharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs

@ -26,8 +26,6 @@ using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/CompositeResolveVisitorNavigator.cs

@ -20,7 +20,6 @@ using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/DetectSkippableNodesNavigator.cs

@ -20,7 +20,6 @@ using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/DynamicInvocationResolveResult.cs

@ -21,7 +21,6 @@ using System.Globalization;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/FindReferencedEntities.cs

@ -20,7 +20,6 @@ using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/IResolveVisitorNavigator.cs

@ -19,7 +19,6 @@
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

2
ICSharpCode.Decompiler/CSharp/Resolver/MethodGroupResolveResult.cs

@ -22,9 +22,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/NodeListResolveVisitorNavigator.cs

@ -21,7 +21,6 @@ using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.Semantics; using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

1
ICSharpCode.Decompiler/CSharp/Resolver/OverloadResolution.cs

@ -24,7 +24,6 @@ using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

6
ICSharpCode.Decompiler/CSharp/Resolver/ReducedExtensionMethod.cs

@ -329,12 +329,6 @@ namespace ICSharpCode.Decompiler.CSharp.Resolver
} }
} }
public ICSharpCode.NRefactory.Documentation.DocumentationComment Documentation {
get {
return baseMethod.Documentation;
}
}
public bool IsStatic { public bool IsStatic {
get { get {
return false; return false;

1
ICSharpCode.Decompiler/CSharp/Resolver/TypeInference.cs

@ -24,7 +24,6 @@ using ICSharpCode.Decompiler.Semantics;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ICSharpCode.NRefactory;
namespace ICSharpCode.Decompiler.CSharp.Resolver namespace ICSharpCode.Decompiler.CSharp.Resolver
{ {

8
ICSharpCode.Decompiler/CSharp/StatementBuilder.cs

@ -18,8 +18,6 @@
using System.Diagnostics; using System.Diagnostics;
using ICSharpCode.Decompiler.IL; using ICSharpCode.Decompiler.IL;
using ICSharpCode.NRefactory.CSharp;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.Decompiler.CSharp.Syntax;
@ -92,14 +90,14 @@ namespace ICSharpCode.Decompiler.CSharp
var value = exprBuilder.Translate(inst.Value); var value = exprBuilder.Translate(inst.Value);
var stmt = new SwitchStatement() { Expression = value }; var stmt = new SwitchStatement() { Expression = value };
foreach (var section in inst.Sections) { foreach (var section in inst.Sections) {
var astSection = new ICSharpCode.NRefactory.CSharp.SwitchSection(); var astSection = new Syntax.SwitchSection();
astSection.CaseLabels.AddRange(section.Labels.Values.Select(i => CreateTypedCaseLabel(i, value.Type))); astSection.CaseLabels.AddRange(section.Labels.Values.Select(i => CreateTypedCaseLabel(i, value.Type)));
ConvertSwitchSectionBody(astSection, section.Body); ConvertSwitchSectionBody(astSection, section.Body);
stmt.SwitchSections.Add(astSection); stmt.SwitchSections.Add(astSection);
} }
if (inst.DefaultBody.OpCode != OpCode.Nop) { if (inst.DefaultBody.OpCode != OpCode.Nop) {
var astSection = new ICSharpCode.NRefactory.CSharp.SwitchSection(); var astSection = new Syntax.SwitchSection();
astSection.CaseLabels.Add(new CaseLabel()); astSection.CaseLabels.Add(new CaseLabel());
ConvertSwitchSectionBody(astSection, inst.DefaultBody); ConvertSwitchSectionBody(astSection, inst.DefaultBody);
stmt.SwitchSections.Add(astSection); stmt.SwitchSections.Add(astSection);
@ -109,7 +107,7 @@ namespace ICSharpCode.Decompiler.CSharp
return stmt; return stmt;
} }
private void ConvertSwitchSectionBody(NRefactory.CSharp.SwitchSection astSection, ILInstruction bodyInst) private void ConvertSwitchSectionBody(Syntax.SwitchSection astSection, ILInstruction bodyInst)
{ {
var body = Convert(bodyInst); var body = Convert(bodyInst);
astSection.Statements.Add(body); astSection.Statements.Add(body);

27
ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs

@ -30,9 +30,8 @@ using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -73,7 +72,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitNullNode(this, data); return visitor.VisitNullNode(this, data);
} }
protected internal override bool DoMatch (AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch (AstNode other, PatternMatching.Match match)
{ {
return other == null || other.IsNull; return other == null || other.IsNull;
} }
@ -81,16 +80,16 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
#endregion #endregion
#region PatternPlaceholder #region PatternPlaceholder
public static implicit operator AstNode (NRefactory.PatternMatching.Pattern pattern) public static implicit operator AstNode (PatternMatching.Pattern pattern)
{ {
return pattern != null ? new PatternPlaceholder (pattern) : null; return pattern != null ? new PatternPlaceholder (pattern) : null;
} }
sealed class PatternPlaceholder : AstNode, INode sealed class PatternPlaceholder : AstNode, INode
{ {
readonly NRefactory.PatternMatching.Pattern child; readonly PatternMatching.Pattern child;
public PatternPlaceholder (NRefactory.PatternMatching.Pattern child) public PatternPlaceholder (PatternMatching.Pattern child)
{ {
this.child = child; this.child = child;
} }
@ -114,12 +113,12 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitPatternPlaceholder (this, child, data); return visitor.VisitPatternPlaceholder (this, child, data);
} }
protected internal override bool DoMatch (AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch (AstNode other, PatternMatching.Match match)
{ {
return child.DoMatch (other, match); return child.DoMatch (other, match);
} }
bool NRefactory.PatternMatching.INode.DoMatchCollection (Role role, NRefactory.PatternMatching.INode pos, NRefactory.PatternMatching.Match match, NRefactory.PatternMatching.BacktrackingInfo backtrackingInfo) bool PatternMatching.INode.DoMatchCollection (Role role, PatternMatching.INode pos, PatternMatching.Match match, PatternMatching.BacktrackingInfo backtrackingInfo)
{ {
return child.DoMatchCollection (role, pos, match, backtrackingInfo); return child.DoMatchCollection (role, pos, match, backtrackingInfo);
} }
@ -650,29 +649,29 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
#region Pattern Matching #region Pattern Matching
protected static bool MatchString (string pattern, string text) protected static bool MatchString (string pattern, string text)
{ {
return NRefactory.PatternMatching.Pattern.MatchString(pattern, text); return PatternMatching.Pattern.MatchString(pattern, text);
} }
protected internal abstract bool DoMatch (AstNode other, NRefactory.PatternMatching.Match match); protected internal abstract bool DoMatch (AstNode other, PatternMatching.Match match);
bool NRefactory.PatternMatching.INode.DoMatch (NRefactory.PatternMatching.INode other, NRefactory.PatternMatching.Match match) bool PatternMatching.INode.DoMatch (PatternMatching.INode other, PatternMatching.Match match)
{ {
AstNode o = other as AstNode; AstNode o = other as AstNode;
// try matching if other is null, or if other is an AstNode // try matching if other is null, or if other is an AstNode
return (other == null || o != null) && DoMatch (o, match); return (other == null || o != null) && DoMatch (o, match);
} }
bool NRefactory.PatternMatching.INode.DoMatchCollection (Role role, NRefactory.PatternMatching.INode pos, NRefactory.PatternMatching.Match match, NRefactory.PatternMatching.BacktrackingInfo backtrackingInfo) bool PatternMatching.INode.DoMatchCollection (Role role, PatternMatching.INode pos, PatternMatching.Match match, PatternMatching.BacktrackingInfo backtrackingInfo)
{ {
AstNode o = pos as AstNode; AstNode o = pos as AstNode;
return (pos == null || o != null) && DoMatch (o, match); return (pos == null || o != null) && DoMatch (o, match);
} }
NRefactory.PatternMatching.INode NRefactory.PatternMatching.INode.NextSibling { PatternMatching.INode PatternMatching.INode.NextSibling {
get { return nextSibling; } get { return nextSibling; }
} }
NRefactory.PatternMatching.INode NRefactory.PatternMatching.INode.FirstChild { PatternMatching.INode PatternMatching.INode.FirstChild {
get { return firstChild; } get { return firstChild; }
} }

2
ICSharpCode.Decompiler/CSharp/Syntax/AstNodeCollection.cs

@ -21,7 +21,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
using ICSharpCode.NRefactory.PatternMatching; using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {

15
ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs

@ -19,9 +19,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Resolver; using ICSharpCode.Decompiler.CSharp.Resolver;
using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -56,7 +55,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitNullNode(this, data); return visitor.VisitNullNode(this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
return other == null || other.IsNull; return other == null || other.IsNull;
} }
@ -69,16 +68,16 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
#endregion #endregion
#region PatternPlaceholder #region PatternPlaceholder
public static implicit operator AstType(NRefactory.PatternMatching.Pattern pattern) public static implicit operator AstType(PatternMatching.Pattern pattern)
{ {
return pattern != null ? new PatternPlaceholder(pattern) : null; return pattern != null ? new PatternPlaceholder(pattern) : null;
} }
sealed class PatternPlaceholder : AstType, INode sealed class PatternPlaceholder : AstType, INode
{ {
readonly NRefactory.PatternMatching.Pattern child; readonly PatternMatching.Pattern child;
public PatternPlaceholder(NRefactory.PatternMatching.Pattern child) public PatternPlaceholder(PatternMatching.Pattern child)
{ {
this.child = child; this.child = child;
} }
@ -107,12 +106,12 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
throw new NotSupportedException(); throw new NotSupportedException();
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
return child.DoMatch(other, match); return child.DoMatch(other, match);
} }
bool NRefactory.PatternMatching.INode.DoMatchCollection(Role role, NRefactory.PatternMatching.INode pos, NRefactory.PatternMatching.Match match, NRefactory.PatternMatching.BacktrackingInfo backtrackingInfo) bool PatternMatching.INode.DoMatchCollection(Role role, PatternMatching.INode pos, PatternMatching.Match match, PatternMatching.BacktrackingInfo backtrackingInfo)
{ {
return child.DoMatchCollection(role, pos, match, backtrackingInfo); return child.DoMatchCollection(role, pos, match, backtrackingInfo);
} }

3
ICSharpCode.Decompiler/CSharp/Syntax/CSharpModifierToken.cs

@ -27,7 +27,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -54,7 +53,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return GetModifierName (Modifier); return GetModifierName (Modifier);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
CSharpModifierToken o = other as CSharpModifierToken; CSharpModifierToken o = other as CSharpModifierToken;
return o != null && this.modifier == o.modifier; return o != null && this.modifier == o.modifier;

5
ICSharpCode.Decompiler/CSharp/Syntax/CSharpTokenNode.cs

@ -25,7 +25,6 @@
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -65,7 +64,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitNullNode(this, data); return visitor.VisitNullNode(this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
return other == null || other.IsNull; return other == null || other.IsNull;
} }
@ -123,7 +122,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitCSharpTokenNode (this, data); return visitor.VisitCSharpTokenNode (this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
CSharpTokenNode o = other as CSharpTokenNode; CSharpTokenNode o = other as CSharpTokenNode;
return o != null && !o.IsNull && !(o is CSharpModifierToken); return o != null && !o.IsNull && !(o is CSharpModifierToken);

4
ICSharpCode.Decompiler/CSharp/Syntax/CSharpUtil.cs

@ -24,8 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching; using ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {

5
ICSharpCode.Decompiler/CSharp/Syntax/ComposedType.cs

@ -30,7 +30,6 @@ using System.Text;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Resolver; using ICSharpCode.Decompiler.CSharp.Resolver;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -117,7 +116,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitComposedType (this, data); return visitor.VisitComposedType (this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
ComposedType o = other as ComposedType; ComposedType o = other as ComposedType;
return o != null return o != null
@ -247,7 +246,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitArraySpecifier(this, data); return visitor.VisitArraySpecifier(this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
ArraySpecifier o = other as ArraySpecifier; ArraySpecifier o = other as ArraySpecifier;
return o != null && this.Dimensions == o.Dimensions; return o != null && this.Dimensions == o.Dimensions;

8
ICSharpCode.Decompiler/CSharp/Syntax/DepthFirstAstVisitor.cs

@ -24,8 +24,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.NRefactory.CSharp;
using Attribute = ICSharpCode.NRefactory.CSharp.Attribute;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -628,7 +626,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
VisitChildren(errorNode); VisitChildren(errorNode);
} }
public virtual void VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern) public virtual void VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern)
{ {
VisitChildren (placeholder); VisitChildren (placeholder);
} }
@ -1235,7 +1233,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return VisitChildren(errorNode); return VisitChildren(errorNode);
} }
public virtual T VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern) public virtual T VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern)
{ {
return VisitChildren (placeholder); return VisitChildren (placeholder);
} }
@ -1842,7 +1840,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return VisitChildren(errorNode, data); return VisitChildren(errorNode, data);
} }
public virtual S VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern, T data) public virtual S VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern, T data)
{ {
return VisitChildren (placeholder, data); return VisitChildren (placeholder, data);
} }

3
ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs

@ -17,7 +17,6 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -110,7 +109,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
get { return GetChildrenByRole (Roles.Parameter); } get { return GetChildrenByRole (Roles.Parameter); }
} }
protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
DocumentationReference o = other as DocumentationReference; DocumentationReference o = other as DocumentationReference;
if (!(o != null && this.SymbolKind == o.SymbolKind && this.HasParameterList == o.HasParameterList)) if (!(o != null && this.SymbolKind == o.SymbolKind && this.HasParameterList == o.HasParameterList))

3
ICSharpCode.Decompiler/CSharp/Syntax/ErrorNode.cs

@ -25,7 +25,6 @@
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -75,7 +74,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitErrorNode(this, data); return visitor.VisitErrorNode(this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
var o = other as ErrorNode; var o = other as ErrorNode;
return o != null; return o != null;

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousMethodExpression.cs

@ -26,9 +26,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// [async] delegate(Parameters) {Body} /// [async] delegate(Parameters) {Body}

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousTypeCreateExpression.cs

@ -23,11 +23,9 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// new { [ExpressionList] } /// new { [ExpressionList] }

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayCreateExpression.cs

@ -16,11 +16,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// new Type[Dimensions] /// new Type[Dimensions]

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayInitializerExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// { Elements } /// { Elements }

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AsExpression.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Expression as TypeReference /// Expression as TypeReference

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AssignmentExpression.cs

@ -27,9 +27,8 @@
using System; using System;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Left Operator= Right /// Left Operator= Right

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BaseReferenceExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// base /// base

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/BinaryOperatorExpression.cs

@ -27,9 +27,8 @@
using System; using System;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Left Operator Right /// Left Operator Right

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CastExpression.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// (CastTo)Expression /// (CastTo)Expression

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// checked(Expression) /// checked(Expression)

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ConditionalExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Condition ? TrueExpression : FalseExpression /// Condition ? TrueExpression : FalseExpression

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// default(Type) /// default(Type)

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DirectionExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public enum FieldDirection public enum FieldDirection
{ {
@ -49,7 +48,7 @@ namespace ICSharpCode.NRefactory.CSharp
} }
public CSharpTokenNode FieldDirectionToken { public CSharpTokenNode FieldDirectionToken {
get { return FieldDirection == ICSharpCode.NRefactory.CSharp.FieldDirection.Ref ? GetChildByRole (RefKeywordRole) : GetChildByRole (OutKeywordRole); } get { return FieldDirection == FieldDirection.Ref ? GetChildByRole (RefKeywordRole) : GetChildByRole (OutKeywordRole); }
} }
public Expression Expression { public Expression Expression {

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ErrorExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
[Obsolete("This class is obsolete. Remove all referencing code.")] [Obsolete("This class is obsolete. Remove all referencing code.")]
public class EmptyExpression : AstNode public class EmptyExpression : AstNode
@ -48,7 +47,7 @@ namespace ICSharpCode.NRefactory.CSharp
throw new NotImplementedException(); throw new NotImplementedException();
} }
protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/Expression.cs

@ -18,9 +18,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Base class for expressions. /// Base class for expressions.

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IdentifierExpression.cs

@ -23,10 +23,8 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public class IdentifierExpression : Expression public class IdentifierExpression : Expression
{ {

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IndexerExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Target[Arguments] /// Target[Arguments]

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/InvocationExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Target(Arguments) /// Target(Arguments)

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Expression is Type /// Expression is Type

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/LambdaExpression.cs

@ -23,11 +23,8 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// [async] Parameters => Body /// [async] Parameters => Body

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/MemberReferenceExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Target.MemberName /// Target.MemberName

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedArgumentExpression.cs

@ -16,10 +16,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Represents a named argument passed to a method or attribute. /// Represents a named argument passed to a method or attribute.

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NamedExpression.cs

@ -24,11 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// name = expression /// name = expression

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/NullReferenceExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// null /// null

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ObjectCreateExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// new Type(Arguments) { Initializer } /// new Type(Arguments) { Initializer }

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// ( Expression ) /// ( Expression )

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PointerReferenceExpression.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Target->MemberName /// Target->MemberName

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/PrimitiveExpression.cs

@ -25,9 +25,9 @@
// THE SOFTWARE. // THE SOFTWARE.
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.NRefactory.Editor;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Represents a literal value. /// Represents a literal value.

5
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs

@ -16,12 +16,9 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public class QueryExpression : Expression public class QueryExpression : Expression
{ {

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// sizeof(Type) /// sizeof(Type)

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/StackAllocExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// stackalloc Type[Count] /// stackalloc Type[Count]

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThisReferenceExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// this /// this

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs

@ -25,9 +25,8 @@
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// typeof(Type) /// typeof(Type)

4
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs

@ -16,10 +16,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Represents an AstType as an expression. /// Represents an AstType as an expression.

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UnaryOperatorExpression.cs

@ -26,9 +26,8 @@
using System; using System;
using System.Linq.Expressions; using System.Linq.Expressions;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Operator Expression /// Operator Expression

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// unchecked(Expression) /// unchecked(Expression)

14
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UndocumentedExpression.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public enum UndocumentedExpressionType public enum UndocumentedExpressionType
{ {
@ -55,14 +53,14 @@ namespace ICSharpCode.NRefactory.CSharp
public CSharpTokenNode UndocumentedToken { public CSharpTokenNode UndocumentedToken {
get { get {
switch (UndocumentedExpressionType) { switch (UndocumentedExpressionType) {
case ICSharpCode.NRefactory.CSharp.UndocumentedExpressionType.ArgListAccess: case UndocumentedExpressionType.ArgListAccess:
case ICSharpCode.NRefactory.CSharp.UndocumentedExpressionType.ArgList: case UndocumentedExpressionType.ArgList:
return GetChildByRole (ArglistKeywordRole); return GetChildByRole (ArglistKeywordRole);
case ICSharpCode.NRefactory.CSharp.UndocumentedExpressionType.RefValue: case UndocumentedExpressionType.RefValue:
return GetChildByRole (RefvalueKeywordRole); return GetChildByRole (RefvalueKeywordRole);
case ICSharpCode.NRefactory.CSharp.UndocumentedExpressionType.RefType: case UndocumentedExpressionType.RefType:
return GetChildByRole (ReftypeKeywordRole); return GetChildByRole (ReftypeKeywordRole);
case ICSharpCode.NRefactory.CSharp.UndocumentedExpressionType.MakeRef: case UndocumentedExpressionType.MakeRef:
return GetChildByRole (MakerefKeywordRole); return GetChildByRole (MakerefKeywordRole);
} }
return CSharpTokenNode.Null; return CSharpTokenNode.Null;

4
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Attribute.cs

@ -24,11 +24,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Attribute(Arguments) /// Attribute(Arguments)

6
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs

@ -24,12 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// [AttributeTarget: Attributes] /// [AttributeTarget: Attributes]

3
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public enum CommentType public enum CommentType
{ {

4
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// where TypeParameter : BaseTypes /// where TypeParameter : BaseTypes

3
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs

@ -24,10 +24,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// delegate ReturnType Name&lt;TypeParameters&gt;(Parameters) where Constraints; /// delegate ReturnType Name&lt;TypeParameters&gt;(Parameters) where Constraints;

3
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// extern alias <Identifier>; /// extern alias <Identifier>;

5
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NamespaceDeclaration.cs

@ -24,12 +24,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using System.Text;
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// namespace Name { Members } /// namespace Name { Members }

6
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NewLineNode.cs

@ -1,8 +1,8 @@
using System; using System;
using ICSharpCode.Decompiler.CSharp.OutputVisitor; using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Syntax; using ICSharpCode.NRefactory.Editor;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
@ -85,7 +85,7 @@ namespace ICSharpCode.NRefactory.CSharp
return visitor.VisitNewLine (this, data); return visitor.VisitNewLine (this, data);
} }
protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
return other is NewLineNode; return other is NewLineNode;
} }

5
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/PreProcessorDirective.cs

@ -23,12 +23,9 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public enum PreProcessorDirectiveType : byte public enum PreProcessorDirectiveType : byte
{ {

4
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TextNode.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// A text node contains text without syntactic or semantic information. /// A text node contains text without syntactic or semantic information.

5
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeDeclaration.cs

@ -24,12 +24,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public enum ClassType public enum ClassType
{ {

4
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeParameterDeclaration.cs

@ -16,11 +16,9 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// [in|out] Name /// [in|out] Name

3
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingAliasDeclaration.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// using Alias = Import; /// using Alias = Import;

5
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingDeclaration.cs

@ -24,13 +24,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using System.Linq;
using System.Text; using System.Text;
using System.Collections.Generic; using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// using Import; /// using Import;

4
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/WhitespaceNode.cs

@ -24,10 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.CSharp namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// A Whitespace node contains only whitespaces. /// A Whitespace node contains only whitespaces.

8
ICSharpCode.Decompiler/CSharp/Syntax/IAstVisitor.cs

@ -16,8 +16,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using ICSharpCode.NRefactory.CSharp;
using Attribute = ICSharpCode.NRefactory.CSharp.Attribute;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -150,7 +148,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
void VisitNullNode(AstNode nullNode); void VisitNullNode(AstNode nullNode);
void VisitErrorNode(AstNode errorNode); void VisitErrorNode(AstNode errorNode);
void VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern); void VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern);
} }
/// <summary> /// <summary>
@ -282,7 +280,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
S VisitNullNode(AstNode nullNode); S VisitNullNode(AstNode nullNode);
S VisitErrorNode(AstNode errorNode); S VisitErrorNode(AstNode errorNode);
S VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern); S VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern);
} }
/// <summary> /// <summary>
@ -414,6 +412,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
S VisitNullNode(AstNode nullNode, T data); S VisitNullNode(AstNode nullNode, T data);
S VisitErrorNode(AstNode errorNode, T data); S VisitErrorNode(AstNode errorNode, T data);
S VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern, T data); S VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern, T data);
} }
} }

4
ICSharpCode.Decompiler/CSharp/Syntax/Identifier.cs

@ -54,7 +54,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitNullNode(this, data); return visitor.VisitNullNode(this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
return other == null || other.IsNull; return other == null || other.IsNull;
} }
@ -164,7 +164,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitIdentifier (this, data); return visitor.VisitIdentifier (this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
Identifier o = other as Identifier; Identifier o = other as Identifier;
return o != null && !o.IsNull && MatchString(this.Name, o.Name); return o != null && !o.IsNull && MatchString(this.Name, o.Name);

7
ICSharpCode.Decompiler/CSharp/Syntax/IdentifierExpressionBackreference.cs

@ -18,14 +18,13 @@
using System; using System;
using System.Linq; using System.Linq;
using ICSharpCode.NRefactory.PatternMatching;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
/// <summary> /// <summary>
/// Matches identifier expressions that have the same identifier as the referenced variable/type definition/method definition. /// Matches identifier expressions that have the same identifier as the referenced variable/type definition/method definition.
/// </summary> /// </summary>
public class IdentifierExpressionBackreference : Pattern public class IdentifierExpressionBackreference : PatternMatching.Pattern
{ {
readonly string referencedGroupName; readonly string referencedGroupName;
@ -40,9 +39,9 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
this.referencedGroupName = referencedGroupName; this.referencedGroupName = referencedGroupName;
} }
public override bool DoMatch(INode other, Match match) public override bool DoMatch(PatternMatching.INode other, PatternMatching.Match match)
{ {
NRefactory.CSharp.IdentifierExpression ident = other as NRefactory.CSharp.IdentifierExpression; IdentifierExpression ident = other as IdentifierExpression;
if (ident == null || ident.TypeArguments.Any()) if (ident == null || ident.TypeArguments.Any())
return false; return false;
AstNode referenced = (AstNode)match.Get(referencedGroupName).Last(); AstNode referenced = (AstNode)match.Get(referencedGroupName).Last();

3
ICSharpCode.Decompiler/CSharp/Syntax/MemberType.cs

@ -28,7 +28,6 @@ using System.Collections.Generic;
using ICSharpCode.Decompiler.CSharp.Resolver; using ICSharpCode.Decompiler.CSharp.Resolver;
using ICSharpCode.Decompiler.CSharp.TypeSystem; using ICSharpCode.Decompiler.CSharp.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.NRefactory.CSharp;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -111,7 +110,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
return visitor.VisitMemberType (this, data); return visitor.VisitMemberType (this, data);
} }
protected internal override bool DoMatch(AstNode other, NRefactory.PatternMatching.Match match) protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
{ {
MemberType o = other as MemberType; MemberType o = other as MemberType;
return o != null && this.IsDoubleColon == o.IsDoubleColon return o != null && this.IsDoubleColon == o.IsDoubleColon

4
ICSharpCode.Decompiler/CSharp/Syntax/ObservableAstVisitor.cs

@ -25,8 +25,6 @@
// THE SOFTWARE. // THE SOFTWARE.
using System; using System;
using ICSharpCode.NRefactory.CSharp;
using Attribute = ICSharpCode.NRefactory.CSharp.Attribute;
namespace ICSharpCode.Decompiler.CSharp.Syntax namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
@ -852,7 +850,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
Visit(EnterNamedExpression, LeaveNamedExpression, namedExpression); Visit(EnterNamedExpression, LeaveNamedExpression, namedExpression);
} }
void IAstVisitor.VisitPatternPlaceholder(AstNode placeholder, NRefactory.PatternMatching.Pattern pattern) void IAstVisitor.VisitPatternPlaceholder(AstNode placeholder, PatternMatching.Pattern pattern)
{ {
} }
} }

3
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNode.cs

@ -16,9 +16,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Matches any node. /// Matches any node.

3
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/AnyNodeOrNull.cs

@ -24,9 +24,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
using System;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Matches any node. /// Matches any node.

2
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Backreference.cs

@ -19,7 +19,7 @@
using System; using System;
using System.Linq; using System.Linq;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Matches the last entry in the specified named group. /// Matches the last entry in the specified named group.

4
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/BacktrackingInfo.cs

@ -16,11 +16,9 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Container for the backtracking info. /// Container for the backtracking info.

2
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Choice.cs

@ -20,7 +20,7 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Matches one of several alternatives. /// Matches one of several alternatives.

3
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/INode.cs

@ -17,9 +17,8 @@
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System; using System;
using ICSharpCode.Decompiler.CSharp.Syntax;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// AST node that supports pattern matching. /// AST node that supports pattern matching.

4
ICSharpCode.Decompiler/CSharp/Syntax/PatternMatching/Match.cs

@ -16,11 +16,9 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
namespace ICSharpCode.NRefactory.PatternMatching namespace ICSharpCode.Decompiler.CSharp.Syntax.PatternMatching
{ {
/// <summary> /// <summary>
/// Represents the result of a pattern matching operation. /// Represents the result of a pattern matching operation.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save