7 references to Diagnostic
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
MakeStructMemberReadOnlyTests.cs (2)
766
VerifyCS.
Diagnostic
("IDE0251").WithSeverity(DiagnosticSeverity.Info).WithSpan(5, 32, 5, 35).WithOptions(DiagnosticOptions.IgnoreAdditionalLocations),
810
VerifyCS.
Diagnostic
("IDE0251").WithSeverity(DiagnosticSeverity.Info).WithSpan(5, 42, 5, 45).WithOptions(DiagnosticOptions.IgnoreAdditionalLocations),
RemoveUnusedMembersTests.cs (1)
3138
VerifyCS.
Diagnostic
("IDE0051").WithSpan(3, 13, 3, 14).WithArguments("C.C"));
RemoveUnusedValueAssignmentTests.cs (3)
1260
VerifyCS.
Diagnostic
("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("y"));
1377
VerifyCS.
Diagnostic
("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("y"));
3068
VerifyCS.
Diagnostic
("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("x2"));
SimplifyPropertyPattern\SimplifyPropertyPatternTests.cs (1)
728
VerifyCS.
Diagnostic
("IDE0170").WithSpan(8, 20, 8, 29).WithSpan(8, 20, 8, 86).WithSeverity(DiagnosticSeverity.Info),