49 references to TypeFlags
System.Workflow.Activities (49)
Rules\Literal.cs (49)
63private static Dictionary<Type, TypeFlags> supportedTypes = CreateTypesDictionary(); 99private static Dictionary<Type, TypeFlags> CreateTypesDictionary() 102Dictionary<Type, TypeFlags> dictionary = new Dictionary<Type, TypeFlags>(32); 103dictionary.Add(typeof(byte), TypeFlags.UnsignedNumbers); 104dictionary.Add(typeof(byte?), TypeFlags.UnsignedNumbers); 105dictionary.Add(typeof(sbyte), TypeFlags.SignedNumbers); 106dictionary.Add(typeof(sbyte?), TypeFlags.SignedNumbers); 107dictionary.Add(typeof(short), TypeFlags.SignedNumbers); 108dictionary.Add(typeof(short?), TypeFlags.SignedNumbers); 109dictionary.Add(typeof(int), TypeFlags.SignedNumbers); 110dictionary.Add(typeof(int?), TypeFlags.SignedNumbers); 111dictionary.Add(typeof(long), TypeFlags.SignedNumbers); 112dictionary.Add(typeof(long?), TypeFlags.SignedNumbers); 113dictionary.Add(typeof(ushort), TypeFlags.UnsignedNumbers); 114dictionary.Add(typeof(ushort?), TypeFlags.UnsignedNumbers); 115dictionary.Add(typeof(uint), TypeFlags.UnsignedNumbers); 116dictionary.Add(typeof(uint?), TypeFlags.UnsignedNumbers); 117dictionary.Add(typeof(ulong), TypeFlags.ULong); 118dictionary.Add(typeof(ulong?), TypeFlags.ULong); 119dictionary.Add(typeof(float), TypeFlags.Float); 120dictionary.Add(typeof(float?), TypeFlags.Float); 121dictionary.Add(typeof(double), TypeFlags.Float); 122dictionary.Add(typeof(double?), TypeFlags.Float); 123dictionary.Add(typeof(char), TypeFlags.UnsignedNumbers); 124dictionary.Add(typeof(char?), TypeFlags.UnsignedNumbers); 125dictionary.Add(typeof(string), TypeFlags.String); 126dictionary.Add(typeof(decimal), TypeFlags.Decimal); 127dictionary.Add(typeof(decimal?), TypeFlags.Decimal); 128dictionary.Add(typeof(bool), TypeFlags.Bool); 129dictionary.Add(typeof(bool?), TypeFlags.Bool); 421TypeFlags lhsFlags, rhsFlags; 431if ((lhsFlags == TypeFlags.Bool) && (comparison != CodeBinaryOperatorType.ValueEquality)) 446case TypeFlags.Decimal | TypeFlags.SignedNumbers: 447case TypeFlags.Decimal | TypeFlags.UnsignedNumbers: 448case TypeFlags.Decimal | TypeFlags.ULong: 449case TypeFlags.Float | TypeFlags.SignedNumbers: 450case TypeFlags.Float | TypeFlags.UnsignedNumbers: 451case TypeFlags.Float | TypeFlags.ULong: 452case TypeFlags.ULong | TypeFlags.UnsignedNumbers: 453case TypeFlags.SignedNumbers | TypeFlags.UnsignedNumbers: