Inheritance: ITypeContainer, IMutableTypeContainer
Beispiel #1
0
        internal TypeReference(IToken token, Module module)
            : base(TypeKind.TypeReference)
        {
            m_token = token.CheckValid("token", x => x.Table.CanReferenceType(), "Token references invalid table");

            m_module = module.CheckNotNull("module");
            if (m_token.Table == MetadataTable.TypeRef) {
                m_lockObject = new object();
            }
        }
Beispiel #2
0
 internal ExceptionHandler(FatExceptionClause * pClause, Module module)
 {
     m_pFatClause = (FatExceptionClause*)FluentAsserts.CheckNotNull((void*)pClause, "pClause");
     m_module = module.CheckNotNull("module");
 }