text:
package org.ohdsi.webapi.prediction;

import com.odysseusinc.arachne.commons.utils.ConverterUtils;
import org.ohdsi.analysis.Utils;
import org.ohdsi.webapi.Constants;
import org.ohdsi.webapi.check.CheckResult;
import org.ohdsi.webapi.check.checker.prediction.PredictionChecker;
import org.ohdsi.webapi.common.SourceMapKey;
import org.ohdsi.webapi.common.analyses.CommonAnalysisDTO;
import org.ohdsi.webapi.common.generation.ExecutionBasedGenerationDTO;
import org.ohdsi.webapi.common.sensitiveinfo.CommonGenerationSensitiveInfoService;
import org.ohdsi.webapi.executionengine.service.ScriptExecutionService;
import org.ohdsi.webapi.job.JobExecutionResource;
import org.ohdsi.webapi.prediction.domain.PredictionGenerationEntity;
import org.ohdsi.webapi.prediction.dto.PredictionAnalysisDTO;
import org.ohdsi.webapi.prediction.specification.PatientLevelPredictionAnalysisImpl;
import org.ohdsi.webapi.security.PermissionService;
import org.ohdsi.webapi.source.Source;
import org.ohdsi.webapi.source.SourceService;
import org.ohdsi.webapi.util.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.convert.support.GenericConversionService;
import org.springframework.stereotype.Controller;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;

/**
 * Provides REST services for working with
 * patient-level prediction designs.
 *
 * @summary Prediction
 */
@Controller
@Path("/prediction/")
public class PredictionController {

  private static final Logger LOGGER = LoggerFactory.getLogger(PredictionController.class);

  private static final String NO_PREDICTION_ANALYSIS_MESSAGE = "There is no prediction analysis with id = %d.";
  private static final String NO_GENERATION_MESSAGE = "There is no generation with id = %d";

  private final PredictionService service;

  private final GenericConversionService conversionService;

  private final ConverterUtils converterUtils;

  private final CommonGenerationSensitiveInfoService<ExecutionBasedGenerationDTO> sensitiveInfoService;

  private final SourceService sourceService;

  private final ScriptExecutionService executionService;
  private final PredictionChecker checker;

  private PermissionService permissionService;

  @Autowired
  public PredictionController(PredictionService service,
                              GenericConversionService conversionService,
                              ConverterUtils converterUtils,
                              CommonGenerationSensitiveInfoService sensitiveInfoService,
                              SourceService sourceService,
                              ScriptExecutionService executionService, PredictionChecker checker,
                              PermissionService permissionService) {
    this.service = service;
    this.conversionService = conversionService;
    this.converterUtils = converterUtils;
    this.sensitiveInfoService = sensitiveInfoService;
    this.sourceService = sourceService;
    this.executionService = executionService;
    this.checker = checker;
    this.permissionService = permissionService;
  }

  /**
   * Used to retrieve all prediction designs in the WebAPI database.
   * @summary Get all prediction designs
   * @return A list of all prediction design names and identifiers
   */
  @GET
  @Path("/")
  @Produces(MediaType.APPLICATION_JSON)
  public List<CommonAnalysisDTO> getAnalysisList() {

    return StreamSupport
            .stream(service.getAnalysisList().spliterator(), false)
            .map(analysis -> {
              CommonAnalysisDTO dto = conversionService.convert(analysis, CommonAnalysisDTO.class);
              permissionService.fillWriteAccess(analysis, dto);
              return dto;
            })
            .collect(Collectors.toList());
  }

  /**
   * Check to see if a prediction design exists by name
   *
   * @summary Prediction design exists by name
   * @param id The prediction design id
   * @param name The prediction design name
   * @return 1 if a prediction design with the given name and id exist in WebAPI and 0 otherwise
   */
  @GET
  @Path("/{id}/exists")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public int getCountPredictionWithSameName(@PathParam("id") @DefaultValue("0") final int id, @QueryParam("name") String name) {
    return service.getCountPredictionWithSameName(id, name);
  }

  /**
   * Used to delete a selected prediction design by ID.
   *
   * @summary Delete a prediction designs
   * @param id The identifier of the prediction design
   * @return None
   */
  @DELETE
  @Produces(MediaType.APPLICATION_JSON)
  @Path("/{id}")
  public void delete(@PathParam("id") int id) {
    service.delete(id);
  }

  /**
   * Used to add a new prediction design to the database
   *
   * @summary Save a new prediction design
   * @param est The prediction design object
   * @return An PredictionAnalysisDTO which contains the identifier assigned to the prediction design.
   */
  @POST
  @Path("/")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public PredictionAnalysisDTO createAnalysis(PredictionAnalysis pred) {
    PredictionAnalysis analysis = service.createAnalysis(pred);
    return reloadAndConvert(analysis.getId());
  }

 /**
  * Used to save changes to an existing prediction design by ID.
  *
  * @summary Update a prediction design
  * @param id The ID of the prediction design
  * @param est The prediction design object
  * @return An PredictionAnalysisDTO which contains the updated prediction design.
  */
@PUT
  @Path("{id}")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public PredictionAnalysisDTO updateAnalysis(@PathParam("id") int id, PredictionAnalysis pred) {
    service.updateAnalysis(id, pred);
    return reloadAndConvert(id);
  }

 /**
   * Used to create a copy of an existing existing prediction design by ID.
   *
   * @summary Copy a prediction design
   * @param id The ID of the prediction design
   * @return An PredictionAnalysisDTO which contains the newly copied prediction design.
   */
  @GET
  @Produces(MediaType.APPLICATION_JSON)
  @Path("/{id}/copy")
  public PredictionAnalysisDTO copy(@PathParam("id") int id) {
    PredictionAnalysis analysis = service.copy(id);
    return reloadAndConvert(analysis.getId());
  }

 /**
   * Used to retrieve an existing existing prediction design by ID.
   *
   * @summary Get a prediction design by ID
   * @param id The ID of the prediction design
   * @return An EstimationDTO which contains the prediction design.
   */
  @GET
  @Path("{id}")
  @Produces(MediaType.APPLICATION_JSON)
  public PredictionAnalysisDTO getAnalysis(@PathParam("id") int id) {

    PredictionAnalysis analysis = service.getAnalysis(id);
    ExceptionUtils.throwNotFoundExceptionIfNull(analysis, String.format(NO_PREDICTION_ANALYSIS_MESSAGE, id));
    return conversionService.convert(analysis, PredictionAnalysisDTO.class);
  }

 /**
   * Used to export an existing existing prediction design by ID. This is used
   * when transferring the object outside of WebAPI.
   *
   * @summary Export a prediction design
   * @param id The ID of the prediction design
   * @return An EstimationAnalysisImpl which resolves all references to cohorts, concept sets, etc
   * and contains the full prediction design for export.
   */
  @GET
  @Path("{id}/export")
  @Produces(MediaType.APPLICATION_JSON)
  public PatientLevelPredictionAnalysisImpl exportAnalysis(@PathParam("id") int id) {

    return service.exportAnalysis(id);
  }

