1 write to TargetSymbol
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
51TargetSymbol = targetSymbol;
12 references to TargetSymbol
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (2)
35/// <see cref="AttributeData"/>s for any matching attributes on <see cref="TargetSymbol"/>. Always non-empty. All 39/// To get the entire list of attributes, use <see cref="ISymbol.GetAttributes"/> on <see cref="TargetSymbol"/>.
Microsoft.Interop.ComInterfaceGenerator (3)
ComClassGenerator.cs (1)
33var type = (INamedTypeSymbol)context.TargetSymbol;
ComInterfaceGenerator.cs (1)
41static (context, ct) => context.TargetSymbol is INamedTypeSymbol interfaceSymbol
VtableIndexStubGenerator.cs (1)
42static (context, ct) => context.TargetSymbol is IMethodSymbol methodSymbol
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
43static (context, ct) => new { Syntax = (MethodDeclarationSyntax)context.TargetNode, Symbol = (IMethodSymbol)context.TargetSymbol });
JSImportGenerator.cs (1)
41static (context, ct) => new { Syntax = (MethodDeclarationSyntax)context.TargetNode, Symbol = (IMethodSymbol)context.TargetSymbol });
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
47static (context, ct) => context.TargetSymbol is IMethodSymbol methodSymbol
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
46static (context, ct) => context.TargetSymbol is IMethodSymbol methodSymbol
System.Private.CoreLib.Generators (1)
EventSourceGenerator.Parser.cs (1)
35foreach (AttributeData attribute in context.TargetSymbol.GetAttributes())
System.Text.RegularExpressions.Generator (2)
RegexGenerator.Parser.cs (2)
56ISymbol? regexMemberSymbol = context.TargetSymbol is IMethodSymbol or IPropertySymbol ? context.TargetSymbol : null;