17 references to Error
Microsoft.CodeAnalysis.CodeStyle (4)
CodeStyleHelpers.cs (2)
58
/// in <paramref name="value"/> and <see cref="NotificationOption2.
Error
"/> will be returned
109
case EditorConfigSeverityStrings.Error: notification = NotificationOption2.
Error
; return true;
CodeStyleOption2`1.cs (1)
211
DiagnosticSeverity.Error => NotificationOption2.
Error
,
ReportDiagnosticExtensions.cs (1)
89
return NotificationOption2.
Error
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (10)
MisplacedUsingDirectivesTests.cs (2)
39
new(AddImportPlacement.InsideNamespace, NotificationOption2.
Error
);
42
new(AddImportPlacement.OutsideNamespace, NotificationOption2.
Error
);
QualifyMemberAccessTests.cs (3)
31
=> TestAsyncWithOptionAndNotificationOption(code, expected, option, NotificationOption2.
Error
);
37
=> TestMissingAsyncWithOptionAndNotificationOption(code, option, NotificationOption2.
Error
);
1615
CodeStyleOptions2.QualifyPropertyAccess, NotificationOption2.
Error
);
UseExplicitTypeTests.cs (1)
35
private readonly CodeStyleOption2<bool> offWithError = new(false, NotificationOption2.
Error
);
UseExpressionBodyForMethodsAnalyzerTests.cs (1)
72
Assert.Equal(NotificationOption2.
Error
, option.Notification);
UseImplicitTypeTests.cs (1)
36
private static readonly CodeStyleOption2<bool> onWithError = new(true, NotificationOption2.
Error
);
UseVarTestExtensions.cs (2)
27
private static readonly CodeStyleOption2<bool> offWithError = new CodeStyleOption2<bool>(false, NotificationOption2.
Error
);
28
private static readonly CodeStyleOption2<bool> onWithError = new CodeStyleOption2<bool>(true, NotificationOption2.
Error
);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (3)
QualifyMemberAccessTests.vb (3)
23
Return TestAsyncWithOptionAndNotification(code, expected, opt, NotificationOption2.
Error
)
31
Return TestMissingAsyncWithOptionAndNotification(code, opt, NotificationOption2.
Error
)
571
CodeStyleOptions2.QualifyPropertyAccess, NotificationOption2.
Error
)