We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37df5ee + 3f002a6 commit 8d42a9dCopy full SHA for 8d42a9d
2 files changed
src/Neo.VM/Neo.VM.csproj
@@ -8,6 +8,7 @@
8
9
<ItemGroup>
10
<InternalsVisibleTo Include="Neo" />
11
+ <InternalsVisibleTo Include="Neo.SmartContract.Testing" />
12
</ItemGroup>
13
14
</Project>
src/Neo.VM/Types/InteropInterface.cs
@@ -56,6 +56,11 @@ public override T GetInterface<T>()
56
throw new InvalidCastException($"The item can't be casted to type {typeof(T)}");
57
}
58
59
+ internal object GetInterface()
60
+ {
61
+ return _object;
62
+ }
63
+
64
public override string ToString()
65
{
66
return _object.ToString() ?? "NULL";
0 commit comments