29 references to Identifier
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
448
var x2 = state.AddRangeVariable(enclosingBinder, join.
Identifier
, BindingDiagnosticBag.Discarded);
Binder\Binder_Query.cs (1)
409
var x2 = state.AddRangeVariable(this, join.
Identifier
, diagnostics);
Binder\Binder_QueryErrors.cs (1)
141
if (join.LeftExpression.Span.Contains(node.Span) && join.
Identifier
.ValueText == node.Identifier.ValueText) return true;
SymbolDisplay\SymbolDisplayVisitor_Minimal.cs (1)
278
JoinClauseSyntax joinClause when joinClause.
Identifier
== token =>
Syntax.xml.Main.Generated.cs (1)
1732
=> node.Update(VisitToken(node.JoinKeyword), (TypeSyntax?)Visit(node.Type), VisitToken(node.
Identifier
), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.InExpression) ?? throw new ArgumentNullException("inExpression"), VisitToken(node.OnKeyword), (ExpressionSyntax?)Visit(node.LeftExpression) ?? throw new ArgumentNullException("leftExpression"), VisitToken(node.EqualsKeyword), (ExpressionSyntax?)Visit(node.RightExpression) ?? throw new ArgumentNullException("rightExpression"), (JoinIntoClauseSyntax?)Visit(node.Into));
Syntax.xml.Syntax.Generated.cs (10)
4593
if (joinKeyword != this.JoinKeyword || type != this.Type || identifier != this.
Identifier
|| inKeyword != this.InKeyword || inExpression != this.InExpression || onKeyword != this.OnKeyword || leftExpression != this.LeftExpression || equalsKeyword != this.EqualsKeyword || rightExpression != this.RightExpression || into != this.Into)
4603
public JoinClauseSyntax WithJoinKeyword(SyntaxToken joinKeyword) => Update(joinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4604
public JoinClauseSyntax WithType(TypeSyntax? type) => Update(this.JoinKeyword, type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4606
public JoinClauseSyntax WithInKeyword(SyntaxToken inKeyword) => Update(this.JoinKeyword, this.Type, this.
Identifier
, inKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4607
public JoinClauseSyntax WithInExpression(ExpressionSyntax inExpression) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, inExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4608
public JoinClauseSyntax WithOnKeyword(SyntaxToken onKeyword) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, onKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4609
public JoinClauseSyntax WithLeftExpression(ExpressionSyntax leftExpression) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, leftExpression, this.EqualsKeyword, this.RightExpression, this.Into);
4610
public JoinClauseSyntax WithEqualsKeyword(SyntaxToken equalsKeyword) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, equalsKeyword, this.RightExpression, this.Into);
4611
public JoinClauseSyntax WithRightExpression(ExpressionSyntax rightExpression) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, rightExpression, this.Into);
4612
public JoinClauseSyntax WithInto(JoinIntoClauseSyntax? into) => Update(this.JoinKeyword, this.Type, this.
Identifier
, this.InKeyword, this.InExpression, this.OnKeyword, this.LeftExpression, this.EqualsKeyword, this.RightExpression, into);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
78
Add(node.
Identifier
);
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\KeywordRecommenders\InKeywordRecommender.cs (1)
120
if (token == joinClause.
Identifier
&& joinClause.Type != null)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (2)
195
joinClause.
Identifier
,
861
if (queryExpressionProcessingInfo.TryAdd(joinClause, joinClause.
Identifier
))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.cs (2)
12001
Assert.Equal(SyntaxKind.IdentifierToken, node.
Identifier
.Kind());
12009
var newNode = node.WithJoinKeyword(node.JoinKeyword).WithType(node.Type).WithIdentifier(node.
Identifier
).WithInKeyword(node.InKeyword).WithInExpression(node.InExpression).WithOnKeyword(node.OnKeyword).WithLeftExpression(node.LeftExpression).WithEqualsKeyword(node.EqualsKeyword).WithRightExpression(node.RightExpression).WithInto(node.Into);
Parsing\ExpressionParsingTests.cs (6)
2846
Assert.NotEqual(default, js.
Identifier
);
2847
Assert.Equal("b", js.
Identifier
.ToString());
2903
Assert.NotEqual(default, js.
Identifier
);
2904
Assert.Equal("b", js.
Identifier
.ToString());
2956
Assert.NotEqual(default, js.
Identifier
);
2957
Assert.Equal("b", js.
Identifier
.ToString());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
78
Add(node.
Identifier
);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.DeclarationFinder.cs (1)
78
Add(node.
Identifier
);