From 138e801e342af561c8f12c8bfd2591d47129db82 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Fri, 13 Dec 2019 13:35:43 -0800 Subject: [PATCH] Remove _dummy/_dummyPrimitive from LifeCycleProperty --- .../ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs index 12f742474e..2c0b96c9e1 100644 --- a/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs +++ b/src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs @@ -264,14 +264,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters } internal readonly partial struct LifecycleProperty { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) - { - _dummy = _dummy ?? null; - _dummyPrimitive = _dummyPrimitive + 1; - throw null; - } + public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; } public string Key { get { throw null; } } public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } } public object GetValue(object instance) { throw null; }