Try ugly fix for LifecycleProperty
This commit is contained in:
parent
f2f23589a6
commit
7052bc48d4
|
|
@ -268,9 +268,11 @@ 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)
|
||||||
{
|
{
|
||||||
_dummy = null;
|
PropertyInfo = _dummy ?? propertyInfo;
|
||||||
_dummyPrimitive = 0;
|
if (_dummyPrimitive != -2)
|
||||||
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