Example #1
0
        private RegionPlaceholder SetupPlaceholderRef(PlaceholderRef target)
        {
            Require.Assigned(target);
            RegionPlaceholder placeholder;

            placeholder.offset          = stream.Position;
            placeholder.target          = new Placeholder();
            placeholder.targetRef       = target;
            placeholder.relative        = false;
            placeholder.relativeSection = false;
            placeholder.relativeFile    = false;
            placeholder.displacement32  = false;
            WriteNumber(0);
            placeholder.location = CurrentLocation;
            return(placeholder);
        }
Example #2
0
        public void WritePlaceholderRef(PlaceholderRef target)
        {
            RegionPlaceholder placeholder = SetupPlaceholderRef(target);

            placeholders.Add(placeholder);
        }
Example #3
0
 public abstract void ExceptionHandlerSetup(PlaceholderRef site);
Example #4
0
 public abstract void SetDestination(PlaceholderRef place);