10 references to UnnecessaryCode
Microsoft.CodeAnalysis.EditorFeatures (2)
Diagnostics\ClassificationTypeDefinitions.cs (1)
19
[Name(
UnnecessaryCode
)]
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (1)
55
_classificationTag = new ClassificationTag(_typeMap.GetClassificationType(ClassificationTypeDefinitions.
UnnecessaryCode
));
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
UnnecessaryCodeFormatDefinition.cs (2)
21
[ClassificationType(ClassificationTypeNames = ClassificationTypeDefinitions.
UnnecessaryCode
)]
22
[Name(ClassificationTypeDefinitions.
UnnecessaryCode
)]
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Diagnostics\DiagnosticsClassificationTaggerProviderTests.cs (4)
59
Assert.Equal(ClassificationTypeDefinitions.
UnnecessaryCode
, spans[0].Tag.ClassificationType.Classification);
69
Assert.Equal(ClassificationTypeDefinitions.
UnnecessaryCode
, spans[0].Tag.ClassificationType.Classification);
70
Assert.Equal(ClassificationTypeDefinitions.
UnnecessaryCode
, spans[1].Tag.ClassificationType.Classification);
165
Assert.Equal(ClassificationTypeDefinitions.
UnnecessaryCode
, spans[0].Tag.ClassificationType.Classification);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Diagnostics\UnnecessaryCodeFormatDefinition.cs (2)
21
[ClassificationType(ClassificationTypeNames = ClassificationTypeDefinitions.
UnnecessaryCode
)]
22
[Name(ClassificationTypeDefinitions.
UnnecessaryCode
)]