BTDB.IL.ILDynamicTypeDebugImpl.CreateType C# (CSharp) Method

CreateType() public method

public CreateType ( ) : Type
return System.Type
        public Type CreateType()
        {
            CloseInScope();
            _sourceCodeWriter.CloseScope();
            _sourceCodeWriter.Dispose();
            var finalType = _typeBuilder.CreateType();
            _forbidenInstructions.FinishType(finalType);
            _assemblyBuilder.Save(_moduleBuilder.ScopeName);
            return finalType;
        }