Пример #1
0
 public static JitInfo GetJitInfo(this Statement statement)
 {
     var jitInfo = statement.Extension as JitInfo;
     if (jitInfo == null)
     {
         jitInfo = new JitInfo();
         statement.Extension = jitInfo;
     }
     return jitInfo;
 }
Пример #2
0
        public static JitInfo GetJitInfo(this Statement statement)
        {
            var jitInfo = statement.Extension as JitInfo;

            if (jitInfo == null)
            {
                jitInfo             = new JitInfo();
                statement.Extension = jitInfo;
            }
            return(jitInfo);
        }