{"id":16481902,"url":"https://github.com/angularsen/codequery","last_synced_at":"2025-08-31T10:33:25.103Z","repository":{"id":66294957,"uuid":"231600614","full_name":"angularsen/CodeQuery","owner":"angularsen","description":"Experimenting with Roslyn to analyze and query code, until ReSharper or Rider/Visual Studio gets native support for something like this.","archived":false,"fork":false,"pushed_at":"2020-01-03T15:13:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T21:44:14.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angularsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-03T14:05:00.000Z","updated_at":"2020-01-03T15:13:51.000Z","dependencies_parsed_at":"2023-02-25T23:00:13.783Z","dependency_job_id":null,"html_url":"https://github.com/angularsen/CodeQuery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angularsen/CodeQuery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angularsen%2FCodeQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angularsen%2FCodeQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angularsen%2FCodeQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angularsen%2FCodeQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angularsen","download_url":"https://codeload.github.com/angularsen/CodeQuery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angularsen%2FCodeQuery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272971382,"owners_count":25024092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T13:09:00.249Z","updated_at":"2025-08-31T10:33:25.063Z","avatar_url":"https://github.com/angularsen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeQuery\nExperimenting with Roslyn to analyze and query code, until ReSharper or Rider/Visual Studio gets native support for something like this.\n\n\n### Examples\n```\n$ dotnet run\nSupported commands:\nmethods solution-or-project-or-source-file [--projects regex] [--namespaces regex] [--method-param-type regex]\n\nExamples:\n---\n\nQuery all methods with a parameter of type System.DateTime -or- System.DateTime?\nCodeQuery.exe methods \"C:/dev/CodeQuery/CodeQuery.sln\" --projects \"^(CodeQuery)$\" --method-param-type \"System.DateTime\\??\"\n```\n\n#### Find all methods with a parameter of type `System.DateTime` or the nullable `System.DateTime?`\nNote that `Nullable\u003cT\u003e` and `T?` is handled as if the same.\n\n```cmd\ndotnet run -- methods ../CodeQuery.sln --method-param-type \"System.DateTime\\??\"\n```\n\nOutput\n```\nFile: C:/dev/CodeQuery/CodeQuery.sln\nProjects: (all)\nNamespaces: (all)\nMethod param type: System.DateTime\\??\n00:00:01.1675201 001 CodeQuery.SampleClass.NormalDateTime(System.DateTime)\n00:00:01.2013137 002 CodeQuery.SampleClass.NullableDateTime1(System.DateTime?)\n00:00:01.2120629 003 CodeQuery.SampleClass.NullableDateTime2(System.DateTime?)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangularsen%2Fcodequery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangularsen%2Fcodequery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangularsen%2Fcodequery/lists"}