HRESULT hr = S_OK;
m_fCachingOfInliningHintsEnabled = TRUE;
- m_fGeneratingNgenPDB = FALSE;
_ASSERTE(!g_fEEStarted && !g_fEEInit && "You cannot run the EE inside an NGEN compilation process");
class CEECompileInfo : public ICorCompileInfo
{
public:
+ CEECompileInfo()
+ : m_fGeneratingNgenPDB(FALSE)
+ {
+ }
+
virtual ~CEECompileInfo()
{
WRAPPER_NO_CONTRACT;
EX_TRY
{
+ GetCompileInfo()->SetIsGeneratingNgenPDB(TRUE);
+
NGenOptions ngo = {0};
ngo.dwSize = sizeof(NGenOptions);
{
CORINFO_ASSEMBLY_HANDLE hAssembly = NULL;
- m_pEECompileInfo->SetIsGeneratingNgenPDB(TRUE);
-
IfFailThrow(m_pEECompileInfo->LoadAssemblyByPath(
pAssemblyPathOrName,