diff options
author | Steve MacLean <stmaclea@microsoft.com> | 2018-12-03 12:49:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 12:49:31 -0500 |
commit | 411f9787617f6bdc64c8393a51ac3b7a0d6e35f4 (patch) | |
tree | 618cf332ea7a4daf5feb802b4672a19bdd84a16b /src/vm/object.inl | |
parent | f54494af07aec0d927962846eb4394c118a2fef8 (diff) | |
download | coreclr-411f9787617f6bdc64c8393a51ac3b7a0d6e35f4.tar.gz coreclr-411f9787617f6bdc64c8393a51ac3b7a0d6e35f4.tar.bz2 coreclr-411f9787617f6bdc64c8393a51ac3b7a0d6e35f4.zip |
Remove IsNeutralDomain() (#21318)
* Remove IsNeutralDomain()
* PR feedback
Diffstat (limited to 'src/vm/object.inl')
-rw-r--r-- | src/vm/object.inl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vm/object.inl b/src/vm/object.inl index dd167d806c..c9b7abd9b0 100644 --- a/src/vm/object.inl +++ b/src/vm/object.inl @@ -27,10 +27,9 @@ inline ADIndex Object::GetAppDomainIndex() WRAPPER_NO_CONTRACT; #ifndef _DEBUG // ok to cast to AppDomain because we know it's a real AppDomain if it's not shared - if (!GetGCSafeMethodTable()->IsDomainNeutral()) - return (dac_cast<PTR_AppDomain>(GetGCSafeMethodTable()->GetDomain())->GetIndex()); + return (dac_cast<PTR_AppDomain>(GetGCSafeMethodTable()->GetDomain())->GetIndex()); #endif - return GetHeader()->GetAppDomainIndex(); + return GetHeader()->GetAppDomainIndex(); } inline DWORD Object::GetNumComponents() |