ICSharpCode.NRefactory.CSharp.Resolver.CSharpResolver.CSharpResolver C# (CSharp) Method

CSharpResolver() public method

public CSharpResolver ( ICompilation compilation ) : System
compilation ICompilation
return System
		public CSharpResolver(ICompilation compilation)
		{
			if (compilation == null)
				throw new ArgumentNullException("compilation");
			this.compilation = compilation;
			this.conversions = CSharpConversions.Get(compilation);
			this.context = new CSharpTypeResolveContext(compilation.MainAssembly);
			
			var pc = compilation.MainAssembly.UnresolvedAssembly as CSharpProjectContent;
			if (pc != null) {
				this.checkForOverflow = pc.CompilerSettings.CheckForOverflow;
			}
		}
		

Same methods

CSharpResolver::CSharpResolver ( ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext context ) : System
CSharpResolver::CSharpResolver ( ICompilation compilation, CSharpConversions conversions, ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpTypeResolveContext context, bool checkForOverflow, bool isWithinLambdaExpression, TypeDefinitionCache currentTypeDefinitionCache, ImmutableStack localVariableStack, ObjectInitializerContext objectInitializerStack ) : System
CSharpResolver