예제 #1
0
파일: JitInfo.cs 프로젝트: reshadi2/mcjs
 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);
        }