Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit049a61f

Browse files
committed
Clean-up deprWarning
1 parentb4710fc commit049a61f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/runtime/assemblymanager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ public static bool LoadImplicit(string name, bool warn = true)
322322
// Deprecation warning
323323
if(warn&&loaded)
324324
{
325-
stringdeprWarning=string.Format(
326-
"\nThe module was found, but not in a referenced namespace.\n"+
327-
"Implicit loading is deprecated. Please use clr.AddReference(\"{0}\").",
328-
Path.GetFileNameWithoutExtension(lastAssembly.Location));
325+
stringlocation=Path.GetFileNameWithoutExtension(lastAssembly.Location);
326+
stringdeprWarning=$@"
327+
The module was found, but not in a referenced namespace.
328+
Implicit loading is deprecated. Please use clr.AddReference(""{location}"").";
329329
Exceptions.deprecation(deprWarning);
330330
}
331331

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp