42 references to PN_COUNT
Microsoft.CSharp (42)
Microsoft\CSharp\RuntimeBinder\Semantics\COperators.cs (41)
26
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
27
new OperatorInfo(TokenKind.Equal, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
28
new OperatorInfo(TokenKind.PlusEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.Add ),
29
new OperatorInfo(TokenKind.MinusEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.Subtract ),
30
new OperatorInfo(TokenKind.SplatEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.Multiply ),
31
new OperatorInfo(TokenKind.SlashEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.Divide ),
32
new OperatorInfo(TokenKind.PercentEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.Modulo ),
33
new OperatorInfo(TokenKind.AndEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.BitwiseAnd ),
34
new OperatorInfo(TokenKind.HatEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.BitwiseExclusiveOr),
35
new OperatorInfo(TokenKind.BarEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.BitwiseOr ),
36
new OperatorInfo(TokenKind.LeftShiftEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.LeftShirt ),
37
new OperatorInfo(TokenKind.RightShiftEqual, PredefinedName.
PN_COUNT
, ExpressionKind.MultiOffset + (int)ExpressionKind.RightShift ),
38
new OperatorInfo(TokenKind.Question, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
39
new OperatorInfo(TokenKind.QuestionQuestion, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
40
new OperatorInfo(TokenKind.LogicalOr, PredefinedName.
PN_COUNT
, ExpressionKind.LogicalOr ),
41
new OperatorInfo(TokenKind.LogicalAnd, PredefinedName.
PN_COUNT
, ExpressionKind.LogicalAnd ),
51
new OperatorInfo(TokenKind.Is, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
52
new OperatorInfo(TokenKind.As, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
60
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
67
new OperatorInfo(TokenKind.TypeOf, PredefinedName.
PN_COUNT
, ExpressionKind.TypeOf ),
68
new OperatorInfo(TokenKind.Checked, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
69
new OperatorInfo(TokenKind.Unchecked, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
70
new OperatorInfo(TokenKind.MakeRef, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
71
new OperatorInfo(TokenKind.RefValue, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
72
new OperatorInfo(TokenKind.RefType, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
73
new OperatorInfo(TokenKind.ArgList, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
74
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
75
new OperatorInfo(TokenKind.Splat, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
76
new OperatorInfo(TokenKind.Ampersand, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
77
new OperatorInfo(TokenKind.Colon, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
78
new OperatorInfo(TokenKind.This, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
79
new OperatorInfo(TokenKind.Base, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
80
new OperatorInfo(TokenKind.Null, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
83
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
84
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
85
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
86
new OperatorInfo(TokenKind.PlusPlus, PredefinedName.
PN_COUNT
, ExpressionKind.Add ),
87
new OperatorInfo(TokenKind.MinusMinus, PredefinedName.
PN_COUNT
, ExpressionKind.Subtract ),
88
new OperatorInfo(TokenKind.Dot, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount ),
93
new OperatorInfo(TokenKind.Unknown, PredefinedName.
PN_COUNT
, ExpressionKind.ExpressionKindCount )
110
if (predefName != PredefinedName.
PN_COUNT
&& token != TokenKind.Unknown)
Microsoft\CSharp\RuntimeBinder\Syntax\NameManager.cs (1)
168
Debug.Assert(id < PredefinedName.
PN_COUNT
);