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