-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Track using directives Track method calls Ignore .g.cs files Commit missing files Rename UsingDirective to Dependency Fix tests Fix tests Fix line numbers Fix counts in tests Track assembly and module name for dependency Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> Fix tests Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> Fix tests Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> Use relative path Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Fix Tests * Additional files for fix tests --------- Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> Co-authored-by: Tim Messing <141575989+timmyteo@users.noreply.github.com>
- Loading branch information
Showing
12 changed files
with
389 additions
and
1,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System.Text.Json; | ||
|
||
namespace FooBar | ||
{ | ||
public class Foo | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
|
||
} | ||
} | ||
|
||
public class Bar | ||
{ | ||
public void bar() | ||
{ | ||
|
||
} | ||
|
||
private void PrivateMethod() | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace Depscan; | ||
|
||
public class Dependency | ||
{ | ||
public string? Path { get; set; } | ||
public string? FileName { get; set; } | ||
public string? Name { get; set; } | ||
public string? Assembly { get; set; } | ||
public string? Module { get; set; } | ||
public string? Namespace { get; set; } | ||
public int LineNumber { get; set; } | ||
public int ColumnNumber { get; set; } | ||
public List<string>? NamespaceMembers { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.