5 implementations of AssociatedSymbol
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
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)
1206Private ReadOnly Property INamedTypeSymbol_AssociatedSymbol As ISymbol Implements INamedTypeSymbol.AssociatedSymbol
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationAbstractNamedTypeSymbol.cs (1)
114public ISymbol AssociatedSymbol { get; internal set; }
18 references to AssociatedSymbol
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpCodeGenerationService.cs (1)
71if (namedType?.AssociatedSymbol != null)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpCodeGenerationService.cs (1)
71if (namedType?.AssociatedSymbol != null)
Rename\CSharpRenameRewriterLanguageService.cs (1)
375namedTypeSymbol.AssociatedSymbol != null)
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
70public ISymbol AssociatedSymbol => _symbol.AssociatedSymbol;
Rename\SymbolicRenameInfo.cs (1)
192symbol.ContainingType.AssociatedSymbol != null))
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\NamedTypeSymbol.vb (1)
1206Private ReadOnly Property INamedTypeSymbol_AssociatedSymbol As ISymbol Implements INamedTypeSymbol.AssociatedSymbol
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)
CodeGeneration\EventGenerator.vb (1)
139If eventType.IsDelegateType() AndAlso eventType.AssociatedSymbol IsNot Nothing Then
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
365Return 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
Microsoft.CodeAnalysis.Workspaces (6)
FindSymbols\FindReferences\Finders\EventSymbolReferenceFinder.cs (1)
30.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)
351if (typeSymbol.IsImplicitlyDeclared && typeSymbol.IsDelegateType() && typeSymbol.AssociatedSymbol != null) 353return typeSymbol.AssociatedSymbol;
Shared\Extensions\SemanticModelExtensions.cs (1)
141namedType.AssociatedSymbol != null)