Bug 1997 - NdefRecord.Rtd* should be byte[]
Summary: NdefRecord.Rtd* should be byte[]
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 1.9.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-11-10 14:29 UTC by Roman Kalantari
Modified: 2011-11-12 00:04 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Roman Kalantari 2011-11-10 14:29:18 UTC
Such as NdefRecord.RtdUri, etc. Currently they are IList<byte> but the places that take them as args are byte[] such as the constructor of NdefRecord
Comment 1 Atsushi Eno 2011-11-12 00:04:09 UTC

This is by design. Since returning bare array in public API is not a recommended practice, we return IList types instead of the corresponding raw array objects. That's why you are seeing IList<byte>.