Skip to content

Commit e142091

Browse files
committed
Add StructLayout to LifeCycleProperty
1 parent fcb2272 commit e142091

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,11 @@ public SaveTempDataPropertyFilterBase(Microsoft.AspNetCore.Mvc.ViewFeatures.ITem
262262
public void OnTempDataSaving(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { }
263263
protected void SetPropertyValues(Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData) { }
264264
}
265+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
265266
internal readonly partial struct LifecycleProperty
266267
{
268+
private readonly object _dummy;
269+
private readonly int _dummyPrimitive;
267270
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; }
268271
public string Key { get { throw null; } }
269272
public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }

0 commit comments

Comments
 (0)