public static bool operator ==( GPUDeviceNameRule a, GPUDeviceNameRule b ) { if ( Object.ReferenceEquals( a, b ) ) return true; return ( a.DevicePattern == b.DevicePattern ) && ( a.Include == b.Include ) && ( a.CaseSensitive == b.CaseSensitive ); }