Skip to content

Commit

Permalink
Merge branch 'master' into core-jumptable
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Feb 16, 2024
2 parents 37df5ee + 3f002a6 commit 8d42a9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Neo.VM/Neo.VM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<ItemGroup>
<InternalsVisibleTo Include="Neo" />
<InternalsVisibleTo Include="Neo.SmartContract.Testing" />
</ItemGroup>

</Project>
5 changes: 5 additions & 0 deletions src/Neo.VM/Types/InteropInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public override T GetInterface<T>()
throw new InvalidCastException($"The item can't be casted to type {typeof(T)}");
}

internal object GetInterface()
{
return _object;
}

public override string ToString()
{
return _object.ToString() ?? "NULL";
Expand Down

0 comments on commit 8d42a9d

Please sign in to comment.