Пример #1
0
        public static bool IsFunctionContained(this IEntityVariable @this)
        {
            TemplateDefinition scope = @this.EnclosingScope <TemplateDefinition>();

            return(scope.IsFunction());
        }
Пример #2
0
 public static bool IsTypeContained(this IEntityVariable @this)
 {
     return(@this.ContainingType() != null);
 }