69 references to ExpressionType
Microsoft.CodeAnalysis.CSharp.Features (69)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (69)
32var expressionType = ExpressionType.Invalid; 38private static void AddIfValidTerm(ExpressionSyntax expression, ExpressionType type, IList<string> terms) 48private static bool IsValidTerm(ExpressionType type) 49=> (type & ExpressionType.ValidTerm) == ExpressionType.ValidTerm; 51private static bool IsValidExpression(ExpressionType type) 52=> (type & ExpressionType.ValidExpression) == ExpressionType.ValidExpression; 54private static void AddSubExpressionTerms(ExpressionSyntax expression, IList<string> terms, ref ExpressionType expressionType) 69expressionType = ExpressionType.ValidExpression; 74expressionType = ExpressionType.ValidTerm; 86expressionType = ExpressionType.ValidExpression; 155expressionType = ExpressionType.Invalid; 158private static void AddCastExpressionTerms(CastExpressionSyntax castExpression, IList<string> terms, ref ExpressionType expressionType) 164var flags = ExpressionType.Invalid; 176private static void AddMemberAccessExpressionTerms(MemberAccessExpressionSyntax memberAccessExpression, IList<string> terms, ref ExpressionType expressionType) 178var flags = ExpressionType.Invalid; 199expressionType = ExpressionType.ValidTerm; 203expressionType = ExpressionType.ValidExpression; 207private static void AddObjectCreationExpressionTerms(ObjectCreationExpressionSyntax objectionCreationExpression, IList<string> terms, ref ExpressionType expressionType) 212expressionType = ExpressionType.Invalid; 216var flags = ExpressionType.Invalid; 223expressionType = ExpressionType.ValidExpression; 231ref ExpressionType expressionType) 237var flags = ExpressionType.Invalid; 245expressionType = ExpressionType.ValidExpression; 249expressionType = ExpressionType.Invalid; 253private static void AddInvocationExpressionTerms(InvocationExpressionSyntax invocationExpression, IList<string> terms, ref ExpressionType expressionType) 258expressionType = ExpressionType.Invalid; 260ExpressionType leftFlags = ExpressionType.Invalid, rightFlags = ExpressionType.Invalid; 268expressionType = (leftFlags & rightFlags) & ExpressionType.ValidExpression; 271private static void AddPrefixUnaryExpressionTerms(PrefixUnaryExpressionSyntax prefixUnaryExpression, IList<string> terms, ref ExpressionType expressionType) 273expressionType = ExpressionType.Invalid; 274var flags = ExpressionType.Invalid; 285expressionType = flags & ExpressionType.ValidExpression; 289private static void AddAwaitExpressionTerms(AwaitExpressionSyntax awaitExpression, IList<string> terms, ref ExpressionType expressionType) 291expressionType = ExpressionType.Invalid; 292var flags = ExpressionType.Invalid; 301private static void AddPostfixUnaryExpressionTerms(PostfixUnaryExpressionSyntax postfixUnaryExpression, IList<string> terms, ref ExpressionType expressionType) 305expressionType = ExpressionType.Invalid; 307var flags = ExpressionType.Invalid; 316private static void AddConditionalExpressionTerms(ConditionalExpressionSyntax conditionalExpression, IList<string> terms, ref ExpressionType expressionType) 318ExpressionType conditionFlags = ExpressionType.Invalid, trueFlags = ExpressionType.Invalid, falseFlags = ExpressionType.Invalid; 329expressionType = (conditionFlags & trueFlags & falseFlags) & ExpressionType.ValidExpression; 332private static void AddBinaryExpressionTerms(ExpressionSyntax binaryExpression, ExpressionSyntax left, ExpressionSyntax right, IList<string> terms, ref ExpressionType expressionType) 334ExpressionType leftFlags = ExpressionType.Invalid, rightFlags = ExpressionType.Invalid; 376expressionType = (leftFlags & rightFlags) & ExpressionType.ValidExpression; 380expressionType = ExpressionType.Invalid; 385private static void AddArgumentTerms(ArgumentListSyntax argumentList, IList<string> terms, ref ExpressionType expressionType) 394var flags = ExpressionType.Invalid; 409? ExpressionType.ValidTerm 411? ExpressionType.ValidExpression : ExpressionType.Invalid;