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)
11731
if (whereKeyword != this.WhereKeyword || name != this.
Name
|| colonToken != this.ColonToken || constraints != this.Constraints)
11741
public TypeParameterConstraintClauseSyntax WithWhereKeyword(SyntaxToken whereKeyword) => Update(whereKeyword, this.
Name
, this.ColonToken, this.Constraints);
11743
public TypeParameterConstraintClauseSyntax WithColonToken(SyntaxToken colonToken) => Update(this.WhereKeyword, this.
Name
, colonToken, this.Constraints);
11744
public TypeParameterConstraintClauseSyntax WithConstraints(SeparatedSyntaxList<TypeParameterConstraintSyntax> constraints) => Update(this.WhereKeyword, this.
Name
, this.ColonToken, constraints);
Binder\Binder_Constraints.cs (3)
61
var name = clause.
Name
.Identifier.ValueText;
78
diagnostics.Add(ErrorCode.ERR_DuplicateConstraintClause, clause.
Name
.Location, name);
90
diagnostics.Add(ErrorCode.ERR_TyVarNotFoundInConstraint, clause.
Name
.Location, name, containingSymbol.ConstructedFrom());
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertToExtension\ConvertToExtensionCodeRefactoringProvider.cs (1)
351
c => !extensionMethodInfo.MethodTypeParameters.Any(t => t.Name == c.
Name
.Identifier.ValueText))];
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1390
var symbolInfo = model.GetSymbolInfo(constraintClause.
Name
, cancellationToken);
EditAndContinue\SyntaxComparer.cs (1)
1494
return ((TypeParameterConstraintClauseSyntax)node).
Name
.Identifier;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
1858
var clause = clauses.FirstOrDefault(c => c.
Name
.Identifier.ToString() == typeParameterName);