  /**
   * Import a full prediction design
   *
   * @summary Import a prediction design
   * @param analysis The full prediction design
   * @return The newly imported prediction
   */
  @POST
  @Path("import")
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_JSON)
  public PredictionAnalysisDTO importAnalysis(PatientLevelPredictionAnalysisImpl analysis) throws Exception {

    if (Objects.isNull(analysis)) {
      LOGGER.error("Failed to import Prediction, empty or not valid source JSON");
      throw new InternalServerErrorException();
    }
    PredictionAnalysis importedAnalysis = service.importAnalysis(analysis);
    return reloadAndConvert(importedAnalysis.getId());
  }

  /**
   * Download an R package to execute the prediction study
   *
   * @summary Download a prediction R package
   * @param id The id for the prediction study
   * @param packageName The R package name for the study
   * @return Binary zip file containing the full R package
   * @throws IOException
   */
  @GET
  @Path("{id}/download")
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_OCTET_STREAM)
  public Response downloadPackage(@PathParam("id") int id, @QueryParam("packageName") String packageName) throws IOException {
    if (packageName == null) {
        packageName = "prediction" + String.valueOf(id);
    }
    if (!Utils.isAlphaNumeric(packageName)) {
        throw new IllegalArgumentException("The package name must be alphanumeric only.");
    }

    PatientLevelPredictionAnalysisImpl plpa = service.exportAnalysis(id);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();

    service.hydrateAnalysis(plpa, packageName, baos);

    Response response = Response
            .ok(baos)
            .type(MediaType.APPLICATION_OCTET_STREAM)
            .header("Content-Disposition", String.format("attachment; filename=\"prediction_study_%d_export.zip\"", id))
            .build();

    return response;
  }

  /**
   * Generate a prediction design by ID on a specific sourceKey. Please note
   * this requires configuration of the Arachne Execution Engine.
   *
   * @summary Generate a prediction on a selected source
   * @param id The id for the prediction study
   * @param sourceKey The CDM source key
   * @return JobExecutionResource The job information
   * @throws IOException
   */
  @POST
  @Path("{id}/generation/{sourceKey}")
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.APPLICATION_JSON)
  public JobExecutionResource runGeneration(@PathParam("id") Integer predictionAnalysisId,
                                            @PathParam("sourceKey") String sourceKey) throws IOException {

    PredictionAnalysis predictionAnalysis = service.getAnalysis(predictionAnalysisId);
    ExceptionUtils.throwNotFoundExceptionIfNull(predictionAnalysis, String.format(NO_PREDICTION_ANALYSIS_MESSAGE, predictionAnalysisId));
    PredictionAnalysisDTO predictionAnalysisDTO = conversionService.convert(predictionAnalysis, PredictionAnalysisDTO.class);
    CheckResult checkResult = runDiagnostics(predictionAnalysisDTO);
    if (checkResult.hasCriticalErrors()) {
      throw new RuntimeException("Cannot be generated due to critical errors in design. Call 'check' service for further details");
    }
    return service.runGeneration(predictionAnalysis, sourceKey);
  }

  /**
   * Get a list of generations for the selected prediction design.
   *
   * @summary Get generations for a prediction design
   * @param id The id for the prediction design
   * @return List<ExecutionBasedGenerationDTO> The list of generations
   */
  @GET
  @Path("{id}/generation")
  @Produces(MediaType.APPLICATION_JSON)
  public List<ExecutionBasedGenerationDTO> getGenerations(@PathParam("id") Integer predictionAnalysisId) {

    Map<String, Source> sourcesMap = sourceService.getSourcesMap(SourceMapKey.BY_SOURCE_KEY);
    List<PredictionGenerationEntity> predictionGenerations = service.getPredictionGenerations(predictionAnalysisId);
    List<ExecutionBasedGenerationDTO> dtos = converterUtils.convertList(predictionGenerations, ExecutionBasedGenerationDTO.class);
    return sensitiveInfoService.filterSensitiveInfo(dtos, info -> Collections.singletonMap(Constants.Variables.SOURCE, sourcesMap.get(info.getSourceKey())));
  }

  /**
   * Get a prediction design generation info.
   *
   * @summary Get prediction design generation info
   * @param generationId The id for the prediction generation
   * @return ExecutionBasedGenerationDTO The generation information
   */
  @GET
  @Path("/generation/{generationId}")
  @Produces(MediaType.APPLICATION_JSON)
  public ExecutionBasedGenerationDTO getGeneration(@PathParam("generationId") Long generationId) {

    PredictionGenerationEntity generationEntity = service.getGeneration(generationId);
    ExceptionUtils.throwNotFoundExceptionIfNull(generationEntity, String.format(NO_GENERATION_MESSAGE, generationId));
    return sensitiveInfoService.filterSensitiveInfo(conversionService.convert(generationEntity, ExecutionBasedGenerationDTO.class),
            Collections.singletonMap(Constants.Variables.SOURCE, generationEntity.getSource()));
  }

  /**
   * Get a prediction design generation result.
   *
   * @summary Get prediction design generation result
   * @param generationId The id for the prediction generation
   * @return Response Streams a binary ZIP file with the results
   */
  @GET
  @Path("/generation/{generationId}/result")
  @Produces("application/zip")
  public Response downloadResults(@PathParam("generationId") Long generationId) throws IOException {

    File archive = executionService.getExecutionResult(generationId);
    return Response.ok(archive)
            .header("Content-type", "application/zip")
            .header("Content-Disposition", "attachment; filename=\"" + archive.getName() + "\"")
            .build();
  }

    private PredictionAnalysisDTO reloadAndConvert(Integer id) {
        // Before conversion entity must be refreshed to apply entity graphs
        PredictionAnalysis analysis = service.getById(id);
        return conversionService.convert(analysis, PredictionAnalysisDTO.class);
    }

  /**
   * Performs a series of checks of the prediction design to ensure it will
   * properly execute.
   *
   * @summary Check a prediction design for logic flaws
   * @param PredictionAnalysisDTO The prediction design
   * @return CheckResult The results of performing all checks
   */
    @POST
    @Path("/check")
    @Produces(MediaType.APPLICATION_JSON)
    @Consumes(MediaType.APPLICATION_JSON)
    public CheckResult runDiagnostics(PredictionAnalysisDTO predictionAnalysisDTO){

        return new CheckResult(checker.check(predictionAnalysisDTO));
    }
}


text:
package com.github.pockethub.ui.ref;

import android.app.Activity;
import android.content.Context;
import android.text.format.Formatter;
import android.view.View;
import android.widget.TextView;

import com.github.kevinsawicki.wishlist.MultiTypeAdapter;
import com.github.pockethub.R;
import com.github.pockethub.core.code.FullTree.Entry;
import com.github.pockethub.core.code.FullTree.Folder;
import com.github.pockethub.core.commit.CommitUtils;
import com.github.pockethub.util.ServiceUtils;
import com.github.pockethub.util.TypefaceUtils;

/**
 * Adapter to display a source code tree
 */
public class CodeTreeAdapter extends MultiTypeAdapter {

    private static final int TYPE_BLOB = 0;

    private static final int TYPE_TREE = 1;

    private static final int INDENTED_PADDING = 16;

    private final Context context;

    private final int indentedPaddingLeft;

    private int paddingLeft;

    private int paddingRight;

    private int paddingTop;

    private int paddingBottom;

    private boolean indented;

    /**
     * @param activity
     */
    public CodeTreeAdapter(Activity activity) {
        super(activity);

        this.context = activity;
        indentedPaddingLeft = ServiceUtils.getIntPixels(
                activity.getResources(), INDENTED_PADDING);
    }

    /**
     * Set whether views should be indented
     *
     * @param indented
     * @return this adapter
     */
    public CodeTreeAdapter setIndented(final boolean indented) {
        this.indented = indented;
        return this;
    }

    @Override
    public int getViewTypeCount() {
        return 2;
    }

    /**
     * Set root folder to display
     *
     * @param root
     */
    public void setItems(final Folder root) {
        clear();

        addItems(TYPE_TREE, root.folders.values());
        addItems(TYPE_BLOB, root.files.values());
    }

    @Override
    protected int getChildLayoutId(final int type) {
        switch (type) {
            case TYPE_BLOB:
                return R.layout.blob_item;
            case TYPE_TREE:
                return R.layout.folder_item;
            default:
                return -1;
        }
    }

