51 references to MethodName
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassifications.cs (1)
80=> New(text, ClassificationTypeNames.MethodName);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupSessionManager.cs (1)
62new ClassifiedTextRun(ClassificationTypeNames.MethodName, eventName, ClassifiedTextRunStyle.UseClassificationFont),
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (2)
208return IsExtensionMethod(methodDeclaration) ? ClassificationTypeNames.ExtensionMethodName : ClassificationTypeNames.MethodName; 220return ClassificationTypeNames.MethodName;
Classification\SyntaxClassification\NameSyntaxClassifier.cs (2)
258return methodSymbol.ContainingType?.GetClassification() ?? ClassificationTypeNames.MethodName; 266: ClassificationTypeNames.MethodName;
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\ClassificationTypeDefinitions.cs (3)
150[Name(ClassificationTypeNames.MethodName)] 157[BaseDefinition(ClassificationTypeNames.MethodName)] 342[BaseDefinition(ClassificationTypeNames.MethodName)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassifications.cs (1)
79=> New(text, ClassificationTypeNames.MethodName);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Classification\ClassificationTypeFormatDefinitions.cs (2)
471[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.MethodName)] 472[Name(ClassificationTypeNames.MethodName)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (26)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (14)
82New ClassifiedTextRun(ClassificationTypeNames.MethodName, "WriteLine"), 169New ClassifiedTextRun(ClassificationTypeNames.MethodName, "WriteLine"), 270New ClassifiedTextRun(ClassificationTypeNames.MethodName, "WriteLine"), 356New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod(CancellationToken cancellationToken = default(CancellationToken))"), 429New ClassifiedTextRun(ClassificationTypeNames.MethodName, "Method", navigationAction:=Sub() Return, "int MyClass.Method()"), 476New ClassifiedTextRun(ClassificationTypeNames.MethodName, "Method", navigationAction:=Sub() Return, "int MyClass.Method()"), 665New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 713New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "bool MyClass.MyMethod()"), 762New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "bool MyClass.MyMethod()"), 811New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod(CancellationToken p)"), 858New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "readonly void MyStruct.MyMethod()"), 980New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod<T>()"), 1031New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod<int>()"), 1085New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass<K>.MyMethod<K>()"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Code.vb (2)
50New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 99New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Inheritdoc.vb (1)
291New ClassifiedTextRun(ClassificationTypeNames.MethodName, "Method", navigationAction:=Sub() Return, "void MyClass.Method(int x)"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Links.vb (3)
52New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 99New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 144New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Lists.vb (5)
56New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 119New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 178New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 243New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"), 322New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Styles.vb (1)
60New ClassifiedTextRun(ClassificationTypeNames.MethodName, "MyMethod", navigationAction:=Sub() Return, "void MyClass.MyMethod()"),
Microsoft.CodeAnalysis.Features (2)
Common\TaggedText.cs (1)
161TextTags.Method => ClassificationTypeNames.MethodName,
SpellCheck\AbstractSpellCheckSpanService.cs (1)
230case ClassificationTypeNames.MethodName:
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
49[ClassificationTypeNames.MethodName] = SemanticTokenTypes.Method,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
SemanticTokens\SemanticTokensRangeTests.cs (3)
3060, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M' 3940, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M' 5030, 5, 1, tokenTypeToIndex[ClassificationTypeNames.MethodName], 0, // 'M'
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Classification\ClassificationHelpers.vb (2)
208Return ClassificationTypeNames.MethodName 210Return ClassificationTypeNames.MethodName
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
232ClassificationTypeNames.MethodName)
Microsoft.CodeAnalysis.Workspaces (2)
Classification\ClassificationTypeNames.cs (1)
51MethodName,
Classification\Classifier.cs (1)
178ClassificationTypeNames.MethodName => SymbolDisplayPartKind.MethodName,
Microsoft.VisualStudio.LanguageServices (2)
HACK_ThemeColorFixer.cs (1)
178UpdateForegroundColor(ClassificationTypeNames.MethodName, sourceFormatMap, targetFormatMap);
StackTraceExplorer\StackFrameViewModel.cs (1)
180methodLink.Inlines.Add(MakeClassifiedRun(ClassificationTypeNames.MethodName, methodTextBuilder.ToString()));