34 references to Identifier
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Constraints.cs (2)
340
if (!isForOverride && !hasTypeLikeConstraint && !AreNullableAnnotationsEnabled(typeParameterSyntax.
Identifier
))
379
return isForOverride || AreNullableAnnotationsEnabled(typeParameterSyntax.
Identifier
) ? TypeParameterConstraintClause.Empty : TypeParameterConstraintClause.ObliviousNullabilityIfReferenceType;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Main.Generated.cs (1)
2021
=> node.Update(VisitList(node.AttributeLists), VisitToken(node.VarianceKeyword), VisitToken(node.
Identifier
));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Syntax.Generated.cs (3)
10335
if (attributeLists != this.AttributeLists || varianceKeyword != this.VarianceKeyword || identifier != this.
Identifier
)
10345
public TypeParameterSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.VarianceKeyword, this.
Identifier
);
10346
public TypeParameterSyntax WithVarianceKeyword(SyntaxToken varianceKeyword) => Update(this.AttributeLists, varianceKeyword, this.
Identifier
);
Symbols\Source\LocalFunctionSymbol.cs (1)
472
var identifier = parameter.
Identifier
;
Symbols\Source\SourceNamedTypeSymbol.cs (4)
206
var location = new SourceLocation(tp.
Identifier
);
209
ReportReservedTypeName(tp.
Identifier
.Text, this.DeclaringCompilation, diagnostics.DiagnosticBag, location);
213
name = typeParameterNames[i] = tp.
Identifier
.ValueText;
251
else if (name != tp.
Identifier
.ValueText)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1194
var identifier = parameter.
Identifier
;
Symbols\Source\TypeParameterBuilder.cs (1)
39
syntaxNode.
Identifier
.ValueText,
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ILocalSymbolExtensions.cs (1)
45
return typeParameters.HasValue && typeParameters.Value.Any(typeParameter => typeParameter.
Identifier
.ValueText == name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
883
builder.Append(string.Join(", ", typeParameterList.Parameters.Select(static p => p.
Identifier
.ValueText)));
Microsoft.CodeAnalysis.CSharp.Features (4)
DocumentationComments\CSharpDocumentationCommentSnippetService.cs (1)
117
list.Add("/// <typeparam name=\"" + typeParam.
Identifier
.ValueText + "\"></typeparam>");
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1726
return typeParameter.
Identifier
.Span;
EditAndContinue\SyntaxComparer.cs (1)
1497
return ((TypeParameterSyntax)node).
Identifier
;
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
430
static (parameter, builder) => builder.Append(parameter.
Identifier
.ValueText));
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
Classification\ClassificationHelpers.cs (1)
204
else if (token.Parent is TypeParameterSyntax typeParameter && typeParameter.
Identifier
== token)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
2069
TypeParameterSyntax typeParameter => typeParameter.
Identifier
.ValueText,
2100
TypeParameterSyntax typeParameter => ReplaceWithTrivia(declaration, typeParameter.
Identifier
, id),
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (3)
519
builder.Append(parameter.
Identifier
.Text);
638
var typeParameterNames = methodDeclaration.TypeParameterList?.Parameters.SelectAsArray(p => p.
Identifier
.Text);
648
var typeParameterNames = extensionBlockDeclaration.TypeParameterList?.Parameters.SelectAsArray(p => p.
Identifier
.Text);
Rename\CSharpRenameRewriterLanguageService.cs (2)
899
if (typeParameter != currentTypeParameter && token.ValueText == typeParameter.
Identifier
.ValueText)
900
conflicts.Add(reverseMappedLocations[typeParameter.
Identifier
.GetLocation()]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ILocalSymbolExtensions.cs (1)
45
return typeParameters.HasValue && typeParameters.Value.Any(typeParameter => typeParameter.
Identifier
.ValueText == name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
883
builder.Append(string.Join(", ", typeParameterList.Parameters.Select(static p => p.
Identifier
.ValueText)));
Microsoft.Interop.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\ContainingTypeUtilities.cs (1)
97
+ parameter.
Identifier
.Text)) + ">";
Microsoft.ML.InternalCodeAnalyzer (1)
TypeParamNameAnalyzer.cs (1)
42
var identifier = node.
Identifier
;
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ILocalSymbolExtensions.cs (1)
45
return typeParameters.HasValue && typeParameters.Value.Any(typeParameter => typeParameter.
Identifier
.ValueText == name);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
883
builder.Append(string.Join(", ", typeParameterList.Parameters.Select(static p => p.
Identifier
.ValueText)));
System.Text.Json.SourceGeneration (1)
src\runtime\src\libraries\Common\src\SourceGenerators\ContainingTypeUtilities.cs (1)
97
+ parameter.
Identifier
.Text)) + ">";