    @Override
    protected int[] getChildViewIds(final int type) {
        switch (type) {
            case TYPE_BLOB:
                return new int[]{R.id.tv_file, R.id.tv_size};
            case TYPE_TREE:
                return new int[]{R.id.tv_folder, R.id.tv_folders, R.id.tv_files};
            default:
                return null;
        }
    }

    @Override
    protected View initialize(final int type, View view) {
        view = super.initialize(type, view);

        paddingLeft = view.getPaddingLeft();
        paddingRight = view.getPaddingRight();
        paddingTop = view.getPaddingTop();
        paddingBottom = view.getPaddingBottom();

        switch (type) {
            case TYPE_BLOB:
                TypefaceUtils.setOcticons((TextView) view
                        .findViewById(R.id.tv_file_icon));
                break;
            case TYPE_TREE:
                TypefaceUtils.setOcticons(
                        (TextView) view.findViewById(R.id.tv_folder_icon),
                        (TextView) view.findViewById(R.id.tv_folders_icon),
                        (TextView) view.findViewById(R.id.tv_files_icon));
        }

        return view;
    }

    @Override
    protected void update(final int position, final Object item, final int type) {
        if (indented)
            updater.view.setPadding(indentedPaddingLeft, paddingTop,
                    paddingRight, paddingBottom);
        else
            updater.view.setPadding(paddingLeft, paddingTop, paddingRight,
                    paddingBottom);

        switch (type) {
            case TYPE_BLOB:
                Entry file = (Entry) item;
                setText(0, file.name);
                setText(1, Formatter.formatFileSize(context, file.entry.size));
                break;
            case TYPE_TREE:
                Folder folder = (Folder) item;
                setText(0, CommitUtils.getName(folder.name));
                setNumber(1, folder.folders.size());
                setNumber(2, folder.files.size());
                break;
        }
    }
}

redpajama_set_name: RedPajamaGithub


text:
//
//  SPWidgetsTableViewController.m
//  SPWidgets_iOS
//
//  Created by sy2036 on 2016-04-16.
//  Copyright © 2016 roselifeye. All rights reserved.
//

#import "SPWidgetsTableViewController.h"

@interface SPWidgetsTableViewController () {
    NSArray *tableListArr;
    NSArray *segueListArr;
}

@end

@implementation SPWidgetsTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;

    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
    tableListArr = [[NSArray alloc] initWithObjects:@"SPGameStick", @"SPCircleMenu", nil];
    segueListArr = [[NSArray alloc] initWithObjects:@"SPGSDVCSegue", @"SPCMVCSegue", nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return [tableListArr count];
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"listTableCell" forIndexPath:indexPath];
    // Configure the cell...
    cell.textLabel.text = [tableListArr objectAtIndex:indexPath.row];

    return cell;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    [self performSegueWithIdentifier:[segueListArr objectAtIndex:indexPath.row] sender:self];
}

/*
// Override to support conditional editing of the table view.
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
    // Return NO if you do not want the specified item to be editable.
    return YES;
}
*/

/*
// Override to support editing the table view.
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
    if (editingStyle == UITableViewCellEditingStyleDelete) {
        // Delete the row from the data source
        [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade];
    } else if (editingStyle == UITableViewCellEditingStyleInsert) {
        // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
    }
}
*/

/*
// Override to support rearranging the table view.
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
}
*/

/*
// Override to support conditional rearranging of the table view.
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
    // Return NO if you do not want the item to be re-orderable.
    return YES;
}
*/

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end


text:
#ifndef ART_COMPILER_OPTIMIZING_INTRINSICS_LIST_H_
#define ART_COMPILER_OPTIMIZING_INTRINSICS_LIST_H_

// All intrinsics supported by the optimizing compiler. Format is name, then whether it is expected
// to be a HInvokeStaticOrDirect node (compared to HInvokeVirtual), then whether it requires an
// environment, may have side effects, or may throw exceptions.

