Table of Contents

Interface ICodeContext

Namespace
ICSharpCode.Decompiler.TypeSystem
Assembly
ICSharpCode.Decompiler.dll
public interface ICodeContext : ITypeResolveContext, ICompilationProvider
Inherited Members

Properties

IsWithinLambdaExpression

Gets whether the context is within a lambda expression or anonymous method.

bool IsWithinLambdaExpression { get; }

Property Value

bool

LocalVariables

Gets all currently visible local variables and lambda parameters. Does not include method parameters.

IEnumerable<IVariable> LocalVariables { get; }

Property Value

IEnumerable<IVariable>