12 references to Name
Microsoft.CodeAnalysis.CSharp (8)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2041=> node.Update(VisitToken(node.WhereKeyword), (IdentifierNameSyntax?)Visit(node.Name) ?? throw new ArgumentNullException("name"), VisitToken(node.ColonToken), VisitList(node.Constraints));
_generated\2\Syntax.xml.Syntax.Generated.cs (4)
11731if (whereKeyword != this.WhereKeyword || name != this.Name || colonToken != this.ColonToken || constraints != this.Constraints) 11741public TypeParameterConstraintClauseSyntax WithWhereKeyword(SyntaxToken whereKeyword) => Update(whereKeyword, this.Name, this.ColonToken, this.Constraints); 11743public TypeParameterConstraintClauseSyntax WithColonToken(SyntaxToken colonToken) => Update(this.WhereKeyword, this.Name, colonToken, this.Constraints); 11744public TypeParameterConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<TypeParameterConstraintSyntax> constraints) => Update(this.WhereKeyword, this.Name, this.ColonToken, constraints);
Binder\Binder_Constraints.cs (3)
61var name = clause.Name.Identifier.ValueText; 78diagnostics.Add(ErrorCode.ERR_DuplicateConstraintClause, clause.Name.Location, name); 90diagnostics.Add(ErrorCode.ERR_TyVarNotFoundInConstraint, clause.Name.Location, name, containingSymbol.ConstructedFrom());
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertToExtension\ConvertToExtensionCodeRefactoringProvider.cs (1)
351c => !extensionMethodInfo.MethodTypeParameters.Any(t => t.Name == c.Name.Identifier.ValueText))];
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1390var symbolInfo = model.GetSymbolInfo(constraintClause.Name, cancellationToken);
EditAndContinue\SyntaxComparer.cs (1)
1494return ((TypeParameterConstraintClauseSyntax)node).Name.Identifier;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1858var clause = clauses.FirstOrDefault(c => c.Name.Identifier.ToString() == typeParameterName);