Class TypeHashingAlgorithms
Inheritance
System.Object
TypeHashingAlgorithms
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: IL2CPU.Debug.Symbols.Net48.dll
Syntax
public static class TypeHashingAlgorithms
Methods
|
Improve this Doc
View Source
ComputeArrayTypeHashCode(Int32, Int32)
Declaration
public static int ComputeArrayTypeHashCode(int elementTypeHashCode, int rank)
Parameters
Type |
Name |
Description |
System.Int32 |
elementTypeHashCode |
|
System.Int32 |
rank |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputeArrayTypeHashCode<T>(T, Int32)
Declaration
public static int ComputeArrayTypeHashCode<T>(T elementType, int rank)
Parameters
Type |
Name |
Description |
T |
elementType |
|
System.Int32 |
rank |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ComputeASCIINameHashCode(Byte*, Int32, out Boolean)
Declaration
public static int ComputeASCIINameHashCode(byte *data, int length, out bool isAscii)
Parameters
Type |
Name |
Description |
System.Byte* |
data |
|
System.Int32 |
length |
|
System.Boolean |
isAscii |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputeByrefTypeHashCode(Int32)
Declaration
public static int ComputeByrefTypeHashCode(int parameterTypeHashCode)
Parameters
Type |
Name |
Description |
System.Int32 |
parameterTypeHashCode |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputeByrefTypeHashCode<T>(T)
Declaration
public static int ComputeByrefTypeHashCode<T>(T parameterType)
Parameters
Type |
Name |
Description |
T |
parameterType |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ComputeGenericInstanceHashCode<ARG>(Int32, ARG[])
Declaration
public static int ComputeGenericInstanceHashCode<ARG>(int genericDefinitionHashCode, ARG[] genericTypeArguments)
Parameters
Type |
Name |
Description |
System.Int32 |
genericDefinitionHashCode |
|
ARG[] |
genericTypeArguments |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ComputeMethodHashCode(Int32, Int32)
Produce a hashcode for a specific method
Declaration
public static int ComputeMethodHashCode(int typeHashCode, int nameOrNameAndGenericArgumentsHashCode)
Parameters
Type |
Name |
Description |
System.Int32 |
typeHashCode |
HashCode of the type that owns the method
|
System.Int32 |
nameOrNameAndGenericArgumentsHashCode |
HashCode of either the name of the method (for non-generic methods) or the GenericInstanceHashCode of the name+generic arguments of the method.
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputeMethodSignatureHashCode<ARG>(Int32, ARG[])
Declaration
public static int ComputeMethodSignatureHashCode<ARG>(int returnTypeHashCode, ARG[] parameters)
Parameters
Type |
Name |
Description |
System.Int32 |
returnTypeHashCode |
|
ARG[] |
parameters |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ComputeNameHashCode(String)
Declaration
public static int ComputeNameHashCode(string src)
Parameters
Type |
Name |
Description |
System.String |
src |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputeNestedTypeHashCode(Int32, Int32)
Declaration
public static int ComputeNestedTypeHashCode(int enclosingTypeHashCode, int nestedTypeNameHash)
Parameters
Type |
Name |
Description |
System.Int32 |
enclosingTypeHashCode |
|
System.Int32 |
nestedTypeNameHash |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputePointerTypeHashCode(Int32)
Declaration
public static int ComputePointerTypeHashCode(int pointeeTypeHashCode)
Parameters
Type |
Name |
Description |
System.Int32 |
pointeeTypeHashCode |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ComputePointerTypeHashCode<T>(T)
Declaration
public static int ComputePointerTypeHashCode<T>(T pointeeType)
Parameters
Type |
Name |
Description |
T |
pointeeType |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ComputeSignatureVariableHashCode(Int32, Boolean)
Produce a hashcode for a generic signature variable
Declaration
public static int ComputeSignatureVariableHashCode(int index, bool method)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
zero based index
|
System.Boolean |
method |
true if the signature variable describes a method
|
Returns
Type |
Description |
System.Int32 |
|