diff --git a/src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs b/src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs
index 43f4931a78..fcc31d9e9f 100644
--- a/src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs
+++ b/src/Libraries/NRefactory/ICSharpCode.NRefactory.CSharp/Resolver/CSharpAstResolver.cs
@@ -87,6 +87,28 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver
get { return initialResolverState.CurrentTypeResolveContext; }
}
+ ///
+ /// Gets the compilation for this resolver.
+ ///
+ public ICompilation Compilation {
+ get { return initialResolverState.Compilation; }
+ }
+
+ ///
+ /// Gets the root node for which this CSharpAstResolver was created.
+ ///
+ public AstNode RootNode {
+ get { return rootNode; }
+ }
+
+ ///
+ /// Gets the parsed file used by this CSharpAstResolver.
+ /// Can return null.
+ ///
+ public CSharpParsedFile ParsedFile {
+ get { return parsedFile; }
+ }
+
///
/// Applies a resolver navigator. This will resolve the nodes requested by the navigator, and will inform the
/// navigator of the results.