Bug 57094 - Improve BI1014 - include name of unsupported field and valid types
Summary: Improve BI1014 - include name of unsupported field and valid types
Status: CONFIRMED
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools (show other bugs)
Version: master
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Alex Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-06-02 10:24 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2017-06-03 14:59 UTC (History)
2 users (show)

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


Attachments

Description Rolf Bjarne Kvinge [MSFT] 2017-06-02 10:24:25 UTC
Test code:

[Static]
partial interface Constants
{
	[Field ("SomeField", "__Internal")]
	byte[] SomeField { get; }
}

shows:

> error BI1014: bgen: Unsupported type for Fields: byte[]

which is correct, but we could improve to include the name of the field ('SomeField') and list the valid types:

> error BI1014: been: The field 'Constants.SomeField' has an unsupported type ('byte[]'). Valid types are: ...

Note You need to log in before you can comment on or make changes to this bug.