public void MarkerInterface(Int32 numberIterations)
 {
     for (int i = 0; i < numberIterations; ++i)
     {
         object  o = new MarkedWithInterface();
         IMarker m = o as IMarker;
         if (m != null)
         {
             m.GetHashCode();
         }
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     return(m_Marker != null ? m_Marker.GetHashCode() : 0);
 }