System.RuntimeTypeHandle.IsNullHandle C# (CSharp) Method

IsNullHandle() private method

private IsNullHandle ( ) : bool
return bool
        internal bool IsNullHandle() 
        { 
            return m_ptr.ToPointer() == null; 
        }

Usage Example

     public void Emit(OpCode opcode, RuntimeTypeHandle typeHandle) {   
         if (typeHandle.IsNullHandle()) 
             throw new ArgumentNullException("typeHandle");
 
         int tempVal = m_scope.GetTokenFor(typeHandle);   
         EnsureCapacity(7);
         InternalEmit(opcode);
         m_length=PutInteger4(tempVal, m_length, m_ILStream);
     }
All Usage Examples Of System.RuntimeTypeHandle::IsNullHandle