Michael Nebel
|
0355ea8733
|
C#: Add some synthetic library extensions methods and tests for cs/dereferenced-value-is-always-null.
|
2025-06-03 13:24:56 +02:00 |
|
Michael Nebel
|
76c12a5c69
|
C#: Convert tests for cs/dereferenced-value-may-be-null to use inline expectations.
|
2025-06-03 13:24:54 +02:00 |
|
Michael Nebel
|
46c02e7fa8
|
C#: Convert tests for cs/dereferenced-value-is-always-null to use inline expectations.
|
2025-06-03 13:24:52 +02:00 |
|
Michael Nebel
|
008d5b7081
|
C#: Update test expected output.
|
2025-05-21 15:20:15 +02:00 |
|
Michael Nebel
|
28cd8a827a
|
C#: Add more test examples for cs/missing-readonly-modifier.
|
2025-05-21 15:18:32 +02:00 |
|
Michael Nebel
|
5941b3081c
|
C#: Convert tests for cs/missed-readonly-modifier to inline expectatations.
|
2025-05-21 11:34:38 +02:00 |
|
Michael Nebel
|
3080dfafb6
|
C#: Update test expected output.
|
2025-05-15 14:04:40 +02:00 |
|
Michael Nebel
|
4b2d323cb6
|
C#: Add some more test cases.
|
2025-05-15 13:48:51 +02:00 |
|
Michael Nebel
|
2c5d85e186
|
C#: Convert cs/gethashcode-is-not-defined to inline expectations tests.
|
2025-05-15 13:35:08 +02:00 |
|
Michael Nebel
|
7531a95d22
|
Merge pull request #19271 from michaelnebel/csharp/uncontrolled-format-string
C#: Improve precision of `cs/uncontrolled-format-string`.
|
2025-05-14 10:39:38 +02:00 |
|
Michael Nebel
|
05dc9b6d34
|
C#: Remove dependency to ASP.NET in the System.Web.cs stub file.
|
2025-05-12 17:36:10 -04:00 |
|
Michael Nebel
|
ffd6b2677c
|
C#: Cleanup test options files.
|
2025-05-12 17:33:21 -04:00 |
|
Michael Nebel
|
c96003f265
|
C#: Update test expected output.
|
2025-05-12 15:45:01 +02:00 |
|
Michael Nebel
|
3838a7b0d6
|
C#: Add a testcase for CompositeFormat.Parse for cs/uncontrolled-format-string.
|
2025-05-12 15:44:58 +02:00 |
|
Michael Nebel
|
c16be43f15
|
C#: Convert cs/uncontrolled-format-string tests to use test inline expectations.
|
2025-05-12 15:44:56 +02:00 |
|
Sid Gawri
|
4e3ac93f70
|
fix unit tests part 2
|
2025-05-09 16:24:42 -04:00 |
|
Sid Gawri
|
d600eb42cf
|
add new stubs
|
2025-05-02 17:25:02 -04:00 |
|
Michael Nebel
|
65ac951964
|
C#: Remove all Sink tags after rebase.
|
2025-04-24 08:54:53 +02:00 |
|
Michael Nebel
|
dcf11c2d4b
|
C#: Match up sources, alerts and sinks in the tests.
|
2025-04-24 08:54:51 +02:00 |
|
Michael Nebel
|
6de5920172
|
C#: Update test expected output.
|
2025-04-24 08:54:45 +02:00 |
|
Michael Nebel
|
930bb6b515
|
C#: Add FP for string.Format using params collection.
|
2025-04-24 08:54:42 +02:00 |
|
Michael Nebel
|
39abd5c004
|
C#: Update test expected output.
|
2025-04-24 08:54:40 +02:00 |
|
Michael Nebel
|
11dffc6647
|
C#: Add more invalid-string-formatting testcases.
|
2025-04-24 08:54:37 +02:00 |
|
Michael Nebel
|
8fb5fe97aa
|
C#: Update test expected output.
|
2025-04-24 08:54:36 +02:00 |
|
Michael Nebel
|
f73b7429c6
|
C#: Remove false positive example.
|
2025-04-24 08:54:33 +02:00 |
|
Michael Nebel
|
175e4ecb74
|
C#: Add more format testcases.
|
2025-04-24 08:54:31 +02:00 |
|
Michael Nebel
|
9cfd6e30b9
|
C#: Convert testing of cs/invalid-string-formatting to inline expectations and adjust some of the testcases.
|
2025-04-24 08:54:28 +02:00 |
|
Michael Nebel
|
f11aec3592
|
C#: Update test expected output.
|
2025-04-14 14:26:51 +02:00 |
|
Michael Nebel
|
2e7e276806
|
C#: Add test case for authorization attribute that extends Authorize.
|
2025-04-14 14:18:30 +02:00 |
|
Michael Nebel
|
8d571672e9
|
C#: Convert cs/missing-access-control to inline expectations test.
|
2025-04-14 13:54:43 +02:00 |
|
Michael Nebel
|
70a174ad5a
|
C#: Address review comments.
|
2025-04-04 11:47:46 +02:00 |
|
Michael Nebel
|
dd1fbd28be
|
C#: Add string interpolation examples to cs/useless-assignment-to-local.
|
2025-04-04 10:08:41 +02:00 |
|
Michael Nebel
|
2b88600f0f
|
C#: Re-factor cs/useless-assignment-to-local tests to use inline test framework.
|
2025-04-04 10:08:39 +02:00 |
|
Michael Nebel
|
5a4e0cea55
|
Merge pull request #19199 from michaelnebel/csharp/synctestfiles
C#: Accept file sync mismatch for C# testfiles.
|
2025-04-04 10:07:05 +02:00 |
|
Michael Nebel
|
16142a287a
|
C#: Add NoDisposeCallOnLocalIDisposableBad file and update test expected output.
|
2025-04-02 15:43:52 +02:00 |
|
Michael Nebel
|
2193bece90
|
C#: Update test expected output.
|
2025-04-02 15:30:48 +02:00 |
|
Michael Nebel
|
93d0f364d6
|
C#: Add ConstantConditionBad file.
|
2025-04-02 15:00:05 +02:00 |
|
Michael Nebel
|
d7f5ce2492
|
C#: Update log forging expected test output.
|
2025-04-02 11:21:07 +02:00 |
|
Michael Nebel
|
08159896f3
|
C#: Convert cs/log-forging tests to inline expectations.
|
2025-04-02 11:21:03 +02:00 |
|
Michael Nebel
|
60e3b4351a
|
C#: Fix simple types testcases.
|
2025-04-02 11:21:01 +02:00 |
|
Ian Roof
|
1d81c77fcd
|
C#: Enhanced LogForgingQuery to treat C# Enums as simple types.
|
2025-04-02 09:40:10 +02:00 |
|
Michael Nebel
|
563ffb8c27
|
Merge pull request #19010 from michaelnebel/csharp/useless-gethashcode-call
C#: Increase precision of `cs/useless-gethashcode-call`.
|
2025-03-14 08:44:38 +01:00 |
|
Michael Nebel
|
36a524929f
|
C#: Update tests and test expected output.
|
2025-03-13 13:38:13 +01:00 |
|
Michael Nebel
|
a6ec8b6a25
|
C#: Convert tests cs/useless-gethashcode-call to inline tests.
|
2025-03-13 13:31:20 +01:00 |
|
Michael Nebel
|
b1edd9294b
|
C#: Add some more test cases to cs/local-not-disposed.
|
2025-03-13 11:19:37 +01:00 |
|
Michael Nebel
|
209b9c6114
|
C#: Re-factor to use inline expectation tests instead.
|
2025-03-13 11:11:23 +01:00 |
|
Michael Nebel
|
40375a0387
|
C#: Use stubs for the cs/local-not-disposed tests.
|
2025-03-13 10:47:45 +01:00 |
|
Michael Nebel
|
5eb9a535a4
|
C#: Remove disposal test for library code as we are no longer doing CIL extraction or data flow.
|
2025-03-13 10:45:00 +01:00 |
|
Michael Nebel
|
e79cb443da
|
Merge pull request #18976 from michaelnebel/csharp/constant-condition
C#: Increase precision of `cs/constant-condition`.
|
2025-03-12 14:42:15 +01:00 |
|
Michael Nebel
|
4a3e463918
|
Merge pull request #18950 from michaelnebel/csharp/localnotdisposed
C#: Exclude Task from cs/local-not-disposed.
|
2025-03-12 09:17:22 +01:00 |
|