Add StructLayout to LifeCycleProperty

This commit is contained in:
wtgodbe 2019-12-13 14:46:00 -08:00
parent fcb22728ee
commit e142091d27
1 changed files with 3 additions and 0 deletions

View File

@ -262,8 +262,11 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters
public void OnTempDataSaving(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { }
protected void SetPropertyValues(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct LifecycleProperty
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; }
public string Key { get { throw null; } }
public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }