You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Diagnostics/PH2080.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,15 @@
12
12
13
13
## Introduction
14
14
15
-
Avoid hardcoded absolute paths, as they are bound the change without notice.
15
+
Avoid hardcoded absolute paths, as they are bound the change without notice. For performance reasons, only the first 259 charcters of a string literal are inspected.
16
16
17
17
## How to solve
18
18
19
-
Use configuration instead, for example using `App.config`.
19
+
Use configuration instead, for example using `App.config`.
20
+
21
+
## Remarks
22
+
23
+
Only Windows absolute or UNC paths are reported. Formatted like: "c:\\temp\example.xml" or "\\server\share\example.xml"
string path = @""c:\users\test in a veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeery long string literal"";
0 commit comments