mirror of https://github.com/icsharpcode/ILSpy.git
9 changed files with 70 additions and 9 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
using ICSharpCode.NRefactory.CSharp; |
||||
|
||||
namespace Decompiler |
||||
{ |
||||
static class NRefactoryExtensions |
||||
{ |
||||
public static T WithAnnotation<T>(this T node, object annotation) where T : AstNode |
||||
{ |
||||
node.AddAnnotation(annotation); |
||||
return node; |
||||
} |
||||
} |
||||
} |
||||
Loading…
Reference in new issue