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