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