1 implementation of DeclaredSymbol
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8579public ISymbol? DeclaredSymbol { get; }
13 references to DeclaredSymbol
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7634operation.DeclaredSymbol,
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
101if (operation is IDeclarationPatternOperation { DeclaredSymbol: ILocalSymbol local })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
294if (operation.DeclaredSymbol is not null) 296OnReferenceFound(operation.DeclaredSymbol, operation);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
855DeclaredSymbol: ISymbol otherVar,
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
855DeclaredSymbol: ISymbol otherVar,
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseConditionalExpression\ForAssignment\UseConditionalExpressionForAssignmentHelpers.cs (1)
101if (operation is IDeclarationPatternOperation { DeclaredSymbol: ILocalSymbol local })
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
2000LogSymbol(operation.DeclaredSymbol, $", {nameof(operation.DeclaredSymbol)}");
Compilation\TestOperationVisitor.cs (2)
1434Assert.NotNull(operation.DeclaredSymbol); 1438Assert.Null(operation.DeclaredSymbol);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (2)
294if (operation.DeclaredSymbol is not null) 296OnReferenceFound(operation.DeclaredSymbol, operation);