Skip to content

Commit

Permalink
fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov committed Aug 18, 2021
1 parent babbcd2 commit b241939
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/coreclr/vm/assemblybinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
// The .NET Foundation licenses this file to you under the MIT license.

#include "assemblybinder.h"
#include "../binder/inc/assemblyname.hpp"

#ifndef DACCESS_COMPILE

HRESULT AssemblyBinder::BindAssemblyByName(AssemblyNameData* pAssemblyNameData,
BINDER_SPACE::Assembly** ppAssembly)
{
HRESULT hr = S_OK;
VALIDATE_ARG_RET(pAssemblyNameData != nullptr && ppAssembly != nullptr);
_ASSERTE(pAssemblyNameData != nullptr && ppAssembly != nullptr);

HRESULT hr = S_OK;
*ppAssembly = nullptr;

ReleaseHolder<BINDER_SPACE::AssemblyName> pAssemblyName;
Expand Down
2 changes: 2 additions & 0 deletions src/coreclr/vm/assemblybinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#ifndef _ASSEMBLYBINDER_H
#define _ASSEMBLYBINDER_H

#include "../binder/inc/applicationcontext.hpp"

class PEImage;
class AssemblyLoaderAllocator;

Expand Down

0 comments on commit b241939

Please sign in to comment.