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)
78
78
if ( propertyInfo != null )
79
79
return Expression . MakeMemberAccess ( mc . Object , propertyInfo ) ;
80
80
81
- //var attributes = mc.Object.Type.GetCustomAttributes(WellKnownTypes.DefaultMemberAttribute, true);
82
- //var indexerPropertyName = ((DefaultMemberAttribute)attributes.Single()).MemberName;
83
81
var indexerProperty = mc . Object . Type . GetProperty ( Reflection . WellKnown . IndexerPropertyName ) ;
84
82
if ( indexerProperty != null )
85
83
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)
171
171
var groups = new List < ColumnGroup > ( columnGroupCount + joined . ColumnGroups . Count ) ;
172
172
groups . AddRange ( ColumnGroups ) ;
173
173
foreach ( var g in joined . ColumnGroups ) {
174
- var keys1 = new int [ g . Keys . Count ] ;
174
+ var keys = new int [ g . Keys . Count ] ;
175
175
var ai = 0 ;
176
176
foreach ( var i in g . Keys ) {
177
- keys1 [ ai ++ ] = columnCount + i ;
177
+ keys [ ai ++ ] = columnCount + i ;
178
178
}
179
- var columns1 = new int [ g . Columns . Count ] ;
179
+ var columns = new int [ g . Columns . Count ] ;
180
180
ai = 0 ;
181
181
foreach ( var i in g . Columns ) {
182
- columns1 [ ai ++ ] = columnCount + i ;
182
+ columns [ ai ++ ] = columnCount + i ;
183
183
}
184
- groups . Add ( new ColumnGroup ( g . TypeInfoRef , keys1 , columns1 ) ) ;
184
+ groups . Add ( new ColumnGroup ( g . TypeInfoRef , keys , columns ) ) ;
185
185
}
186
186
187
187
return new RecordSetHeader (
You can’t perform that action at this time.
0 commit comments