Skip to content

Add Neo.SmartContract.Framework.List<T>#361

Merged
devhawk merged 12 commits intoneo-project:masterfrom
devhawk:devhawk/list
Sep 17, 2020
Merged

Add Neo.SmartContract.Framework.List<T>#361
devhawk merged 12 commits intoneo-project:masterfrom
devhawk:devhawk/list

Conversation

@devhawk
Copy link
Copy Markdown
Contributor

@devhawk devhawk commented Sep 16, 2020

fixes #358

Note, I had to alias System.Collections.Generic to SCG in both NEON and the unit tests in order to avoid type name collisions between System.Collections.Generic.List and Neo.SmartContract.Framework.List

erikzhang
erikzhang previously approved these changes Sep 17, 2020
@devhawk devhawk merged commit 7d0693f into neo-project:master Sep 17, 2020
@devhawk devhawk deleted the devhawk/list branch September 22, 2020 17:33
Jim8y pushed a commit that referenced this pull request Aug 3, 2025
* Add Map.Count
* namespace alias System.Collections.Generic
* Add Smart Contract FX List + tests
* add Map.Clear
* Update FuncExport.cs
* Update RuntimeTest.cs
* Update StorageTest.cs
* Update SyscallTest.cs
* Remove Values and add Clone()
* Add the implicit conversion between List<T> and T[].
* add TestArrayConvert
Co-authored-by: Harry <harrypierson@ngd.neo.org>
Co-authored-by: erikzhang <erik@neo.org>
Jim8y pushed a commit that referenced this pull request Aug 18, 2025
* Add Map.Count

* namespace alias System.Collections.Generic

* Add Smart Contract FX List + tests

* add Map.Clear

* Update FuncExport.cs

* Update RuntimeTest.cs

* Update StorageTest.cs

* Update SyscallTest.cs

* Remove Values and add Clone()

* Add the implicit conversion between List<T> and T[].

* add TestArrayConvert

Co-authored-by: Harry <harrypierson@ngd.neo.org>
Co-authored-by: erikzhang <erik@neo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to create growable list/array in C#

3 participants