From 654ed880e273af6f8be96f2dc6bfc11c25793037 Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Thu, 5 Mar 2020 14:48:38 -0600 Subject: [PATCH] [Mono.Android] Allow interfaces to contain nested types starting with API-30. --- src/Mono.Android/Mono.Android.targets | 2 +- src/Mono.Android/metadata | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/src/Mono.Android/Mono.Android.targets b/src/Mono.Android/Mono.Android.targets index 373e64eac0f..c71d8083a93 100644 --- a/src/Mono.Android/Mono.Android.targets +++ b/src/Mono.Android/Mono.Android.targets @@ -98,7 +98,7 @@ <_Api>$(IntermediateOutputPath)mcw\api.xml <_Dirs>--enumdir=$(IntermediateOutputPath)mcw <_FullIntermediateOutputPath>$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)')) - <_LangFeatures Condition="$(AndroidApiLevel) >= 30">--lang-features=default-interface-methods + <_LangFeatures Condition="$(AndroidApiLevel) >= 30">--lang-features=default-interface-methods,nested-interface-types + + + + true + true + + + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true + true