-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Description
It's been known that C# 8.0 will support default interface methods (DIM) and we will have to wait for 8.0. Turned out that there is already a preview version built within mono sdks, named as csc-dim.
We should make use of it and implement preview support for DIMs that will make Java bindings easier.
So far I observed they exist in xamarin-android built tree as:
/sources/xamarin-android$ find . -name csc-dim*
./external/mono/scripts/csc-dim.in
./external/mono/sdks/builds/android-armeabi-v7a-debug/scripts/csc-dim
./external/mono/sdks/builds/android-x86-debug/scripts/csc-dim
./external/mono/sdks/builds/android-host-Linux-debug/scripts/csc-dim
/sources/xamarin-android$ cat ./external/mono/sdks/builds/android-host-Linux-debug/scripts/csc-dim
#!/bin/sh
exec /sources/xamarin-android/external/mono/sdks/out/android-host-Linux-debug/bin/mono --gc-params=nursery-size=64m $MONO_OPTIONS /sources/xamarin-android/external/mono/sdks/out/android-host-Linux-debug/lib/mono/4.5/dim/csc.exe "$@"
Metadata
Metadata
Assignees
Labels
No labels