summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Reflection/LoaderAllocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Reflection/LoaderAllocator.cs')
-rw-r--r--src/mscorlib/src/System/Reflection/LoaderAllocator.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mscorlib/src/System/Reflection/LoaderAllocator.cs b/src/mscorlib/src/System/Reflection/LoaderAllocator.cs
index 7c6c6bd0e8..035f158251 100644
--- a/src/mscorlib/src/System/Reflection/LoaderAllocator.cs
+++ b/src/mscorlib/src/System/Reflection/LoaderAllocator.cs
@@ -49,7 +49,6 @@ namespace System.Reflection
if (!Environment.HasShutdownStarted &&
!AppDomain.CurrentDomain.IsFinalizingForUnload())
{
-
// Destroy returns false if the managed LoaderAllocator is still alive.
if (!Destroy(m_nativeLoaderAllocator))
{
@@ -63,9 +62,9 @@ namespace System.Reflection
internal sealed class LoaderAllocator
{
- LoaderAllocator()
+ private LoaderAllocator()
{
- m_slots = new object [5];
+ m_slots = new object[5];
// m_slotsUsed = 0;
m_scout = new LoaderAllocatorScout();
@@ -73,10 +72,10 @@ namespace System.Reflection
#pragma warning disable 169
#pragma warning disable 414
- LoaderAllocatorScout m_scout;
- object [] m_slots;
+ private LoaderAllocatorScout m_scout;
+ private object[] m_slots;
internal CerHashtable<RuntimeMethodInfo, RuntimeMethodInfo> m_methodInstantiations;
- int m_slotsUsed;
+ private int m_slotsUsed;
#pragma warning restore 414
#pragma warning restore 169
}