Boo.Lang.Compiler.TypeSystem.TypeSystemServices.GetType C# (CSharp) Method

GetType() public static method

public static GetType ( Node node ) : IType
node Node
return IType
        public static IType GetType(Node node)
        {
            return ((ITypedEntity) GetEntity(node)).Type;
        }

Usage Example

Example #1
0
 override public bool IsSubclassOf(IType type)
 {
     foreach (TypeReference baseTypeReference in _typeDefinition.BaseTypes)
     {
         IType baseType = TypeSystemServices.GetType(baseTypeReference);
         if (type == baseType || baseType.IsSubclassOf(type))
         {
             return(true);
         }
     }
     return(_typeSystemServices.IsSystemObject(type));
 }
All Usage Examples Of Boo.Lang.Compiler.TypeSystem.TypeSystemServices::GetType
TypeSystemServices