Try ugly fix for LifecycleProperty
This commit is contained in:
parent
7052bc48d4
commit
a3358d71cd
|
|
@ -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; } }
|
||||
|
|
|
|||
Loading…
Reference in New Issue