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 e1c6ce7806..12f742474e 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 @@ -268,11 +268,9 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters private readonly int _dummyPrimitive; public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { - PropertyInfo = _dummy ?? propertyInfo; - if (_dummyPrimitive != -2) - { - Key = key; - } + _dummy = _dummy ?? null; + _dummyPrimitive = _dummyPrimitive + 1; + throw null; } public string Key { get { throw null; } } public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }