title: A value of type 'int' cannot be used as a default parameter because there are no standards conversions to type C#
body: <p>"A value of type 'int' cannot be used as a default parameter because there are no standards conversions to type 'Reality.Game.Rooms.RoomActorType'" is there error I'm getting within my C#.exe.</p>
  
  <p>The line(s) of error:</p>
  
  <pre><code> public RoomActor GetActorByReferenceId(int ReferenceId, RoomActorType ReferenceType =    1)
      {
          lock (this.mActors)
          {
              foreach (RoomActor actor in this.mActors.Values)
              {
                  if ((actor.Type == ReferenceType) &amp;&amp; (actor.ReferenceId == ReferenceId)) /* line of error */
                  {
                      return actor;
                  }
              }
          }
          return null;
     }
  </code></pre>
  
  <p>Here's Reality>Game>Rooms>RoomActorType.cs:</p>
  
  <pre><code>namespace Reality.Game.Rooms
  {
  using System;
  
  public enum RoomActorType
    {
      AiBot = 2,
      UserCharacter = 1,
    }
  }
  </code></pre>
  
  <p>Thanks!</p>