| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -322,10 +322,10 @@ public static bool LoadImplicit(string name, bool warn = true) | |||
| 322 | 322 | // Deprecation warning | |
| 323 | 323 | if (warn && loaded) | |
| 324 | 324 | { | |
| 325 | - string deprWarning = 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 | + string location = Path.GetFileNameWithoutExtension(lastAssembly.Location); | ||
| 326 | + string deprWarning = $@" | ||
| 327 | + The module was found, but not in a referenced namespace. | ||
| 328 | + Implicit loading is deprecated. Please use clr.AddReference(""{location}"")."; | ||
| 329 | 329 | Exceptions.deprecation(deprWarning); | |
| 330 | 330 | } | |
| 331 | 331 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments