Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor typo and re-generate documentation-related files. #1429

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CodeFixes/CSharp/CompilerDiagnosticRules.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,7 @@ public static partial class CompilerDiagnosticRules
/// <summary>CS8403</summary>
public static readonly DiagnosticDescriptor MethodWithIteratorBlockMustBeAsyncToReturnIAsyncEnumerableOfT = new DiagnosticDescriptor(
id: CompilerDiagnosticIdentifiers.CS8403_MethodWithIteratorBlockMustBeAsyncToReturnIAsyncEnumerableOfT,
title: "Method with an iterator block must be 'async' to return 'IAsyncEnumerable<T<'.",
title: "Method with an iterator block must be 'async' to return 'IAsyncEnumerable<T>'.",
messageFormat: "Method '{0}' with an iterator block must be 'async' to return '{1}'",
category: "Compiler",
defaultSeverity: DiagnosticSeverity.Error,
Expand Down
2 changes: 1 addition & 1 deletion src/Common/ConfigOptionKeys.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ internal static partial class ConfigOptionKeys
public const string MaxLineLength = "roslynator_max_line_length";
public const string NewLineAtEndOfFile = "roslynator_new_line_at_end_of_file";
public const string NewLineBeforeWhileInDoStatement = "roslynator_new_line_before_while_in_do_statement";
public const string NullConditionalOperatorNewLine = "roslynator_null_conditional_operator_new_line";
public const string NullCheckStyle = "roslynator_null_check_style";
public const string NullConditionalOperatorNewLine = "roslynator_null_conditional_operator_new_line";
public const string ObjectCreationParenthesesStyle = "roslynator_object_creation_parentheses_style";
public const string ObjectCreationTypeStyle = "roslynator_object_creation_type_style";
public const string PrefixFieldIdentifierWithUnderscore = "roslynator_prefix_field_identifier_with_underscore";
Expand Down
4 changes: 2 additions & 2 deletions src/Common/ConfigOptionValues.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ internal static partial class ConfigOptionValues
public const string EqualsTokenNewLine_Before = "before";
public const string InfiniteLoopStyle_For = "for";
public const string InfiniteLoopStyle_While = "while";
public const string NullConditionalOperatorNewLine_After = "after";
public const string NullConditionalOperatorNewLine_Before = "before";
public const string NullCheckStyle_EqualityOperator = "equality_operator";
public const string NullCheckStyle_PatternMatching = "pattern_matching";
public const string NullConditionalOperatorNewLine_After = "after";
public const string NullConditionalOperatorNewLine_Before = "before";
public const string ObjectCreationParenthesesStyle_Include = "include";
public const string ObjectCreationParenthesesStyle_Omit = "omit";
public const string ObjectCreationTypeStyle_Explicit = "explicit";
Expand Down
12 changes: 6 additions & 6 deletions src/Common/ConfigOptions.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,18 +153,18 @@ public static partial class ConfigOptions
defaultValuePlaceholder: "true|false",
description: "Include/omit new line before 'while' in 'do' statement");

public static readonly ConfigOptionDescriptor NullConditionalOperatorNewLine = new(
key: ConfigOptionKeys.NullConditionalOperatorNewLine,
defaultValue: null,
defaultValuePlaceholder: "after|before",
description: "Place new line after/before null-conditional operator");

public static readonly ConfigOptionDescriptor NullCheckStyle = new(
key: ConfigOptionKeys.NullCheckStyle,
defaultValue: null,
defaultValuePlaceholder: "equality_operator|pattern_matching",
description: "Use equality operator or pattern matching as a null check");

public static readonly ConfigOptionDescriptor NullConditionalOperatorNewLine = new(
key: ConfigOptionKeys.NullConditionalOperatorNewLine,
defaultValue: null,
defaultValuePlaceholder: "after|before",
description: "Place new line after/before null-conditional operator");

public static readonly ConfigOptionDescriptor ObjectCreationParenthesesStyle = new(
key: ConfigOptionKeys.ObjectCreationParenthesesStyle,
defaultValue: null,
Expand Down
2 changes: 1 addition & 1 deletion src/Diagnostics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@
Id="CS8403"
Identifier="MethodWithIteratorBlockMustBeAsyncToReturnIAsyncEnumerableOfT"
Severity="Error"
Title="Method with an iterator block must be 'async' to return 'IAsyncEnumerable&lt;T&lt;'."
Title="Method with an iterator block must be 'async' to return 'IAsyncEnumerable&lt;T&gt;'."
Message="Method '{0}' with an iterator block must be 'async' to return '{1}'"
HelpUrl="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs8403" />
<Diagnostic
Expand Down
16 changes: 8 additions & 8 deletions src/VisualStudioCode/package/src/configurationFiles.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ roslynator_analyzers.enabled_by_default = true|false
#roslynator_new_line_before_while_in_do_statement = true|false
# Applicable to: rcs0051

#roslynator_null_conditional_operator_new_line = after|before
# Applicable to: rcs0059

#roslynator_null_check_style = equality_operator|pattern_matching
# Applicable to: rcs1248

#roslynator_null_conditional_operator_new_line = after|before
# Applicable to: rcs0059

#roslynator_object_creation_parentheses_style = include|omit
# Applicable to: rcs1050

Expand Down Expand Up @@ -973,6 +973,11 @@ roslynator_analyzers.enabled_by_default = true|false
#roslynator_refactoring.add_using_static_directive.enabled = true
#roslynator_refactoring.call_extension_method_as_instance_method.enabled = true
#roslynator_refactoring.call_indexof_instead_of_contains.enabled = true
#roslynator_refactoring.change_accessibility.enabled = true
#roslynator_refactoring.change_method_return_type_to_void.enabled = true
#roslynator_refactoring.change_type_according_to_expression.enabled = true
#roslynator_refactoring.check_expression_for_null.enabled = true
#roslynator_refactoring.check_parameter_for_null.enabled = true
#roslynator_refactoring.comment_out_member_declaration.enabled = true
#roslynator_refactoring.comment_out_statement.enabled = true
#roslynator_refactoring.convert_auto_property_to_full_property.enabled = true
Expand Down Expand Up @@ -1027,11 +1032,6 @@ roslynator_analyzers.enabled_by_default = true|false
#roslynator_refactoring.generate_enum_values.enabled = true
#roslynator_refactoring.generate_event_invoking_method.enabled = true
#roslynator_refactoring.generate_property_for_debuggerdisplay_attribute.enabled = true
#roslynator_refactoring.change_accessibility.enabled = true
#roslynator_refactoring.change_method_return_type_to_void.enabled = true
#roslynator_refactoring.change_type_according_to_expression.enabled = true
#roslynator_refactoring.check_expression_for_null.enabled = true
#roslynator_refactoring.check_parameter_for_null.enabled = true
#roslynator_refactoring.implement_custom_enumerator.enabled = true
#roslynator_refactoring.implement_iequatable.enabled = true
#roslynator_refactoring.initialize_field_from_constructor.enabled = true
Expand Down