14 references to TestCode
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Classification\SemanticClassifierTests_TestMarkup.cs (2)
108var nonTestCodeSpans = actual.Where(s => s.ClassificationType != ClassificationTypeNames.TestCode).OrderBy((t1, t2) => t1.TextSpan.Start - t2.TextSpan.Start).ToImmutableArray(); 109var testCodeSpans = actual.Where(s => s.ClassificationType == ClassificationTypeNames.TestCode).OrderBy((t1, t2) => t1.TextSpan.Start - t2.TextSpan.Start).ToImmutableArray();
Microsoft.CodeAnalysis.CSharp.Features (2)
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (2)
80ClassificationTypeNames.TestCode, 90ClassificationTypeNames.TestCode,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\SyntaxClassification\DocCommentCodeBlockClassifier.cs (1)
166ClassificationTypeNames.TestCode,
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\ClassificationTypeDefinitions.cs (1)
129[Name(ClassificationTypeNames.TestCode)]
Classification\ClassificationTypeFormatDefinitions.cs (2)
829[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.TestCode)] 830[Name(ClassificationTypeNames.TestCode)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Classification\AbstractClassifierTests.cs (1)
65actual = actual.WhereAsArray(a => a.ClassificationType != ClassificationTypeNames.TestCode);
Classification\FormattedClassifications.cs (1)
226=> New(text, ClassificationTypeNames.TestCode);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
86[ClassificationTypeNames.TestCode] = SemanticTokens.TokenModifiers.None,
Microsoft.CodeAnalysis.Workspaces (2)
Classification\ClassificationTypeNames.cs (2)
14public static ImmutableArray<string> AdditiveTypeNames { get; } = [StaticSymbol, ReassignedVariable, ObsoleteSymbol, TestCode]; 101TestCode,
Microsoft.VisualStudio.LanguageServices (1)
HACK_ThemeColorFixer.cs (1)
198UpdateForegroundColor(ClassificationTypeNames.TestCode, sourceFormatMap, targetFormatMap);