<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder

namespace System.Reflection.Metadata.Ecma335 { internal struct ExceptionRegionEncoder { public BlobBuilder Builder { get; } public void StartRegions(); public static bool IsSmallRegionCount(int exceptionRegionCount); public static bool IsSmallExceptionRegion(int startOffset, int length); public void AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength); public void AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength); public void AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType); public void AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset); public void AddRegion(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType, int filterOffset); public void EndRegions(); } }