C# Class Microsoft.CodeAnalysis.Sarif.MultiplyByPrimesHash

Multiply by primes hash calculator.
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Méthode Description
Add ( int item ) : void

Adds item to the calculated hash.

Add ( object item ) : void

Adds item to the calculated hash.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns the hash code for this instance.

MultiplyByPrimesHash ( ) : System.Collections

Initializes a new instance of the MultiplyByPrimesHash class.

ToString ( ) : string

Returns a human readable string describing this instance.

operator ( ) : bool

Inequality operator.

Private Methods

Méthode Description
AddRange ( IEnumerable items ) : void
AddRange ( IEnumerable items ) : void
AddRange ( int items ) : void

Method Details

Add() public méthode

Adds item to the calculated hash.
public Add ( int item ) : void
item int The item to add to the calculated hash.
Résultat void

Add() public méthode

Adds item to the calculated hash.
public Add ( object item ) : void
item object The item to add to the calculated hash. If this parameter is /// null, the effect will be the same as if its /// function returns 0.
Résultat void

Equals() public méthode

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Résultat bool

GetHashCode() public méthode

Returns the hash code for this instance.
public GetHashCode ( ) : int
Résultat int

MultiplyByPrimesHash() public méthode

Initializes a new instance of the MultiplyByPrimesHash class.
public MultiplyByPrimesHash ( ) : System.Collections
Résultat System.Collections

ToString() public méthode

Returns a human readable string describing this instance.
public ToString ( ) : string
Résultat string

operator() public static méthode

Inequality operator.
public static operator ( ) : bool
Résultat bool