C#-SourceFileNaming¶
Name a source_file for a type defined in it
Required inputs: CSharpAST
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
source_file_name_not_type |
The file should be named as a type it declares. |
None |
False |
Options¶
This rule shares the following common options: excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
junk_characters¶
junk_characters : str = ' _-.:'
named_node_types¶
named_node_types : set[str] = {'MemberDeclarationSyntax'}
similarity_threshold¶
similarity_threshold : float = 0.9