File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Ramstack.ExpressionParser/Internal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,12 @@ public static bool CanConvertPrimitive(Type source, Type target)
117117 if ( source . IsEnum )
118118 return false ;
119119
120- if ( ( source == typeof ( IntPtr ) && target == typeof ( IntPtr ) ) ||
121- ( source == typeof ( UIntPtr ) && target == typeof ( UIntPtr ) ) )
120+ if ( ( source == typeof ( IntPtr ) && target == typeof ( IntPtr ) )
121+ || ( source == typeof ( UIntPtr ) && target == typeof ( UIntPtr ) ) )
122122 return true ;
123123
124- var s = PrimitiveConversions [ ( int ) ( Type . GetTypeCode ( source ) ) ] ;
125- var t = ( Primitives ) ( 1 << ( int ) ( Type . GetTypeCode ( target ) ) ) ;
124+ var s = PrimitiveConversions [ ( int ) Type . GetTypeCode ( source ) ] ;
125+ var t = ( Primitives ) ( 1 << ( int ) Type . GetTypeCode ( target ) ) ;
126126
127127 return ( s & t ) != 0 ;
128128 }
You can’t perform that action at this time.
0 commit comments