Class StableExpressionSlimHashingOptions
Options to influence the behavior of stable hashing of expression trees.
Inheritance
System.Object
StableExpressionSlimHashingOptions
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.Expressions.Bonsai.Hashing.dll
Syntax
public sealed class StableExpressionSlimHashingOptions : Enum
Fields
All
All options are enabled. See IgnoreConstants and UseAssemblySimpleName for more information about these options.
Declaration
public const StableExpressionSlimHashingOptions All
Field Value
Type | Description |
---|---|
StableExpressionSlimHashingOptions |
IgnoreConstants
Constant values are ignored when hashing System.ObjectSlim instances.
Declaration
public const StableExpressionSlimHashingOptions IgnoreConstants
Field Value
Type | Description |
---|---|
StableExpressionSlimHashingOptions |
None
No special options are specified. Use this mode to include the hash code of constant values (which is assumed to be stable in this mode) when hashing System.ObjectSlim instances and to use the full assembly name when hashing AssemblySlim instances.
Declaration
public const StableExpressionSlimHashingOptions None
Field Value
Type | Description |
---|---|
StableExpressionSlimHashingOptions |
UseAssemblySimpleName
Assemblies are hashed using their simple name, i.e. ignoring version numbers, public key tokens, and cultures.
Declaration
public const StableExpressionSlimHashingOptions UseAssemblySimpleName
Field Value
Type | Description |
---|---|
StableExpressionSlimHashingOptions |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |