{"id":20688768,"url":"https://github.com/71/insider","last_synced_at":"2026-03-06T19:12:57.541Z","repository":{"id":95480865,"uuid":"72297806","full_name":"71/insider","owner":"71","description":"[No longer maintained] Easily weave .NET assemblies from the inside, using Mono.Cecil and Reflection.","archived":false,"fork":false,"pushed_at":"2017-08-03T15:14:34.000Z","size":80,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T06:47:35.425Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/71.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":"2016-10-29T16:57:10.000Z","updated_at":"2024-07-30T14:20:56.000Z","dependencies_parsed_at":"2023-04-25T01:23:14.297Z","dependency_job_id":null,"html_url":"https://github.com/71/insider","commit_stats":null,"previous_names":["6a/insider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/71/insider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2Finsider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2Finsider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2Finsider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2Finsider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/71","download_url":"https://codeload.github.com/71/insider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/71%2Finsider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261983809,"owners_count":23240224,"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-11-16T23:06:54.345Z","updated_at":"2026-03-06T19:12:52.496Z","avatar_url":"https://github.com/71.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insider\nInsider uses [MSBuild](https://github.com/Microsoft/msbuild) and [Mono.Cecil](https://github.com/jbevain/cecil) to weave assemblies (although the former is optional).  \nUnlike other programs that do the same thing, however, Insider changes things from the _inside_.\n\n# Warning\nInsider has been superseded by [Cometary](https://github.com/6A/Cometary), please check it out instead.\n\n-------\n\n# Old documentation\n\n## One-minute guide\n```csharp\nusing System;\nusing Insider;\nusing Mono.Cecil;\nusing Mono.Cecil.Cil;\n\n/// \u003csummary\u003e\n/// Forces all calls to ldc.i4 to load 2\n/// instead of 1.\n/// \u003c/summary\u003e\nclass OneToTwoAttribute : MethodWeaverAttribute\n{\n\tpublic override void Apply(MethodDefinition method)\n    {\n    \tforeach (var instr in method.Body.Instructions)\n        {\n            if (instr.OpCode == OpCodes.Ldc_I4 \u0026\u0026 instr.Operand.Equals(1))\n                instr.Operand = 2;\n        }\n    }\n}\n\nclass Program\n{\n\t[OneToTwo]\n    static void Main(string[] args)\n    {\n    \tint result = 1 + 1;\n    \tif (result == 2)\n        \tConsole.Error.WriteLine(\"1+1 equals \" + result + \", duh.\");\n    }\n}\n```\n\n## How to install\n#### `Install-Package Insider`\nCurrently compatible and tested on .NET 4.6 and above.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F71%2Finsider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F71%2Finsider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F71%2Finsider/lists"}