5 implementations of AssociatedSymbol
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
114public ISymbol AssociatedSymbol { get; internal set; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\NamedTypeSymbol.cs (1)
146ISymbol INamedTypeSymbol.AssociatedSymbol
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
70public ISymbol AssociatedSymbol => _symbol.AssociatedSymbol;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1435Private ReadOnly Property INamedTypeSymbol_AssociatedSymbol As ISymbol Implements INamedTypeSymbol.AssociatedSymbol
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractNamedTypeSymbol.cs (1)
114public ISymbol AssociatedSymbol { get; internal set; }
18 references to AssociatedSymbol
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
69if (namedType?.AssociatedSymbol != null)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Rename\CSharpRenameRewriterLanguageService.cs (1)
372namedTypeSymbol.AssociatedSymbol != null)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (1)
69if (namedType?.AssociatedSymbol != null)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
70public ISymbol AssociatedSymbol => _symbol.AssociatedSymbol;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1435Private ReadOnly Property INamedTypeSymbol_AssociatedSymbol As ISymbol Implements INamedTypeSymbol.AssociatedSymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (1)
141If eventType.IsDelegateType() AndAlso eventType.AssociatedSymbol IsNot Nothing Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
1322Assert.Equal("Event N1.Test.Percent(Percent As System.Single)", paramSymbol1.ContainingType.AssociatedSymbol.ToTestDisplayString())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
371Return Not TypeOf DirectCast(s, INamedTypeSymbol).AssociatedSymbol Is IEventSymbol
Rename\VisualBasicRenameRewriterLanguageService.vb (3)
322DirectCast(fieldSymbol.Type, INamedTypeSymbol).AssociatedSymbol IsNot Nothing Then 337symbol.ContainingType.AssociatedSymbol IsNot Nothing Then 344namedTypeSymbol.AssociatedSymbol IsNot Nothing Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\EventGenerator.vb (1)
141If eventType.IsDelegateType() AndAlso eventType.AssociatedSymbol IsNot Nothing Then
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\FindReferences\Finders\EventSymbolReferenceFinder.cs (1)
32.WhereAsArray(n => symbol.Equals(n.AssociatedSymbol))
FindSymbols\FindReferences\Finders\NamedTypeSymbolReferenceFinder.cs (2)
35if (symbol.AssociatedSymbol != null) 36Add(result, ImmutableArray.Create(symbol.AssociatedSymbol));
Rename\RenameUtilities.cs (2)
357if (typeSymbol.IsImplicitlyDeclared && typeSymbol.IsDelegateType() && typeSymbol.AssociatedSymbol != null) 359return typeSymbol.AssociatedSymbol;
Shared\Extensions\SemanticModelExtensions.cs (1)
139namedType.AssociatedSymbol != null)