<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.5.26302.115" />

System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder

public struct ExceptionRegionEncoder
namespace System.Reflection.Metadata.Ecma335 { public readonly struct ExceptionRegionEncoder { public BlobBuilder Builder { get; } public bool HasSmallFormat { get; } public static bool IsSmallRegionCount(int exceptionRegionCount); public static bool IsSmallExceptionRegion(int startOffset, int length); public ExceptionRegionEncoder AddFinally(int tryOffset, int tryLength, int handlerOffset, int handlerLength); public ExceptionRegionEncoder AddFault(int tryOffset, int tryLength, int handlerOffset, int handlerLength); public ExceptionRegionEncoder AddCatch(int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType); public ExceptionRegionEncoder AddFilter(int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset); public ExceptionRegionEncoder Add(ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType = default(EntityHandle), int filterOffset = 0); } }