File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515//
1616// You can specify all the values or you can default the Revision and Build Numbers
1717// by using the '*' as shown below:
18- [ assembly: AssemblyVersion ( "3.6.31 " ) ]
19- [ assembly: AssemblyFileVersion ( "3.6.31 " ) ]
18+ [ assembly: AssemblyVersion ( "3.6.32 " ) ]
19+ [ assembly: AssemblyFileVersion ( "3.6.32 " ) ]
2020//[assembly: AssemblyInformationalVersion("2.5-filters")]
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public override void
156156#if NETFRAMEWORK
157157 foreach ( var param in filterContext . ActionDescriptor . GetParameters ( ) )
158158 {
159- if ( param . ParameterType . IsClass && param . ParameterType != typeof ( string ) )
159+ if ( param . ParameterType . IsClass && ! param . ParameterType . IsArray && param . ParameterType != typeof ( string ) )
160160 {
161161 foreach ( var pi in param . ParameterType . GetProperties ( ) . Where ( x => x . CanRead && x . GetIndexParameters ( ) . Length == 0 ) )
162162 AddParameter ( filterContext , data , pi . Name ) ;
@@ -172,7 +172,7 @@ public override void
172172 {
173173 var name = param . Name ;
174174
175- if ( param . ParameterType . IsClass && param . ParameterType != typeof ( string ) )
175+ if ( param . ParameterType . IsClass && ! param . ParameterType . IsArray && param . ParameterType != typeof ( string ) )
176176 {
177177 foreach ( var pi in param . ParameterType . GetProperties ( ) . Where ( x => x . CanRead && x . GetIndexParameters ( ) . Length == 0 ) )
178178 AddParameter ( valueProvider , data , pi . Name ) ;
You can’t perform that action at this time.
0 commit comments