title: Xamarin.Android NetworkStatusChangedReceiver gives unhandled exception whenever i add its receiver in manifest file
body: <p>Without the broadcast receiver, the code works fine but as soon as I convert it to BR and add the code in receiver tag in the manifest, it gives me a unhandled exception in visual studio 2017.
  Nothing is displayed or no line is highlighted in the error.
  <p>AndroidManifest file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.tourist" android:versionCode="1" android:versionName="1.0" android:installLocation="auto"&gt;
      &lt;uses-sdk android:minSdkVersion="16" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /&gt;
      &lt;application android:label="Tourist"&gt;
      &lt;receiver android:name=".NetworkStateChangeReceiver" android:exported="false"&gt;
        &lt;intent-filter&gt;
          &lt;action android:name="android.net.conn.CONNECTIVITY_CHANGE"/&gt;
        &lt;/intent-filter&gt;
      &lt;/receiver&gt;
    &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>NetworkChangeReceiver.cs</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  using Android.App;
  using Android.Content;
  using Android.OS;
  using Android.Runtime;
  using Android.Views;
  using Android.Widget;
  using Android.Net;
  using Android.Util;
  using Java.Lang;
  
  namespace Tourist {
      class NetworkChangeReceiver : BroadcastReceiver {
  
          public override void OnReceive(Context context, Intent intent) {
  
              if (context != null) {
                  ConnectivityManager cm =(ConnectivityManager)context.GetSystemService(Context.ConnectivityService);
                  NetworkInfo activeNetwork = cm.ActiveNetworkInfo;
                  bool d = activeNetwork != null &amp;&amp; activeNetwork.IsConnected;
                  if (d) {
                      Toast.MakeText(context, "Connected", ToastLength.Short).Show();
                  } else {
                      Toast.MakeText(context, "Connected", ToastLength.Short).Show();
                  }
              }
          }
      }
  }
  </code></pre>