@@ -10,7 +10,7 @@ GUID ClassLoad::GetClsid()
10
10
return clsid;
11
11
}
12
12
13
- HRESULT ClassLoad::InitializeCommon (IUnknown* pICorProfilerInfoUnk)
13
+ HRESULT ClassLoad::Initialize (IUnknown* pICorProfilerInfoUnk)
14
14
{
15
15
Profiler::Initialize (pICorProfilerInfoUnk);
16
16
@@ -26,22 +26,6 @@ HRESULT ClassLoad::InitializeCommon(IUnknown* pICorProfilerInfoUnk)
26
26
return S_OK;
27
27
}
28
28
29
- HRESULT ClassLoad::Initialize (IUnknown* pICorProfilerInfoUnk)
30
- {
31
- return InitializeCommon (pICorProfilerInfoUnk);
32
- }
33
-
34
- HRESULT ClassLoad::InitializeForAttach (IUnknown* pICorProfilerInfoUnk, void * pvClientData, UINT cbClientData)
35
- {
36
- return InitializeCommon (pICorProfilerInfoUnk);
37
- }
38
-
39
- HRESULT ClassLoad::LoadAsNotificationOnly (BOOL *pbNotificationOnly)
40
- {
41
- *pbNotificationOnly = TRUE ;
42
- return S_OK;
43
- }
44
-
45
29
HRESULT ClassLoad::ClassLoadStarted (ClassID classId)
46
30
{
47
31
_classLoadStartedCount++;
@@ -76,7 +60,14 @@ HRESULT ClassLoad::Shutdown()
76
60
if (_failures == 0
77
61
&& (_classLoadStartedCount != 0 )
78
62
// Expect unloading of UnloadLibrary.TestClass and
79
- // List<UnloadLibrary.TestClass> with all its base classes with everything used in List constructor.
63
+ // List<UnloadLibrary.TestClass> with all its base classes with everything used in List constructor:
64
+ // - UnloadLibrary.TestClass
65
+ // - System.Collections.Generic.IEnumerable`1<UnloadLibrary.TestClass>
66
+ // - System.Collections.Generic.IList`1<UnloadLibrary.TestClass>
67
+ // - System.Collections.Generic.IReadOnlyCollection`1<UnloadLibrary.TestClass>
68
+ // - System.Collections.Generic.IReadOnlyList`1<UnloadLibrary.TestClass>
69
+ // - System.Collections.Generic.List`1<UnloadLibrary.TestClass>
70
+ // - System.Collections.Generic.ICollection`1<UnloadLibrary.TestClass>
80
71
&& (_classUnloadStartedCount == 7 )
81
72
&& (_classLoadStartedCount == _classLoadFinishedCount)
82
73
&& (_classUnloadStartedCount == _classUnloadFinishedCount))
0 commit comments