Microsoft.CSharp.RuntimeBinder.Semantics.BindingContext
class BindingContext
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal class BindingContext
{
public Declaration m_pParentDecl;
protected ExprFactory m_ExprFactory;
protected OutputContext m_outputContext;
protected NameGenerator m_pNameGenerator;
protected InputFile m_pInputFile;
protected AggregateSymbol m_pContainingAgg;
protected CType m_pCurrentSwitchType;
protected FieldSymbol m_pOriginalConstantField;
protected FieldSymbol m_pCurrentFieldSymbol;
protected LocalVariableSymbol m_pImplicitlyTypedLocal;
protected Scope m_pOuterScope;
protected Scope m_pFinallyScope;
protected Scope m_pTryScope;
protected Scope m_pCatchScope;
protected Scope m_pCurrentScope;
protected Scope m_pSwitchScope;
protected EXPRBLOCK m_pCurrentBlock;
protected List<EXPRBOUNDLAMBDA> m_ppamis;
protected EXPRBOUNDLAMBDA m_pamiCurrent;
protected UNSAFESTATES m_UnsafeState;
protected int m_FinallyNestingCount;
protected bool m_bInsideTryOfCatch;
protected bool m_bInFieldInitializer;
protected bool m_bInBaseConstructorCall;
protected bool m_bAllowUnsafeBlocks;
protected bool m_bIsOptimizingSwitchAndArrayInit;
protected bool m_bShowReachability;
protected bool m_bWrapNonExceptionThrows;
protected bool m_bInRefactoring;
protected bool m_bInAttribute;
protected bool m_bflushLocalVariableTypesForEachStatement;
protected bool m_bRespectSemanticsAndReportErrors;
protected CType m_pInitType;
protected IErrorSink m_returnErrorSink;
public SymbolLoader SymbolLoader { get; }
public KAID m_aidExternAliasLookupContext { get; }
public CSemanticChecker SemanticChecker { get; }
public bool CheckedNormal { get; set; }
public bool CheckedConstant { get; set; }
public static BindingContext CreateInstance(CSemanticChecker pSemanticChecker, ExprFactory exprFactory, OutputContext outputContext, NameGenerator nameGenerator, bool bflushLocalVariableTypesForEachStatement, bool bAllowUnsafeBlocks, bool bIsOptimizingSwitchAndArrayInit, bool bShowReachability, bool bWrapNonExceptionThrows, bool bInRefactoring, KAID aidLookupContext);
protected BindingContext(CSemanticChecker pSemanticChecker, ExprFactory exprFactory, OutputContext outputContext, NameGenerator nameGenerator, bool bflushLocalVariableTypesForEachStatement, bool bAllowUnsafeBlocks, bool bIsOptimizingSwitchAndArrayInit, bool bShowReachability, bool bWrapNonExceptionThrows, bool bInRefactoring, KAID aidLookupContext);
protected BindingContext(BindingContext parent);
public Declaration ContextForMemberLookup();
public OutputContext GetOutputContext();
public virtual void Dispose();
public bool InMethod();
public bool InStaticMethod();
public bool InConstructor();
public bool InAnonymousMethod();
public bool InFieldInitializer();
public bool IsThisPointer(EXPR expr);
public bool RespectReadonly();
public bool IsUnsafeContext();
public bool ReportUnsafeErrors();
public AggregateSymbol ContainingAgg();
public LocalVariableSymbol GetThisPointer();
public UNSAFESTATES GetUnsafeState();
public ExprFactory GetExprFactory();
}
}