Skip to content

Commit fa54c8c

Browse files
committed
add use of StringUtil.IsNullOrEmpty() to AGENTS.md
1 parent 163f047 commit fa54c8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ tracer/src/Datadog.Trace
213213
- Add missing `using` directives instead of fully-qualified type names
214214
- Use modern C# syntax, but avoid features requiring types unavailable in older runtimes (e.g., no `ValueTuple` syntax for .NET Framework 4.6.1)
215215
- Prefer modern collection expressions (`[]`)
216+
- Use `StringUtil.IsNullOrEmpty()` instead of `string.IsNullOrEmpty()` for compatibility across all supported runtimes
216217
- StyleCop: see `tracer/stylecop.json`; address warnings before pushing
217218

218219
**C/C++ style:**

0 commit comments

Comments
 (0)