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