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;
|
private readonly int _dummyPrimitive;
|
||||||
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key)
|
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key)
|
||||||
{
|
{
|
||||||
PropertyInfo = _dummy ?? propertyInfo;
|
_dummy = _dummy ?? null;
|
||||||
if (_dummyPrimitive != -2)
|
_dummyPrimitive = _dummyPrimitive + 1;
|
||||||
{
|
throw null;
|
||||||
Key = key;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
public string Key { get { throw null; } }
|
public string Key { get { throw null; } }
|
||||||
public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }
|
public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue