- Read the Code of Conduct
- If adding a new method, follow the new method instructions
- If an issue exists for this method, add a comment to let everyone know that you are implementing it. This helps us avoid duplicates.
- Fork the repo if you haven't done so already.
- Create a branch from an up-to-date
developbranch. - Add a file at
./ShittyLINQ/<method name>.cs. - Add the new
public staticmethod in apublic static partialclass calledExtensions, which must be in theShittyLINQnamespace. - Implement the method.
- Document the method using standard XML documentation.
- Add tests.
- Push branch to your fork.
- Create a pull request against the
developbranch of the main repo.
- Add a file at
./ShittyLinqTests/<method name>Tests.cs. - Inside of the
ShittyTestsnamespace, add your test methods. - Add tests for success conditions.
- Add tests for failure conditions according to the MSDN documents for the method you are adding. Ensure the proper exceptions are thrown.