terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ServiceNameCollection.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Security.Authentication.ExtendedProtection
6
{
7
// Token: 0x020000E6 RID: 230
8
[
Serializable
]
9
public
class
ServiceNameCollection
:
ReadOnlyCollectionBase
10
{
11
// Token: 0x0600053E RID: 1342 RVA: 0x00014F74 File Offset: 0x00013174
12
public
ServiceNameCollection
(
ICollection
items)
13
{
14
if
(items !=
null
)
15
{
16
return
;
17
}
18
throw
new
OutOfMemoryException
();
19
}
20
21
// Token: 0x0600053F RID: 1343 RVA: 0x00014FC0 File Offset: 0x000131C0
22
private
static
void
AddIfNew
(
ArrayList
newServiceNames
,
string
serviceName
)
23
{
24
bool
flag =
string
.IsNullOrEmpty(
serviceName
);
25
bool
flag2
=
ServiceNameCollection
.
Contains
(
ServiceNameCollection
.
NormalizeServiceName
(
serviceName
),
newServiceNames
);
26
}
27
28
// Token: 0x06000540 RID: 1344 RVA: 0x00014FF0 File Offset: 0x000131F0
29
internal
static
bool
Contains
(
string
searchServiceName
,
ICollection
serviceNames)
30
{
31
if
(
searchServiceName
!=
null
)
32
{
33
}
34
int
num;
35
while
(num != 0)
36
{
37
}
38
long
num2
= 0
L
;
39
if
(
searchServiceName
!=
null
)
40
{
41
}
42
if
(
num2
== 0
L
)
43
{
44
throw
new
InvalidCastException
();
45
}
46
throw
new
OutOfMemoryException
();
47
}
48
49
// Token: 0x06000541 RID: 1345 RVA: 0x00015028 File Offset: 0x00013228
50
internal
static
string
NormalizeServiceName
(
string
inputServiceName
)
51
{
52
bool
flag =
string
.IsNullOrWhiteSpace(
"{0}{1}{2}{3}"
);
53
long
num = 0
L
;
54
string
text2;
55
string
text
= text2.Substring((
int
)num);
56
bool
flag2
=
string
.IsNullOrWhiteSpace(
text
);
57
if
(global::System.
Uri
.
CheckHostName
(
text
) != global::System.UriHostNameType.Unknown)
58
{
59
}
60
int
num2
= 47;
61
int
num3
=
text
.IndexOf((
char
)
num2
);
62
long
num4
= 0
L
;
63
string
text3
=
text
.Substring((
int
)
num4
,
num3
);
64
return
text
.Substring(
num3
);
65
}
66
67
// Token: 0x06000542 RID: 1346 RVA: 0x00002050 File Offset: 0x00000250
68
internal
static
bool
Match
(
string
serviceName1
,
string
serviceName2
)
69
{
70
throw
new
global::Cpp2IlInjected.AnalysisFailedException(
"CPP2IL failed to recover any usable IL for this method."
);
71
}
72
}
73
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Collections.ArrayList
Definition
ArrayList.cs:12
System.Collections.ReadOnlyCollectionBase
Definition
ReadOnlyCollectionBase.cs:8
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.OutOfMemoryException
Definition
OutOfMemoryException.cs:9
System.Security.Authentication.ExtendedProtection.ServiceNameCollection.Contains
static bool Contains(string searchServiceName, ICollection serviceNames)
Definition
ServiceNameCollection.cs:29
System.Security.Authentication.ExtendedProtection.ServiceNameCollection.NormalizeServiceName
static string NormalizeServiceName(string inputServiceName)
Definition
ServiceNameCollection.cs:50
System.Security.Authentication.ExtendedProtection.ServiceNameCollection.AddIfNew
static void AddIfNew(ArrayList newServiceNames, string serviceName)
Definition
ServiceNameCollection.cs:22
System.Security.Authentication.ExtendedProtection.ServiceNameCollection.ServiceNameCollection
ServiceNameCollection(ICollection items)
Definition
ServiceNameCollection.cs:12
System.Security.Authentication.ExtendedProtection.ServiceNameCollection.Match
static bool Match(string serviceName1, string serviceName2)
Definition
ServiceNameCollection.cs:68
System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Definition
ServiceNameCollection.cs:10
System.Uri.CheckHostName
static global::System.UriHostNameType CheckHostName(string name)
Definition
Uri.cs:1266
System.Uri
Definition
Uri.cs:15
System.Collections.ICollection
Definition
ICollection.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections
Definition
ArrayList.cs:6
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Security.Authentication.ExtendedProtection
Definition
ChannelBinding.cs:5
System.ExceptionArgument.text
@ text
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
System
Security
Authentication
ExtendedProtection
ServiceNameCollection.cs
Generated by
1.10.0