Use fields in a `readonly` `struct`
This commit is contained in:
parent
a11d4b32ad
commit
f2f23589a6
|
|
@ -266,7 +266,12 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters
|
||||||
{
|
{
|
||||||
private readonly object _dummy;
|
private readonly object _dummy;
|
||||||
private readonly int _dummyPrimitive;
|
private readonly int _dummyPrimitive;
|
||||||
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; }
|
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key)
|
||||||
|
{
|
||||||
|
_dummy = null;
|
||||||
|
_dummyPrimitive = 0;
|
||||||
|
throw null;
|
||||||
|
}
|
||||||
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; } }
|
||||||
public object GetValue(object instance) { throw null; }
|
public object GetValue(object instance) { throw null; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue