Example #1
0
        public unsafe TypeDef(DeclarationContext owningDeclarationContext, CppSharp.Parser.AST.TypedefDecl typeDef) : base(typeDef)
        {
            this.OwningDeclarationContext = owningDeclarationContext;
            this.typeDef = typeDef;

            this.OwningDeclarationContext.AssertNotNull();
            this.typeDef.AssertNotNullAndOfType <CppSharp.Parser.AST.TypedefDecl>();
        }
Example #2
0
 public unsafe TypeDefDecl(CppSharp.Parser.AST.TypedefDecl typedefDecl) : base(typedefDecl)
 {
     this.typedefDecl = typedefDecl;
     this.typedefDecl.AssertNotNullAndOfType <CppSharp.Parser.AST.TypedefDecl>();
 }