22 references to Type
Microsoft.CodeAnalysis.CSharp (17)
_generated\0\Syntax.xml.Main.Generated.cs (1)
1738
=> node.Update(VisitToken(node.FromKeyword), (TypeSyntax?)Visit(node.
Type
), VisitToken(node.Identifier), VisitToken(node.InKeyword), (ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"));
_generated\2\Syntax.xml.Syntax.Generated.cs (5)
4505
if (fromKeyword != this.FromKeyword || type != this.
Type
|| identifier != this.Identifier || inKeyword != this.InKeyword || expression != this.Expression)
4515
public FromClauseSyntax WithFromKeyword(SyntaxToken fromKeyword) => Update(fromKeyword, this.
Type
, this.Identifier, this.InKeyword, this.Expression);
4517
public FromClauseSyntax WithIdentifier(SyntaxToken identifier) => Update(this.FromKeyword, this.
Type
, identifier, this.InKeyword, this.Expression);
4518
public FromClauseSyntax WithInKeyword(SyntaxToken inKeyword) => Update(this.FromKeyword, this.
Type
, this.Identifier, inKeyword, this.Expression);
4519
public FromClauseSyntax WithExpression(ExpressionSyntax expression) => Update(this.FromKeyword, this.
Type
, this.Identifier, this.InKeyword, expression);
Binder\Binder_Query.cs (9)
54
if (fromClause.
Type
!= null)
56
var typeRestriction = BindTypeArgument(fromClause.
Type
, diagnostics);
57
cast = MakeQueryInvocation(fromClause, state.fromExpression, "Cast", fromClause.
Type
, typeRestriction, diagnostics
123
if (query.FromClause.
Type
!= null)
588
if (from.
Type
== null)
594
collectionSelectorLambda = MakeQueryUnboundLambdaWithCast(state.RangeVariableMap(), x1, from.Expression, from.
Type
, BindTypeArgument(from.
Type
, diagnostics), diagnostics.AccumulatesDependencies);
626
BoundExpression? castInvocation = (from.
Type
!= null) ? ExtractCastInvocation(invocation) : null;
672
BoundExpression? castInvocation = (from.
Type
!= null) ? ExtractCastInvocation(invocation) : null;
Binder\Binder_QueryErrors.cs (1)
60
else if (fromClause != null && fromClause.
Type
== null && HasCastToQueryProvider(instanceArgument.Type, ref useSiteInfo))
Syntax\SyntaxFacts.cs (1)
123
return ((FromClauseSyntax)parent).
Type
== node;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
614
fromClause.
Type
== topExpression)
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\InKeywordRecommender.cs (1)
99
if (token == fromClause.Identifier && fromClause.
Type
!= null)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
144
fromClause.
Type
?? VarNameIdentifier,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
614
fromClause.
Type
== topExpression)
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
614
fromClause.
Type
== topExpression)