Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a1

2019.1.0a1

2019.1.0a13

2019.2.0a1

Issue ID

1115110

Regression

No

HashSet<T>(int capacity) constructor is not supported when creating a HashSet variable

Scripting

-

How to reproduce:
1. Open tester-attached project (HashSet)
2. Check the Console window

Expected result: no errors are present in the Console window
Actual result: the constructor, used to create a HashSet is not supported and errors are thrown in the Console window

Reproducible with: 2018.3.2f1. 2019.1.0a14, 2019.2.0a1

  1. Resolution Note:

    This constructor won't be available until we support .Net Framework 4.7.2 and .Net Standard 2.1 api compatibility levels. see -> https://apisof.net/catalog/System.Collections.Generic.HashSet%3CT%3E..ctor(Int32)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.