Mono.Debugger.Languages.Mono.MonoVoidType.create_type C# (CSharp) Method

create_type() protected method

protected create_type ( TargetMemoryAccess memory, TargetAddress klass ) : void
memory TargetMemoryAccess
klass TargetAddress
return void
        protected void create_type(TargetMemoryAccess memory, TargetAddress klass)
        {
            class_type = file.MonoLanguage.CreateCoreType (file, typedef, memory, klass);
            file.MonoLanguage.AddCoreType (typedef, this, class_type, klass);
        }

Usage Example

Beispiel #1
0
        public static MonoVoidType Create(MonoSymbolFile corlib, TargetMemoryAccess memory)
        {
            MonoVoidType type = new MonoVoidType (
                corlib, corlib.ModuleDefinition.Types ["System.Void"]);

            TargetAddress klass = corlib.MonoLanguage.MetadataHelper.GetVoidClass (memory);
            type.create_type (memory, klass);

            return type;
        }
All Usage Examples Of Mono.Debugger.Languages.Mono.MonoVoidType::create_type