public void Ctor_Value(int value)
        {
            var symbolToken = new SymbolToken(value);

            Assert.Equal(value, symbolToken.GetToken());
            Assert.Equal(value, symbolToken.GetHashCode());
        }
Exemple #2
0
 public override int GetHashCode()
 {
     Debug.Assert(_name != null);
     return(_name.GetHashCode());
 }