Skip to content

Commit 8d42a9d

Browse files
authored
Merge branch 'master' into core-jumptable
2 parents 37df5ee + 3f002a6 commit 8d42a9d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/Neo.VM/Neo.VM.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<ItemGroup>
1010
<InternalsVisibleTo Include="Neo" />
11+
<InternalsVisibleTo Include="Neo.SmartContract.Testing" />
1112
</ItemGroup>
1213

1314
</Project>

src/Neo.VM/Types/InteropInterface.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public override T GetInterface<T>()
5656
throw new InvalidCastException($"The item can't be casted to type {typeof(T)}");
5757
}
5858

59+
internal object GetInterface()
60+
{
61+
return _object;
62+
}
63+
5964
public override string ToString()
6065
{
6166
return _object.ToString() ?? "NULL";

0 commit comments

Comments
 (0)