Tamás Vajk
3431fcf9af
Merge pull request #15025 from tamasvajk/feature/change-stringbuilder-modeling
...
C#: Change `StringBuilder` flow models to not use `Element` access path
2023-12-07 10:29:54 +01:00
Tamas Vajk
c1db689f2f
Fix expected test results
2023-12-07 09:59:33 +01:00
Tamas Vajk
eeabb81973
Adjust expected test files
2023-12-06 16:00:43 +01:00
Tamas Vajk
50b7ab8448
C#: Add interpolated string handler attributes to generated stubs
2023-12-06 15:40:48 +01:00
Michael Nebel
9390b48228
C#: Add (U)IntPtr parameter default test cases.
2023-12-05 16:29:16 +01:00
Michael Nebel
e6a5c50ebc
Merge pull request #14953 from rpmrmartin/issue/14952
...
C#: Fix a URL redirection from remote source false positive
2023-12-05 13:02:56 +01:00
Tom Hvitved
71d09b75fb
Merge pull request #14990 from hvitved/csharp/more-nullness-tests
...
C#: Add a few more `is (not) null` tests
2023-12-05 10:14:13 +01:00
Michael Nebel
8dcdda6d21
C#: Address review comments.
2023-12-05 10:08:06 +01:00
Michael Nebel
2fc7e51a5b
C#: Only include source code (and not stubs) in the remote flow source test.
2023-12-04 13:10:10 +01:00
Tom Hvitved
84cba21a6c
C#: Add a few more is (not) null tests
2023-12-04 12:22:47 +01:00
Michael Nebel
b9833fc97e
C#: Updated expected test output.
2023-12-04 12:02:51 +01:00
Michael Nebel
6807fd1569
C#: Add some stubs, a testcase and update the expected output without based on main.
2023-12-04 11:53:09 +01:00
Tom Hvitved
ccb9d9b8fa
C#: Strengthen call-back heuristics by considering body-less methods
2023-11-27 21:15:06 +01:00
Joe Farebrother
9af44ed0a2
Convert flow steps to value steps
2023-11-23 10:56:44 +00:00
Joe Farebrother
052166f17e
Fix issue in genfiles.py + add help text
2023-11-23 10:56:44 +00:00
Joe Farebrother
96bddde7c1
Review suggestions - Remove unneeded import in tests, rename RazorPage to RazorPageClass
2023-11-23 10:56:44 +00:00
Joe Farebrother
826111dc08
Separate area view discovery list for increased precision
2023-11-23 10:56:42 +00:00
Joe Farebrother
f2c3d83d9e
Add tests for area cases
2023-11-23 10:56:42 +00:00
Joe Farebrother
7bd7cc5dbe
Fix tests
2023-11-23 10:56:42 +00:00
Joe Farebrother
7194113a64
Add areas
2023-11-23 10:56:42 +00:00
Joe Farebrother
7691cbce87
Add additional test cases
2023-11-23 10:56:42 +00:00
Joe Farebrother
4f5ecb899b
Add unit tests + fix issue in stubs
2023-11-23 10:56:41 +00:00
Joe Farebrother
ac3f642b45
Unit tests - Write script to aid generating necessary code from .cshtml files.
2023-11-23 10:56:41 +00:00
Tamas Vajk
253c658ad2
C#: Tolerate missing call targets in LogMessageSink
2023-11-21 10:13:18 +01:00
Tamas Vajk
f0e20fa69e
C#: Add test case for missing log message sinks with ambiguous types
2023-11-21 10:09:05 +01:00
Tamas Vajk
7a001f4905
C#: Fix assembly attribute extraction in standalone mode
2023-11-15 12:21:03 +01:00
Tom Hvitved
57ec0948cf
C#: Update expected test output
2023-11-10 08:46:15 +01:00
Tom Hvitved
b72f34591d
C#: Use {get,has}FullyQualifiedName throughout
2023-11-10 08:46:15 +01:00
Tom Hvitved
136adb2df2
C#: Regenerate dotnet/runtime models
2023-11-09 08:34:36 +01:00
Tom Hvitved
7aed6f9233
C#: Manually update some MaD rows
2023-11-09 08:34:36 +01:00
Tom Hvitved
6f4311d656
C#: Include type parameters when printing MaD rows with generics
2023-11-09 08:34:06 +01:00
Tom Hvitved
b2512eb212
Merge pull request #14678 from hvitved/csharp/mad-operator-fix
...
C#: Correctly parse operator names in MaD
2023-11-07 15:11:01 +01:00
Tom Hvitved
602d16d73f
C#: Add another data flow test
2023-11-06 10:18:32 +01:00
Tom Hvitved
467854ba4b
C#: Convert a data flow test to use inline test expectations
2023-11-06 09:54:34 +01:00
Tom Hvitved
3e3ea51e69
C#: Correctly parse operator names in MaD
2023-11-05 20:58:47 +01:00
Tom Hvitved
2a33a86c9d
C#: Merge ExternalFlow.qll and ExternalFlowExtensions.qll, and move to internal
2023-11-05 20:58:47 +01:00
Tom Hvitved
aa521ecd59
C#: Include more libraries in flow summaries test
2023-11-05 20:23:10 +01:00
Tamás Vajk
b9c89750b9
Merge pull request #14493 from tamasvajk/fix/params-attribute-argument
...
C#: Fix params attribute argument extraction
2023-10-30 10:50:02 +01:00
Tom Hvitved
08d6379563
C#: Regenerate stubs for (Asp)NetCore.App
2023-10-27 08:34:55 +02:00
Michael Nebel
26f767073d
Merge pull request #14363 from michaelnebel/csharp/sunsetqlstubgen
...
C#: Sunset QL based stub generator.
2023-10-24 11:05:56 +02:00
Joe Farebrother
3f11d83b7b
Merge pull request #14500 from joefarebrother/shared-filepath-normalize
...
Shared: Add library for filepath normalization
2023-10-23 16:09:44 +01:00
Michael Nebel
4e99266b65
C#: Sunset the QL based stub generator.
2023-10-23 15:09:38 +02:00
Joe Farebrother
9097d93ac7
Add shared library for filepath normalization
2023-10-13 17:07:47 +01:00
Joe Farebrother
915352861d
Check for generic base types in Missing Function Level Access Control and Insecure Direct Object Reference.
2023-10-13 14:22:45 +01:00
Tamas Vajk
791a6422b3
C#: Fix params attribute argument extraction
2023-10-13 11:30:02 +02:00
Tamas Vajk
e730815f41
C#: Add test case for params arguments in attributes
2023-10-13 11:29:32 +02:00
Tamas Vajk
b2514b3c69
Adjust expected test output
2023-10-02 13:35:16 +02:00
Koen Vlaswinkel
3f3c662a7d
C#: Fix parentheses in model editor queries
...
The MaD format and the Java model editor queries use parentheses around
the method parameter types, but `parameterQualifiedTypeNamesToString`
returns the parameter types without parentheses. This adds the
parentheses to the result of `getParameterTypes` to ensure consistency
between the Java and C# queries.
2023-09-28 10:51:36 +02:00
Koen Vlaswinkel
0f4f98787c
Merge pull request #14200 from github/koesie10/add-csharp-model-editor-queries
...
C#: Add VS Code model editor queries
2023-09-28 10:12:57 +02:00
Michael Nebel
577ea50ec9
C#: Base ConstantComparison and PossibleLossOfPrecision tests on stubs.
2023-09-27 09:35:57 +02:00