File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,6 @@ private Expression GetMemberExpression(MethodCallExpression mc)
7878 if ( propertyInfo != null )
7979 return Expression . MakeMemberAccess ( mc . Object , propertyInfo ) ;
8080
81- //var attributes = mc.Object.Type.GetCustomAttributes(WellKnownTypes.DefaultMemberAttribute, true);
82- //var indexerPropertyName = ((DefaultMemberAttribute)attributes.Single()).MemberName;
8381 var indexerProperty = mc . Object . Type . GetProperty ( Reflection . WellKnown . IndexerPropertyName ) ;
8482 if ( indexerProperty != null )
8583 return Expression . MakeIndex ( mc . Object , indexerProperty , new [ ] { Expression . Constant ( name ) } ) ;
Original file line number Diff line number Diff line change @@ -171,17 +171,17 @@ public RecordSetHeader Join(RecordSetHeader joined)
171171 var groups = new List < ColumnGroup > ( columnGroupCount + joined . ColumnGroups . Count ) ;
172172 groups . AddRange ( ColumnGroups ) ;
173173 foreach ( var g in joined . ColumnGroups ) {
174- var keys1 = new int [ g . Keys . Count ] ;
174+ var keys = new int [ g . Keys . Count ] ;
175175 var ai = 0 ;
176176 foreach ( var i in g . Keys ) {
177- keys1 [ ai ++ ] = columnCount + i ;
177+ keys [ ai ++ ] = columnCount + i ;
178178 }
179- var columns1 = new int [ g . Columns . Count ] ;
179+ var columns = new int [ g . Columns . Count ] ;
180180 ai = 0 ;
181181 foreach ( var i in g . Columns ) {
182- columns1 [ ai ++ ] = columnCount + i ;
182+ columns [ ai ++ ] = columnCount + i ;
183183 }
184- groups . Add ( new ColumnGroup ( g . TypeInfoRef , keys1 , columns1 ) ) ;
184+ groups . Add ( new ColumnGroup ( g . TypeInfoRef , keys , columns ) ) ;
185185 }
186186
187187 return new RecordSetHeader (
You can’t perform that action at this time.
0 commit comments