63 references to New
Microsoft.CodeAnalysis.CodeStyle (26)
AbstractAddAccessibilityModifiersDiagnosticAnalyzer.cs (1)
19
:
base
(IDEDiagnosticIds.AddAccessibilityModifiersDiagnosticId,
AbstractBuiltInUnnecessaryCodeStyleDiagnosticAnalyzer.cs (1)
46
:
base
(diagnosticId, enforceOnBuild, option, title, messageFormat, isUnnecessary: true, configurable)
AbstractConsecutiveStatementPlacementDiagnosticAnalyzer.cs (1)
21
:
base
(IDEDiagnosticIds.ConsecutiveStatementPlacementDiagnosticId,
AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (1)
14
:
base
(diagnosticId: IDEDiagnosticIds.ConvertTypeOfToNameOfDiagnosticId,
AbstractForEachCastDiagnosticAnalyzer.cs (1)
30
:
base
(
AbstractFormattingAnalyzer.cs (1)
16
:
base
(
AbstractMakeFieldReadonlyDiagnosticAnalyzer.cs (1)
24
:
base
(
AbstractMatchFolderAndNamespaceDiagnosticAnalyzer.cs (1)
35
:
base
(IDEDiagnosticIds.MatchFolderAndNamespaceDiagnosticId,
AbstractMultipleBlankLinesDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.MultipleBlankLinesDiagnosticId,
AbstractOrderModifiersDiagnosticAnalyzer.cs (1)
23
:
base
(IDEDiagnosticIds.OrderModifiersDiagnosticId,
AbstractPopulateSwitchDiagnosticAnalyzer.cs (1)
24
:
base
(diagnosticId,
AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (1)
19
:
base
(IDEDiagnosticIds.RemoveRedundantEqualityDiagnosticId,
AbstractSimplifyConditionalDiagnosticAnalyzer.cs (1)
42
:
base
(IDEDiagnosticIds.SimplifyConditionalExpressionDiagnosticId,
AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
34
:
base
(IDEDiagnosticIds.SimplifyLinqExpressionDiagnosticId,
AbstractUseAutoPropertyAnalyzer.cs (1)
49
:
base
(IDEDiagnosticIds.UseAutoPropertyDiagnosticId,
AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (1)
31
:
base
(IDEDiagnosticIds.UseCoalesceExpressionForIfNullCheckDiagnosticId,
AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
31
:
base
(IDEDiagnosticIds.UseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticId,
AbstractUseCoalesceExpressionForTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
26
:
base
(IDEDiagnosticIds.UseCoalesceExpressionForTernaryConditionalCheckDiagnosticId,
AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
36
:
base
(IDEDiagnosticIds.UseCompoundAssignmentDiagnosticId,
AbstractUseConditionalExpressionDiagnosticAnalyzer.cs (1)
26
:
base
(descriptorId,
AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.UseIsNullCheckDiagnosticId,
AbstractUseNullPropagationDiagnosticAnalyzer.cs (1)
56
:
base
(IDEDiagnosticIds.UseNullPropagationDiagnosticId,
AbstractUseThrowExpressionDiagnosticAnalyzer.cs (1)
40
:
base
(IDEDiagnosticIds.UseThrowExpressionDiagnosticId,
NamingStyleDiagnosticAnalyzerBase.cs (1)
26
:
base
(IDEDiagnosticIds.NamingRuleId,
UseExplicitTupleNameDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.UseExplicitTupleNameDiagnosticId,
UseSystemHashCodeDiagnosticAnalyzer.cs (1)
17
:
base
(IDEDiagnosticIds.UseSystemHashCode,
Microsoft.CodeAnalysis.CSharp.CodeStyle (35)
ArrowExpressionClausePlacementDiagnosticAnalyzer.cs (1)
19
:
base
(IDEDiagnosticIds.ArrowExpressionClausePlacementDiagnosticId,
ConditionalExpressionPlacementDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.ConditionalExpressionPlacementDiagnosticId,
ConsecutiveBracePlacementDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.ConsecutiveBracePlacementDiagnosticId,
ConstructorInitializerPlacementDiagnosticAnalyzer.cs (1)
21
:
base
(IDEDiagnosticIds.ConstructorInitializerPlacementDiagnosticId,
ConvertSwitchStatementToExpressionDiagnosticAnalyzer.cs (1)
24
:
base
(IDEDiagnosticIds.ConvertSwitchStatementToExpressionDiagnosticId,
ConvertToBlockScopedNamespaceDiagnosticAnalyzer.cs (1)
19
:
base
(IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId,
ConvertToFileScopedNamespaceDiagnosticAnalyzer.cs (1)
19
:
base
(IDEDiagnosticIds.UseFileScopedNamespaceDiagnosticId,
ConvertToProgramMainDiagnosticAnalyzer.cs (1)
20
:
base
(
ConvertToTopLevelStatementsDiagnosticAnalyzer.cs (1)
22
:
base
(
CSharpAddBracesDiagnosticAnalyzer.cs (1)
24
:
base
(IDEDiagnosticIds.AddBracesDiagnosticId,
CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
30
:
base
(IDEDiagnosticIds.UsePatternMatchingAsAndMemberAccessDiagnosticId,
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
34
:
base
(IDEDiagnosticIds.InlineAsTypeCheckId,
CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
38
:
base
(IDEDiagnosticIds.InlineDeclarationDiagnosticId,
CSharpIsAndCastCheckDiagnosticAnalyzer.cs (1)
38
:
base
(IDEDiagnosticIds.InlineIsTypeCheckId,
CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
22
:
base
(IDEDiagnosticIds.MakeStructMemberReadOnlyDiagnosticId,
CSharpMakeStructReadOnlyDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.MakeStructReadOnlyDiagnosticId,
CSharpRemoveConfusingSuppressionDiagnosticAnalyzer.cs (1)
17
:
base
(IDEDiagnosticIds.RemoveConfusingSuppressionForIsExpressionDiagnosticId,
CSharpSimplifyPropertyPatternDiagnosticAnalyzer.cs (1)
27
:
base
(IDEDiagnosticIds.SimplifyPropertyPatternDiagnosticId,
CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (1)
32
:
base
(IDEDiagnosticIds.UseCoalesceCompoundAssignmentDiagnosticId,
CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
25
:
base
(IDEDiagnosticIds.UseDeconstructionDiagnosticId,
CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
23
:
base
(IDEDiagnosticIds.UseImplicitObjectCreationDiagnosticId,
CSharpUseIndexOperatorDiagnosticAnalyzer.cs (1)
47
:
base
(IDEDiagnosticIds.UseIndexOperatorDiagnosticId,
CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (1)
24
:
base
(IDEDiagnosticIds.UseIsNullCheckDiagnosticId,
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
45
:
base
(IDEDiagnosticIds.UseLocalFunctionDiagnosticId,
CSharpUseNameofInNullableAttributeDiagnosticAnalyzer.cs (1)
32
:
base
(IDEDiagnosticIds.UseNameofInAttributeDiagnosticId,
CSharpUseNotPatternDiagnosticAnalyzer.cs (1)
29
:
base
(IDEDiagnosticIds.UseNotPatternDiagnosticId,
CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.UseNullCheckOverTypeCheckDiagnosticId,
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
35
:
base
(IDEDiagnosticIds.UsePatternCombinatorsDiagnosticId,
CSharpUseRangeOperatorDiagnosticAnalyzer.cs (1)
45
:
base
(IDEDiagnosticIds.UseRangeOperatorDiagnosticId,
CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
36
:
base
(IDEDiagnosticIds.UseTupleSwapDiagnosticId,
EmbeddedStatementPlacementDiagnosticAnalyzer.cs (1)
20
:
base
(IDEDiagnosticIds.EmbeddedStatementPlacementDiagnosticId,
InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
29
:
base
(IDEDiagnosticIds.InvokeDelegateWithConditionalAccessId,
MakeLocalFunctionStaticDiagnosticAnalyzer.cs (1)
18
:
base
(IDEDiagnosticIds.MakeLocalFunctionStaticDiagnosticId,
UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
54
:
base
(IDEDiagnosticIds.UseSimpleUsingStatementDiagnosticId,
UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
36
:
base
(IDEDiagnosticIds.UseUtf8StringLiteralDiagnosticId,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
VisualBasicSimplifyObjectCreationDiagnosticAnalyzer.vb (1)
16
MyBase.
New
(
VisualBasicUseIsNotDiagnosticAnalyzer.vb (1)
27
MyBase.
New
(IDEDiagnosticIds.UseIsNotExpressionDiagnosticId,