Remove class declarator (dotnet/coreclr#27456)
authorSinan Kaya <41809318+franksinankaya@users.noreply.github.com>
Sat, 26 Oct 2019 06:24:51 +0000 (02:24 -0400)
committerVladimir Sadov <vsadov@microsoft.com>
Sat, 26 Oct 2019 06:24:51 +0000 (23:24 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/6fe16376353a4cd7912f81a70163dac3c74bcfb4

src/coreclr/src/vm/castcache.h
src/coreclr/src/vm/methodtable.h

index a1159b3..d20ebf0 100644 (file)
@@ -331,7 +331,7 @@ public:
         return TypeHandle::MaybeCast;
     }
 
-    static void CastCache::Initialize()
+    static void Initialize()
     {
     }
 
index 34c37c4..9eaabd8 100644 (file)
@@ -1975,7 +1975,7 @@ public:
     BOOL CanCastToInterface(MethodTable *pTargetMT, TypeHandlePairList *pVisited = NULL);
     BOOL CanCastToClass(MethodTable *pTargetMT, TypeHandlePairList *pVisited = NULL);
     BOOL CanCastToClassOrInterface(MethodTable *pTargetMT, TypeHandlePairList *pVisited);  
-    BOOL MethodTable::ArraySupportsBizarreInterface(MethodTable* pInterfaceMT, TypeHandlePairList* pVisited);
+    BOOL ArraySupportsBizarreInterface(MethodTable* pInterfaceMT, TypeHandlePairList* pVisited);
     BOOL ArrayIsInstanceOf(TypeHandle toTypeHnd, TypeHandlePairList* pVisited);
 
     BOOL CanCastByVarianceToInterfaceOrDelegate(MethodTable* pTargetMT, TypeHandlePairList* pVisited);