@@ -40,7 +40,7 @@ protected ExpressionVisitor()
4040 /// Visits an Expression.
4141 /// </summary>
4242 /// <param name="node">The Expression.</param>
43- /// <returns>The Expression (posibly modified) .</returns>
43+ /// <returns>The result of visiting the Expression .</returns>
4444 protected virtual T Visit ( Expression node )
4545 {
4646 if ( node == null )
@@ -116,7 +116,7 @@ protected virtual T Visit(Expression node)
116116 /// Visits an Expression list.
117117 /// </summary>
118118 /// <param name="nodes">The Expression list.</param>
119- /// <returns>The Expression list (possibly modified) .</returns>
119+ /// <returns>The result of visiting the Expressions .</returns>
120120 protected T Visit ( ReadOnlyCollection < Expression > nodes )
121121 {
122122 for ( int i = 0 , n = nodes . Count ; i < n ; i ++ )
@@ -130,7 +130,7 @@ protected T Visit(ReadOnlyCollection<Expression> nodes)
130130 /// Visits a BinaryExpression.
131131 /// </summary>
132132 /// <param name="node">The BinaryExpression.</param>
133- /// <returns>The BinaryExpression (possibly modified) .</returns>
133+ /// <returns>The result of visiting the Expression .</returns>
134134 protected virtual T VisitBinary ( BinaryExpression node )
135135 {
136136 this . Visit ( node . Left ) ;
@@ -143,7 +143,7 @@ protected virtual T VisitBinary(BinaryExpression node)
143143 /// Visits a ConditionalExpression.
144144 /// </summary>
145145 /// <param name="node">The ConditionalExpression.</param>
146- /// <returns>The ConditionalExpression (possibly modified) .</returns>
146+ /// <returns>The result of visiting the Expression .</returns>
147147 protected virtual T VisitConditional ( ConditionalExpression node )
148148 {
149149 this . Visit ( node . Test ) ;
@@ -156,7 +156,7 @@ protected virtual T VisitConditional(ConditionalExpression node)
156156 /// Visits a ConstantExpression.
157157 /// </summary>
158158 /// <param name="node">The ConstantExpression.</param>
159- /// <returns>The ConstantExpression (possibly modified) .</returns>
159+ /// <returns>The result of visiting the Expression .</returns>
160160 protected virtual T VisitConstant ( ConstantExpression node )
161161 {
162162 return default ( T ) ;
@@ -166,7 +166,7 @@ protected virtual T VisitConstant(ConstantExpression node)
166166 /// Visits an ElementInit.
167167 /// </summary>
168168 /// <param name="node">The ElementInit.</param>
169- /// <returns>The ElementInit (possibly modified) .</returns>
169+ /// <returns>The result of visiting the Expression .</returns>
170170 protected virtual T VisitElementInit ( ElementInit node )
171171 {
172172 this . Visit ( node . Arguments ) ;
@@ -180,7 +180,7 @@ protected virtual T VisitElementInit(ElementInit node)
180180 /// Visits an ElementInit list.
181181 /// </summary>
182182 /// <param name="nodes">The ElementInit list.</param>
183- /// <returns>The ElementInit list (possibly modified) .</returns>
183+ /// <returns>The result of visiting the Expressions .</returns>
184184 protected T VisitElementInitList (
185185 ReadOnlyCollection < ElementInit > nodes )
186186 {
@@ -195,7 +195,7 @@ protected T VisitElementInitList(
195195 /// Visits an InvocationExpression.
196196 /// </summary>
197197 /// <param name="node">The InvocationExpression.</param>
198- /// <returns>The InvocationExpression (possibly modified) .</returns>
198+ /// <returns>The result of visiting the Expression .</returns>
199199 protected virtual T VisitInvocation ( InvocationExpression node )
200200 {
201201 this . Visit ( node . Arguments ) ;
@@ -210,7 +210,7 @@ protected virtual T VisitInvocation(InvocationExpression node)
210210 /// Visits a LambdaExpression.
211211 /// </summary>
212212 /// <param name="node">The LambdaExpression.</param>
213- /// <returns>The LambdaExpression (possibly modified) .</returns>
213+ /// <returns>The result of visiting the Expression .</returns>
214214 protected virtual T VisitLambda ( LambdaExpression node )
215215 {
216216 this . Visit ( node . Body ) ;
@@ -221,7 +221,7 @@ protected virtual T VisitLambda(LambdaExpression node)
221221 /// Visits a ListInitExpression.
222222 /// </summary>
223223 /// <param name="node">The ListInitExpression.</param>
224- /// <returns>The ListInitExpression (possibly modified) .</returns>
224+ /// <returns>The result of visiting the Expression .</returns>
225225 protected virtual T VisitListInit ( ListInitExpression node )
226226 {
227227 this . VisitNew ( node . NewExpression ) ;
@@ -233,7 +233,7 @@ protected virtual T VisitListInit(ListInitExpression node)
233233 /// Visits a MemberExpression.
234234 /// </summary>
235235 /// <param name="node">The MemberExpression.</param>
236- /// <returns>The MemberExpression (possibly modified) .</returns>
236+ /// <returns>The result of visiting the Expression .</returns>
237237 protected virtual T VisitMember ( MemberExpression node )
238238 {
239239 this . Visit ( node . Expression ) ;
@@ -244,7 +244,7 @@ protected virtual T VisitMember(MemberExpression node)
244244 /// Visits a MemberAssignment.
245245 /// </summary>
246246 /// <param name="node">The MemberAssignment.</param>
247- /// <returns>The MemberAssignment (possibly modified) .</returns>
247+ /// <returns>The result of visiting the Expression .</returns>
248248 protected virtual T VisitMemberAssignment ( MemberAssignment node )
249249 {
250250 this . Visit ( node . Expression ) ;
@@ -255,7 +255,7 @@ protected virtual T VisitMemberAssignment(MemberAssignment node)
255255 /// Visits a MemberBinding.
256256 /// </summary>
257257 /// <param name="node">The MemberBinding.</param>
258- /// <returns>The MemberBinding (possibly modified) .</returns>
258+ /// <returns>The result of visiting the Expression .</returns>
259259 protected virtual T VisitMemberBinding ( MemberBinding node )
260260 {
261261 switch ( node . BindingType )
@@ -278,7 +278,7 @@ protected virtual T VisitMemberBinding(MemberBinding node)
278278 /// Visits a MemberBinding list.
279279 /// </summary>
280280 /// <param name="nodes">The MemberBinding list.</param>
281- /// <returns>The MemberBinding list (possibly modified) .</returns>
281+ /// <returns>The result of visiting the Expression .</returns>
282282 protected virtual T VisitMemberBindingList ( ReadOnlyCollection < MemberBinding > nodes )
283283 {
284284 for ( int i = 0 , n = nodes . Count ; i < n ; i ++ )
@@ -292,7 +292,7 @@ protected virtual T VisitMemberBindingList(ReadOnlyCollection<MemberBinding> nod
292292 /// Visits a MemberInitExpression.
293293 /// </summary>
294294 /// <param name="node">The MemberInitExpression.</param>
295- /// <returns>The MemberInitExpression (possibly modified) .</returns>
295+ /// <returns>The result of visiting the Expression .</returns>
296296 protected virtual T VisitMemberInit ( MemberInitExpression node )
297297 {
298298 this . VisitNew ( node . NewExpression ) ;
@@ -304,7 +304,7 @@ protected virtual T VisitMemberInit(MemberInitExpression node)
304304 /// Visits a MemberListBinding.
305305 /// </summary>
306306 /// <param name="node">The MemberListBinding.</param>
307- /// <returns>The MemberListBinding (possibly modified) .</returns>
307+ /// <returns>The result of visiting the Expression .</returns>
308308 protected virtual T VisitMemberListBinding ( MemberListBinding node )
309309 {
310310 this . VisitElementInitList ( node . Initializers ) ;
@@ -315,7 +315,7 @@ protected virtual T VisitMemberListBinding(MemberListBinding node)
315315 /// Visits a MemberMemberBinding.
316316 /// </summary>
317317 /// <param name="node">The MemberMemberBinding.</param>
318- /// <returns>The MemberMemberBinding (possibly modified) .</returns>
318+ /// <returns>The result of visiting the Expression .</returns>
319319 protected virtual T VisitMemberMemberBinding ( MemberMemberBinding node )
320320 {
321321 this . VisitMemberBindingList ( node . Bindings ) ;
@@ -326,7 +326,7 @@ protected virtual T VisitMemberMemberBinding(MemberMemberBinding node)
326326 /// Visits a MethodCallExpression.
327327 /// </summary>
328328 /// <param name="node">The MethodCallExpression.</param>
329- /// <returns>The MethodCallExpression (possibly modified) .</returns>
329+ /// <returns>The result of visiting the Expression .</returns>
330330 protected virtual T VisitMethodCall ( MethodCallExpression node )
331331 {
332332 this . Visit ( node . Object ) ;
@@ -338,7 +338,7 @@ protected virtual T VisitMethodCall(MethodCallExpression node)
338338 /// Visits a NewExpression.
339339 /// </summary>
340340 /// <param name="node">The NewExpression.</param>
341- /// <returns>The NewExpression (possibly modified) .</returns>
341+ /// <returns>The result of visiting the Expression .</returns>
342342 protected virtual T VisitNew ( NewExpression node )
343343 {
344344 this . Visit ( node . Arguments ) ;
@@ -349,7 +349,7 @@ protected virtual T VisitNew(NewExpression node)
349349 /// Visits a NewArrayExpression.
350350 /// </summary>
351351 /// <param name="node">The NewArrayExpression.</param>
352- /// <returns>The NewArrayExpression (possibly modified) .</returns>
352+ /// <returns>The result of visiting the Expression .</returns>
353353 protected virtual T VisitNewArray ( NewArrayExpression node )
354354 {
355355 this . Visit ( node . Expressions ) ;
@@ -360,7 +360,7 @@ protected virtual T VisitNewArray(NewArrayExpression node)
360360 /// Visits a ParameterExpression.
361361 /// </summary>
362362 /// <param name="node">The ParameterExpression.</param>
363- /// <returns>The ParameterExpression (possibly modified) .</returns>
363+ /// <returns>The result of visiting the Expression .</returns>
364364 protected virtual T VisitParameter ( ParameterExpression node )
365365 {
366366 return default ( T ) ;
@@ -370,7 +370,7 @@ protected virtual T VisitParameter(ParameterExpression node)
370370 /// Visits a TypeBinaryExpression.
371371 /// </summary>
372372 /// <param name="node">The TypeBinaryExpression.</param>
373- /// <returns>The TypeBinaryExpression (possibly modified) .</returns>
373+ /// <returns>The result of visiting the Expression .</returns>
374374 protected virtual T VisitTypeBinary ( TypeBinaryExpression node )
375375 {
376376 this . Visit ( node . Expression ) ;
@@ -381,7 +381,7 @@ protected virtual T VisitTypeBinary(TypeBinaryExpression node)
381381 /// Visits a UnaryExpression.
382382 /// </summary>
383383 /// <param name="node">The UnaryExpression.</param>
384- /// <returns>The UnaryExpression (possibly modified) .</returns>
384+ /// <returns>The result of visiting the Expression .</returns>
385385 protected virtual T VisitUnary ( UnaryExpression node )
386386 {
387387 this . Visit ( node . Operand ) ;
0 commit comments