src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Get the pack size for this class (only valid for ExplicitLayout or SequentialLayout
/// </summary>
/// <returns>Class pack size</returns>
Get the pack size for this class (only valid for ExplicitLayout or SequentialLayout
Get the pack size for this class ( only valid for ExplicitLayout or SequentialLayout
public int GetPackSize() {
            if ((layout == null) && (((flags & (uint)TypeAttr.ExplicitLayout) != 0) ||
                ((flags & (uint)TypeAttr.SequentialLayout) != 0)) && (buffer != null)) {
                buffer.SetElementPosition(MDTable.ClassLayout,0);
            }
            if (layout != null) return layout.GetPack();
            return 0;
        }
public int GetPackSize ( ) { if ( ( layout == null ) && ( ( ( flags & ( uint ) TypeAttr . ExplicitLayout ) != 0 ) || ( ( flags & ( uint ) TypeAttr . SequentialLayout ) != 0 ) ) && ( buffer != null ) ) { buffer . SetElementPosition ( MDTable . ClassLayout , 0 ) ; } if ( layout != null ) return layout . GetPack ( ) ; return 0 ; }
Get the pack size for this class (only valid for ExplicitLayout or SequentialLayout
Get the pack size for this class ( only valid for ExplicitLayout or SequentialLayout
//layout = buffer.FindParent(MDTable.ClassLayout,this);
Class pack size
Class pack size