Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.5f1

Issue ID

988353

Regression

No

[UWP] [.Net] System.Collections.Generic.IReadOnlyList causes build error in the editor

How to reproduce:
1. Download attached project file and open Test Scene
2. Check the error in the Console Window (make sure UWP platform is selected)

Actual result: System.Collections.Generic.IReadOnlyList causes build error in the editor. Using "IReadOnlyList<int>" causes error CS0246 in editor, but there is no error in Visual Studio
Expected result: API Compatibility Level .NET 4.6 should allow me to use this type

Environment:
Platform: Windows Store Apps (Windows 10, D3D)
Backend: IL2CPP
API Compatibility: .NET 4.6

Reproduced with: 5.6.5f1, 2017.1.3f1, 2017.2.1p2, 2017.3.0p3, 2018.1.0b4

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.