Skip to content

ToFrozenDictionary function throws ArgumentOutOfRangeException exception in .Net 8 Pewview 7 #90567

@CuteLeon

Description

@CuteLeon

Describe the bug

ToFrozenDictionary function throws ArgumentOutOfRangeException exception in .Net 8 Pewview 7

image

To Reproduce

var test = Enumerable.Empty<string>().ToFrozenDictionary(s => s);

Exceptions (if any)

System.ArgumentOutOfRangeException: 'minimumLength ('-2147483638') must be a non-negative value. (Parameter 'minimumLength')
Actual value was -2147483638.'

Further technical details

.NET SDK:
Version: 8.0.100-preview.7.23376.3
Commit: daebeea8ea

Metadata

Metadata

Assignees

Labels

area-System.Collectionsbugin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions