101 references to Designation
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.CodeAnalysis.CSharp (34)
Binder\Binder_Deconstruct.cs (8)
754var declType = BindVariableTypeWithAnnotations(component.Designation, diagnostics, component.Type.SkipScoped(out _).SkipRef(), ref isConst, out isVar, out alias);
756if (component.Designation.Kind() == SyntaxKind.ParenthesizedVariableDesignation)
761Error(diagnostics, ErrorCode.ERR_DeconstructionVarFormDisallowsSpecificType, component.Designation);
768MessageID.IDS_FeatureTuples.CheckFeatureAvailability(diagnostics, component.Designation);
772return BindDeconstructionVariables(declType, component.Designation, component, diagnostics);
821if (discarded.Parent is DeclarationExpressionSyntax declExpr && declExpr.Designation == discarded)
880if (designation.Parent is DeclarationExpressionSyntax declExpr && declExpr.Designation == designation)
931if (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)