82 references to SpecialNames
Microsoft.CSharp (82)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (34)
378ExpressionType.Add => SpecialNames.CLR_Add, 379ExpressionType.Subtract => SpecialNames.CLR_Subtract, 380ExpressionType.Multiply => SpecialNames.CLR_Multiply, 381ExpressionType.Divide => SpecialNames.CLR_Division, 382ExpressionType.Modulo => SpecialNames.CLR_Modulus, 383ExpressionType.LeftShift => SpecialNames.CLR_LShift, 384ExpressionType.RightShift => SpecialNames.CLR_RShift, 385ExpressionType.LessThan => SpecialNames.CLR_LT, 386ExpressionType.GreaterThan => SpecialNames.CLR_GT, 387ExpressionType.LessThanOrEqual => SpecialNames.CLR_LTE, 388ExpressionType.GreaterThanOrEqual => SpecialNames.CLR_GTE, 389ExpressionType.Equal => SpecialNames.CLR_Equality, 390ExpressionType.NotEqual => SpecialNames.CLR_Inequality, 391ExpressionType.And => SpecialNames.CLR_BitwiseAnd, 392ExpressionType.ExclusiveOr => SpecialNames.CLR_ExclusiveOr, 393ExpressionType.Or => SpecialNames.CLR_BitwiseOr, 396ExpressionType.AddAssign => SpecialNames.CLR_InPlaceAdd, 397ExpressionType.SubtractAssign => SpecialNames.CLR_InPlaceSubtract, 398ExpressionType.MultiplyAssign => SpecialNames.CLR_InPlaceMultiply, 399ExpressionType.DivideAssign => SpecialNames.CLR_InPlaceDivide, 400ExpressionType.ModuloAssign => SpecialNames.CLR_InPlaceModulus, 401ExpressionType.AndAssign => SpecialNames.CLR_InPlaceBitwiseAnd, 402ExpressionType.ExclusiveOrAssign => SpecialNames.CLR_InPlaceExclusiveOr, 403ExpressionType.OrAssign => SpecialNames.CLR_InPlaceBitwiseOr, 404ExpressionType.LeftShiftAssign => SpecialNames.CLR_InPlaceLShift, 405ExpressionType.RightShiftAssign => SpecialNames.CLR_InPlaceRShift, 408ExpressionType.Negate => SpecialNames.CLR_UnaryNegation, 409ExpressionType.UnaryPlus => SpecialNames.CLR_UnaryPlus, 410ExpressionType.Not => SpecialNames.CLR_LogicalNot, 411ExpressionType.OnesComplement => SpecialNames.CLR_OnesComplement, 412ExpressionType.IsTrue => SpecialNames.CLR_True, 413ExpressionType.IsFalse => SpecialNames.CLR_False, 415ExpressionType.Increment => SpecialNames.CLR_Increment, 416ExpressionType.Decrement => SpecialNames.CLR_Decrement,
Microsoft\CSharp\RuntimeBinder\CSharpGetIndexBinder.cs (2)
20public string Name => SpecialNames.Indexer; 31=> SymbolTable.PopulateSymbolTableWithName(SpecialNames.Indexer, null, arguments[0].Type);
Microsoft\CSharp\RuntimeBinder\CSharpSetIndexBinder.cs (2)
21public string Name => SpecialNames.Indexer; 29=> SymbolTable.PopulateSymbolTableWithName(SpecialNames.Indexer, null, arguments[0].Type);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (3)
584if (Name == SpecialNames.Invoke && callingObject.Type.IsDelegateType) 590if (Name == SpecialNames.Constructor) 596if (Name == SpecialNames.Indexer)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (2)
2354SymbolTable.PopulateSymbolTableWithName(SpecialNames.CLR_True, null, pExprWrap.Type.AssociatedSystemType); 2355SymbolTable.PopulateSymbolTableWithName(SpecialNames.CLR_False, null, pExprWrap.Type.AssociatedSystemType);
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (39)
60if (name == SpecialNames.Indexer) 64name = callingType.GetIndexerName() ?? SpecialNames.Indexer; 118(name == SpecialNames.Indexer ? MemLookFlags.Indexer : 0) | 119(name == SpecialNames.Constructor ? MemLookFlags.Ctor : 0) | 189SpecialNames.Invoke => MethodKindEnum.Invoke, 190SpecialNames.ImplicitConversion => MethodKindEnum.ImplicitConv, 191SpecialNames.ExplicitConversion => MethodKindEnum.ExplicitConv, 985PopulateSymbolTableWithName(SpecialNames.Constructor, null, type); 986PopulateSymbolTableWithName(SpecialNames.Invoke, null, type); 1159name = GetName(SpecialNames.Indexer); 1326m.Name == SpecialNames.Invoke ? MethodKindEnum.Invoke : MethodKindEnum.Actual); 1798case SpecialNames.ImplicitConversion: 1801case SpecialNames.ExplicitConversion: 1823case SpecialNames.ImplicitConversion: 1824case SpecialNames.ExplicitConversion: 1825case SpecialNames.CLR_Add: 1826case SpecialNames.CLR_Subtract: 1827case SpecialNames.CLR_Multiply: 1828case SpecialNames.CLR_Division: 1829case SpecialNames.CLR_Modulus: 1830case SpecialNames.CLR_LShift: 1831case SpecialNames.CLR_RShift: 1832case SpecialNames.CLR_LT: 1833case SpecialNames.CLR_GT: 1834case SpecialNames.CLR_LTE: 1835case SpecialNames.CLR_GTE: 1836case SpecialNames.CLR_Equality: 1837case SpecialNames.CLR_Inequality: 1838case SpecialNames.CLR_BitwiseAnd: 1839case SpecialNames.CLR_ExclusiveOr: 1840case SpecialNames.CLR_BitwiseOr: 1841case SpecialNames.CLR_LogicalNot: 1842case SpecialNames.CLR_UnaryNegation: 1843case SpecialNames.CLR_UnaryPlus: 1844case SpecialNames.CLR_OnesComplement: 1845case SpecialNames.CLR_True: 1846case SpecialNames.CLR_False: 1847case SpecialNames.CLR_Increment: 1848case SpecialNames.CLR_Decrement: