101 references to Designation
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Deconstruct.cs (8)
752var declType = BindVariableTypeWithAnnotations(component.Designation, diagnostics, component.Type.SkipScoped(out _).SkipRef(), ref isConst, out isVar, out alias);
754if (component.Designation.Kind() == SyntaxKind.ParenthesizedVariableDesignation)
759Error(diagnostics, ErrorCode.ERR_DeconstructionVarFormDisallowsSpecificType, component.Designation);
766MessageID.IDS_FeatureTuples.CheckFeatureAvailability(diagnostics, component.Designation);
770return BindDeconstructionVariables(declType, component.Designation, component, diagnostics);
819if (discarded.Parent is DeclarationExpressionSyntax declExpr && declExpr.Designation == discarded)
878if (designation.Parent is DeclarationExpressionSyntax declExpr && declExpr.Designation == designation)
929if (designation.Parent is DeclarationExpressionSyntax declExpr && declExpr.Designation == designation)
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (22)
Microsoft.CodeAnalysis.CSharp.Features (10)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Roslyn.Diagnostics.CSharp.Analyzers (6)