Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
FrameworkDescription
string
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription
static
get
Definition at line
18
of file
RuntimeInformation.cs
.
19
{
20
get
21
{
22
if
(
s_frameworkDescription
==
null
)
23
{
24
ReadOnlySpan<char> readOnlySpan = typeof(
object
).Assembly.GetCustomAttribute<
AssemblyInformationalVersionAttribute
>()?.InformationalVersion;
25
int
num = readOnlySpan.IndexOf(
'+'
);
26
if
(num != -1)
27
{
28
readOnlySpan = readOnlySpan.Slice(0, num);
29
}
30
s_frameworkDescription
= ((!readOnlySpan.Trim().IsEmpty) ? $
"{"
.NET
"} {readOnlySpan}"
:
".NET"
);
31
}
32
return
s_frameworkDescription
;
33
}
34
}
System.Reflection.AssemblyInformationalVersionAttribute
Definition
AssemblyInformationalVersionAttribute.cs:5
System.Runtime.InteropServices.RuntimeInformation.s_frameworkDescription
static string s_frameworkDescription
Definition
RuntimeInformation.cs:8
System
Runtime
InteropServices
RuntimeInformation
Generated by
1.10.0