Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HexConverter.cs
Go to the documentation of this file.
1
using
System.Runtime.CompilerServices
;
2
3
namespace
System
;
4
5
internal
static
class
HexConverter
6
{
7
[
MethodImpl
(
MethodImplOptions
.AggressiveInlining)]
8
public
static
char
ToCharUpper
(
int
value
)
9
{
10
value
&= 0xF;
11
value
+= 48;
12
if
(
value
> 57)
13
{
14
value
+= 7;
15
}
16
return
(
char
)
value
;
17
}
18
}
System.HexConverter.ToCharUpper
static char ToCharUpper(int value)
Definition
HexConverter.cs:8
System.HexConverter
Definition
HexConverter.cs:6
System.Reflection.Metadata.Ecma335.TableIndex.MethodImpl
@ MethodImpl
System.Runtime.CompilerServices.MethodImplOptions
MethodImplOptions
Definition
MethodImplOptions.cs:5
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
source
System.Net.Mail
System
HexConverter.cs
Generated by
1.10.0