Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
version 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykang920 committed Dec 5, 2015
1 parent 1dd47c0 commit 69b1321
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 20 deletions.
4 changes: 2 additions & 2 deletions GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
[assembly: AssemblyConfiguration("Release")]
#endif

[assembly: AssemblyVersion("0.7.2.0")]
[assembly: AssemblyFileVersion("0.7.2.0")]
[assembly: AssemblyVersion("0.7.3.0")]
[assembly: AssemblyFileVersion("0.7.3.0")]
42 changes: 26 additions & 16 deletions test/Sample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(foo_);
}
if (touched[1])
{
hash.Update(tag.Offset + 1);
hash.Update(bar_);
}
return hash.Code;
Expand All @@ -124,9 +126,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -277,6 +279,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(baz_);
}
return hash.Code;
Expand All @@ -287,9 +290,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -417,6 +420,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(qux_);
}
return hash.Code;
Expand All @@ -427,9 +431,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -557,6 +561,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(quux_);
}
return hash.Code;
Expand All @@ -567,9 +572,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -720,10 +725,12 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(foo_);
}
if (touched[1])
{
hash.Update(tag.Offset + 1);
hash.Update(bar_);
}
return hash.Code;
Expand All @@ -739,9 +746,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -900,6 +907,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(baz_);
}
return hash.Code;
Expand All @@ -915,9 +923,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -1053,6 +1061,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(qux_);
}
return hash.Code;
Expand All @@ -1068,9 +1077,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down Expand Up @@ -1206,6 +1215,7 @@ public override int GetHashCode(Fingerprint fingerprint)
var touched = new Capo<bool>(fingerprint, tag.Offset);
if (touched[0])
{
hash.Update(tag.Offset + 0);
hash.Update(quux_);
}
return hash.Code;
Expand All @@ -1221,9 +1231,9 @@ public override Cell.Tag GetTypeTag()
return tag;
}

public override bool IsEquivalent(Cell other)
public override bool IsEquivalent(Cell other, Fingerprint fingerprint)
{
if (!base.IsEquivalent(other))
if (!base.IsEquivalent(other, fingerprint))
{
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion x2clr.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>x2clr</id>
<version>0.7.2</version>
<version>0.7.3</version>
<authors>Jae-jun Kang</authors>
<owners>Jae-jun Kang</owners>
<licenseUrl>https://github.com/jaykang920/x2clr/blob/master/LICENSE</licenseUrl>
Expand Down
2 changes: 1 addition & 1 deletion x2clr.xpiler.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>x2clr.xpiler</id>
<version>0.7.0</version>
<version>0.7.3</version>
<authors>Jae-jun Kang</authors>
<owners>Jae-jun Kang</owners>
<licenseUrl>https://github.com/jaykang920/x2clr/blob/master/LICENSE</licenseUrl>
Expand Down

0 comments on commit 69b1321

Please sign in to comment.