#define INTRINSICS_LIST(V) \
  V(DoubleDoubleToRawLongBits, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(DoubleDoubleToLongBits, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(DoubleIsInfinite, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(DoubleIsNaN, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(DoubleLongBitsToDouble, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(FloatFloatToRawIntBits, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(FloatFloatToIntBits, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(FloatIsInfinite, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(FloatIsNaN, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(FloatIntBitsToFloat, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerReverse, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerReverseBytes, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerBitCount, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerCompare, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerHighestOneBit, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerLowestOneBit, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerNumberOfLeadingZeros, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerNumberOfTrailingZeros, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerRotateRight, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerRotateLeft, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(IntegerSignum, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongReverse, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongReverseBytes, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongBitCount, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongCompare, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongHighestOneBit, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongLowestOneBit, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongNumberOfLeadingZeros, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongNumberOfTrailingZeros, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongRotateRight, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongRotateLeft, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(LongSignum, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(ShortReverseBytes, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAbsDouble, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAbsFloat, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAbsLong, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAbsInt, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMinDoubleDouble, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMinFloatFloat, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMinLongLong, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMinIntInt, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMaxDoubleDouble, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMaxFloatFloat, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMaxLongLong, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathMaxIntInt, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathCos, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathSin, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAcos, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAsin, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAtan, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathAtan2, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathCbrt, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathCosh, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathExp, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathExpm1, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathHypot, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathLog, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathLog10, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathNextAfter, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathSinh, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathTan, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathTanh, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathSqrt, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathCeil, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathFloor, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathRint, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathRoundDouble, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MathRoundFloat, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(SystemArrayCopyChar, kStatic, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(SystemArrayCopy, kStatic, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(ThreadCurrentThread, kStatic, kNeedsEnvironmentOrCache, kNoSideEffects, kNoThrow) \
  V(MemoryPeekByte, kStatic, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(MemoryPeekIntNative, kStatic, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(MemoryPeekLongNative, kStatic, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(MemoryPeekShortNative, kStatic, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(MemoryPokeByte, kStatic, kNeedsEnvironmentOrCache, kWriteSideEffects, kCanThrow) \
  V(MemoryPokeIntNative, kStatic, kNeedsEnvironmentOrCache, kWriteSideEffects, kCanThrow) \
  V(MemoryPokeLongNative, kStatic, kNeedsEnvironmentOrCache, kWriteSideEffects, kCanThrow) \
  V(MemoryPokeShortNative, kStatic, kNeedsEnvironmentOrCache, kWriteSideEffects, kCanThrow) \
  V(StringCharAt, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringCompareTo, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringEquals, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringGetCharsNoCheck, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringIndexOf, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringIndexOfAfter, kDirect, kNeedsEnvironmentOrCache, kReadSideEffects, kCanThrow) \
  V(StringNewStringFromBytes, kStatic, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(StringNewStringFromChars, kStatic, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(StringNewStringFromString, kStatic, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeCASInt, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeCASLong, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeCASObject, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGet, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetObject, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetObjectVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetLong, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetLongVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePut, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutOrdered, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutObject, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutObjectOrdered, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutObjectVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutLong, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutLongOrdered, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafePutLongVolatile, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetAndAddInt, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetAndAddLong, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetAndSetInt, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetAndSetLong, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeGetAndSetObject, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeLoadFence, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeStoreFence, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(UnsafeFullFence, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow) \
  V(ReferenceGetReferent, kDirect, kNeedsEnvironmentOrCache, kAllSideEffects, kCanThrow)

#endif  // ART_COMPILER_OPTIMIZING_INTRINSICS_LIST_H_
#undef ART_COMPILER_OPTIMIZING_INTRINSICS_LIST_H_   // #define is only for lint.


text:
using UnityEngine;
using System.Collections;

namespace Managers
{
    public class GameManagerGameMenu : MonoBehaviour
    {
        //---------------------------------------------------------------------------------------------------------------
        // Propriedades da Classe

        public GameObject GameMenuCanvasUI = null;                                          // Referência para o Canvas do GameMenu

        //---------------------------------------------------------------------------------------------------------------
        // Métodos herdados de MonoBehaviour

        void OnEnable()
        {
            GameManagerMain.GetInstance().GameMenuEvent += OnGameMenu;
        }

        void OnDisable()
        {
            GameManagerMain.GetInstance().GameMenuEvent -= OnGameMenu;
        }

        // Update is called once per frame
        private void Update ()
        {
            bool conditions = (!GameManagerMain.GetInstance().isGameOver && !GameManagerMain.GetInstance().isActorItemGlossaryOn &&
                               !GameManagerMain.GetInstance().isMasterPowersGlossaryOn && !GameManagerMain.GetInstance().isMatchSummaryOn);

            if (Input.GetKeyUp(KeyCode.Escape) && conditions)
                GameManagerMain.GetInstance().CallEventGameMenu();
        }

        //---------------------------------------------------------------------------------------------------------------
        // Métodos responsável por ativar o Canvas do Game Menu, atualizar o status e disparar o evento.

        public void OnGameMenu()
        {
            if(GameMenuCanvasUI != null)
            {
                GameMenuCanvasUI.SetActive(!GameMenuCanvasUI.activeSelf);                   // Inverte o estado atual de ativação do Canvas.
                GameManagerMain.GetInstance().isGameMenuOn = !GameManagerMain.GetInstance().isGameMenuOn;                // Inverte o estado do flag do Gerenciador de Eventos.
                //GameManagerMain.GetInstance().CallEventGameMenu();                                        // Dispara o evento GameMenu.
            }
            else
                Debug.LogError("Nenhum Menu Atribuido ao GameManagerGameMenu!");
        }

        //---------------------------------------------------------------------------------------------------------------
    }

    //-------------------------------------------------------------------------------------------------------------------
}


text:
<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.Deployment</name>
  </assembly>
  <members>
    <member name="T:System.Deployment.Application.ApplicationDeployment">
      Supports updates of the current deployment programmatically, and handles on-demand downloading of files. This class cannot be inherited.
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.ActivationUri">
      Gets the URL used to launch the deployment manifest of the application.
      <returns>A zero-length string if the TrustUrlParameters property in the deployment manifest is false, or if the user has supplied a UNC to open the deployment or has opened it locally. Otherwise, the return value is the full URL used to launch the application, including any parameters.</returns>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForDetailedUpdate">
      Performs the same operation as <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdate" />, but returns extended information about the available update.
      <returns>An <see cref="T:System.Deployment.Application.UpdateCheckInfo" /> for the available update.</returns>
      <exception cref="T:System.InvalidOperationException">The current application is either not configured to support updates, or there is another update check operation already in progress.</exception>
      <exception cref="T:System.Deployment.Application.DeploymentDownloadException">The deployment manifest cannot be downloaded. This exception will appear in the <see cref="P:System.ComponentModel.AsyncCompletedEventArgs.Error" /> property of the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted" /> event.</exception>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">The deployment manifest is corrupted. Regenerate the application's manifest before you attempt to deploy this application to users. This exception will appear in the <see cref="P:System.ComponentModel.AsyncCompletedEventArgs.Error" /> property of the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted" /> event.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForDetailedUpdate(System.Boolean)">
      Performs the same operation as <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdate" />, but returns extended information about the available update.
      <returns>An <see cref="T:System.Deployment.Application.UpdateCheckInfo" /> for the available update.</returns>
      <param name="persistUpdateCheckResult">If false, the update will be applied silently and no dialog box will be displayed.</param>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdate">
      Checks <see cref="P:System.Deployment.Application.ApplicationDeployment.UpdateLocation" /> to determine whether a new update is available.
      <returns>true if a new update is available; otherwise, false.</returns>
      <exception cref="T:System.InvalidOperationException">ClickOnce throws this exception immediately if you call the <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdate" />  method while an update is already in progress.</exception>
      <exception cref="T:System.Deployment.Application.DeploymentDownloadException">The deployment manifest cannot be downloaded. </exception>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">The deployment manifest is corrupted. You will likely need to redeploy the application to fix this problem. </exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdate(System.Boolean)">
      Checks <see cref="P:System.Deployment.Application.ApplicationDeployment.UpdateLocation" /> to determine whether a new update is available.
      <returns>true if a new update is available; otherwise, false.</returns>
      <param name="persistUpdateCheckResult">If false, the update will be applied silently and no dialog box will be displayed.</param>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsync">
      Checks <see cref="P:System.Deployment.Application.ApplicationDeployment.UpdateLocation" /> asynchronously to determine whether a new update is available.
      <exception cref="T:System.InvalidOperationException">ClickOnce throws this exception immediately if you call the <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsync" />  method while an update is already in progress.</exception>
      <exception cref="T:System.Deployment.Application.DeploymentDownloadException">The deployment manifest cannot be downloaded. This exception appears in the <see cref="P:System.ComponentModel.AsyncCompletedEventArgs.Error" /> property of the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted" /> event.</exception>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">The deployment manifest is corrupted. You will likely need to redeploy the application to fix this problem. This exception appears in the <see cref="P:System.ComponentModel.AsyncCompletedEventArgs.Error" /> property of the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted" /> event.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsyncCancel">
      Cancels the asynchronous update check.
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted">
      Occurs when <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsync" /> has completed.
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateProgressChanged">
      Occurs when a progress update is available on a <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsync" /> call.
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.CurrentDeployment">
      Returns the current <see cref="T:System.Deployment.Application.ApplicationDeployment" /> for this deployment.
      <returns>The current deployment.</returns>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">You attempted to call this static property from a non-ClickOnce application. </exception>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.CurrentVersion">
      Gets the version of the deployment for the current running instance of the application.
      <returns>The current deployment version.</returns>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.DataDirectory">
      Gets the path to the ClickOnce data directory.
      <returns>A string containing the path to the application's data directory on the local disk.</returns>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.DownloadFileGroup(System.String)">
      Downloads a set of optional files on demand.
      <param name="groupName">The named group of files to download. All files marked "optional" in a ClickOnce application require a group name.</param>
      <exception cref="T:System.ArgumentNullException">The <paramref name="groupName" /> parameter is null or zero-length.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsync(System.String)">
      Downloads, on demand, a set of optional files in the background.
      <param name="groupName">The named group of files to download. All files marked "optional" in a ClickOnce application require a group name.</param>
      <exception cref="T:System.ArgumentNullException">The <paramref name="groupName" /> parameter is null or zero-length.</exception>
      <exception cref="T:System.InvalidOperationException">You cannot initiate more than one download of <paramref name="groupName" /> at a time.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsync(System.String,System.Object)">
      Downloads, on demand, a set of optional files in the background, and passes a piece of application state to the event callbacks.
      <param name="groupName">The named group of files to download. All files marked "optional" in a ClickOnce application require a group name.</param>
      <param name="userState">An arbitrary object containing state information for the asynchronous operation.</param>
      <exception cref="T:System.ArgumentNullException">The <paramref name="groupName" /> parameter is null or zero-length.</exception>
      <exception cref="T:System.InvalidOperationException">You cannot initiate more than one download of <paramref name="groupName" /> at a time.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsyncCancel(System.String)">
      Cancels an asynchronous file download.
      <param name="groupName">The named group of files to download. All files marked "optional" in a ClickOnce application require a group name.</param>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="groupName" /> cannot be null.</exception>
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupCompleted">
      Occurs on the main application thread when a file download is complete.
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupProgressChanged">
      Occurs when status information is available on a file download operation initiated by a call to <see cref="Overload:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsync" />.
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.IsFileGroupDownloaded(System.String)">
      Checks whether the named file group has already been downloaded to the client computer.
      <returns>true if the file group has already been downloaded for the current version of this application; otherwise, false. If a new version of the application has been installed, and the new version has not added, removed, or altered files in the file group, <see cref="M:System.Deployment.Application.ApplicationDeployment.IsFileGroupDownloaded(System.String)" /> returns true.</returns>
      <param name="groupName">The named group of files to download. All files marked "optional" in a ClickOnce application require a group name.</param>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">
        <paramref name="groupName" /> is not a file group defined in the application manifest.</exception>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.IsFirstRun">
      Gets a value indicating whether this is the first time this application has run on the client computer.
      <returns>true if this version of the application has never run on the client computer before; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed">
      Gets a value indicating whether the current application is a ClickOnce application.
      <returns>true if this is a ClickOnce application; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.TimeOfLastUpdateCheck">
      Gets the date and the time ClickOnce last checked for an application update.
      <returns>The <see cref="T:System.DateTime" /> of the last update check.</returns>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.Update">
      Starts a synchronous download and installation of the latest version of this application.
      <returns>true if an application has been updated; otherwise, false.</returns>
      <exception cref="T:System.Deployment.Application.TrustNotGrantedException">The local computer did not grant the application the permission level it requested to execute.</exception>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">Your ClickOnce deployment is corrupted. For tips on how to diagnose and correct the problem, see Troubleshooting ClickOnce Deployments.</exception>
      <exception cref="T:System.Deployment.Application.DeploymentDownloadException">The new deployment could not be downloaded from its location on the network.</exception>
      <exception cref="T:System.InvalidOperationException">The application is currently being updated.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.UpdateAsync">
      Starts an asynchronous download and installation of the latest version of this application.
      <exception cref="T:System.Deployment.Application.TrustNotGrantedException">The local computer did not grant this application the permission level it requested to execute.</exception>
      <exception cref="T:System.Deployment.Application.InvalidDeploymentException">Your ClickOnce deployment is corrupted. For tips on how to diagnose and correct the problem, see Troubleshooting ClickOnce Deployments.</exception>
      <exception cref="T:System.Deployment.Application.DeploymentDownloadException">The new deployment could not be downloaded from its location on the network.</exception>
    </member>
    <member name="M:System.Deployment.Application.ApplicationDeployment.UpdateAsyncCancel">
      Cancels an asynchronous update initiated by <see cref="M:System.Deployment.Application.ApplicationDeployment.UpdateAsync" />.
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.UpdateCompleted">
      Occurs when ClickOnce has finished upgrading the application as the result of a call to <see cref="M:System.Deployment.Application.ApplicationDeployment.UpdateAsync" />.
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.UpdatedApplicationFullName">
      Gets the full name of the application after it has been updated.
      <returns>A <see cref="T:System.String" /> that contains the full name of the application.</returns>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.UpdatedVersion">
      Gets the version of the update that was recently downloaded.
      <returns>The <see cref="T:System.Version" /> describing the version of the update.</returns>
    </member>
    <member name="P:System.Deployment.Application.ApplicationDeployment.UpdateLocation">
      Gets the Web site or file share from which this application updates itself.
      <returns>The update path, expressed as an HTTP, HTTPS, or file URL; or as a Windows network file path (UNC).</returns>
    </member>
    <member name="E:System.Deployment.Application.ApplicationDeployment.UpdateProgressChanged">
      Occurs when ClickOnce has new status information for an update operation initiated by calling the <see cref="M:System.Deployment.Application.ApplicationDeployment.UpdateAsync" /> method.
    </member>
    <member name="T:System.Deployment.Application.CheckForUpdateCompletedEventArgs">
      Represents detailed update information obtained through a call to <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForUpdateAsync" />.
    </member>
    <member name="P:System.Deployment.Application.CheckForUpdateCompletedEventArgs.AvailableVersion">
      Gets the version number of the latest uninstalled version.
      <returns>The <see cref="T:System.Version" /> expressing the major, minor, build and revision numbers of the latest version.</returns>
    </member>
    <member name="P:System.Deployment.Application.CheckForUpdateCompletedEventArgs.IsUpdateRequired">
      Gets a value indicating whether the update must be installed.
      <returns>true if the update is required; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.CheckForUpdateCompletedEventArgs.MinimumRequiredVersion">
      Gets the minimum version that the user must have installed on the computer.
      <returns>A <see cref="T:System.Version" /> object expressing the earliest version that all users must install.</returns>
    </member>
    <member name="P:System.Deployment.Application.CheckForUpdateCompletedEventArgs.UpdateAvailable">
      Gets whether an uninstalled update is available.
      <returns>true if new version of the application is available; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.CheckForUpdateCompletedEventArgs.UpdateSizeBytes">
      Gets the size of the available update.
      <returns>An <see cref="T:System.Int64" /> describing the size, in bytes, of the available update. If no update is available, returns 0. </returns>
    </member>
    <member name="T:System.Deployment.Application.CheckForUpdateCompletedEventHandler">
      Represents the method that will handle the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateCompleted" /> event of an <see cref="T:System.Deployment.Application.ApplicationDeployment" />.
      <param name="sender">The source of the event.</param>
      <param name="e">A <see cref="T:System.Deployment.Application.CheckForUpdateCompletedEventArgs" /> that contains the event data. </param>
    </member>
    <member name="T:System.Deployment.Application.CompatibleFramework">
      Represents a version of the .NET Framework where an application can install and run.
    </member>
    <member name="P:System.Deployment.Application.CompatibleFramework.Profile">
      Specifies the profile of the .NET Framework version where an application can install and run.
      <returns>A string that represents the profile.</returns>
    </member>
    <member name="P:System.Deployment.Application.CompatibleFramework.SupportedRuntime">
      Specifies the runtime version number of the .NET Framework where an application can install and run.
      <returns>A string that represents the runtime version.</returns>
    </member>
    <member name="P:System.Deployment.Application.CompatibleFramework.TargetVersion">
      Specifies the version of the .NET Framework where an application can install and run.
      <returns>A string that represents the version.</returns>
    </member>
    <member name="T:System.Deployment.Application.CompatibleFrameworkMissingException">
      This exception is thrown when a version of the .NET Framework that is compatible with this application cannot be found.
    </member>
    <member name="M:System.Deployment.Application.CompatibleFrameworkMissingException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with a system-supplied message that describes the error.
    </member>
    <member name="M:System.Deployment.Application.CompatibleFrameworkMissingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with serialized data.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.CompatibleFrameworkMissingException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with a specified message that describes the error.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.CompatibleFrameworkMissingException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="P:System.Deployment.Application.CompatibleFrameworkMissingException.CompatibleFrameworks">
      Gets a list of .NET Framework versions where this application can install and run.
      <returns>A list of .NET Framework versions where this application can install and run.</returns>
    </member>
    <member name="M:System.Deployment.Application.CompatibleFrameworkMissingException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with serialized data.
      <param name="info">The object that holds the serialized object data. </param>
      <param name="context">The contextual information about the source or destination. </param>
    </member>
    <member name="T:System.Deployment.Application.CompatibleFrameworks">
      Provides details about versions of the .NET Framework on which this application can install and run.
    </member>
    <member name="P:System.Deployment.Application.CompatibleFrameworks.Frameworks">
      Gets a list of .NET Framework versions on which this application can install and run.
      <returns>A list of <see cref="T:System.Deployment.Application.CompatibleFramework" /> objects that specify the .NET Framework versions on which this application can install and run.</returns>
    </member>
    <member name="P:System.Deployment.Application.CompatibleFrameworks.SupportUrl">
      Gets a <see cref="T:System.Uri" /> that provides the user with instructions for installing a version of the .NET Framework on which this application can install and run.
      <returns>A <see cref="T:System.Uri" /> that provides the user with instructions for installing a version of the .NET Framework on which this application can install and run.</returns>
    </member>
    <member name="T:System.Deployment.Application.DependentPlatformMissingException">
      The exception that is thrown when the platform dependency is not found during activation of the ClickOnce deployment and the deployment will not run.
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DependentPlatformMissingException" /> class.
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DependentPlatformMissingException" /> class.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DependentPlatformMissingException" /> class with a specified message that describes the error.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DependentPlatformMissingException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.#ctor(System.String,System.Uri)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DependentPlatformMissingException" /> class.
      <param name="message">The exception message.</param>
      <param name="supportUrl">The URL to visit for product support information.</param>
    </member>
    <member name="M:System.Deployment.Application.DependentPlatformMissingException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Gets the object data.
      <param name="info">The object that holds the serialized object data.</param>
      <param name="context">The contextual information about the source or destination.</param>
    </member>
    <member name="P:System.Deployment.Application.DependentPlatformMissingException.SupportUrl">
      Gets a URI that indicates where support can be found for the problem encountered.
      <returns>A URI that indicates where support can be found for the problem encountered.</returns>
    </member>
    <member name="T:System.Deployment.Application.DeploymentDownloadException">
      Indicates that there was an error downloading either the ClickOnce manifests or the deployment's files to the client computer.
    </member>
    <member name="M:System.Deployment.Application.DeploymentDownloadException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentDownloadException" /> class.
    </member>
    <member name="M:System.Deployment.Application.DeploymentDownloadException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentDownloadException" /> class.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentDownloadException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentDownloadException" /> class with a message that describes the exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentDownloadException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentDownloadException" /> class.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="T:System.Deployment.Application.DeploymentException">
      Defines a base class for all deployment-related exceptions.
    </member>
    <member name="M:System.Deployment.Application.DeploymentException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentException" /> class.
    </member>
    <member name="M:System.Deployment.Application.DeploymentException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentException" /> class.
      <param name="serializationInfo">Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.</param>
      <param name="streamingContext">Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentException" /> class.
      <param name="message">Represents text as a series of Unicode characters.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.DeploymentException" /> class.
      <param name="message">Represents text as a series of Unicode characters.</param>
      <param name="innerException">Represents errors that occur during application execution.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown. </param>
      <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination. </param>
    </member>
    <member name="T:System.Deployment.Application.DeploymentProgressChangedEventArgs">
      Represents progress data reported in an asynchronous operation.
    </member>
    <member name="P:System.Deployment.Application.DeploymentProgressChangedEventArgs.BytesCompleted">
      Gets the number of bytes already downloaded by this operation.
      <returns>An <see cref="T:System.Int64" /> representing the data already transferred, in bytes. </returns>
    </member>
    <member name="P:System.Deployment.Application.DeploymentProgressChangedEventArgs.BytesTotal">
      Gets the total number of bytes in the download operation.
      <returns>An <see cref="T:System.Int64" /> representing the total size of the download, in bytes.</returns>
    </member>
    <member name="P:System.Deployment.Application.DeploymentProgressChangedEventArgs.Group">
      Gets the name of the file group being downloaded.
      <returns>A <see cref="T:System.String" /> containing the name of the file group, if the event occurred as the result of a call to <see cref="Overload:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupAsync" />; otherwise, a zero-length string. </returns>
    </member>
    <member name="P:System.Deployment.Application.DeploymentProgressChangedEventArgs.State">
      Gets the action that the process is currently executing.
      <returns>A <see cref="T:System.Deployment.Application.DeploymentProgressState" /> value, stating what element or elements the operation is currently downloading. </returns>
    </member>
    <member name="T:System.Deployment.Application.DeploymentProgressChangedEventHandler">
      Represents the method that will handle the <see cref="E:System.Deployment.Application.ApplicationDeployment.CheckForUpdateProgressChanged" /> event, <see cref="E:System.Deployment.Application.ApplicationDeployment.UpdateProgressChanged" /> event, or <see cref="E:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupProgressChanged" /> event of an <see cref="T:System.Deployment.Application.ApplicationDeployment" />.
      <param name="sender">The source of the event. </param>
      <param name="e">A <see cref="T:System.Deployment.Application.DeploymentProgressChangedEventArgs" /> that contains the event data.</param>
    </member>
    <member name="T:System.Deployment.Application.DeploymentProgressState">
      Specifies the current stage of a ClickOnce download operation.
    </member>
    <member name="F:System.Deployment.Application.DeploymentProgressState.DownloadingDeploymentInformation">
      ClickOnce is downloading the deployment manifest.
    </member>
    <member name="F:System.Deployment.Application.DeploymentProgressState.DownloadingApplicationInformation">
      ClickOnce is downloading the application manifest.
    </member>
    <member name="F:System.Deployment.Application.DeploymentProgressState.DownloadingApplicationFiles">
      ClickOnce is downloading the DLLs and data files that comprised the application.
    </member>
    <member name="T:System.Deployment.Application.DeploymentServiceCom">
      Provides internal services for the ClickOnce deployment API.
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.#ctor">
      Creates a new instance of <see cref="T:System.Deployment.Application.DeploymentServiceCom" />.
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.ActivateApplicationExtension(System.String,System.String,System.String)">
      Activates an application extension.
      <param name="textualSubId">The internal ID of the deployment.</param>
      <param name="deploymentProviderUrl">The URL of the deployment.</param>
      <param name="targetAssociatedFile">The target file.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.ActivateDeployment(System.String,System.Boolean)">
      Starts the deployment on the client computer.
      <param name="deploymentLocation">The location of the deployment manifest on disk.</param>
      <param name="isShortcut">Whether <paramref name="deploymentLocation" /> is a shortcut, or the actual file.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.ActivateDeploymentEx(System.String,System.Int32,System.Int32)">
      Starts the deployment on the client computer.
      <param name="deploymentLocation">The location of the deployment manifest.</param>
      <param name="unsignedPolicy">The policy to use for unsigned applications.</param>
      <param name="signedPolicy">The policy to use for signed applications.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.CheckForDeploymentUpdate(System.String)">
      Checks the update location to determine whether an updated version of this deployment exists.
      <param name="textualSubId">An internal identifier for the deployment.</param>
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.CleanOnlineAppCache">
      Removes all online-only ClickOnce applications that are installed on a computer.
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.EndServiceRightNow">
      Stops a deployment update immediately.
    </member>
    <member name="M:System.Deployment.Application.DeploymentServiceCom.MaintainSubscription(System.String)">
      Maintains the update subscription.
      <param name="textualSubId">The internal ID of the deployment.</param>
    </member>
    <member name="T:System.Deployment.Application.DownloadApplicationCompletedEventArgs">
      Provides data for the <see cref="E:System.Deployment.Application.InPlaceHostingManager.DownloadApplicationCompleted" /> event.
    </member>
    <member name="P:System.Deployment.Application.DownloadApplicationCompletedEventArgs.LogFilePath">
      Gets the path of the ClickOnce log file.
      <returns>The path of the ClickOnce log file.</returns>
    </member>
    <member name="P:System.Deployment.Application.DownloadApplicationCompletedEventArgs.ShortcutAppId">
      Gets the contents of an .appref-ms file that can launch this ClickOnce application.
      <returns>The contents of an .appref-ms file.</returns>
    </member>
    <member name="T:System.Deployment.Application.DownloadFileGroupCompletedEventArgs">
      Describes a file download that has recently completed.
    </member>
    <member name="P:System.Deployment.Application.DownloadFileGroupCompletedEventArgs.Group">
      Gets the name of the file group being downloaded.
      <returns>A <see cref="T:System.String" /> representing the name of the file group.</returns>
    </member>
    <member name="T:System.Deployment.Application.DownloadFileGroupCompletedEventHandler">
      Represents the method that will handle the <see cref="E:System.Deployment.Application.ApplicationDeployment.DownloadFileGroupCompleted" /> event of an <see cref="T:System.Deployment.Application.ApplicationDeployment" />.
      <param name="sender">The source of the event. </param>
      <param name="e">A <see cref="T:System.Deployment.Application.DownloadFileGroupCompletedEventArgs" /> that contains the event data.</param>
    </member>
    <member name="T:System.Deployment.Application.DownloadProgressChangedEventArgs">
      Provides data for the <see cref="E:System.Deployment.Application.InPlaceHostingManager.DownloadProgressChanged" /> event.
    </member>
    <member name="P:System.Deployment.Application.DownloadProgressChangedEventArgs.BytesDownloaded">
      Gets the number of bytes downloaded to the local computer.
      <returns>An <see cref="T:System.Int64" /> representing the number of downloaded bytes. </returns>
    </member>
    <member name="P:System.Deployment.Application.DownloadProgressChangedEventArgs.State">
      Gets the progress state of the download.
      <returns>A <see cref="T:System.Deployment.Application.DeploymentProgressState" /> value describing which portion of the ClickOnce application is being downloaded.</returns>
    </member>
    <member name="P:System.Deployment.Application.DownloadProgressChangedEventArgs.TotalBytesToDownload">
      Gets the total number of bytes for the download operation.
      <returns>An <see cref="T:System.Int64" /> representing the total size of the download, in bytes.</returns>
    </member>
    <member name="T:System.Deployment.Application.GetManifestCompletedEventArgs">
      Provides data for the <see cref="E:System.Deployment.Application.InPlaceHostingManager.GetManifestCompleted" /> event of <see cref="T:System.Deployment.Application.InPlaceHostingManager" />.
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.ActivationContext">
      Gets the context for the current ClickOnce application.
      <returns>An <see cref="T:System.ActivationContext" /> object representing the context for the current application.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.ApplicationIdentity">
      Gets a description of the ClickOnce application.
      <returns>An <see cref="T:System.ApplicationIdentity" /> object.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.ApplicationManifest">
      Gets the ClickOnce application manifest for this deployment.
      <returns>An <see cref="T:System.Xml.XmlReader" /> representing the application manifest.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.DeploymentManifest">
      Gets the ClickOnce deployment manifest for this deployment.
      <returns>An <see cref="T:System.Xml.XmlReader" /> representing the deployment manifest.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.IsCached">
      Gets a value indicating whether this ClickOnce application is cached.
      <returns>true if the application is cached; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.LogFilePath">
      Gets the location of the ClickOnce error log.
      <returns>A <see cref="T:System.String" /> containing the location of the ClickOnce error log.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.ProductName">
      Gets the name of the ClickOnce application.
      <returns>A <see cref="T:System.String" /> representing the product name of the ClickOnce application, as stored in the assembly metadata of the application's main executable file.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.SubscriptionIdentity">
      Gets a string identifying the subscription.
      <returns>A string with information identifying the subscription.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.SupportUri">
      Gets the location of a Web page users can visit to obtain product support for the ClickOnce application.
      <returns>A <see cref="T:System.Uri" /> containing the value found in the supportUrl attribute of the deployment manifest's <description> tag. For more information, see ClickOnce Deployment Manifest.</returns>
    </member>
    <member name="P:System.Deployment.Application.GetManifestCompletedEventArgs.Version">
      Gets the version of the update for the ClickOnce application.
      <returns>A <see cref="T:System.Version" /> representing the version number contained within the downloaded manifest.</returns>
    </member>
    <member name="T:System.Deployment.Application.InPlaceHostingManager">
      Install or update a ClickOnce deployment on a computer.
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.#ctor(System.Uri)">
      Creates a new instance of <see cref="T:System.Deployment.Application.InPlaceHostingManager" /> to download and install the specified browser-hosted application.
      <param name="deploymentManifest">A Uniform Resource Identifier (<see cref="T:System.Uri" />) to a ClickOnce application's deployment manifest.</param>
      <exception cref="T:System.PlatformNotSupportedException">
        <see cref="T:System.Deployment.Application.InPlaceHostingManager" /> can be used only in Windows XP or in later versions of the Windows operating system.</exception>
      <exception cref="T:System.ArgumentNullException">Cannot pass null for the <paramref name="deploymentManifest" /> argument.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="deploymentManifest" /> uses a URI scheme that is not supported by ClickOnce.</exception>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.#ctor(System.Uri,System.Boolean)">
      Creates a new instance of <see cref="T:System.Deployment.Application.InPlaceHostingManager" /> to download and install the specified application, which can be either a stand-alone Windows Forms-based application or an application hosted in a Web browser.
      <param name="deploymentManifest">The Uniform Resource Identifier (URI) to the deployment manifest of the application that will be installed.</param>
      <param name="launchInHostProcess">Whether this application will be run in a host, such as a Web browser. For a stand-alone application, set this value to false.</param>
      <exception cref="T:System.PlatformNotSupportedException">
        <see cref="T:System.Deployment.Application.InPlaceHostingManager" /> can be used only in Windows XP or in later versions of the Windows operating system.</exception>
      <exception cref="T:System.ArgumentNullException">Cannot pass null for the <paramref name="deploymentManifest" /> argument.</exception>
      <exception cref="T:System.ArgumentException">
        <paramref name="deploymentManifest" /> uses a URI scheme that is not supported by ClickOnce.</exception>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements">
      Determines whether the ClickOnce application has the appropriate permissions and platform dependencies to run on the local computer.
      <exception cref="T:System.InvalidOperationException">Raised if this method is called before the <see cref="M:System.Deployment.Application.InPlaceHostingManager.GetManifestAsync" /> method.</exception>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements(System.Boolean)">
      Determines whether the ClickOnce application has the appropriate permissions and platform dependencies to run on the local computer.
      <param name="grantApplicationTrust">If true, the application will attempt to elevate its permissions to the required level.</param>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.CancelAsync">
      Cancels an asynchronous download operation.
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.Dispose">
      Releases all resources used by the <see cref="T:System.Deployment.Application.InPlaceHostingManager" />.
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.DownloadApplicationAsync">
      Downloads an application update in the background.
      <exception cref="T:System.InvalidOperationException">Raised if this method is called before the <see cref="M:System.Deployment.Application.InPlaceHostingManager.GetManifestAsync" /> and <see cref="M:System.Deployment.Application.InPlaceHostingManager.AssertApplicationRequirements" /> methods.</exception>
    </member>
    <member name="E:System.Deployment.Application.InPlaceHostingManager.DownloadApplicationCompleted">
      Occurs when the application has finished downloading to the local computer.
    </member>
    <member name="E:System.Deployment.Application.InPlaceHostingManager.DownloadProgressChanged">
      Occurs when there is a change in the status of an application or manifest download.
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.Execute">
      Launches the ClickOnce application, if and only if it is a Windows Presentation Foundation-based application running in a Web browser.
      <returns>An <see cref="T:System.Runtime.Remoting.ObjectHandle" /> corresponding to the launched application.</returns>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.GetManifestAsync">
      Downloads the deployment manifest of the ClickOnce application in the background, and raises an event when the operation has either completed or encountered an error.
    </member>
    <member name="E:System.Deployment.Application.InPlaceHostingManager.GetManifestCompleted">
      Occurs when the deployment manifest has been downloaded to the local computer.
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.UninstallCustomAddIn(System.String)">
      Removes a previously installed user-defined component of an application.
      <param name="subscriptionId">A string that contains a subscription identifier, which indicates the add-in to remove.</param>
      <exception cref="T:System.ArgumentException">
        <paramref name="subscriptionId" /> is not a valid subscription identity, or does not include a name, public key token, processor architecture, and version number.</exception>
      <exception cref="T:System.ArgumentNullException">
        <paramref name="subscriptionId" /> is null.</exception>
    </member>
    <member name="M:System.Deployment.Application.InPlaceHostingManager.UninstallCustomUXApplication(System.String)">
      Removes a ClickOnce application that includes the <customUX> element.
      <param name="subscriptionId">A string that contains a subscription identifier, which indicates the ClickOnce application to remove.</param>
    </member>
    <member name="T:System.Deployment.Application.InvalidDeploymentException">
      Indicates that ClickOnce could not read either the deployment or application manifests.
    </member>
    <member name="M:System.Deployment.Application.InvalidDeploymentException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.InvalidDeploymentException" /> class.
    </member>
    <member name="M:System.Deployment.Application.InvalidDeploymentException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.InvalidDeploymentException" /> class.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.InvalidDeploymentException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.InvalidDeploymentException" /> class with the specified message that describes the exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.InvalidDeploymentException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.InvalidDeploymentException" /> class.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="T:System.Deployment.Application.SupportedRuntimeMissingException">
      This exception is thrown when a runtime version that is compatible with this application cannot be found.
    </member>
    <member name="M:System.Deployment.Application.SupportedRuntimeMissingException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.SupportedRuntimeMissingException" /> class with a system-supplied message that describes the error.
    </member>
    <member name="M:System.Deployment.Application.SupportedRuntimeMissingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.SupportedRuntimeMissingException" /> class with serialized data.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.SupportedRuntimeMissingException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.SupportedRuntimeMissingException" /> class with a specified message that describes the error.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.SupportedRuntimeMissingException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.SupportedRuntimeMissingException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="M:System.Deployment.Application.SupportedRuntimeMissingException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.SupportedRuntimeMissingException" /> class with serialized data.
      <param name="info">The object that holds the serialized object data. </param>
      <param name="context">The contextual information about the source or destination. </param>
    </member>
    <member name="P:System.Deployment.Application.SupportedRuntimeMissingException.SupportedRuntimeVersion">
      Gets the version of the runtime where this application can install and run.
      <returns>A string that contains the runtime version number.</returns>
    </member>
    <member name="T:System.Deployment.Application.TrustNotGrantedException">
      Indicates that the application does not have the appropriate level of trust to run on the local computer.
    </member>
    <member name="M:System.Deployment.Application.TrustNotGrantedException.#ctor">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.TrustNotGrantedException" /> class with a system-supplied message that describes the error.
    </member>
    <member name="M:System.Deployment.Application.TrustNotGrantedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.TrustNotGrantedException" /> class with serialized data.
      <param name="serializationInfo">The object that holds the serialized object data. </param>
      <param name="streamingContext">The contextual information about the source or destination. </param>
    </member>
    <member name="M:System.Deployment.Application.TrustNotGrantedException.#ctor(System.String)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.TrustNotGrantedException" /> class with a specified message that describes the error.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
    </member>
    <member name="M:System.Deployment.Application.TrustNotGrantedException.#ctor(System.String,System.Exception)">
      Initializes a new instance of the <see cref="T:System.Deployment.Application.TrustNotGrantedException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
      <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
      <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
    </member>
    <member name="T:System.Deployment.Application.UpdateCheckInfo">
      Represents detailed update information obtained through a call to <see cref="M:System.Deployment.Application.ApplicationDeployment.CheckForDetailedUpdate" />.
    </member>
    <member name="P:System.Deployment.Application.UpdateCheckInfo.AvailableVersion">
      Gets the version number of the latest uninstalled version.
      <returns>The <see cref="T:System.Version" /> expressing the major and minor build and revision numbers of the latest version.</returns>
    </member>
    <member name="P:System.Deployment.Application.UpdateCheckInfo.IsUpdateRequired">
      Gets a value indicating whether the update must be installed.
      <returns>true if the update is required; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.UpdateCheckInfo.MinimumRequiredVersion">
      Gets the minimum version that the user must have installed on the computer.
      <returns>A <see cref="T:System.Version" /> expressing the least version that the user must install.</returns>
      <exception cref="T:System.InvalidOperationException">There is no new version available to install.</exception>
    </member>
    <member name="P:System.Deployment.Application.UpdateCheckInfo.UpdateAvailable">
      Gets whether an uninstalled update is available.
      <returns>true if new version of the application is available; otherwise, false.</returns>
    </member>
    <member name="P:System.Deployment.Application.UpdateCheckInfo.UpdateSizeBytes">
      Gets the size of the available update.
      <returns>An <see cref="T:System.Int64" /> describing the size, in bytes, of the available update. If no update is available, returns 0. </returns>
    </member>
  </members>
</doc>


text:
/*
 * File: GenericInstruction.h
 * Author: Gabriel Marin, mgabi99@gmail.com
 *
 * Defines a machine independent representation of an instruction with type,
 * bit width, vector length, and lists of source and destination operands.
 */

#ifndef _GENERIC_INSTRUCTION_H
#define _GENERIC_INSTRUCTION_H

#include <stdlib.h>
#include "dependency_type.h"
#include "position.h"
#include "instruction_class.h"
#include <list>

namespace MIAMI
{

class GenericRegister
{
public:
   GenericRegister(const char* _regname, int _type, Position& _pos) :
        regName(_regname), type(_type)
   {
      pos = _pos;
   }
   ~GenericRegister() { delete[] regName; }

   const char* RegName() { return (regName); }
   int Type() { return (type); }
   const Position& FilePosition() { return (pos); };

private:
   const char* regName;
   int type;
   Position pos;
};

typedef std::list<GenericRegister*> GenRegList;

class GenericInstruction
{
public:
   GenericInstruction(InstructionClass _iclass, GenRegList* _srcs, GenRegList* _dests) :
        iclass(_iclass), srcRegs(_srcs), destRegs(_dests)
   {
      exclusiveOutput = false;
      if (!srcRegs) srcRegs = new GenRegList();
      if (!destRegs) destRegs = new GenRegList();
   }
   ~GenericInstruction()
   {
      GenRegList::iterator nlit;
      if (srcRegs != NULL)
      {
         for (nlit=srcRegs->begin() ; nlit!=srcRegs->end() ; ++nlit)
            delete (*nlit);
         delete srcRegs;
      }
      if (destRegs != NULL)
      {
         for (nlit=destRegs->begin() ; nlit!=destRegs->end() ; ++nlit)
            delete (*nlit);
         delete destRegs;
      }
   }
//   int Type() const      { return (iclass.type); }
   const InstructionClass& getIClass() const  { return (iclass); }
   GenRegList* SourceRegisters() { return (srcRegs); }
   GenRegList* DestRegisters() { return (destRegs); }

   // match only patterns where the result of this instruction is used
   // only by instructions matched by the source pattern
   void setExclusiveOutputMatch()     { exclusiveOutput = true; }
   bool ExclusiveOutputMatch() const  { return (exclusiveOutput); }

private:
   InstructionClass iclass;
   GenRegList* srcRegs;
   GenRegList* destRegs;
   bool exclusiveOutput;
};

typedef std::list<GenericInstruction*> GenInstList;

} /* namespace MIAMI */

#endif