Remove _dummy/_dummyPrimitive from LifeCycleProperty

This commit is contained in:
wtgodbe 2019-12-13 13:35:43 -08:00
parent a3358d71cd
commit 138e801e34
1 changed files with 1 additions and 8 deletions

View File

@ -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; }