Skip to content

Commit

Permalink
add error message (#74449)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhera99 authored Jul 19, 2024
1 parent 6b4b8d4 commit ddc6e51
Show file tree
Hide file tree
Showing 15 changed files with 69 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,7 @@
<data name="Expected_string_or_char_literal" xml:space="preserve">
<value>Expected string or char literal</value>
</data>
<data name="EditorConfig_option_0_contains_unrecognized_value_1" xml:space="preserve">
<value>EditorConfig option '{0}' contains unrecognized value '{1}'</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static CodeStyleOption2<NamespaceDeclarationPreference> ParseNamespaceDec
{
"block_scoped" => new(NamespaceDeclarationPreference.BlockScoped, notification),
"file_scoped" => new(NamespaceDeclarationPreference.FileScoped, notification),
_ => throw new NotSupportedException(),
_ => throw new NotSupportedException(string.Format(CSharpCompilerExtensionsResources.EditorConfig_option_0_contains_unrecognized_value_1, "csharp_style_namespace_declarations", value)),
};
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ddc6e51

Please sign in to comment.