示例#1
0
文件: Memory.cs 项目: m7nu3l/TinyBCT
        private bool RequiresAllocation(IFieldReference field)
        {
            // we are assuming that a IManagedPointerType can not be a pointer of a pointer
            Contract.Assume(!(field.Type is IManagedPointerType) || !ReferenceFinder.IsReferenced(field));

            return(ReferenceFinder.IsReferenced(field));
        }