GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — INTL0001 when using records · Issue #231 · IntelliTect/CodingGuidelines Open Labels C# coding guidelinesContent related to the C# coding guidelinesanalyzerItems here affect the analyzersproposalItems flagged with this are up for discussion to be included in the IntelliTect coding standards DescriptionWith the introduction of positional records it has become more valuable to apply attributes inline. This is especially true when dealing with serialization. public record MyDto([property:JsonPropertyName("my_Value")] string Value); The work around is to simply do as the analyzer suggests and put it on its own line: public record MyDto( [property:JsonPropertyName("my_Value")] string Value); However, I would posit that this is less readable that the original. We should revisit the attribute guidelines with these new use-cases in mind. Activity
MetadataMetadataAssigneesLabelsC# coding guidelinesContent related to the C# coding guidelinesanalyzerItems here affect the analyzersproposalItems flagged with this are up for discussion to be included in the IntelliTect coding standards TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |