Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder Struct Reference

Public Member Functions

ExceptionRegionEncoder AddFinally (int tryOffset, int tryLength, int handlerOffset, int handlerLength)
 
ExceptionRegionEncoder AddFault (int tryOffset, int tryLength, int handlerOffset, int handlerLength)
 
ExceptionRegionEncoder AddCatch (int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType)
 
ExceptionRegionEncoder AddFilter (int tryOffset, int tryLength, int handlerOffset, int handlerLength, int filterOffset)
 
ExceptionRegionEncoder Add (ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, EntityHandle catchType=default(EntityHandle), int filterOffset=0)
 

Static Public Member Functions

static bool IsSmallRegionCount (int exceptionRegionCount)
 
static bool IsSmallExceptionRegion (int startOffset, int length)
 

Package Functions

 ExceptionRegionEncoder (BlobBuilder builder, bool hasSmallFormat)
 
void AddUnchecked (ExceptionRegionKind kind, int tryOffset, int tryLength, int handlerOffset, int handlerLength, int catchTokenOrOffset)
 

Static Package Functions

static bool IsSmallExceptionRegionFromBounds (int startOffset, int endOffset)
 
static int GetExceptionTableSize (int exceptionRegionCount, bool isSmallFormat)
 
static bool IsExceptionRegionCountInBounds (int exceptionRegionCount)
 
static bool IsValidCatchTypeHandle (EntityHandle catchType)
 
static ExceptionRegionEncoder SerializeTableHeader (BlobBuilder builder, int exceptionRegionCount, bool hasSmallRegions)
 

Static Package Attributes

const int MaxSmallExceptionRegions = 20
 
const int MaxExceptionRegions = 699050
 

Properties

BlobBuilder Builder [get]
 
bool HasSmallFormat [get]
 

Detailed Description

Definition at line 3 of file ExceptionRegionEncoder.cs.


The documentation for this struct was generated from the following file: