File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/MessagePack.UnityClient/Assets/Scripts/MessagePack Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ public IEqualityComparer GetEqualityComparer()
146
146
protected virtual IEqualityComparer < T > GetHashCollisionResistantEqualityComparer < T > ( )
147
147
{
148
148
IEqualityComparer < T > result = null ;
149
- if ( typeof ( T ) . IsEnum )
149
+ if ( typeof ( T ) . GetTypeInfo ( ) . IsEnum )
150
150
{
151
- Type underlyingType = typeof ( T ) . GetEnumUnderlyingType ( ) ;
151
+ Type underlyingType = typeof ( T ) . GetTypeInfo ( ) . GetEnumUnderlyingType ( ) ;
152
152
result =
153
153
underlyingType == typeof ( sbyte ) ? CollisionResistantHasher < T > . Instance :
154
154
underlyingType == typeof ( byte ) ? CollisionResistantHasher < T > . Instance :
Original file line number Diff line number Diff line change 3
3
"version" : " 2.1" ,
4
4
"publicReleaseRefSpec" : [
5
5
" ^refs/heads/master$" ,
6
+ " ^refs/heads/v1\\ .x$" ,
6
7
" ^refs/heads/v\\ d+(?:.\\ d+)?$"
7
8
]
8
9
}
You can’t perform that action at this time.
0 commit comments