/mcs/class/System.Web.Mvc2/System.Web.Mvc/ExpressionUtil/ParserContext.cs

https://bitbucket.org/danipen/mono · C# · 27 lines · 11 code · 5 blank · 11 comment · 0 complexity · 2cb4703d5db7b3564e597a4eb7cfa050 MD5 · raw file

  1. /* ****************************************************************************
  2. *
  3. * Copyright (c) Microsoft Corporation. All rights reserved.
  4. *
  5. * This software is subject to the Microsoft Public License (Ms-PL).
  6. * A copy of the license can be found in the license.htm file included
  7. * in this distribution.
  8. *
  9. * You must not remove this notice, or any other, from this software.
  10. *
  11. * ***************************************************************************/
  12. namespace System.Web.Mvc.ExpressionUtil {
  13. using System;
  14. using System.Linq.Expressions;
  15. using System.Collections.Generic;
  16. internal class ParserContext {
  17. public static readonly ParameterExpression HoistedValuesParameter = Expression.Parameter(typeof(object[]), "hoistedValues");
  18. public ExpressionFingerprint Fingerprint;
  19. public readonly List<object> HoistedValues = new List<object>();
  20. public ParameterExpression ModelParameter;
  21. }
  22. }