14 references to Warning
Microsoft.CodeAnalysis.CodeStyle (3)
CodeStyleHelpers.cs (1)
108
case EditorConfigSeverityStrings.Warning: notification = NotificationOption2.
Warning
; return true;
CodeStyleOption2`1.cs (1)
210
DiagnosticSeverity.Warning => NotificationOption2.
Warning
,
ReportDiagnosticExtensions.cs (1)
92
return NotificationOption2.
Warning
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (10)
ConvertSwitchStatementToExpressionTests.cs (1)
899
{ CSharpCodeStyleOptions.PreferSwitchExpression, true, NotificationOption2.
Warning
},
CSharpIsAndCastCheckDiagnosticAnalyzerTests.cs (1)
655
var warningOption = new CodeStyleOption2<bool>(true, NotificationOption2.
Warning
);
QualifyMemberAccessTests.cs (1)
1586
CodeStyleOptions2.QualifyPropertyAccess, NotificationOption2.
Warning
);
UseExplicitTupleNameTests.cs (2)
226
{ CodeStyleOptions2.PreferExplicitTupleNames, false, NotificationOption2.
Warning
}
251
{ CodeStyleOptions2.PreferExplicitTupleNames, false, NotificationOption2.
Warning
}
UseExplicitTypeTests.cs (1)
34
private readonly CodeStyleOption2<bool> offWithWarning = new(false, NotificationOption2.
Warning
);
UseExpressionBodyForMethodsAnalyzerTests.cs (1)
76
Assert.Equal(NotificationOption2.
Warning
, option.Notification);
UseImplicitTypeTests.cs (1)
35
private static readonly CodeStyleOption2<bool> onWithWarning = new(true, NotificationOption2.
Warning
);
UseVarTestExtensions.cs (2)
25
private static readonly CodeStyleOption2<bool> onWithWarning = new CodeStyleOption2<bool>(true, NotificationOption2.
Warning
);
26
private static readonly CodeStyleOption2<bool> offWithWarning = new CodeStyleOption2<bool>(false, NotificationOption2.
Warning
);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (1)
QualifyMemberAccessTests.vb (1)
563
CodeStyleOptions2.QualifyPropertyAccess, NotificationOption2.
Warning
)