C# Class MemoScope.Modules.Delegates.DelegatesAnalysis

Datei anzeigen Open project: fremag/MemoScope.Net

Public Methods

Method Description
CountTargets ( ClrDump clrDump, Microsoft.Diagnostics.Runtime.ClrType clrType ) : long
CountTargets ( ulong address, Microsoft.Diagnostics.Runtime.ClrType clrType, Microsoft.Diagnostics.Runtime.ClrInstanceField targetField, Microsoft.Diagnostics.Runtime.ClrInstanceField invocCountField ) : long
FindOwner ( ulong address, ClrDump clrDump, Microsoft.Diagnostics.Runtime.ClrType delegateType, Microsoft.Diagnostics.Runtime.ClrType arrayObjType, HashSet visited ) : ulong
GetDelegateMethod ( ulong methodPtr, ClrDump clrDump ) : Microsoft.Diagnostics.Runtime.ClrMethod
GetDelegateTypes ( ClrDump clrDump ) : List
GetLoneTargetInformations ( ClrDump clrDump ) : List
IsDelegateType ( ClrDumpType clrDumpType ) : bool

Private Methods

Method Description
EnumerateHandlers ( ClrObject clrObject ) : IEnumerable
GetDelegateInstanceInformation ( ClrDumpType clrDumpType ) : List
GetDelegateMethod ( ClrDump clrDump, ClrObject handler, ClrObject target ) : Microsoft.Diagnostics.Runtime.ClrMethod
GetDelegateTargetInformations ( ClrDumpObject clrDumpObject ) : List
GetDelegateTypeInformations ( ClrDump clrDump ) : List

Method Details

CountTargets() public static method

public static CountTargets ( ClrDump clrDump, Microsoft.Diagnostics.Runtime.ClrType clrType ) : long
clrDump ClrDump
clrType Microsoft.Diagnostics.Runtime.ClrType
return long

CountTargets() public static method

public static CountTargets ( ulong address, Microsoft.Diagnostics.Runtime.ClrType clrType, Microsoft.Diagnostics.Runtime.ClrInstanceField targetField, Microsoft.Diagnostics.Runtime.ClrInstanceField invocCountField ) : long
address ulong
clrType Microsoft.Diagnostics.Runtime.ClrType
targetField Microsoft.Diagnostics.Runtime.ClrInstanceField
invocCountField Microsoft.Diagnostics.Runtime.ClrInstanceField
return long

FindOwner() public static method

public static FindOwner ( ulong address, ClrDump clrDump, Microsoft.Diagnostics.Runtime.ClrType delegateType, Microsoft.Diagnostics.Runtime.ClrType arrayObjType, HashSet visited ) : ulong
address ulong
clrDump ClrDump
delegateType Microsoft.Diagnostics.Runtime.ClrType
arrayObjType Microsoft.Diagnostics.Runtime.ClrType
visited HashSet
return ulong

GetDelegateMethod() public static method

public static GetDelegateMethod ( ulong methodPtr, ClrDump clrDump ) : Microsoft.Diagnostics.Runtime.ClrMethod
methodPtr ulong
clrDump ClrDump
return Microsoft.Diagnostics.Runtime.ClrMethod

GetDelegateTypes() public static method

public static GetDelegateTypes ( ClrDump clrDump ) : List
clrDump ClrDump
return List

GetLoneTargetInformations() public static method

public static GetLoneTargetInformations ( ClrDump clrDump ) : List
clrDump ClrDump
return List

IsDelegateType() public static method

public static IsDelegateType ( ClrDumpType clrDumpType ) : bool
clrDumpType MemoScope.Core.Data.ClrDumpType
return bool