Bug 59180 - verifier does not handle TYPEDBYREF properties
Summary: verifier does not handle TYPEDBYREF properties
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: Verifier (show other bugs)
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rodrigo Kumpera
URL:
Depends on:
Blocks:
 
Reported: 2017-09-01 15:13 UTC by Marek Safar
Modified: 2017-10-03 19:51 UTC (History)
3 users (show)

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


Attachments

Description Marek Safar 2017-09-01 15:13:15 UTC
struct X<T>
{
	public ref T this[int index] {
		get {
			throw null;
			//return default;
		}
	} 
}

class C
{
	public static void Main ()
	{

	}
}


csc /langversion:7.1 x.cs


peverify x.exe

Error: Invalid Property row 0 Type field 00000029
Error: PropertySig: Could not parse property type
Error: Type: Invalid type kind 10
Comment 1 Rodrigo Kumpera 2017-09-12 17:36:34 UTC
https://github.com/mono/mono/pull/5555

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