FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnityCsReference/Modules/SharedInternals/UnityString.cs at master · ProGamerCode/UnityCsReference · GitHub
ProGamerCode
/
UnityCsReference
Public
forked from
Unity-Technologies/UnityCsReference
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnityCsReference
/
Modules
/
SharedInternals
/
UnityString.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (22 loc) · 861 Bytes
Breadcrumbs
UnityCsReference
/
Modules
/
SharedInternals
/
UnityString.cs
Copy path
File metadata and controls
24 lines (22 loc) · 861 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using
System
;
using
System
.
Runtime
.
InteropServices
;
using
UnityEngine
.
Scripting
;
using
UnityEngine
.
Bindings
;
namespace
UnityEngine
{
// This function exists because UnityEngine.dll is compiled against .NET 3.5, but .NET Core removes all the overloads
// except this one. So to prevent our code compiling against the (string, object, object) version and use the params
// version instead, we reroute through this.
// TODO: remove this when the dependency goes away.
[
VisibleToOtherModules
]
internal
sealed
partial
class
UnityString
{
public
static
string
Format
(
string
fmt
,
params
object
[
]
args
)
{
return
String
.
Format
(
fmt
,
args
)
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL