{"id":13783908,"url":"https://github.com/DustinCampbell/CSharpEssentials","last_synced_at":"2025-05-11T19:31:48.873Z","repository":{"id":25844205,"uuid":"29283780","full_name":"DustinCampbell/CSharpEssentials","owner":"DustinCampbell","description":"C# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and refactorings that make it easy to work with C# 6 language features.","archived":false,"fork":false,"pushed_at":"2016-06-07T15:03:34.000Z","size":921,"stargazers_count":160,"open_issues_count":20,"forks_count":26,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-14T10:39:40.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DustinCampbell.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-15T06:18:12.000Z","updated_at":"2024-10-05T15:12:45.000Z","dependencies_parsed_at":"2022-08-24T14:14:54.952Z","dependency_job_id":null,"html_url":"https://github.com/DustinCampbell/CSharpEssentials","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DustinCampbell%2FCSharpEssentials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DustinCampbell%2FCSharpEssentials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DustinCampbell%2FCSharpEssentials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DustinCampbell%2FCSharpEssentials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DustinCampbell","download_url":"https://codeload.github.com/DustinCampbell/CSharpEssentials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253621118,"owners_count":21937479,"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","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-08-03T19:00:32.850Z","updated_at":"2025-05-11T19:31:48.491Z","avatar_url":"https://github.com/DustinCampbell.png","language":"C#","readme":"# C# Essentials\n\nC# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and\nrefactorings that make it easy to work with C# 6 language features,\nsuch as [nameof expressions](https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#nameof-expressions),\n[getter-only auto-properties](https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#getter-only-auto-properties),\n[expression-bodied members](https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#expression-bodied-function-members),\nand [string interpolation](https://github.com/dotnet/roslyn/wiki/New-Language-Features-in-C%23-6#string-interpolation).\n\nSupports Visual Studio 2015 ([link](https://visualstudiogallery.msdn.microsoft.com/a4445ad0-f97c-41f9-a148-eae225dcc8a5?SRC=Home))\n\n## Features\n\n### Use NameOf\n\nIdentifies calls where a parameter name is passed as a string to an argument\nnamed \"paramName\". This is a simple-yet-effective heuristic for detecting\ncases like the one below:\n\n![](http://i.imgur.com/JnNB8nZ.jpg)\n\n### Use Getter-Only Auto-Property\n\nDetermines when the ```private set``` in an auto-property can be removed.\n\n![](http://i.imgur.com/je8HpdD.jpg)\n\n### Use Expression-Bodied Member\n\nMakes it clear when a member can be converted into an expression-bodied\nmember.\n\n![](http://i.imgur.com/vF4PY9o.jpg)\n\n### Expand Expression-Bodied Member\n\nMakes it trivial to convert an expression-bodied member into a full member\ndeclaration with a body (and a get accessor declaration for properties and\nindexers).\n\n![](http://i.imgur.com/WROjVdP.jpg)\n\n### Convert to Interpolated String\n\nThis handy refactoring makes it a breeze to transform a ```String.Format```\ncall into an interpolated strings.\n\n![](http://i.imgur.com/Q1CMKD5.jpg)\n\n","funding_links":[],"categories":["Deprecated Analyzers"],"sub_categories":["Miscellaneous"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDustinCampbell%2FCSharpEssentials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDustinCampbell%2FCSharpEssentials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDustinCampbell%2FCSharpEssentials/lists"}