Repository navigation
Replace default constructor with parameterless - #20873
Merged
BillWagner merged 1 commit intoOct 2, 2020
Merged
Conversation
Contributes to the issue #11957 Updated the article "How to initialize objects by using an object initializer". Replaced "default" constructor with "parameterless" in the article itself and corresponding code snippets file.
BillWagner
approved these changes
Oct 2, 2020
BillWagner
left a comment
Member
There was a problem hiding this comment.
Thanks for spotting this and fixing it @QwerMike
I've reviewed the changes, and I'll
now.
BillWagner
pushed a commit
that referenced
this pull request
Oct 5, 2020
* Refactor couple of code style rules to separate docs Creating this initial PR as the proposed structure of IDE code style rule docs. - Rule ID + option name based index - We retain the rule ID-agnostic table based on just the option groups and option names in individual Language rules, Formatting rules and Naming rules pages. This could be a preferred browsing approach for users who just want to look at options, and don't care about rule severities, and hence rule IDs. - All the rule specific content moves to separate `idexxxx.md` pages. Whenever multiple rules are used by the same option or an option group, we will create a single doc page, but have necessary id based redirects so the IDE analyzers themselves can use deterministic help links which end in `idexxxx`. * Fix links * Update docs/fundamentals/code-analysis/style-rules/index.md * Update docs/fundamentals/code-analysis/style-rules/language-rules.md * Fix table headers * Rename file * Rename column title * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> * Apply suggestions from code review * Refactor out modifier preferences style rules and also restructure the toc reference a bit * Fix links * Try to fix build * Remove quotes * Refactor out Parentheses preferences - IDE0047 and IDE0048 * Update title for 'this and Me preferences' to make it consistent * Update package index with latest published versions * Port the remaining .NET style rules + address feedback * Feedback * Update docs/fundamentals/code-analysis/style-rules/ide0044.md Co-authored-by: Genevieve Warren <[email protected]> * Update docs/fundamentals/code-analysis/style-rules/ide0003-ide0009.md * Update docs/fundamentals/code-analysis/style-rules/ide0036.md * Add blank lines * Add reference to .NET for Apache Spark open source repository (#20883) * IDE0058 and IDE0059 * fix lint errors * Replace default constructor with parameterless (#20873) Contributes to the issue #11957 Updated the article "How to initialize objects by using an object initializer". Replaced "default" constructor with "parameterless" in the article itself and corresponding code snippets file. * Fix typo in file name * Fix links * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> * Address feedback * Remove link * Remove Option group column for the table and also adjust the Legend * Replace `\_` with `_` in refactored rules * Move entry up * Fix table * Fix typo * Single file debugging (#20857) * Add debugging section for single-file * Styled file paths; changed link to relative * Add more info about possible debugger errors Hopefully this should come up in search engines if people encounter the errors * Trailing space Co-authored-by: Andy De George <[email protected]> * Fix counter name for HttpWebRequests Average Lifetime and Average Queue Time (#20874) The counter names HttpWebRequest Average Lifetime and HttpWebRequest Average Queue Time are incorrect. In Perfmon the counters are spelled with a HttpWebRequests being plural. The counters with a singular HttpWebRequest do not actualy exist. Co-authored-by: Manish Vasani <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: azure-sdk <[email protected]> Co-authored-by: Niharika Dutta <[email protected]> Co-authored-by: Mykhailo <[email protected]> Co-authored-by: Cam Soper <[email protected]> Co-authored-by: Andy Gocke <[email protected]> Co-authored-by: Andy De George <[email protected]> Co-authored-by: brandonchastain <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updated the article "How to initialize objects by using an object
initializer". Replaced "default" constructor with "parameterless"
in the article itself and corresponding code snippets file.
Contributes to the issue #11957