104 references to SYMKIND
Microsoft.CSharp (104)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (1)
55
internal
SYMKIND
sk;
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (17)
30
private static string ErrSK(
SYMKIND
sk)
35
case
SYMKIND
.SK_MethodSymbol:
38
case
SYMKIND
.SK_AggregateSymbol:
41
case
SYMKIND
.SK_NamespaceSymbol:
44
case
SYMKIND
.SK_FieldSymbol:
47
case
SYMKIND
.SK_LocalVariableSymbol:
50
case
SYMKIND
.SK_PropertySymbol:
53
case
SYMKIND
.SK_EventSymbol:
56
case
SYMKIND
.SK_TypeParameterSymbol:
318
case
SYMKIND
.SK_AggregateSymbol:
337
case
SYMKIND
.SK_MethodSymbol:
341
case
SYMKIND
.SK_PropertySymbol:
345
case
SYMKIND
.SK_EventSymbol:
348
case
SYMKIND
.SK_NamespaceSymbol:
360
case
SYMKIND
.SK_FieldSymbol:
365
case
SYMKIND
.SK_TypeParameterSymbol:
379
case
SYMKIND
.SK_LocalVariableSymbol:
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (15)
165
if (swt != null && swt.Sym.getKind() !=
SYMKIND
.SK_MethodSymbol)
519
SYMKIND
kind)
554
case
SYMKIND
.SK_PropertySymbol:
555
case
SYMKIND
.SK_IndexerSymbol:
558
case
SYMKIND
.SK_MethodSymbol:
629
ExprMemberGroup pMemGroup = CreateMemberGroupExpr(property.name.Text, null, callingObject,
SYMKIND
.SK_PropertySymbol);
641
ExprMemberGroup memgroup = CreateMemberGroupExpr(index.name.Text, null, callingObject,
SYMKIND
.SK_PropertySymbol);
748
if (swt.Sym.getKind() !=
SYMKIND
.SK_MethodSymbol)
791
if (swtEvent.Sym.getKind() ==
SYMKIND
.SK_FieldSymbol)
795
else if (swtEvent.Sym.getKind() ==
SYMKIND
.SK_EventSymbol)
1154
case
SYMKIND
.SK_MethodSymbol:
1157
case
SYMKIND
.SK_PropertySymbol:
1169
case
SYMKIND
.SK_FieldSymbol:
1172
case
SYMKIND
.SK_EventSymbol:
1316
if (swt.Sym.getKind() ==
SYMKIND
.SK_EventSymbol)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
716
Debug.Assert(grp.SymKind ==
SYMKIND
.SK_MethodSymbol || grp.SymKind ==
SYMKIND
.SK_PropertySymbol && ((grp.Flags & EXPRFLAG.EXF_INDEXER) != 0));
728
if (grp.SymKind ==
SYMKIND
.SK_PropertySymbol)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
25
public static ExprMemberGroup CreateMemGroup(EXPRFLAG flags, Name name, TypeArray typeArgs,
SYMKIND
symKind, CType parentType, Expr obj, CMemberLookupResults memberLookupResults) =>
32
0, name, method.TypeArgs, method.MethProp()?.getKind() ??
SYMKIND
.SK_MethodSymbol, method.GetType(),
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (6)
93
Debug.Assert(_pGroup.SymKind ==
SYMKIND
.SK_MethodSymbol || _pGroup.SymKind ==
SYMKIND
.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER));
1076
Debug.Assert(_pGroup.SymKind ==
SYMKIND
.SK_MethodSymbol || _pGroup.SymKind ==
SYMKIND
.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER));
1077
Debug.Assert(_pGroup.TypeArgs.Count == 0 || _pGroup.SymKind ==
SYMKIND
.SK_MethodSymbol);
1080
if (_pGroup.SymKind ==
SYMKIND
.SK_MethodSymbol)
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (4)
47
case
SYMKIND
.SK_MethodSymbol:
48
case
SYMKIND
.SK_PropertySymbol:
49
case
SYMKIND
.SK_FieldSymbol:
50
case
SYMKIND
.SK_EventSymbol:
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\NamespaceSymbol.cs (1)
44
root.setKind(
SYMKIND
.SK_NamespaceSymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\Symbol.cs (21)
60
private
SYMKIND
_kind; // the symbol kind
95
public
SYMKIND
getKind()
100
public void setKind(
SYMKIND
kind)
157
case
SYMKIND
.SK_MethodSymbol:
158
case
SYMKIND
.SK_PropertySymbol:
159
case
SYMKIND
.SK_FieldSymbol:
160
case
SYMKIND
.SK_EventSymbol:
161
case
SYMKIND
.SK_TypeParameterSymbol:
164
case
SYMKIND
.SK_AggregateSymbol:
181
case
SYMKIND
.SK_MethodSymbol:
182
case
SYMKIND
.SK_PropertySymbol:
183
case
SYMKIND
.SK_FieldSymbol:
184
case
SYMKIND
.SK_EventSymbol:
185
case
SYMKIND
.SK_TypeParameterSymbol:
188
case
SYMKIND
.SK_AggregateSymbol:
207
case
SYMKIND
.SK_MethodSymbol:
208
case
SYMKIND
.SK_PropertySymbol:
210
case
SYMKIND
.SK_EventSymbol:
221
case
SYMKIND
.SK_MethodSymbol:
222
case
SYMKIND
.SK_PropertySymbol:
224
case
SYMKIND
.SK_EventSymbol:
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolMask.cs (7)
11
MASK_NamespaceSymbol = 1 <<
SYMKIND
.SK_NamespaceSymbol,
12
MASK_AggregateSymbol = 1 <<
SYMKIND
.SK_AggregateSymbol,
13
MASK_TypeParameterSymbol = 1 <<
SYMKIND
.SK_TypeParameterSymbol,
14
MASK_FieldSymbol = 1 <<
SYMKIND
.SK_FieldSymbol,
15
MASK_MethodSymbol = 1 <<
SYMKIND
.SK_MethodSymbol,
16
MASK_PropertySymbol = 1 <<
SYMKIND
.SK_PropertySymbol,
17
MASK_EventSymbol = 1 <<
SYMKIND
.SK_EventSymbol,
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (2)
40
case
SYMKIND
.SK_Scope:
41
case
SYMKIND
.SK_LocalVariableSymbol:
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymFactory.cs (23)
12
SYMKIND
kind,
19
case
SYMKIND
.SK_NamespaceSymbol:
23
case
SYMKIND
.SK_AggregateSymbol:
27
case
SYMKIND
.SK_TypeParameterSymbol:
31
case
SYMKIND
.SK_FieldSymbol:
35
case
SYMKIND
.SK_LocalVariableSymbol:
39
case
SYMKIND
.SK_MethodSymbol:
43
case
SYMKIND
.SK_PropertySymbol:
47
case
SYMKIND
.SK_EventSymbol:
51
case
SYMKIND
.SK_Scope:
55
case
SYMKIND
.SK_IndexerSymbol:
78
NamespaceSymbol sym = (NamespaceSymbol)NewBasicSymbol(
SYMKIND
.SK_NamespaceSymbol, name, parent);
90
AggregateSymbol sym = (AggregateSymbol)NewBasicSymbol(
SYMKIND
.SK_AggregateSymbol, name, parent);
106
FieldSymbol sym = NewBasicSymbol(
SYMKIND
.SK_FieldSymbol, name, parent) as FieldSymbol;
114
LocalVariableSymbol sym = (LocalVariableSymbol)NewBasicSymbol(
SYMKIND
.SK_LocalVariableSymbol, name, parent);
123
NewBasicSymbol(
SYMKIND
.SK_MethodSymbol, name, parent) as MethodSymbol;
127
PropertySymbol sym = NewBasicSymbol(
SYMKIND
.SK_PropertySymbol, name, parent) as PropertySymbol;
134
EventSymbol sym = NewBasicSymbol(
SYMKIND
.SK_EventSymbol, name, parent) as EventSymbol;
142
TypeParameterSymbol pResult = (TypeParameterSymbol)NewBasicSymbol(
SYMKIND
.SK_TypeParameterSymbol, pName, pParent);
154
TypeParameterSymbol pResult = (TypeParameterSymbol)NewBasicSymbol(
SYMKIND
.SK_TypeParameterSymbol, pName, pParent);
164
public static Scope CreateScope() => (Scope)NewBasicSymbol(
SYMKIND
.SK_Scope, null, null);
168
IndexerSymbol sym = (IndexerSymbol)NewBasicSymbol(
SYMKIND
.SK_IndexerSymbol, name, parent);
169
sym.setKind(
SYMKIND
.SK_PropertySymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (2)
11
public ExprMemberGroup(EXPRFLAG flags, Name name, TypeArray typeArgs,
SYMKIND
symKind, CType parentType, Expr optionalObject, CMemberLookupResults memberLookupResults)
31
public
SYMKIND
SymKind { get; }