Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExceptionHandlingClause.cs
Go to the documentation of this file.
1
namespace
System.Reflection
;
2
3
public
class
ExceptionHandlingClause
4
{
5
public
virtual
ExceptionHandlingClauseOptions
Flags =>
ExceptionHandlingClauseOptions
.Clause;
6
7
public
virtual
int
TryOffset
=> 0;
8
9
public
virtual
int
TryLength
=> 0;
10
11
public
virtual
int
HandlerOffset
=> 0;
12
13
public
virtual
int
HandlerLength
=> 0;
14
15
public
virtual
int
FilterOffset
16
{
17
get
18
{
19
throw
new
InvalidOperationException
(
SR
.
Arg_EHClauseNotFilter
);
20
}
21
}
22
23
public
virtual
Type
?
CatchType
=>
null
;
24
25
protected
ExceptionHandlingClause
()
26
{
27
}
28
29
public
override
string
ToString
()
30
{
31
return
$
"Flags={Flags}, TryOffset={TryOffset}, TryLength={TryLength}, HandlerOffset={HandlerOffset}, HandlerLength={HandlerLength}, CatchType={CatchType}"
;
32
}
33
}
System.InvalidOperationException
Definition
InvalidOperationException.cs:9
System.Reflection.ExceptionHandlingClause.CatchType
virtual ? Type CatchType
Definition
ExceptionHandlingClause.cs:23
System.Reflection.ExceptionHandlingClause.HandlerLength
virtual int HandlerLength
Definition
ExceptionHandlingClause.cs:13
System.Reflection.ExceptionHandlingClause.HandlerOffset
virtual int HandlerOffset
Definition
ExceptionHandlingClause.cs:11
System.Reflection.ExceptionHandlingClause.TryOffset
virtual int TryOffset
Definition
ExceptionHandlingClause.cs:7
System.Reflection.ExceptionHandlingClause.ExceptionHandlingClause
ExceptionHandlingClause()
Definition
ExceptionHandlingClause.cs:25
System.Reflection.ExceptionHandlingClause.FilterOffset
virtual int FilterOffset
Definition
ExceptionHandlingClause.cs:16
System.Reflection.ExceptionHandlingClause.ToString
override string ToString()
Definition
ExceptionHandlingClause.cs:29
System.Reflection.ExceptionHandlingClause.TryLength
virtual int TryLength
Definition
ExceptionHandlingClause.cs:9
System.Reflection.ExceptionHandlingClause
Definition
ExceptionHandlingClause.cs:4
System.SR.Arg_EHClauseNotFilter
static string Arg_EHClauseNotFilter
Definition
SR.cs:132
System.SR
Definition
SR.cs:7
System.Type
Definition
Type.cs:14
System.Reflection.ExceptionHandlingClauseOptions
ExceptionHandlingClauseOptions
Definition
ExceptionHandlingClauseOptions.cs:5
System.Reflection
Definition
ICustomTypeProvider.cs:1
source
System.Private.CoreLib
System.Reflection
ExceptionHandlingClause.cs
Generated by
1.10.0