diff --git a/src/Mono.Android/Android.Runtime/JNIEnv.cs b/src/Mono.Android/Android.Runtime/JNIEnv.cs
index e1fc5908e9d..5dc17a24f49 100644
--- a/src/Mono.Android/Android.Runtime/JNIEnv.cs
+++ b/src/Mono.Android/Android.Runtime/JNIEnv.cs
@@ -690,7 +690,7 @@ public static string GetClassNameFromInstance (IntPtr jobject)
 #if NETCOREAPP
 		[MethodImplAttribute(MethodImplOptions.InternalCall)]
 		static extern unsafe void monodroid_debugger_unhandled_exception (Exception e);
-#endif
+#endif  // NETCOREAPP
 
 		internal static void LogTypemapTrace (StackTrace st)
 		{