text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
require_once 'PHPUnit/Util/Log/PMD/Rule/Function.php';
require_once 'PHPUnit/Util/Filter.php';
PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
/**
*
*
* @category Testing
* @package PHPUnit
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2009 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version Release: @package_version@
* @link http://www.phpunit.de/
* @since Class available since Release 3.2.0
*/
class PHPUnit_Util_Log_PMD_Rule_Function_CyclomaticComplexity extends PHPUnit_Util_Log_PMD_Rule_Function
{
public function __construct($threshold = 20, $priority = 1)
{
parent::__construct($threshold, $priority);
}
public function apply(PHPUnit_Util_Metrics $metrics)
{
$ccn = $metrics->getCCN();
if ($ccn >= $this->threshold) {
return sprintf(
"The cyclomatic complexity is %d.\n" .
'Complexity is determined by the number of decision points in a ' .
'function or method plus one for the function or method entry. ' .
'The decision points are "if", "for", "foreach", "while", "case", ' .
'"catch", "&&", "||", and "?:". Generally, 1-4 is low ' .
'complexity, 5-7 indicates moderate complexity, 8-10 is high ' .
'complexity, and 11+ is very high complexity.',
$ccn
);
}
}
}
?>
| {
"content_hash": "6b96142cb22d7780ef40ee528939577d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 104,
"avg_line_length": 33.58695652173913,
"alnum_prop": 0.6019417475728155,
"repo_name": "rogeriopradoj/frapi-without-vhost",
"id": "834be507d6f2e38f38a7cd96b620fcb13628d1c3",
"size": "3629",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "tests/phpunit/PHPUnit/Util/Log/PMD/Rule/Function/CyclomaticComplexity.php",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "JavaScript",
"bytes": "1095647"
},
{
"name": "PHP",
"bytes": "16839007"
},
{
"name": "Shell",
"bytes": "1847"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/timetable_item"
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="@color/colorBackground"
android:orientation="horizontal"
android:paddingStart="@dimen/margin_16dp"
android:paddingEnd="@dimen/margin_16dp"
android:paddingTop="@dimen/margin_16dp">
<TextView
android:id="@+id/lesson_no"
android:textSize="@dimen/text_size_26sp"
android:layout_marginStart="@dimen/margin_16dp"
android:layout_marginEnd="24dp"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"/>
<TextView
android:id="@+id/start_time"
android:textSize="@dimen/text_size_26sp"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"/>
<TextView
android:text="@string/label.timetable.hyphen_spaces"
android:textSize="@dimen/text_size_26sp"
android:layout_marginStart="@dimen/margin_16dp"
android:layout_marginEnd="@dimen/margin_16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/end_time"
android:textSize="@dimen/text_size_26sp"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"/>
</LinearLayout> | {
"content_hash": "90573845ebdeeda9e30db6c6021f65f6",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 62,
"avg_line_length": 35.212765957446805,
"alnum_prop": 0.6586102719033232,
"repo_name": "manavista/LessonManager",
"id": "3fdbe75c0ead3dabd6c1db4403f5a1ac120a00b7",
"size": "1655",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/main/res/layout/item_timetable.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "510906"
}
],
"symlink_target": ""
} |
<?php
/* @var $this AreaController */
/* @var $model Area */
$this->breadcrumbs=array(
'Areas'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Area', 'url'=>array('index')),
array('label'=>'Manage Area', 'url'=>array('admin')),
);
?>
<h1>Районы</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?> | {
"content_hash": "f334d83b629bf26b443d4ab1f963696b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 63,
"avg_line_length": 19.055555555555557,
"alnum_prop": 0.5918367346938775,
"repo_name": "seekermain/forms",
"id": "4a86429d4a2cff6ff32b0fc66b52820e3629fbb2",
"size": "349",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "protected/views/area/create.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ApacheConf",
"bytes": "397"
},
{
"name": "Batchfile",
"bytes": "2312"
},
{
"name": "CSS",
"bytes": "317345"
},
{
"name": "HTML",
"bytes": "48027"
},
{
"name": "JavaScript",
"bytes": "3703109"
},
{
"name": "PHP",
"bytes": "22424280"
},
{
"name": "PLSQL",
"bytes": "10823"
},
{
"name": "Shell",
"bytes": "2362"
},
{
"name": "TeX",
"bytes": "12618"
}
],
"symlink_target": ""
} |
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<base href="/" />
<title>OpenShift Management Console</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css(.) styles/vendor.css -->
<!-- bower:css -->
<!-- endbower -->
<!-- endbuild -->
<!-- build:css(.tmp) styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
<style type="text/css">
</style>
</head>
<body class="console-os">
<!-- Add your site or application content here -->
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img src="images/logo-origin.svg" alt="OpenShift Origin" />
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
<li>
<a href="http://docs.openshift.org/latest/welcome/index.html">Documentation</a>
</li>
<!-- Put this back in when we have a user context to show
<li class="dropdown">
<a href="#">
<span class="pficon pficon-user"></span>
Jack Johnson <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Account</a>
</li>
<li>
<a href="#">Settings</a>
</li>
<li class="divider"></li>
<li>
<a href="#">Log out</a>
</li>
</ul>
</li> -->
</ul>
</div>
</nav>
<div ng-view></div>
<script src="config.js"></script>
<!-- build:js(.) scripts/oldieshim.js -->
<!--[if lt IE 9]>
<script src="bower_components/es5-shim/es5-shim.js"></script>
<script src="bower_components/json3/lib/json3.js"></script>
<![endif]-->
<!-- endbuild -->
<!-- build:js(.) scripts/vendor.js -->
<!-- bower:js -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-touch/angular-touch.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
<script src="bower_components/uri.js/src/URI.js"></script>
<script src="bower_components/uri.js/src/URITemplate.js"></script>
<script src="bower_components/uri.js/src/jquery.URI.js"></script>
<script src="bower_components/uri.js/src/URI.fragmentURI.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/patternfly/components/bootstrap/dist/js/bootstrap.js"></script>
<script src="bower_components/patternfly/components/bootstrap-select/bootstrap-select.js"></script>
<script src="bower_components/js-logger/src/logger.js"></script>
<script src="bower_components/webcomponentsjs/webcomponents.js"></script>
<script src="bower_components/hawtio-core/hawtio-core.js"></script>
<script src="bower_components/lodash/dist/lodash.compat.js"></script>
<script src="bower_components/hawtio-core-navigation/dist/hawtio-core-navigation.js"></script>
<script src="bower_components/hawtio-extension-service/dist/hawtio-extension-service.js"></script>
<!-- endbower -->
<!-- endbuild -->
<!-- build:js({.tmp,app}) scripts/scripts.js -->
<script src="scripts/app.js"></script>
<script src="scripts/helpers.js"></script>
<script src="scripts/services/data.js"></script>
<script src="scripts/controllers/projects.js"></script>
<script src="scripts/controllers/project.js"></script>
<script src="scripts/controllers/pods.js"></script>
<script src="scripts/directives/date.js"></script>
<script src="scripts/directives/resources.js"></script>
<script src="scripts/directives/nav.js"></script>
<script src="scripts/filters/date.js"></script>
<script src="scripts/filters/resources.js"></script>
<script src="scripts/filters/util.js"></script>
<!-- endbuild -->
</body>
</html>
| {
"content_hash": "97b1dfea93684bea2ebe77574d42af5e",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 108,
"avg_line_length": 42.73728813559322,
"alnum_prop": 0.6055919095776323,
"repo_name": "mrunalp/origin",
"id": "ac495663d47d271bb0f03147252c9d5a076b3e2a",
"size": "5043",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "assets/app/index.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "12317"
},
{
"name": "Go",
"bytes": "7606473"
},
{
"name": "JavaScript",
"bytes": "57106"
},
{
"name": "Makefile",
"bytes": "1878"
},
{
"name": "Shell",
"bytes": "64261"
}
],
"symlink_target": ""
} |
package de.knoobie.vaadin.addons.bootstrap.formgroup.components;
import com.vaadin.shared.ui.ContentMode;
import com.vaadin.ui.Label;
import de.knoobie.vaadin.addons.bootstrap.formgroup.shared.BootstrapAlertMode;
import de.knoobie.vaadin.addons.bootstrap.formgroup.shared.BootstrapCss;
import de.knoobie.vaadin.addons.bootstrap.formgroup.shared.BootstrapTextAlign;
import de.knoobie.vaadin.addons.bootstrap.formgroup.shared.CssStyle;
/**
* @author Knoobie
*/
public class FormGroupAlert extends Label {
private BootstrapAlertMode mode = BootstrapAlertMode.DEFAULT;
private BootstrapTextAlign textAlign = BootstrapTextAlign.DEFAULT;
public FormGroupAlert() {
this("");
}
public FormGroupAlert(String text) {
this(text, BootstrapAlertMode.DEFAULT);
}
public FormGroupAlert(String text, BootstrapAlertMode mode) {
this(text, mode, BootstrapTextAlign.DEFAULT);
}
public FormGroupAlert(String text, BootstrapAlertMode mode, BootstrapTextAlign textAlign) {
super(text, ContentMode.HTML);
// apply a new primary style name
setPrimaryStyleName(BootstrapCss.ALERT);
// set 100% as default width, so bootstrap can handle all sizing
setWidth(100, Unit.PERCENTAGE);
// apply mode to the Label
setMode(mode);
// apply textAlign to the Label
setTextAlign(textAlign);
}
public FormGroupAlert update(String text, BootstrapAlertMode mode) {
return withText(text).withMode(mode);
}
public FormGroupAlert withMode(BootstrapAlertMode mode) {
setMode(mode);
return this;
}
public void removeMode() {
setMode(BootstrapAlertMode.DEFAULT);
}
public void setMode(BootstrapAlertMode mode) {
if (mode == null) {
throw new IllegalArgumentException("BootstrapAlertMode can't be null.");
}
if (mode.equals(this.mode)) {
// mode is the same, we don't have to update anything.
return;
}
// replace css to change the style of the alert
replaceCss(this.mode, mode);
this.mode = mode;
}
public FormGroupAlert withTextAlign(BootstrapTextAlign textAlign) {
setTextAlign(textAlign);
return this;
}
public void removeTextAlign() {
setTextAlign(BootstrapTextAlign.DEFAULT);
}
public void setTextAlign(BootstrapTextAlign textAlign) {
if (textAlign == null) {
throw new IllegalArgumentException("BootstrapTextAlign can't be null.");
}
if (textAlign.equals(this.textAlign)) {
// textAlign is the same, we don't have to update anything.
return;
}
// replace css to change the style of the alert
replaceCss(this.textAlign, textAlign);
this.textAlign = textAlign;
}
public FormGroupAlert withText(String text) {
setText(text);
return this;
}
public void removeText() {
setText("");
}
public void setText(String text) {
setValue(text);
}
public void clear() {
removeText();
removeMode();
}
private void replaceCss(CssStyle toRemove, CssStyle toAdd) {
removeStyleName(toRemove.getCssStyle());
addStyleName(toAdd.getCssStyle());
}
}
| {
"content_hash": "be44e49ac4946a88e31455c47157188a",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 95,
"avg_line_length": 27.908333333333335,
"alnum_prop": 0.6563153180053748,
"repo_name": "Knoobie/bootstrap-formgroup",
"id": "4310ce21010fd07daf63c553877f2852cd874562",
"size": "3349",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/de/knoobie/vaadin/addons/bootstrap/formgroup/components/FormGroupAlert.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "159207"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class UpgradeRouterTemplateRequest : APIRequest
{
public UpgradeRouterTemplateRequest() : base("upgradeRouterTemplate") {}
/// <summary>
/// upgrades all routers owned by the specified account
/// </summary>
public string Account {
get { return GetParameterValue<string>(nameof(Account).ToLower()); }
set { SetParameterValue(nameof(Account).ToLower(), value); }
}
/// <summary>
/// upgrades all routers within the specified cluster
/// </summary>
public Guid? ClusterId {
get { return GetParameterValue<Guid?>(nameof(ClusterId).ToLower()); }
set { SetParameterValue(nameof(ClusterId).ToLower(), value); }
}
/// <summary>
/// upgrades all routers owned by the specified domain
/// </summary>
public Guid? DomainId {
get { return GetParameterValue<Guid?>(nameof(DomainId).ToLower()); }
set { SetParameterValue(nameof(DomainId).ToLower(), value); }
}
/// <summary>
/// upgrades router with the specified Id
/// </summary>
public Guid? Id {
get { return GetParameterValue<Guid?>(nameof(Id).ToLower()); }
set { SetParameterValue(nameof(Id).ToLower(), value); }
}
/// <summary>
/// upgrades all routers within the specified pod
/// </summary>
public Guid? PodId {
get { return GetParameterValue<Guid?>(nameof(PodId).ToLower()); }
set { SetParameterValue(nameof(PodId).ToLower(), value); }
}
/// <summary>
/// upgrades all routers within the specified zone
/// </summary>
public Guid? ZoneId {
get { return GetParameterValue<Guid?>(nameof(ZoneId).ToLower()); }
set { SetParameterValue(nameof(ZoneId).ToLower(), value); }
}
}
/// <summary>
/// Upgrades router to use newer template
/// </summary>
public partial interface ICloudStackAPIClient
{
BaseResponse UpgradeRouterTemplate(UpgradeRouterTemplateRequest request);
Task<BaseResponse> UpgradeRouterTemplateAsync(UpgradeRouterTemplateRequest request);
}
public partial class CloudStackAPIClient : ICloudStackAPIClient
{
public BaseResponse UpgradeRouterTemplate(UpgradeRouterTemplateRequest request) => Proxy.Request<BaseResponse>(request);
public Task<BaseResponse> UpgradeRouterTemplateAsync(UpgradeRouterTemplateRequest request) => Proxy.RequestAsync<BaseResponse>(request);
}
}
| {
"content_hash": "50e7371906070edafa9f236abb53379f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 144,
"avg_line_length": 37.053333333333335,
"alnum_prop": 0.6286433969053616,
"repo_name": "richardlawley/cloudstack.net",
"id": "4947a828d6caf0584b031c1e8fa466dfbe88723e",
"size": "2779",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/CloudStack.Net/Generated/UpgradeRouterTemplate.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "34"
},
{
"name": "C#",
"bytes": "1822509"
},
{
"name": "Java",
"bytes": "75375"
},
{
"name": "PowerShell",
"bytes": "3037"
}
],
"symlink_target": ""
} |
This is the code that we wrote to train the state-of-the-art VQA models [described in our paper](https://arxiv.org/abs/1606.01847). Our ensemble of 7 models obtained **66.67%** on real open-ended test-dev and **70.24%** on real multiple-choice test-dev.
## Live Demo
You can upload your own images and ask the model your own questions. [Try the live demo!](http://demo.berkeleyvision.org/)
## Pretrained Model
We are releasing the “MCB + Genome + Att. + GloVe” model from the paper, which achieves **65.38%** on real open-ended test-dev. This is our best individual model.
[Download](https://www.dropbox.com/s/o19k39lvt5cm0bc/multi_att_2_glove_pretrained.zip?dl=0)
You can easily use this model with our evaluation code or with our demo server code.
## Prerequisites
In order to use our pretrained model:
- Compile the `feature/20160617_cb_softattention` branch of [our fork of Caffe](https://github.com/akirafukui/caffe/). This branch contains Yang Gao’s Compact Bilinear layers ([dedicated repo](https://github.com/gy20073/compact_bilinear_pooling), [paper](https://arxiv.org/abs/1511.06062)) released under the [BDD license](https://github.com/gy20073/compact_bilinear_pooling/blob/master/caffe-20160312/LICENSE_BDD), and Ronghang Hu’s Soft Attention layers ([paper](https://arxiv.org/abs/1511.03745)) released under BSD 2-clause.
- Download the [pre-trained ResNet-152 model](https://github.com/KaimingHe/deep-residual-networks).
If you want to train from scratch, do the above plus:
- Download the [VQA tools](https://github.com/VT-vision-lab/VQA).
- Download the [VQA real-image dataset](http://visualqa.org/download.html).
- Optional: Install spaCy and download GloVe vectors. The latest stable release of spaCy has a bug that prevents GloVe vectors from working, so you need to install the HEAD version. See `train/README.md`.
- Optional: Download [Visual Genome](https://visualgenome.org/) data.
## Data Preprocessing
See `preprocess/README.md`.
## Training
See `train/README.md`.
## Evaluation
To generate an answers JSON file in the format expected by the VQA evaluation code and VQA test server, you can use `eval/ensemble.py`. This code can also ensemble multiple models. Running `python ensemble.py` will print out a help message telling you what arguments to use.
## Demo Server
The code that powers our [live demo](http://demo.berkeleyvision.org/) is in `server/`. To run this, you’ll need to install Flask and change the constants at the top of `server.py`. Then, just do `python server.py`, and the server will bind to `0.0.0.0:5000`.
## TensorFlow Implementation
In `server_tensorflow/` folder, there is a tensorflow version of the VQA demo. To run it, you need to install [TensorFlow](http://tensorflow.org/) (v0.9.0 or higher).
Before running the TensorFlow demos, you need to downloaded the trained models in TensorFlow format by running `download_tensorflow_model.sh` in `server_tensorflow/`. Also, for image feature extraction, you need to download the ResNet-152 model and install Caffe. To run this TensorFlow demo, you only need to install the standard Caffe (which does not need to be the VQA branch).
There is a IPython notebook demo at `notebook_example.ipynb` and a server demo that can be run by `python server.py`. To run them, you need to change the constants at the top of `notebook_example.ipynb` and `server.py` to your path.
## License and Citation
This code and the pretrained model is released under the BSD 2-Clause license. See `LICENSE` for more information.
Please cite [our paper](https://arxiv.org/abs/1606.01847) if it helps your research:
```
@article{fukui16mcb,
title={Multimodal Compact Bilinear Pooling for Visual Question Answering and Visual Grounding},
author={Fukui, Akira and Park, Dong Huk and Yang, Daylen and Rohrbach, Anna and Darrell, Trevor and Rohrbach, Marcus},
journal={arXiv:1606.01847},
year={2016},
}
```
| {
"content_hash": "84b360e61fcf87bf591db54a75298c39",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 528,
"avg_line_length": 59.24242424242424,
"alnum_prop": 0.7585677749360614,
"repo_name": "ronghanghu/vqa-mcb",
"id": "2670be71c2c2fccfc3ffec23e5d82275c05d0db0",
"size": "3967",
"binary": false,
"copies": "1",
"ref": "refs/heads/tensorflow",
"path": "README.md",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "HTML",
"bytes": "9172"
},
{
"name": "Jupyter Notebook",
"bytes": "774914"
},
{
"name": "Python",
"bytes": "210525"
},
{
"name": "Shell",
"bytes": "135"
}
],
"symlink_target": ""
} |
<?php
namespace Nette\Reflection;
use Nette;
/**
* Basic annotation implementation.
*/
class Annotation extends Nette\Object implements IAnnotation
{
public function __construct(array $values)
{
foreach ($values as $k => $v) {
$this->$k = $v;
}
}
/**
* Returns default annotation.
* @return string
*/
public function __toString()
{
return $this->value;
}
}
| {
"content_hash": "f81a14ed9e2d9637f445cc573a0b8cc1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 60,
"avg_line_length": 11.848484848484848,
"alnum_prop": 0.6342710997442456,
"repo_name": "brighten01/opencloud-zendframework",
"id": "03bb1cf14236f13d400fe8205b1d97c8e8c20820",
"size": "519",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "vendor/nette/reflection/src/Reflection/Annotation.php",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ApacheConf",
"bytes": "711"
},
{
"name": "CSS",
"bytes": "1042"
},
{
"name": "HTML",
"bytes": "16433"
},
{
"name": "PHP",
"bytes": "90896"
}
],
"symlink_target": ""
} |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Cladonia macilenta f. lateralis Schaer.
### Remarks
null | {
"content_hash": "2f08f13cd14c7876edc9209e3c3ad954",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.076923076923077,
"alnum_prop": 0.7152777777777778,
"repo_name": "mdoering/backbone",
"id": "0504d301c3e3e9efec3f37980ed7881c34f9348b",
"size": "218",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Cladoniaceae/Cladonia/Cladonia polydactyla/Cladonia polydactyla lateralis/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
require 'spec_helper'
describe 'newrelic_infrastructure::install' do
let (:facts) do
{
:osfamily => 'Debian',
:operatingsystem => 'Ubuntu',
:lsbdistrelease => '14.04',
:puppetversion => Puppet.version,
:lsbdistid => 'Ubuntu',
:lsbdistcodename => 'trusty',
}
end
it { should contain_package('newrelic-infra') }
it do
should contain_apt__source('newrelic_infrastructure').with({
:location => 'https://download.newrelic.com/infrastructure_agent/linux/apt',
:repos => 'main',
:release => 'trusty',
:key => {
'id' => 'A758B3FBCD43BE8D123A3476BB29EE038ECCE87C',
'source' => 'https://download.newrelic.com/infrastructure_agent/gpg/newrelic-infra.gpg'
}})
end
end
| {
"content_hash": "3a8f62b633bdcd3dae936c7d8902aef5",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 95,
"avg_line_length": 29.333333333333332,
"alnum_prop": 0.5946969696969697,
"repo_name": "jacobbednarz/puppet-newrelic_infrastructure",
"id": "5c3a39c6e060698858da031a2ddb7d8bee950174",
"size": "792",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "spec/classes/install_spec.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "33"
},
{
"name": "Puppet",
"bytes": "798"
},
{
"name": "Ruby",
"bytes": "4769"
},
{
"name": "Shell",
"bytes": "453"
}
],
"symlink_target": ""
} |
/* Hides Sponsored stuff */
div#pagelet_ego_pane {
display:none !important;
}
/* Tweaking the border-top of the reminder section */
._5v6e #pagelet_reminders .egoOrganicColumn {
border-top:none !important;
}
/* Hide useless stuff in the left sidebar */
#appsNav, #listsNav, #interestsNav {
display:none !important;
}
/* Removes the Home/Me/Find Friends menu in topbar */
._2pdh, ._3zm- {
display:none !important;
}
/* Trying to remove suggested pages */
div[data-ft*=ei] {
display:none;
}
/*White background for content*/
body, ._5vb_, ._5vb_ #contentCol {
background-color:white !important;
}
/*Preserve timeline background*/
body.timelineLayout {
background-color: #e7ebf2 !important;
}
/* Flat badges */
.jewelCount ._5ugg, .jewelCount ._3z_5, ._5q5b ._51jx {
background: #dc0d17 !important;
box-shadow: none !important;
border-bottom: 0 !important;
}
/*Flat top bar */
._hdd {
background-image:none !important;
}
/*Flat Inbox badge */
._3z_5 {
-webkit-border-radius: 0 !important;
-webkit-box-shadow: none;
}
/*Banner buttons */
.uiButtonGroup {
-webkit-border-radius: 0 !important;
}
/*Flat profile Pic */
._5bfg #pageNav._5bfj .tinyman .navLink:after, ._5bfg #pageNav._5bfj .tinyman .navLink:hover::after {
background-image:none !important;
}
/*Blocky search bar */
._585-[role="search"] {
border-radius: 0 !important;
}
/* Hide your own name in sidebar */
._2dpb {
display:none !important;
}
/*Hide anything but News Feed and Messages in the sidbar */
ul.uiSideNav > li:nth-of-type(1n+0),#pagesNav {
display: none !important;
}
/*Hide the right column*/
#rightCol {
display: none !important;
}
/* Volets topbar */
._50c9 {
-webkit-border-radius: 0 !important;
}
.notifNegativeBase .fbJewelFlyout, #tinymanNavWrapper .fbJewelFlyout
-webkit-border-radius: 0 !important;
}
/*Adjust content after hiding the right column*/
#globalContainer{
padding-left: 115px !important;
}
/*Flat Post buttons*/
._4jy1, ._4jy1._42fr:active, ._4jy1._42fr._42fs {
background:#4e69a2 !important;
border-radius:0 !important;
}
/* Séparation active */
._55bh:after {background: #324679;}
/*#navPrivacy ._8-a {margin-top: 3px;}
.hasSmurfbar #pageNav ._4z6w#navAccount {margin-top: 6px;}*/
/* Colonne de gauche */
#leftCol {display: none !important;}
/* Anti-dégradé timbre-postal */
._5q5b .fbNubFlyoutTitlebar {background: #4b67a8;}
/*Ombre boutons Messagerie */
.uiButtonGroup {
-webkit-box-shadow: none;
}
/*Bordure bleue Actions (Messagerie) */
.uiSelector .uiMenu {
border-bottom: 1px solid #777;
}
/*Dégradé badge notifs Page */
._5ugg, ._3z_5 {
background: #dc0d17 !important;
}
._5ugg {
-webkit-border-radius: 0 !important;
border-bottom: 1px solid;
}
/*Dégradé badge "Boite de réception" Page */
._5hl1 {
-webkit-border-radius: 0 !important;
-webkit-box-shadow: none;
}
/* Ombre bouton Historique personnel */
._97 {
-webkit-box-shadow: none;
}
/* Bords publications */
._4-u2 {
-webkit-border-radius: 0 !important;
}
/*Bouton interactions Page flat */
._4jy0, ._59pe:focus, ._59pe:hover {
background: white;
-webkit-border-radius: 0 !important;
-webkit-box-shadow: none;
}
/*Bouton "Stimuler cette publication" flat */
.uiButton, .uiButtonSuppressed:active, .uiButtonSuppressed:focus, .uiButtonSuppressed:hover {
-webkit-box-shadow: none;
-webkit-border-radius: 0
}
| {
"content_hash": "a737c172340cfcbd93a2e02fd7971435",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 101,
"avg_line_length": 20.969135802469136,
"alnum_prop": 0.6806005298793053,
"repo_name": "eramdam/BetterFacebookIsBetter",
"id": "00575bdd58a96f38f4f5f94ec9a1c430f5845f26",
"size": "3405",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "facebook.css",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "6746"
}
],
"symlink_target": ""
} |
'use strict';
/**
* Module dependencies.
*/
var _ = require('lodash'),
mongoose = require('mongoose'),
User = mongoose.model('User');
/**
* User middleware
*/
exports.userByID = function(req, res, next, id) {
User.findOne({
_id: id
}).exec(function(err, user) {
if (err) return next(err);
if (!user) return next(new Error('Failed to load User ' + id));
req.profile = user;
next();
});
};
/**
* Require login routing middleware
*/
exports.requiresLogin = function(req, res, next) {
if (!req.isAuthenticated()) {
return res.status(401).send({
message: 'User is not logged in'
});
}
next();
};
/**
* User authorizations routing middleware
*/
exports.hasAuthorization = function(roles) {
var _this = this;
return function(req, res, next) {
_this.requiresLogin(req, res, function() {
if (_.findWhere(req.user.roles, {
'roleType': roles
})) {
return next();
} else {
return res.status(403).send({
message: 'User is not authorized'
});
}
});
};
};
| {
"content_hash": "927bf8849da27f99edc7d879392fbbae",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 67,
"avg_line_length": 20.12962962962963,
"alnum_prop": 0.5703771849126035,
"repo_name": "andela/mando",
"id": "7be6f0531e105bf187c9b6ccf6cc79656ba150ce",
"size": "1087",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "app/controllers/users/users.authorization.server.controller.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "9331"
},
{
"name": "HTML",
"bytes": "48950"
},
{
"name": "JavaScript",
"bytes": "225960"
},
{
"name": "Shell",
"bytes": "414"
}
],
"symlink_target": ""
} |
package gui;
public class Constants {
public static final int player = 1;
public static final int opponent = -1;
public static final int free = 0;
public static final int noVictory = 0;
public static final int unsetEvaluationVal = 99;
}
| {
"content_hash": "672c0ca498ec493a0d37159ca3098709",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 53,
"avg_line_length": 34.55555555555556,
"alnum_prop": 0.5819935691318328,
"repo_name": "hiranthasankalpa/mp-ttt",
"id": "54b2bc6c46738f7f3f46458bc24fca4aa1a9e47b",
"size": "311",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "web-app/src/gui/Constants.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "324"
},
{
"name": "Java",
"bytes": "66130"
},
{
"name": "JavaScript",
"bytes": "8026"
}
],
"symlink_target": ""
} |
function [ cas,win ] = casonduration( as,on,onshift,duration,fs,asstarttime )
%CASONDURATION Summary of this function goes here
% Detailed explanation goes here
[cas,win] = Analysis.Base.cutas(as,on+onshift,on+onshift+duration,fs,asstarttime);
end
| {
"content_hash": "c10ed9c01a79aa9e29e42911f50c0e71",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 82,
"avg_line_length": 36,
"alnum_prop": 0.7738095238095238,
"repo_name": "babaq/Analysis",
"id": "6fb0494ac8839b9190a1d2c698e54341ea081029",
"size": "252",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Analysis3/+Analysis/+Base/casonduration.m",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "19243"
},
{
"name": "Haskell",
"bytes": "174"
},
{
"name": "Matlab",
"bytes": "1367285"
},
{
"name": "Objective-C",
"bytes": "540"
}
],
"symlink_target": ""
} |
/*
* @test SetDontInlineMethodTest
* @bug 8006683 8007288 8022832
* @library /testlibrary /testlibrary/whitebox
* @build SetDontInlineMethodTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,TestCase$Helper::* SetDontInlineMethodTest
* @summary testing of WB::testSetDontInlineMethod()
* @author igor.ignatyev@oracle.com
*/
public class SetDontInlineMethodTest extends CompilerWhiteBoxTest {
public static void main(String[] args) throws Exception {
for (TestCase test : TestCase.values()) {
new SetDontInlineMethodTest(test).runTest();
}
}
public SetDontInlineMethodTest(TestCase testCase) {
super(testCase);
}
/**
* Tests {@code WB::testSetDontInlineMethod()} by sequential calling it and
* checking of return value.
*
* @throws Exception if one of the checks fails.
*/
@Override
protected void test() throws Exception {
if (WHITE_BOX.testSetDontInlineMethod(method, true)) {
throw new RuntimeException("on start " + method
+ " must be inlineable");
}
if (!WHITE_BOX.testSetDontInlineMethod(method, true)) {
throw new RuntimeException("after first change to true " + method
+ " must be not inlineable");
}
if (!WHITE_BOX.testSetDontInlineMethod(method, false)) {
throw new RuntimeException("after second change to true " + method
+ " must be still not inlineable");
}
if (WHITE_BOX.testSetDontInlineMethod(method, false)) {
throw new RuntimeException("after first change to false" + method
+ " must be inlineable");
}
if (WHITE_BOX.testSetDontInlineMethod(method, false)) {
throw new RuntimeException("after second change to false " + method
+ " must be inlineable");
}
}
}
| {
"content_hash": "7cf6c34a32d363cdd876bf96f451eafd",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 162,
"avg_line_length": 37.925925925925924,
"alnum_prop": 0.63623046875,
"repo_name": "rokn/Count_Words_2015",
"id": "e2bff376cd138207f6a58eaec9c109788fe53149",
"size": "3098",
"binary": false,
"copies": "17",
"ref": "refs/heads/master",
"path": "testing/openjdk2/hotspot/test/compiler/whitebox/SetDontInlineMethodTest.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "61802"
},
{
"name": "Ruby",
"bytes": "18888605"
}
],
"symlink_target": ""
} |
+--------------------------------+
| layout: page |
+--------------------------------+
| title: Comparison Operations |
+--------------------------------+
Integer Comparision # {#icmp}
=============================
Predicates for use with ``icmp`` instruction are listed below. All of
these are integer constants defined in the ``llvm.core`` module.
``ICMP_EQ``
-----------
Equality
``ICMP_NE``
-----------
Inequality
``ICMP_UGT``
------------
Unsigned greater than
``ICMP_UGE``
------------
Unsigned greater than or equal
``ICMP_ULT``
------------
Unsigned less than
``ICMP_ULE``
------------
Unsigned less than or equal
``ICMP_SGT``
------------
Signed greater than
``ICMP_SGE``
------------
Signed greater than or equal
``ICMP_SLT``
------------
Signed less than
``ICMP_SLE``
------------
Signed less than or equal
Float Comparision # {#fcmp}
===========================
Predicates for use with ``fcmp`` instruction are listed below. All of
these are integer constants defined in the ``llvm.core`` module.
``FCMP_FALSE``
--------------
Always false
``FCMP_OEQ``
------------
True if ordered and equal
``FCMP_OGT``
------------
True if ordered and greater than
``FCMP_OGE``
------------
True if ordered and greater than or equal
``FCMP_OLT``
------------
True if ordered and less than
``FCMP_OLE``
------------
True if ordered and less than or equal
``FCMP_ONE``
------------
True if ordered and operands are unequal
``FCMP_ORD``
------------
True if ordered (no NaNs)
``FCMP_UNO``
------------
True if unordered: ``isnan(X) | isnan(Y)``
``FCMP_UEQ``
------------
True if unordered or equal
``FCMP_UGT``
------------
True if unordered or greater than
``FCMP_UGE``
------------
True if unordered, greater than or equal
``FCMP_ULT``
------------
True if unordered, or less than
``FCMP_ULE``
------------
True if unordered, less than or equal
``FCMP_UNE``
------------
True if unordered or not equal
``FCMP_TRUE``
-------------
Always true
| {
"content_hash": "de22d9fb136f344ed39d80c24452e77a",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 69,
"avg_line_length": 13.70748299319728,
"alnum_prop": 0.5196029776674937,
"repo_name": "alex/llvmpy",
"id": "2f1b87b187b108307f218b6a91b89abef17d7a11",
"size": "2015",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "docs/source/doc/comparision.rst",
"mode": "33188",
"license": "bsd-3-clause",
"language": [],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0) on Wed Aug 14 21:12:43 EDT 2013 -->
<title>N-Index</title>
<meta name="date" content="2013-08-14">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="N-Index";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-13.html">Prev Letter</a></li>
<li><a href="index-15.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-filesindex-14.html" target="_top">Frames</a></li>
<li><a href="index-14.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">A</a> <a href="index-2.html">B</a> <a href="index-3.html">C</a> <a href="index-4.html">D</a> <a href="index-5.html">E</a> <a href="index-6.html">F</a> <a href="index-7.html">G</a> <a href="index-8.html">H</a> <a href="index-9.html">I</a> <a href="index-10.html">J</a> <a href="index-11.html">K</a> <a href="index-12.html">L</a> <a href="index-13.html">M</a> <a href="index-14.html">N</a> <a href="index-15.html">O</a> <a href="index-16.html">P</a> <a href="index-17.html">Q</a> <a href="index-18.html">R</a> <a href="index-19.html">S</a> <a href="index-20.html">T</a> <a href="index-21.html">U</a> <a href="index-22.html">V</a> <a href="index-23.html">W</a> <a href="index-24.html">X</a> <a href="index-25.html">Y</a> <a href="index-26.html">Z</a> <a href="index-27.html">_</a> <a name="_N_">
<!-- -->
</a>
<h2 class="title">N</h2>
<dl>
<dt><a href="../org/drip/math/function/NaturalLogSeriesElement.html" title="class in org.drip.math.function"><span class="strong">NaturalLogSeriesElement</span></a> - Class in <a href="../org/drip/math/function/package-summary.html">org.drip.math.function</a></dt>
<dd>
<div class="block">NaturalLogSeriesElement implements an element in the natural log series expansion.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/function/NaturalLogSeriesElement.html#NaturalLogSeriesElement(int)">NaturalLogSeriesElement(int)</a></span> - Constructor for class org.drip.math.function.<a href="../org/drip/math/function/NaturalLogSeriesElement.html" title="class in org.drip.math.function">NaturalLogSeriesElement</a></dt>
<dd>
<div class="block">NaturalLogSeriesElement constructor</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/common/NumberUtil.html#NCK(int, int)">NCK(int, int)</a></span> - Static method in class org.drip.math.common.<a href="../org/drip/math/common/NumberUtil.html" title="class in org.drip.math.common">NumberUtil</a></dt>
<dd>
<div class="block">This function implements N choose K.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/service/api/CreditAnalytics.html#NextCouponDate(java.lang.String, org.drip.analytics.date.JulianDate)">NextCouponDate(String, JulianDate)</a></span> - Static method in class org.drip.service.api.<a href="../org/drip/service/api/CreditAnalytics.html" title="class in org.drip.service.api">CreditAnalytics</a></dt>
<dd>
<div class="block">Returns the coupon date for the period subsequent to the specified date for the specified bond</div>
</dd>
<dt><span class="strong"><a href="../org/drip/service/api/CreditAnalytics.html#NextExerciseInfo(java.lang.String, org.drip.analytics.date.JulianDate)">NextExerciseInfo(String, JulianDate)</a></span> - Static method in class org.drip.service.api.<a href="../org/drip/service/api/CreditAnalytics.html" title="class in org.drip.service.api">CreditAnalytics</a></dt>
<dd>
<div class="block">Returns the next valid exercise info (post notice period adjustments) subsequent to the specified date</div>
</dd>
<dt><a href="../org/drip/analytics/holset/NLGHoliday.html" title="class in org.drip.analytics.holset"><span class="strong">NLGHoliday</span></a> - Class in <a href="../org/drip/analytics/holset/package-summary.html">org.drip.analytics.holset</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/holset/NLGHoliday.html#NLGHoliday()">NLGHoliday()</a></span> - Constructor for class org.drip.analytics.holset.<a href="../org/drip/analytics/holset/NLGHoliday.html" title="class in org.drip.analytics.holset">NLGHoliday</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/param/definition/NodeTweakParams.html#NODE_FLAT_TWEAK">NODE_FLAT_TWEAK</a></span> - Static variable in class org.drip.param.definition.<a href="../org/drip/param/definition/NodeTweakParams.html" title="class in org.drip.param.definition">NodeTweakParams</a></dt>
<dd>
<div class="block">Flat Curve tweak constant</div>
</dd>
<dt><a href="../org/drip/param/definition/NodeTweakParams.html" title="class in org.drip.param.definition"><span class="strong">NodeTweakParams</span></a> - Class in <a href="../org/drip/param/definition/package-summary.html">org.drip.param.definition</a></dt>
<dd>
<div class="block">NodeTweakParams contains the place holder for the scenario tweak parameters, for either a specific curve
node, or the entire curve (flat).</div>
</dd>
<dt><span class="strong"><a href="../org/drip/param/definition/NodeTweakParams.html#NodeTweakParams(int, boolean, double)">NodeTweakParams(int, boolean, double)</a></span> - Constructor for class org.drip.param.definition.<a href="../org/drip/param/definition/NodeTweakParams.html" title="class in org.drip.param.definition">NodeTweakParams</a></dt>
<dd>
<div class="block">NodeTweakParams constructor</div>
</dd>
<dt><span class="strong"><a href="../org/drip/param/definition/NodeTweakParams.html#NodeTweakParams(byte[])">NodeTweakParams(byte[])</a></span> - Constructor for class org.drip.param.definition.<a href="../org/drip/param/definition/NodeTweakParams.html" title="class in org.drip.param.definition">NodeTweakParams</a></dt>
<dd>
<div class="block">NodeTweakParams de-serialization from input byte array</div>
</dd>
<dt><a href="../org/drip/analytics/holset/NOKHoliday.html" title="class in org.drip.analytics.holset"><span class="strong">NOKHoliday</span></a> - Class in <a href="../org/drip/analytics/holset/package-summary.html">org.drip.analytics.holset</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/holset/NOKHoliday.html#NOKHoliday()">NOKHoliday()</a></span> - Constructor for class org.drip.analytics.holset.<a href="../org/drip/analytics/holset/NOKHoliday.html" title="class in org.drip.analytics.holset">NOKHoliday</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/math/grid/SegmentMonotonocity.html#NON_MONOTONIC">NON_MONOTONIC</a></span> - Static variable in class org.drip.math.grid.<a href="../org/drip/math/grid/SegmentMonotonocity.html" title="class in org.drip.math.grid">SegmentMonotonocity</a></dt>
<dd>
<div class="block">NON-MONOTONIC</div>
</dd>
<dt><a href="../org/drip/product/params/NotionalSetting.html" title="class in org.drip.product.params"><span class="strong">NotionalSetting</span></a> - Class in <a href="../org/drip/product/params/package-summary.html">org.drip.product.params</a></dt>
<dd>
<div class="block">NotionalSetting contains the product's notional schedule and the amount.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/product/params/NotionalSetting.html#NotionalSetting(org.drip.product.params.FactorSchedule, double, int, boolean)">NotionalSetting(FactorSchedule, double, int, boolean)</a></span> - Constructor for class org.drip.product.params.<a href="../org/drip/product/params/NotionalSetting.html" title="class in org.drip.product.params">NotionalSetting</a></dt>
<dd>
<div class="block">Constructs the NotionalSetting from the notional schedule and the amount.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/product/params/NotionalSetting.html#NotionalSetting(byte[])">NotionalSetting(byte[])</a></span> - Constructor for class org.drip.product.params.<a href="../org/drip/product/params/NotionalSetting.html" title="class in org.drip.product.params">NotionalSetting</a></dt>
<dd>
<div class="block">NotionalSetting de-serialization from input byte array</div>
</dd>
<dt><span class="strong"><a href="../org/drip/analytics/date/JulianDate.html#NOVEMBER">NOVEMBER</a></span> - Static variable in class org.drip.analytics.date.<a href="../org/drip/analytics/date/JulianDate.html" title="class in org.drip.analytics.date">JulianDate</a></dt>
<dd>
<div class="block">Integer Month - November</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/common/NumberUtil.html#NPK(int, int)">NPK(int, int)</a></span> - Static method in class org.drip.math.common.<a href="../org/drip/math/common/NumberUtil.html" title="class in org.drip.math.common">NumberUtil</a></dt>
<dd>
<div class="block">This function implements N Permute K.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/service/stream/Serializer.html#NULL_SER_STRING">NULL_SER_STRING</a></span> - Static variable in class org.drip.service.stream.<a href="../org/drip/service/stream/Serializer.html" title="class in org.drip.service.stream">Serializer</a></dt>
<dd>
<div class="block">Null serialized string</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/grid/Segment.html#numBasis()">numBasis()</a></span> - Method in class org.drip.math.grid.<a href="../org/drip/math/grid/Segment.html" title="class in org.drip.math.grid">Segment</a></dt>
<dd>
<div class="block">Retrieve the number of Basis Functions</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/spline/SegmentCk.html#numBasis()">numBasis()</a></span> - Method in class org.drip.math.spline.<a href="../org/drip/math/spline/SegmentCk.html" title="class in org.drip.math.spline">SegmentCk</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/math/spline/SegmentConstraint.html#numBasis()">numBasis()</a></span> - Method in class org.drip.math.spline.<a href="../org/drip/math/spline/SegmentConstraint.html" title="class in org.drip.math.spline">SegmentConstraint</a></dt>
<dd>
<div class="block">Number of Basis Functions</div>
</dd>
<dt><a href="../org/drip/math/common/NumberUtil.html" title="class in org.drip.math.common"><span class="strong">NumberUtil</span></a> - Class in <a href="../org/drip/math/common/package-summary.html">org.drip.math.common</a></dt>
<dd>
<div class="block">NumberUtil implements number utility functions.</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/common/NumberUtil.html#NumberUtil()">NumberUtil()</a></span> - Constructor for class org.drip.math.common.<a href="../org/drip/math/common/NumberUtil.html" title="class in org.drip.math.common">NumberUtil</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/ConstantForwardHazard.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/ConstantForwardHazard.html" title="class in org.drip.analytics.curve">ConstantForwardHazard</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/ConstantForwardRate.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/ConstantForwardRate.html" title="class in org.drip.analytics.curve">ConstantForwardRate</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/DerivedFXBasis.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/DerivedFXBasis.html" title="class in org.drip.analytics.curve">DerivedFXBasis</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/DerivedFXForward.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/DerivedFXForward.html" title="class in org.drip.analytics.curve">DerivedFXForward</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/DerivedZeroRate.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/DerivedZeroRate.html" title="class in org.drip.analytics.curve">DerivedZeroRate</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/HyperbolicTensionForwardRate.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/HyperbolicTensionForwardRate.html" title="class in org.drip.analytics.curve">HyperbolicTensionForwardRate</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/PolynomialForwardRate.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/PolynomialForwardRate.html" title="class in org.drip.analytics.curve">PolynomialForwardRate</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/curve/PolynomialSplineDF.html#numCalibNodes()">numCalibNodes()</a></span> - Method in class org.drip.analytics.curve.<a href="../org/drip/analytics/curve/PolynomialSplineDF.html" title="class in org.drip.analytics.curve">PolynomialSplineDF</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/definition/Curve.html#numCalibNodes()">numCalibNodes()</a></span> - Method in interface org.drip.analytics.definition.<a href="../org/drip/analytics/definition/Curve.html" title="interface in org.drip.analytics.definition">Curve</a></dt>
<dd>
<div class="block">Retrieve the number of calibration nodes</div>
</dd>
<dt><span class="strong"><a href="../org/drip/analytics/date/JulianDate.html#NumFeb29(double, double, int)">NumFeb29(double, double, int)</a></span> - Static method in class org.drip.analytics.date.<a href="../org/drip/analytics/date/JulianDate.html" title="class in org.drip.analytics.date">JulianDate</a></dt>
<dd>
<div class="block">Calculates how many leap days exist between the 2 given Julian days</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/calculus/WengertJacobian.html#numParameters()">numParameters()</a></span> - Method in class org.drip.math.calculus.<a href="../org/drip/math/calculus/WengertJacobian.html" title="class in org.drip.math.calculus">WengertJacobian</a></dt>
<dd>
<div class="block">Retrieve the number of Parameters</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/grid/Segment.html#numParameters()">numParameters()</a></span> - Method in class org.drip.math.grid.<a href="../org/drip/math/grid/Segment.html" title="class in org.drip.math.grid">Segment</a></dt>
<dd>
<div class="block">Retrieve the Number of Parameters</div>
</dd>
<dt><span class="strong"><a href="../org/drip/math/spline/SegmentCk.html#numParameters()">numParameters()</a></span> - Method in class org.drip.math.spline.<a href="../org/drip/math/spline/SegmentCk.html" title="class in org.drip.math.spline">SegmentCk</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/math/calculus/WengertJacobian.html#numWengerts()">numWengerts()</a></span> - Method in class org.drip.math.calculus.<a href="../org/drip/math/calculus/WengertJacobian.html" title="class in org.drip.math.calculus">WengertJacobian</a></dt>
<dd>
<div class="block">Retrieve the number of Wengert Variables</div>
</dd>
<dt><a href="../org/drip/analytics/holset/NZDHoliday.html" title="class in org.drip.analytics.holset"><span class="strong">NZDHoliday</span></a> - Class in <a href="../org/drip/analytics/holset/package-summary.html">org.drip.analytics.holset</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="../org/drip/analytics/holset/NZDHoliday.html#NZDHoliday()">NZDHoliday()</a></span> - Constructor for class org.drip.analytics.holset.<a href="../org/drip/analytics/holset/NZDHoliday.html" title="class in org.drip.analytics.holset">NZDHoliday</a></dt>
<dd> </dd>
</dl>
<a href="index-1.html">A</a> <a href="index-2.html">B</a> <a href="index-3.html">C</a> <a href="index-4.html">D</a> <a href="index-5.html">E</a> <a href="index-6.html">F</a> <a href="index-7.html">G</a> <a href="index-8.html">H</a> <a href="index-9.html">I</a> <a href="index-10.html">J</a> <a href="index-11.html">K</a> <a href="index-12.html">L</a> <a href="index-13.html">M</a> <a href="index-14.html">N</a> <a href="index-15.html">O</a> <a href="index-16.html">P</a> <a href="index-17.html">Q</a> <a href="index-18.html">R</a> <a href="index-19.html">S</a> <a href="index-20.html">T</a> <a href="index-21.html">U</a> <a href="index-22.html">V</a> <a href="index-23.html">W</a> <a href="index-24.html">X</a> <a href="index-25.html">Y</a> <a href="index-26.html">Z</a> <a href="index-27.html">_</a> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-13.html">Prev Letter</a></li>
<li><a href="index-15.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-filesindex-14.html" target="_top">Frames</a></li>
<li><a href="index-14.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| {
"content_hash": "3f0eab8c6ebf7b727546a4ff12f78bcf",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 980,
"avg_line_length": 79.84738955823293,
"alnum_prop": 0.6970626697515341,
"repo_name": "tectronics/rootfinder",
"id": "18f8f39bc196a8b2ce9fdd5183d81eae0c99c046",
"size": "19882",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "2.2/docs/Javadoc/index-files/index-14.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "34839"
},
{
"name": "HTML",
"bytes": "77000232"
},
{
"name": "Java",
"bytes": "10842587"
}
],
"symlink_target": ""
} |
module.exports = {
malloc: function (root_object_val) {
return new RingClass(root_object_val);
},
};
function RingClass (root_object_val) {
"use strict";
this.init__ = function (root_object_val) {
this.theRootObject = root_object_val;
this.theInput = 0;
this.theOutput = 0;
this.theSize = 2;
this.theLeft = this.size();
this.theArray = [this.size()];
this.debug(false, "init__", "");
};
this.objectName = function () {
return "RingClass";
};
this.holderPoolModule = function () {
return require("./holder_pool_module.js");
};
this.rootObject = function () {
return this.theRootObject;
};
this.input = function () {
return this.theInput;
}
this.setInput = function (val) {
this.theInput = val;
}
this.incrementInput = function () {
this.theInput += 1;
}
this.output = function () {
return this.theOutput;
}
this.setOutput = function (val) {
this.theOutput = val;
}
this.incrementOutput = function () {
this.theOutput += 1;
}
this.size = function () {
return this.theSize;
}
this.setSize = function (val) {
this.theSize = val;
}
this.incrementSize = function () {
this.theSize += 1;
}
this.decrementSize = function () {
this.theSize -= 1;
}
this.left = function () {
return this.theLeft;
}
this.setLeft = function (val) {
this.theLeft = val;
}
this.incrementLeft = function () {
this.theLeft += 1;
}
this.decrementLeft = function () {
this.theLeft -= 1;
}
this.array = function (index_val) {
return this.theArray[index_val];
}
this.setArray = function (index_val, data_val) {
this.theArray[index_val] = data_val;
}
this.enQueue = function (data_val) {
if (this.left() < 0) {
this.abend("enQueue", "left=" + this.left());
return;
}
if (this.left() <= (this.size() / 2)) {
this.enlargeSize();
}
this.setArray(this.input(), data_val);
this.incrementInput();
if (this.input() === this.size()) {
this.setInput(0);
}
this.decrementLeft();
this.abendIt();
};
this.deQueue = function () {
if (this.left() === this.size()) {
return null;
}
var data = this.array(this.output());
this.incrementOutput();
if (this.output() === this.size()) {
this.setOutput(0);
}
this.incrementLeft();
this.abendIt();
return data;
};
this.removeElement = function (func_val, input_val1, input_val2, input_val3) {
};
this.searchIt = function (func_val, input_val1, input_val2, input_val3) {
};
this.enlargeSize = function () {
this.debug(false, "enlargeSize", "size=" + this.size() + "=>" + this.size() * 2);
var i = this.size();
while (i < this.size() * 2) {
this.setArray(i, null);
i += 1;
}
if (this.input() < this.output()) {
i = 0;
while (i <= this.input()) {
this.setArray(this.size() + i, i);
i += 1;
}
this.input += this.size();
}
this.setLeft(this.left() + this.size());
this.setSize(this.size() * 2);
this.abendIt();
};
this.abendIt = function () {
if (this.left() < 0) {
this.abend("abendIt", "left=" + this.left());
}
if ((this.input() + this.left() - this.output() !== this.size()) && (this.input() + this.left() - this.output() !== 0)) {
this.abend('abendIt', "input(" + this.input() + ") + left(" + this.left() + ") - output(" + this.output() + ") !== size(" + this.size() + ")");
}
};
this.debug = function (debug_val, str1_val, str2_val) {
if (debug_val) {
this.logit(str1_val, str2_val);
}
};
this.logit = function (str1_val, str2_val) {
this.rootObject().LOG_IT(this.objectName() + "." + str1_val, str2_val);
};
this.abend = function (str1_val, str2_val) {
this.rootObject().ABEND(this.objectName() + "." + str1_val, str2_val);
};
this.init__(root_object_val);
}
| {
"content_hash": "bc94ff24fbcf2981abb88771df5038e8",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 155,
"avg_line_length": 23.46315789473684,
"alnum_prop": 0.49730820995962316,
"repo_name": "paulhwang/node_go",
"id": "d29207053af57fbb5df267a79f59dc64af84d419",
"size": "4539",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "phwang_modules/util_modules/ring.js",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "JavaScript",
"bytes": "217616"
}
],
"symlink_target": ""
} |
%برای شروع به فایل help.pdf رجوع کنید و فقط توجه داشته باشید کلاس VThesis.cls به کلاس SBU.cls، فایل اصلی از VThesis.tex به main.tex تغییر نام داده است.
\documentclass[oneside,a4paper,12pt,msc]{eceSBU}
\input{tex/commands}
\begin{document}
\frontmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%صفحهی بسم الله
%\thispagestyle{empty}
%\centerline{{\includegraphics[width=9 cm]{*}}}
%\newpage
%\thispagestyle{empty}
%\clearpage
%~~~
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\pagenumbering{adadi}
\newpage\null\thispagestyle{empty}\newpage
\input{tex/fa_title}
\include{tex/introduction}
\tableofcontents
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{فهرست شکلها}
\listoffigures
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{فهرست جداول}
\listoftables
\mainmatter
\input{tex/chapter1}
\input{tex/chapter2}
\input{tex/chapter3}
\input{tex/chapter4}
\input{tex/chapter5}
\makeatletter
\def\@harfi#1{\ifcase#1\or الف\or ب\or پ\or ت\or ث\or
ج\or چ\or ح\or خ\or د\or ذ\or ر\or ز\or ژ\or س\or ش\or ص\or ض\or ط\or ظ\or ع\or غ\or
ف\or ق\or ک\or گ\or ل\or م\or ن\or و\or ه\or ی\else\@ctrerr\fi}
\def\@makechapterhead#1{
\vspace*{280\p@}
{\parindent \z@ \mycustomraggedright
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\renewcommand{\thechapter}{\nastaliq\harfi{chapter}}
\hspace{2cm}\nastaliq \bfseries \@chapapp\space {\chapternumber\thechapter}
\par\nobreak
\fi
\fi
\centering
\interlinepenalty\@M
\thispagestyle{empty}
\titr \bfseries #1\par\clearpage
}}
\makeatother
\newpage
\appendix
\phantomsection
\addcontentsline{toc}{chapter}{\rl{پیوست الف~~~~این پیوست اول است}}
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
\input{tex/appendix1}
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
{\small
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{\rl{مراجع}}
\bibliographystyle{ieeetr-fa}
\bibliography{myReferences}
}
\backmatter
\include{tex/en_title}
\label{LastPage}
\end{document}
| {
"content_hash": "4226f37cd8027c6c32777d8f8bcac7eb",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 151,
"avg_line_length": 25.5,
"alnum_prop": 0.7208462332301342,
"repo_name": "mmasaeli/LaTeX-eceSBU-template",
"id": "f229203537432ffa16cf9a514d1889ab23abea68",
"size": "2113",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "main.tex",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "TeX",
"bytes": "37905"
}
],
"symlink_target": ""
} |
package com.planetfocus.mvpsamples.networking.model;
/**
* A POJO that represents the weather data from a single weather observation station.
* <p>
* Created by jdelpech on 4/23/17.
*/
public class ObservationResponse
{
private Double temp_f;
private Double temp_c;
private String relative_humidity;
private Double wind_mph;
public Double getTemp_f()
{
return temp_f;
}
public Double getTemp_c()
{
return temp_c;
}
public String getRelative_humidity()
{
return relative_humidity;
}
public Double getWind_mph()
{
return wind_mph;
}
}
| {
"content_hash": "b670d0bc469959dee27b65c2d2c14ef5",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 85,
"avg_line_length": 14.64102564102564,
"alnum_prop": 0.7092819614711033,
"repo_name": "tontonluluc/MvpSamples",
"id": "27299af02e20c39299ed7266fa0aff2100b8d0fc",
"size": "571",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/src/main/java/com/planetfocus/mvpsamples/networking/model/ObservationResponse.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "33184"
}
],
"symlink_target": ""
} |
package ark.parse;
public interface Parameterizable {
/**
* @return parameters that can be set
*/
String[] getParameterNames();
/**
* @param parameter
* @return the value of the given parameter
*/
Obj getParameterValue(String parameter);
/**
*
* @param parameter
* @param parameterValue
* @return true if the parameter has been set to parameterValue.
*/
boolean setParameterValue(String parameter, Obj parameterValue);
}
| {
"content_hash": "c01bb9fa117768ff1922bbf19763753c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 21.59090909090909,
"alnum_prop": 0.6673684210526316,
"repo_name": "forkunited/ARKWater",
"id": "ae971fc81574a64b5afa9501ad6e6e0ecfa43e8f",
"size": "475",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/ark/parse/Parameterizable.java",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "883449"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/GPSPinger.iml" filepath="$PROJECT_DIR$/GPSPinger.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
</modules>
</component>
</project> | {
"content_hash": "3fdd7f79bb1ad9377bf0a31e18a59c19",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 100,
"avg_line_length": 39.44444444444444,
"alnum_prop": 0.6591549295774648,
"repo_name": "dakshsrivastava/GPSPinger",
"id": "9ad5e0ea7dbbe98659be30466f55144f7708a07b",
"size": "355",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": ".idea/modules.xml",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "21803"
}
],
"symlink_target": ""
} |
<?php
namespace frontend\tests\unit\models;
use frontend\tests\unit\DbTestCase;
use common\tests\fixtures\UserFixture;
class SingupFormTest extends DbTestCase
{
use \Codeception\Specify;
public function testCorrectSignup()
{
$model = $this->getMock('frontend\models\SignupForm',['validate']);
$model->expects($this->once())->method('validate')->will($this->returnValue(true));
$model->username = 'some_username';
$model->email = 'some_email@example.com';
$model->password = 'some_password';
$user = $model->signup();
$this->assertInstanceOf('common\models\User', $user);
expect('username should be correct', $user->username)->equals('some_username');
expect('email should be correct', $user->email)->equals('some_email@example.com');
expect('password should be correct', $user->validatePassword('some_password'))->true();
}
public function testNotCorrectSignup()
{
$model = $this->getMock('frontend\models\SignupForm',['validate']);
$model->expects($this->once())->method('validate')->will($this->returnValue(false));
expect('user should not be created', $model->signup())->null();
}
public function fixtures()
{
return [
'user' => [
'class' => UserFixture::className(),
'dataFile' => false, //do not load test data, only table cleanup
],
];
}
}
| {
"content_hash": "75ac33086bb79837bdc651f43d4c5700",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 89,
"avg_line_length": 27.893617021276597,
"alnum_prop": 0.6826849733028223,
"repo_name": "Zhanat1987/yii2advanced",
"id": "5a3e8e818d5712555988bf5487421aa128282c34",
"size": "1311",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "frontend/tests/unit/models/SignupFormTest.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "2591"
},
{
"name": "JavaScript",
"bytes": "727"
},
{
"name": "PHP",
"bytes": "917097"
},
{
"name": "Shell",
"bytes": "5176"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace TranscendenceChatServer.Tools
{
public class RequireHttpsAttribute : AuthorizationFilterAttribute
{
public override void OnAuthorization(HttpActionContext actionContext)
{
var request = actionContext.Request;
if (request.RequestUri.Scheme == Uri.UriSchemeHttps) return;
HttpResponseMessage response;
var uri = new UriBuilder(request.RequestUri) { Scheme = Uri.UriSchemeHttps, Port = 443 };
var body = string.Format("<p>The resource can be found at <a href=\"{0}\">{0}</a>.</p>",
uri.Uri.AbsoluteUri);
if (request.Method.Equals(HttpMethod.Get) || request.Method.Equals(HttpMethod.Head))
{
response = request.CreateResponse(HttpStatusCode.Found);
response.Headers.Location = uri.Uri;
if (request.Method.Equals(HttpMethod.Get))
response.Content = new StringContent(body, Encoding.UTF8, "text/html");
}
else
{
response = request.CreateResponse(HttpStatusCode.NotFound);
response.Content = new StringContent(body, Encoding.UTF8, "text/html");
}
actionContext.Response = response;
}
}
}
| {
"content_hash": "222923b34c5bf9e92c725f9747ab9017",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 101,
"avg_line_length": 39.43589743589744,
"alnum_prop": 0.6196358907672301,
"repo_name": "tamifist/Transcendence",
"id": "f832965a400d9b052dba2547a7c84f2b91ceae4a",
"size": "1540",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "TranscendenceChatServer/Tools/RequireHttpsAttribute.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "117"
},
{
"name": "C#",
"bytes": "979438"
},
{
"name": "CSS",
"bytes": "5859"
},
{
"name": "HTML",
"bytes": "5069"
},
{
"name": "JavaScript",
"bytes": "104198"
}
],
"symlink_target": ""
} |
Tools used for starting and stoping notes during class time
| {
"content_hash": "6a74f1b1467fbb1ad868159eb4df3b26",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 59,
"avg_line_length": 60,
"alnum_prop": 0.8333333333333334,
"repo_name": "luxe/github-note-taking",
"id": "3b73643da71e3a7d126284978b7442f7455488a2",
"size": "80",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C++",
"bytes": "10018"
},
{
"name": "Shell",
"bytes": "260"
}
],
"symlink_target": ""
} |
/***************************************************************************/
/* */
/* t42objs.c */
/* */
/* Type 42 objects manager (body). */
/* */
/* Copyright 2002-2016 by */
/* Roberto Alameda. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#include "t42objs.h"
#include "t42parse.h"
#include "t42error.h"
#include FT_INTERNAL_DEBUG_H
#include FT_LIST_H
#include FT_TRUETYPE_IDS_H
#undef FT_COMPONENT
#define FT_COMPONENT trace_t42
static FT_Error
T42_Open_Face( T42_Face face )
{
T42_LoaderRec loader;
T42_Parser parser;
T1_Font type1 = &face->type1;
FT_Memory memory = face->root.memory;
FT_Error error;
PSAux_Service psaux = (PSAux_Service)face->psaux;
t42_loader_init( &loader, face );
parser = &loader.parser;
if ( FT_ALLOC( face->ttf_data, 12 ) )
goto Exit;
/* while parsing the font we always update `face->ttf_size' so that */
/* even in case of buggy data (which might lead to premature end of */
/* scanning without causing an error) the call to `FT_Open_Face' in */
/* `T42_Face_Init' passes the correct size */
face->ttf_size = 12;
error = t42_parser_init( parser,
face->root.stream,
memory,
psaux);
if ( error )
goto Exit;
error = t42_parse_dict( face, &loader,
parser->base_dict, parser->base_len );
if ( error )
goto Exit;
if ( type1->font_type != 42 )
{
FT_ERROR(( "T42_Open_Face: cannot handle FontType %d\n",
type1->font_type ));
error = FT_THROW( Unknown_File_Format );
goto Exit;
}
/* now, propagate the charstrings and glyphnames tables */
/* to the Type1 data */
type1->num_glyphs = loader.num_glyphs;
if ( !loader.charstrings.init )
{
FT_ERROR(( "T42_Open_Face: no charstrings array in face\n" ));
error = FT_THROW( Invalid_File_Format );
}
loader.charstrings.init = 0;
type1->charstrings_block = loader.charstrings.block;
type1->charstrings = loader.charstrings.elements;
type1->charstrings_len = loader.charstrings.lengths;
/* we copy the glyph names `block' and `elements' fields; */
/* the `lengths' field must be released later */
type1->glyph_names_block = loader.glyph_names.block;
type1->glyph_names = (FT_String**)loader.glyph_names.elements;
loader.glyph_names.block = NULL;
loader.glyph_names.elements = NULL;
/* we must now build type1.encoding when we have a custom array */
if ( type1->encoding_type == T1_ENCODING_TYPE_ARRAY )
{
FT_Int charcode, idx, min_char, max_char;
FT_Byte* glyph_name;
/* OK, we do the following: for each element in the encoding */
/* table, look up the index of the glyph having the same name */
/* as defined in the CharStrings array. */
/* The index is then stored in type1.encoding.char_index, and */
/* the name in type1.encoding.char_name */
min_char = 0;
max_char = 0;
charcode = 0;
for ( ; charcode < loader.encoding_table.max_elems; charcode++ )
{
FT_Byte* char_name;
type1->encoding.char_index[charcode] = 0;
type1->encoding.char_name [charcode] = (char *)".notdef";
char_name = loader.encoding_table.elements[charcode];
if ( char_name )
for ( idx = 0; idx < type1->num_glyphs; idx++ )
{
glyph_name = (FT_Byte*)type1->glyph_names[idx];
if ( ft_strcmp( (const char*)char_name,
(const char*)glyph_name ) == 0 )
{
type1->encoding.char_index[charcode] = (FT_UShort)idx;
type1->encoding.char_name [charcode] = (char*)glyph_name;
/* Change min/max encoded char only if glyph name is */
/* not /.notdef */
if ( ft_strcmp( (const char*)".notdef",
(const char*)glyph_name ) != 0 )
{
if ( charcode < min_char )
min_char = charcode;
if ( charcode >= max_char )
max_char = charcode + 1;
}
break;
}
}
}
type1->encoding.code_first = min_char;
type1->encoding.code_last = max_char;
type1->encoding.num_chars = loader.num_chars;
}
Exit:
t42_loader_done( &loader );
return error;
}
/***************** Driver Functions *************/
FT_LOCAL_DEF( FT_Error )
T42_Face_Init( FT_Stream stream,
FT_Face t42face, /* T42_Face */
FT_Int face_index,
FT_Int num_params,
FT_Parameter* params )
{
T42_Face face = (T42_Face)t42face;
FT_Error error;
FT_Service_PsCMaps psnames;
PSAux_Service psaux;
FT_Face root = (FT_Face)&face->root;
T1_Font type1 = &face->type1;
PS_FontInfo info = &type1->font_info;
FT_UNUSED( num_params );
FT_UNUSED( params );
FT_UNUSED( stream );
face->ttf_face = NULL;
face->root.num_faces = 1;
FT_FACE_FIND_GLOBAL_SERVICE( face, psnames, POSTSCRIPT_CMAPS );
face->psnames = psnames;
face->psaux = FT_Get_Module_Interface( FT_FACE_LIBRARY( face ),
"psaux" );
psaux = (PSAux_Service)face->psaux;
if ( !psaux )
{
FT_ERROR(( "T42_Face_Init: cannot access `psaux' module\n" ));
error = FT_THROW( Missing_Module );
goto Exit;
}
FT_TRACE2(( "Type 42 driver\n" ));
/* open the tokenizer, this will also check the font format */
error = T42_Open_Face( face );
if ( error )
goto Exit;
/* if we just wanted to check the format, leave successfully now */
if ( face_index < 0 )
goto Exit;
/* check the face index */
if ( ( face_index & 0xFFFF ) > 0 )
{
FT_ERROR(( "T42_Face_Init: invalid face index\n" ));
error = FT_THROW( Invalid_Argument );
goto Exit;
}
/* Now load the font program into the face object */
/* Init the face object fields */
/* Now set up root face fields */
root->num_glyphs = type1->num_glyphs;
root->num_charmaps = 0;
root->face_index = 0;
root->face_flags |= FT_FACE_FLAG_SCALABLE |
FT_FACE_FLAG_HORIZONTAL |
FT_FACE_FLAG_GLYPH_NAMES;
if ( info->is_fixed_pitch )
root->face_flags |= FT_FACE_FLAG_FIXED_WIDTH;
#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
root->face_flags |= FT_FACE_FLAG_HINTER;
#endif
/* XXX: TODO -- add kerning with .afm support */
/* get style name -- be careful, some broken fonts only */
/* have a `/FontName' dictionary entry! */
root->family_name = info->family_name;
/* assume "Regular" style if we don't know better */
root->style_name = (char *)"Regular";
if ( root->family_name )
{
char* full = info->full_name;
char* family = root->family_name;
if ( full )
{
while ( *full )
{
if ( *full == *family )
{
family++;
full++;
}
else
{
if ( *full == ' ' || *full == '-' )
full++;
else if ( *family == ' ' || *family == '-' )
family++;
else
{
if ( !*family )
root->style_name = full;
break;
}
}
}
}
}
else
{
/* do we have a `/FontName'? */
if ( type1->font_name )
root->family_name = type1->font_name;
}
/* no embedded bitmap support */
root->num_fixed_sizes = 0;
root->available_sizes = NULL;
/* Load the TTF font embedded in the T42 font */
{
FT_Open_Args args;
args.flags = FT_OPEN_MEMORY | FT_OPEN_DRIVER;
args.driver = FT_Get_Module( FT_FACE_LIBRARY( face ),
"truetype" );
args.memory_base = face->ttf_data;
args.memory_size = face->ttf_size;
if ( num_params )
{
args.flags |= FT_OPEN_PARAMS;
args.num_params = num_params;
args.params = params;
}
error = FT_Open_Face( FT_FACE_LIBRARY( face ),
&args, 0, &face->ttf_face );
}
if ( error )
goto Exit;
FT_Done_Size( face->ttf_face->size );
/* Ignore info in FontInfo dictionary and use the info from the */
/* loaded TTF font. The PostScript interpreter also ignores it. */
root->bbox = face->ttf_face->bbox;
root->units_per_EM = face->ttf_face->units_per_EM;
root->ascender = face->ttf_face->ascender;
root->descender = face->ttf_face->descender;
root->height = face->ttf_face->height;
root->max_advance_width = face->ttf_face->max_advance_width;
root->max_advance_height = face->ttf_face->max_advance_height;
root->underline_position = (FT_Short)info->underline_position;
root->underline_thickness = (FT_Short)info->underline_thickness;
/* compute style flags */
root->style_flags = 0;
if ( info->italic_angle )
root->style_flags |= FT_STYLE_FLAG_ITALIC;
if ( face->ttf_face->style_flags & FT_STYLE_FLAG_BOLD )
root->style_flags |= FT_STYLE_FLAG_BOLD;
if ( face->ttf_face->face_flags & FT_FACE_FLAG_VERTICAL )
root->face_flags |= FT_FACE_FLAG_VERTICAL;
{
if ( psnames )
{
FT_CharMapRec charmap;
T1_CMap_Classes cmap_classes = psaux->t1_cmap_classes;
FT_CMap_Class clazz;
charmap.face = root;
/* first of all, try to synthesize a Unicode charmap */
charmap.platform_id = TT_PLATFORM_MICROSOFT;
charmap.encoding_id = TT_MS_ID_UNICODE_CS;
charmap.encoding = FT_ENCODING_UNICODE;
error = FT_CMap_New( cmap_classes->unicode, NULL, &charmap, NULL );
if ( error &&
FT_ERR_NEQ( error, No_Unicode_Glyph_Name ) )
goto Exit;
error = FT_Err_Ok;
/* now, generate an Adobe Standard encoding when appropriate */
charmap.platform_id = TT_PLATFORM_ADOBE;
clazz = NULL;
switch ( type1->encoding_type )
{
case T1_ENCODING_TYPE_STANDARD:
charmap.encoding = FT_ENCODING_ADOBE_STANDARD;
charmap.encoding_id = TT_ADOBE_ID_STANDARD;
clazz = cmap_classes->standard;
break;
case T1_ENCODING_TYPE_EXPERT:
charmap.encoding = FT_ENCODING_ADOBE_EXPERT;
charmap.encoding_id = TT_ADOBE_ID_EXPERT;
clazz = cmap_classes->expert;
break;
case T1_ENCODING_TYPE_ARRAY:
charmap.encoding = FT_ENCODING_ADOBE_CUSTOM;
charmap.encoding_id = TT_ADOBE_ID_CUSTOM;
clazz = cmap_classes->custom;
break;
case T1_ENCODING_TYPE_ISOLATIN1:
charmap.encoding = FT_ENCODING_ADOBE_LATIN_1;
charmap.encoding_id = TT_ADOBE_ID_LATIN_1;
clazz = cmap_classes->unicode;
break;
default:
;
}
if ( clazz )
error = FT_CMap_New( clazz, NULL, &charmap, NULL );
#if 0
/* Select default charmap */
if ( root->num_charmaps )
root->charmap = root->charmaps[0];
#endif
}
}
Exit:
return error;
}
FT_LOCAL_DEF( void )
T42_Face_Done( FT_Face t42face )
{
T42_Face face = (T42_Face)t42face;
T1_Font type1;
PS_FontInfo info;
FT_Memory memory;
if ( !face )
return;
type1 = &face->type1;
info = &type1->font_info;
memory = face->root.memory;
/* delete internal ttf face prior to freeing face->ttf_data */
if ( face->ttf_face )
FT_Done_Face( face->ttf_face );
/* release font info strings */
FT_FREE( info->version );
FT_FREE( info->notice );
FT_FREE( info->full_name );
FT_FREE( info->family_name );
FT_FREE( info->weight );
/* release top dictionary */
FT_FREE( type1->charstrings_len );
FT_FREE( type1->charstrings );
FT_FREE( type1->glyph_names );
FT_FREE( type1->charstrings_block );
FT_FREE( type1->glyph_names_block );
FT_FREE( type1->encoding.char_index );
FT_FREE( type1->encoding.char_name );
FT_FREE( type1->font_name );
FT_FREE( face->ttf_data );
#if 0
/* release afm data if present */
if ( face->afm_data )
T1_Done_AFM( memory, (T1_AFM*)face->afm_data );
#endif
/* release unicode map, if any */
FT_FREE( face->unicode_map.maps );
face->unicode_map.num_maps = 0;
face->root.family_name = NULL;
face->root.style_name = NULL;
}
/*************************************************************************/
/* */
/* <Function> */
/* T42_Driver_Init */
/* */
/* <Description> */
/* Initializes a given Type 42 driver object. */
/* */
/* <Input> */
/* driver :: A handle to the target driver object. */
/* */
/* <Return> */
/* FreeType error code. 0 means success. */
/* */
FT_LOCAL_DEF( FT_Error )
T42_Driver_Init( FT_Module module ) /* T42_Driver */
{
T42_Driver driver = (T42_Driver)module;
FT_Module ttmodule;
ttmodule = FT_Get_Module( module->library, "truetype" );
if ( !ttmodule )
{
FT_ERROR(( "T42_Driver_Init: cannot access `truetype' module\n" ));
return FT_THROW( Missing_Module );
}
driver->ttclazz = (FT_Driver_Class)ttmodule->clazz;
return FT_Err_Ok;
}
FT_LOCAL_DEF( void )
T42_Driver_Done( FT_Module module )
{
FT_UNUSED( module );
}
FT_LOCAL_DEF( FT_Error )
T42_Size_Init( FT_Size size ) /* T42_Size */
{
T42_Size t42size = (T42_Size)size;
FT_Face face = size->face;
T42_Face t42face = (T42_Face)face;
FT_Size ttsize;
FT_Error error;
error = FT_New_Size( t42face->ttf_face, &ttsize );
t42size->ttsize = ttsize;
FT_Activate_Size( ttsize );
return error;
}
FT_LOCAL_DEF( FT_Error )
T42_Size_Request( FT_Size t42size, /* T42_Size */
FT_Size_Request req )
{
T42_Size size = (T42_Size)t42size;
T42_Face face = (T42_Face)t42size->face;
FT_Error error;
FT_Activate_Size( size->ttsize );
error = FT_Request_Size( face->ttf_face, req );
if ( !error )
t42size->metrics = face->ttf_face->size->metrics;
return error;
}
FT_LOCAL_DEF( FT_Error )
T42_Size_Select( FT_Size t42size, /* T42_Size */
FT_ULong strike_index )
{
T42_Size size = (T42_Size)t42size;
T42_Face face = (T42_Face)t42size->face;
FT_Error error;
FT_Activate_Size( size->ttsize );
error = FT_Select_Size( face->ttf_face, (FT_Int)strike_index );
if ( !error )
t42size->metrics = face->ttf_face->size->metrics;
return error;
}
FT_LOCAL_DEF( void )
T42_Size_Done( FT_Size t42size ) /* T42_Size */
{
T42_Size size = (T42_Size)t42size;
FT_Face face = t42size->face;
T42_Face t42face = (T42_Face)face;
FT_ListNode node;
node = FT_List_Find( &t42face->ttf_face->sizes_list, size->ttsize );
if ( node )
{
FT_Done_Size( size->ttsize );
size->ttsize = NULL;
}
}
FT_LOCAL_DEF( FT_Error )
T42_GlyphSlot_Init( FT_GlyphSlot t42slot ) /* T42_GlyphSlot */
{
T42_GlyphSlot slot = (T42_GlyphSlot)t42slot;
FT_Face face = t42slot->face;
T42_Face t42face = (T42_Face)face;
FT_GlyphSlot ttslot;
FT_Error error = FT_Err_Ok;
if ( !face->glyph )
{
/* First glyph slot for this face */
slot->ttslot = t42face->ttf_face->glyph;
}
else
{
error = FT_New_GlyphSlot( t42face->ttf_face, &ttslot );
slot->ttslot = ttslot;
}
return error;
}
FT_LOCAL_DEF( void )
T42_GlyphSlot_Done( FT_GlyphSlot t42slot ) /* T42_GlyphSlot */
{
T42_GlyphSlot slot = (T42_GlyphSlot)t42slot;
FT_Done_GlyphSlot( slot->ttslot );
}
static void
t42_glyphslot_clear( FT_GlyphSlot slot )
{
/* free bitmap if needed */
ft_glyphslot_free_bitmap( slot );
/* clear all public fields in the glyph slot */
FT_ZERO( &slot->metrics );
FT_ZERO( &slot->outline );
FT_ZERO( &slot->bitmap );
slot->bitmap_left = 0;
slot->bitmap_top = 0;
slot->num_subglyphs = 0;
slot->subglyphs = NULL;
slot->control_data = NULL;
slot->control_len = 0;
slot->other = NULL;
slot->format = FT_GLYPH_FORMAT_NONE;
slot->linearHoriAdvance = 0;
slot->linearVertAdvance = 0;
}
FT_LOCAL_DEF( FT_Error )
T42_GlyphSlot_Load( FT_GlyphSlot glyph,
FT_Size size,
FT_UInt glyph_index,
FT_Int32 load_flags )
{
FT_Error error;
T42_GlyphSlot t42slot = (T42_GlyphSlot)glyph;
T42_Size t42size = (T42_Size)size;
T42_Face t42face = (T42_Face)size->face;
FT_Driver_Class ttclazz = ((T42_Driver)glyph->face->driver)->ttclazz;
FT_TRACE1(( "T42_GlyphSlot_Load: glyph index %d\n", glyph_index ));
/* map T42 glyph index to embedded TTF's glyph index */
glyph_index = (FT_UInt)ft_strtol(
(const char *)t42face->type1.charstrings[glyph_index],
NULL, 10 );
t42_glyphslot_clear( t42slot->ttslot );
error = ttclazz->load_glyph( t42slot->ttslot,
t42size->ttsize,
glyph_index,
load_flags | FT_LOAD_NO_BITMAP );
if ( !error )
{
glyph->metrics = t42slot->ttslot->metrics;
glyph->linearHoriAdvance = t42slot->ttslot->linearHoriAdvance;
glyph->linearVertAdvance = t42slot->ttslot->linearVertAdvance;
glyph->format = t42slot->ttslot->format;
glyph->outline = t42slot->ttslot->outline;
glyph->bitmap = t42slot->ttslot->bitmap;
glyph->bitmap_left = t42slot->ttslot->bitmap_left;
glyph->bitmap_top = t42slot->ttslot->bitmap_top;
glyph->num_subglyphs = t42slot->ttslot->num_subglyphs;
glyph->subglyphs = t42slot->ttslot->subglyphs;
glyph->control_data = t42slot->ttslot->control_data;
glyph->control_len = t42slot->ttslot->control_len;
}
return error;
}
/* END */
| {
"content_hash": "b30f4cb30c5c0f0b11dc542a66f639e1",
"timestamp": "",
"source": "github",
"line_count": 694,
"max_line_length": 77,
"avg_line_length": 30.891930835734872,
"alnum_prop": 0.48402444143849993,
"repo_name": "zakki/openhsp",
"id": "e6c24d2c61e8f34679ed9c578dced47bfa5222e5",
"size": "21439",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "package/win32/iOS/hspproj_gp/hspproj/hsp3dish/gameplay/encoder/lib/freetype-2.7.1/src/type42/t42objs.c",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ActionScript",
"bytes": "150345"
},
{
"name": "AngelScript",
"bytes": "415842"
},
{
"name": "Assembly",
"bytes": "6835762"
},
{
"name": "Awk",
"bytes": "8286"
},
{
"name": "Batchfile",
"bytes": "17416"
},
{
"name": "C",
"bytes": "44323065"
},
{
"name": "C++",
"bytes": "77401621"
},
{
"name": "CMake",
"bytes": "327385"
},
{
"name": "CSS",
"bytes": "65110"
},
{
"name": "DIGITAL Command Language",
"bytes": "74194"
},
{
"name": "Emacs Lisp",
"bytes": "11716"
},
{
"name": "GLSL",
"bytes": "243100"
},
{
"name": "HTML",
"bytes": "15891798"
},
{
"name": "Haskell",
"bytes": "2139250"
},
{
"name": "Java",
"bytes": "101998"
},
{
"name": "JavaScript",
"bytes": "218752"
},
{
"name": "LLVM",
"bytes": "26468545"
},
{
"name": "Lua",
"bytes": "1143"
},
{
"name": "M4",
"bytes": "184884"
},
{
"name": "Makefile",
"bytes": "676117"
},
{
"name": "Mathematica",
"bytes": "20070"
},
{
"name": "Monkey C",
"bytes": "274"
},
{
"name": "NASL",
"bytes": "9831"
},
{
"name": "OCaml",
"bytes": "378127"
},
{
"name": "Objective-C",
"bytes": "18168"
},
{
"name": "Objective-C++",
"bytes": "663471"
},
{
"name": "Perl",
"bytes": "55068"
},
{
"name": "Python",
"bytes": "845989"
},
{
"name": "Roff",
"bytes": "23681"
},
{
"name": "Shell",
"bytes": "842849"
},
{
"name": "Vim Script",
"bytes": "13176"
},
{
"name": "sed",
"bytes": "482"
}
],
"symlink_target": ""
} |
package eu.derbed.openmu.gs.client;
import java.io.IOException;
import com.notbed.muonline.util.DataDecrypter;
import eu.derbed.openmu.gs.ClientThread;
/**
* @author Alexandru Bledea
* @since Jul 27, 2014
*/
public abstract class SimpleClientPackage implements ClientPackage {
/* (non-Javadoc)
* @see eu.derbed.openmu.gs.clientPackage.ClientPackage#process(byte[], eu.derbed.openmu.gs.ClientThread)
*/
@Override
public final void process(final byte[] data, final ClientThread client) throws IOException {
process(new DataDecrypter(data), client);
}
/**
* @param dataDecrypter
* @param client
*/
protected abstract void process(DataDecrypter dataDecrypter, ClientThread client) throws IOException;
}
| {
"content_hash": "5b3e809a1f9132537d32028f5fe75984",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 106,
"avg_line_length": 25.06896551724138,
"alnum_prop": 0.7565337001375516,
"repo_name": "MuOnlineRepositories/MuOnline",
"id": "a3e817dadbdd8ced8b2b4cf69224bedbd8fa5e5e",
"size": "727",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "openmu-take-two/src/main/java/eu/derbed/openmu/gs/client/SimpleClientPackage.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "404764"
}
],
"symlink_target": ""
} |
namespace ODER{
class TetMesh : public Mesh{
public:
TetMesh(int numN, int numE, int numS) : Mesh(numN, numE, numS, 4, 3){}
TetMesh(const TetMesh&) = delete;
TetMesh(TetMesh&& mesh) : Mesh(std::move(mesh)){}
TetMesh& operator=(const TetMesh&) = delete;
TetMesh& operator=(TetMesh&& mesh) = delete;
GeometricElement* getGeometricElement() const;
Element* getMaterialElement(MarterialType type) const;
Facet* getFacet() const;
Element* getElement(int elementIndex, MarterialType type) const;
int getCloestNode(const Vector3f &v) const { return -1; }
int getCloestElement(const Vector3f &v) const { return -1; }
~TetMesh() = default;
};
template<> void setMeshFacetElementMap(TetMesh& m);
}
#endif
| {
"content_hash": "4e3f566bd703ce8a313b865d130a6a5b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 72,
"avg_line_length": 33.04545454545455,
"alnum_prop": 0.7111416781292985,
"repo_name": "OpenDeformerDev/OpenDeformer",
"id": "9daa8c90ed4e4cb9ae2cd2e0e55ae5d227aa1836",
"size": "864",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "OpenDeformer/mesh/tetmesh.h",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "409801"
},
{
"name": "C++",
"bytes": "1212833"
}
],
"symlink_target": ""
} |
<TextObjectProperties>
<Layout>
<Frame>
<BorderWidth>0</BorderWidth>
<BorderEffect>FLAT</BorderEffect>
<Color>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>4</Red>
<Green>108</Green>
<Blue>193</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol></SecondaryCol>
<Alpha>255</Alpha>
</Color>
<Font>
<FontName>Calibri</FontName>
<PointSize1000>9000</PointSize1000>
<Underline>false</Underline>
<Bold>false</Bold>
<Italic>false</Italic>
<DropShadow>false</DropShadow>
</Font>
<CaptionFont>
<FontName>Tahoma</FontName>
<PointSize1000>10000</PointSize1000>
<Underline>false</Underline>
<Bold>true</Bold>
<Italic>false</Italic>
<DropShadow>false</DropShadow>
</CaptionFont>
<Name></Name>
<Detached>false</Detached>
<AllowMinimize>false</AllowMinimize>
<AutoMinimize>false</AutoMinimize>
<AllowMaximize>false</AllowMaximize>
<AllowInfo>false</AllowInfo>
<PrintIcon>false</PrintIcon>
<CopyIcon>false</CopyIcon>
<XLIcon>false</XLIcon>
<SearchIcon>false</SearchIcon>
<SelectPossibleIcon>false</SelectPossibleIcon>
<SelectExcludedIcon>false</SelectExcludedIcon>
<SelectAllIcon>false</SelectAllIcon>
<ClearIcon>false</ClearIcon>
<ClearOtherIcon>false</ClearOtherIcon>
<LockIcon>false</LockIcon>
<HelpText></HelpText>
<ObjectId></ObjectId>
<ShrinkFrameToData>true</ShrinkFrameToData>
<ShowCaption>false</ShowCaption>
<MultiLine>0</MultiLine>
<ActiveBgColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>210</Red>
<Green>210</Green>
<Blue>210</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol>
<Col>
<Red>153</Red>
<Green>153</Green>
<Blue>153</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</SecondaryCol>
<Alpha>255</Alpha>
</ActiveBgColor>
<BgColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>232</Red>
<Green>232</Green>
<Blue>232</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol>
<Col>
<Red>200</Red>
<Green>200</Green>
<Blue>200</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</SecondaryCol>
<Alpha>255</Alpha>
</BgColor>
<ActiveFgColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>54</Red>
<Green>54</Green>
<Blue>54</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol></SecondaryCol>
<Alpha>255</Alpha>
</ActiveFgColor>
<FgColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>54</Red>
<Green>54</Green>
<Blue>54</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol></SecondaryCol>
<Alpha>255</Alpha>
</FgColor>
<FixCorner>true</FixCorner>
<FixCornerSize>21</FixCornerSize>
<RelCornerSize>4059000000000000</RelCornerSize>
<Power>4000000000000000</Power>
<RoundedShape>true</RoundedShape>
<EnableTopLeftRounded>true</EnableTopLeftRounded>
<EnableTopRightRounded>true</EnableTopRightRounded>
<EnableBottomLeftRounded>true</EnableBottomLeftRounded>
<EnableBottomRightRounded>true</EnableBottomRightRounded>
<Light>3FEE666666666666</Light>
<Dark>3FC3333333333333</Dark>
<Rainbow>false</Rainbow>
<TextAdjustHorizontal>0</TextAdjustHorizontal>
<TextAdjustVertical>4</TextAdjustVertical>
<Show></Show>
<AllowMoveSize>true</AllowMoveSize>
<AllowCopyClone>true</AllowCopyClone>
<dummy></dummy>
<CustomObjectGuid enctype="base64"></CustomObjectGuid>
<CustomObjectProperties enctype="base64"></CustomObjectProperties>
<ScrollBkgColor>
<Col>
<Red>255</Red>
<Green>255</Green>
<Blue>255</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</ScrollBkgColor>
<ScrollButtonColor>
<Col>
<Red>192</Red>
<Green>192</Green>
<Blue>192</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</ScrollButtonColor>
<ScrollStyle>SCROLL_SIX</ScrollStyle>
<ScrollWidth>38</ScrollWidth>
<AllowModify>true</AllowModify>
<CopyImageIcon>false</CopyImageIcon>
<PreserveScrollPosition>false</PreserveScrollPosition>
<ShadowIntensity>SHADOW_NONE</ShadowIntensity>
<OnActivateActionItems></OnActivateActionItems>
<OnDeactivateActionItems></OnDeactivateActionItems>
<Extension></Extension>
<Background></Background>
<MenuIcon>false</MenuIcon>
<ExtendedProperties></ExtendedProperties>
<ExtendedValues></ExtendedValues>
<StateName></StateName>
</Frame>
<LegacyHelpModeThatHasNoEffectWhatSoEver>false</LegacyHelpModeThatHasNoEffectWhatSoEver>
<TextAdjustHorizontal>1</TextAdjustHorizontal>
<TextAdjustVertical>4</TextAdjustVertical>
<TopMargin>10</TopMargin>
<BottomMargin>10</BottomMargin>
<LeftMargin>10</LeftMargin>
<RightMargin>10</RightMargin>
<TextColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>255</Red>
<Green>255</Green>
<Blue>255</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol></SecondaryCol>
<Alpha>255</Alpha>
</TextColor>
<BkgColor>
<Mode>COLORAREA_SOLID</Mode>
<Luminosity>85</Luminosity>
<FillDirection>COLORAREA_HORZ</FillDirection>
<FillPattern>COLORAREA_PATTERN1</FillPattern>
<PrimaryCol>
<Col>
<Red>214</Red>
<Green>231</Green>
<Blue>248</Blue>
<Alpha>255</Alpha>
</Col>
<IsCalculated>false</IsCalculated>
<ColorExpr></ColorExpr>
</PrimaryCol>
<SecondaryCol></SecondaryCol>
<Alpha>0</Alpha>
</BkgColor>
<BkgImageSettings></BkgImageSettings>
<BkgMode>BKG_SOLID</BkgMode>
<Bmp enctype="base64"></Bmp>
<BkgAlpha>255</BkgAlpha>
<Text>
<v>='Rot. Capital de Trabajo ' & Num((sum({<Contabilidad.CUENTA_N2 = {'41'} , Contabilidad.ANO = {$(=(vAñoSeleccion))}>} Contabilidad.MOVIMIENTO) * -1) /
((sum({<Contabilidad.CUENTA_N2 = {'11'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)) +
(sum({<Contabilidad.CUENTA_N3 = {'1305'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)) +
(sum({<Contabilidad.CUENTA_N3 = {'1430','1435'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)) +
((sum({<Contabilidad.CUENTA_N2 = {'14'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)) -
(sum({<Contabilidad.CUENTA_N3 = {'1430','1435'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL))) +
((sum({<Contabilidad.CUENTA_N2 = {'13'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)) -
(sum({<Contabilidad.CUENTA_N3 = {'1305'} , Contabilidad.FECHA = {$(vMesMayorSeleccion)}>}Contabilidad.SALDO_FINAL)))),'#.##0,0')</v>
</Text>
<ImageRepresentation></ImageRepresentation>
<AllowVerticalScrollBar>false</AllowVerticalScrollBar>
<AllowHorizontalScrollBar>false</AllowHorizontalScrollBar>
<ActionItems></ActionItems>
</Layout>
<PrintSettings></PrintSettings>
<UserSized>true</UserSized>
</TextObjectProperties>
| {
"content_hash": "195990813e36c3075c688edea099954e",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 170,
"avg_line_length": 35.67777777777778,
"alnum_prop": 0.6066645904702584,
"repo_name": "QuestCali/Q-Sofi",
"id": "5c42ab95ae8acaac3dd1fe6b1acfcdedd72af1d0",
"size": "9636",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "4. Solucion/Q-Sofi-prj/TX111.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>ScalaTest + EasyMock 3.1.2.0 - org</title>
<meta name="description" content="ScalaTest EasyMock 3.1.2.0 - org" />
<meta name="keywords" content="ScalaTest EasyMock 3.1.2.0 org" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../lib/index.css" media="screen" type="text/css" rel="stylesheet" />
<link href="../lib/template.css" media="screen" type="text/css" rel="stylesheet" />
<link href="../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" />
<script type="text/javascript" src="../lib/jquery.js"></script>
<script type="text/javascript" src="../lib/jquery.panzoom.min.js"></script>
<script type="text/javascript" src="../lib/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="../lib/index.js"></script>
<script type="text/javascript" src="../index.js"></script>
<script type="text/javascript" src="../lib/scheduler.js"></script>
<script type="text/javascript" src="../lib/template.js"></script>
<script type="text/javascript" src="../lib/tools.tooltip.js"></script>
<script type="text/javascript">
/* this variable can be used by the JS to determine the path to the root document */
var toRoot = '../';
</script>
<!-- gtag [javascript] -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-71294502-1"></script>
<script defer>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-71294502-1');
</script>
</head>
<body>
<div id="search">
<span id="doc-title">ScalaTest + EasyMock 3.1.2.0<span id="doc-version"></span></span>
<span class="close-results"><span class="left"><</span> Back</span>
<div id="textfilter">
<span class="input">
<input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/" />
<i class="clear material-icons"></i>
<i id="search-icon" class="material-icons"></i>
</span>
</div>
</div>
<div id="search-results">
<div id="search-progress">
<div id="progress-fill"></div>
</div>
<div id="results-content">
<div id="entity-results"></div>
<div id="member-results"></div>
</div>
</div>
<div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;">
<div id="content-container" style="-webkit-overflow-scrolling: touch;">
<div id="subpackage-spacer">
<div id="packages">
<h1>Packages</h1>
<ul>
<li name="_root_.root" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped">
<a id="_root_"></a><a id="root:_root_"></a>
<span class="permalink">
<a href="index.html#_root_" title="Permalink">
<i class="material-icons"></i>
</a>
</span>
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<a title="" href="../index.html"><span class="name">root</span></a>
</span>
<div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../index.html" class="extype" name="_root_">root</a></dd></dl></div>
</li><li name="_root_.org" visbl="pub" class="indented1 current" data-isabs="false" fullComment="yes" group="Ungrouped">
<a id="org"></a><a id="org:org"></a>
<span class="permalink">
<a href="index.html#org" title="Permalink">
<i class="material-icons"></i>
</a>
</span>
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<span class="name">org</span>
</span>
<div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../index.html" class="extype" name="_root_">root</a></dd></dl></div>
</li><li name="org.scalatestplus" visbl="pub" class="indented2 " data-isabs="false" fullComment="no" group="Ungrouped">
<a id="scalatestplus"></a><a id="scalatestplus:scalatestplus"></a>
<span class="permalink">
<a href="../org/index.html#scalatestplus" title="Permalink">
<i class="material-icons"></i>
</a>
</span>
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<a title="" href="scalatestplus/index.html"><span class="name">scalatestplus</span></a>
</span>
</li>
</ul>
</div>
</div>
<div id="content">
<body class="package value">
<!-- Top of doc.scalatest.org [javascript] -->
<script type="text/javascript">
var rnd = window.rnd || Math.floor(Math.random()*10e6);
var pid204546 = window.pid204546 || rnd;
var plc204546 = window.plc204546 || 0;
var abkw = window.abkw || '';
var absrc = 'http://ab167933.adbutler-ikon.com/adserve/;ID=167933;size=468x60;setID=204546;type=js;sw='+screen.width+';sh='+screen.height+';spr='+window.devicePixelRatio+';kw='+abkw+';pid='+pid204546+';place='+(plc204546++)+';rnd='+rnd+';click=CLICK_MACRO_PLACEHOLDER';
document.write('<scr'+'ipt src="'+absrc+'" type="text/javascript"></scr'+'ipt>');
</script>
<div id="definition">
<div class="big-circle package">p</div>
<h1>org<span class="permalink">
<a href="../org/index.html" title="Permalink">
<i class="material-icons"></i>
</a>
</span></h1>
</div>
<h4 id="signature" class="signature">
<span class="modifier_kind">
<span class="modifier"></span>
<span class="kind">package</span>
</span>
<span class="symbol">
<span class="name">org</span>
</span>
</h4>
<div id="comment" class="fullcommenttop"></div>
<div id="template">
<div id="allMembers">
</div>
<div id="inheritedMembers">
</div>
<div id="groupedMembers">
<div class="group" name="Ungrouped">
<h3>Ungrouped</h3>
</div>
</div>
</div>
<div id="tooltip"></div>
<div id="footer"> </div>
</body>
</div>
</div>
</div>
</body>
</html>
| {
"content_hash": "198875c75b7ec4fe576703ad6b5af449",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 269,
"avg_line_length": 33.26190476190476,
"alnum_prop": 0.5540443808160344,
"repo_name": "scalatest/scalatest-website",
"id": "b60af944127965abfa1942b3fa9a7e0f39ef6156",
"size": "6997",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "public/scaladoc/plus-easymock-3.2/3.1.2.0/org/index.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "8401192"
},
{
"name": "HTML",
"bytes": "4508833233"
},
{
"name": "JavaScript",
"bytes": "12256885"
},
{
"name": "Procfile",
"bytes": "62"
},
{
"name": "Scala",
"bytes": "136544"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=struct.AtomicI16.html">
</head>
<body>
<p>Redirecting to <a href="struct.AtomicI16.html">struct.AtomicI16.html</a>...</p>
<script>location.replace("struct.AtomicI16.html" + location.search + location.hash);</script>
</body>
</html> | {
"content_hash": "360cd5af655e711bba6997851271117b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 97,
"avg_line_length": 32.5,
"alnum_prop": 0.683076923076923,
"repo_name": "liigo/liigo.github.io",
"id": "7ff64a67869336fc383eb27380f8264cd7a45bf2",
"size": "325",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "tmp/rust/inline-sidebar-items/std/sync/atomic/AtomicI16.t.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "11826"
},
{
"name": "HTML",
"bytes": "3895"
},
{
"name": "JavaScript",
"bytes": "48"
}
],
"symlink_target": ""
} |
/*-----------------------------------------------------------------------------------
main.js - All front-end jQuery
-----------------------------------------------------------------------------------*/
$(function(){
/*-----------------------------------------------------------------------------------
Responsive Menu
-----------------------------------------------------------------------------------*/
var $select = $('<select id="option-menu"></select>').appendTo('#menu').hide();
$('#menu').find('li').each(function(index, item){
var plusText = $(item).hasClass('second_list') ? ' |-' : '';
var $a = $(item).find('a').first();
var $option = $('<option>'+plusText+$a.text()+'</option>').val($a.attr('href')).appendTo($select);
if($a.hasClass('main_current')){
$option.attr('selected', true);
}
});
$select.on('change', function(){
document.location = $select.val();
});
$('a[href="#"]').on('click', function(e){
e.preventDefault();
});
/*-----------------------------------------------------------------------------------
Stick topbar when scrolling
-----------------------------------------------------------------------------------*/
var aboveHeight = $('#hero').outerHeight(false);
$(window).scroll(function(){
var specialAboveHeight = aboveHeight;
if ($(window).scrollTop() > specialAboveHeight){
$('#topbar').addClass('fixed');
$('#main').css({'marginTop' : $('#topbar').outerHeight(true)+'px'});
} else {
$('#topbar').removeClass('fixed');
$('#main').css({'marginTop' : 0+'px'});
}
});
/*-----------------------------------------------------------------------------------
Toggle fullscreen
-----------------------------------------------------------------------------------*/
function onFullScreenChange(){
if (screenfull.enabled) {
if($('#superfullscreen-wrapper').length){
$('#main').unwrap();
}
else{
$('#main').wrap($('<div id="superfullscreen-wrapper"/>'));
}
if(screenfull.isFullscreen)
$('#fullscreen-button').addClass('selected');
else
$('#fullscreen-button').removeClass('selected');
}
}
$('#fullscreen-button').click(function(){
screenfull.toggle($('#superfullscreen-wrapper')[0]);
});
$(document).on('webkitfullscreenchange mozfullscreenchange fullscreenchange',onFullScreenChange);
/*-----------------------------------------------------------------------------------
Toggle search
-----------------------------------------------------------------------------------*/
$('#search-button').click(function(){
if(!$(this).hasClass('selected')){
$(this).addClass('selected');
$('#searchform').addClass('selected');
setTimeout(function(){
$('#s').focus();
}, 300);
}
});
$('#s').on('focusout', function(){
$('#search-button').removeClass('selected');
$('#searchform').removeClass('selected');
});
/*-----------------------------------------------------------------------------------
Toggle like button
-----------------------------------------------------------------------------------*/
$('#like-button').click(function(){
var $t = $(this);
var url = $t.attr('rel');
$(this).toggleClass('selected');
var data = $.extend($t.data(), {"like" : $(this).hasClass('selected')});
$.post(url, data, function(json){
console.log(json);
}, "json");
});
/*-----------------------------------------------------------------------------------
Keyboards shortcuts
-----------------------------------------------------------------------------------*/
var textAcceptingInputTypes = ["text", "password", "number", "email", "url", "range", "date", "month", "week", "time", "datetime", "datetime-local", "search", "color"];
$(document).keyup(function(e) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
$.inArray(event.target.type, textAcceptingInputTypes) > -1 ) ) {
return;
}
if (e.keyCode == 70) { $('#fullscreen-button').click(); } // f for fullscreen
if (e.keyCode == 76) { $('#like-button').click(); } // l for like
});
/*-----------------------------------------------------------------------------------
Handle resize of window
-----------------------------------------------------------------------------------*/
$(window).resize(function(){
aboveHeight = $('#hero').outerHeight(false);
$select.hide();
$('#menu > ul').show();
if($('#menus-wrapper').width()-$('#logo').width()-$('#toolbar').width() < $('#menu').outerWidth()){
$select.show();
$('#menu > ul').hide();
}
else{
$select.hide();
$('#menu > ul').show();
}
responsiveTabs();
bindCarousels();
});
/*-----------------------------------------------------------------------------------
Sharre plugin configuration
-----------------------------------------------------------------------------------*/
$('.twitter').sharrre({
share: {
twitter: true
},
enableHover: false,
enableTracking: true,
buttons: { twitter: {via: '_JulienH'}},
click: function(api, options){
api.simulateClick();
api.openPopup('twitter');
}
});
$('.facebook').sharrre({
share: {
facebook: true
},
enableHover: false,
enableTracking: true,
click: function(api, options){
api.simulateClick();
api.openPopup('facebook');
}
});
$('.googleplus').sharrre({
share: {
googlePlus: true
},
enableHover: false,
enableTracking: true,
click: function(api, options){
api.simulateClick();
api.openPopup('googlePlus');
}
});
/*-----------------------------------------------------------------------------------
Carousels configuration
-----------------------------------------------------------------------------------*/
function bindCarousels(){
$('.carousel').each(function(){
var $t = $(this);
if($t.data('carouselBound')||!$t.is(':visible'))
return;
$t.carouFredSel({
height: 'variable',
align: "center",
width : "100%",
items: { visible : "0"},
auto: { play: false },
prev: $t.parents('.fancy-carousel:first').find('.prev-related'),
next: $t.parents('.fancy-carousel:first').find('.next-related'),
mousewheel: true,
swipe: {
onMouse: true,
onTouch: true
}
});
$t.data('carouselBound', true);
});
// Popular widget Carousels
$('.widget-carousel').each(function(){
var $t = $(this);
if($t.data('carouselBound')||!$t.is(':visible'))
return;
$t.carouFredSel({
height: 'variable',
responsive: true,
width: '100%',
items: { visible: "variable" },
auto: { play: false },
prev: $t.parents('.fancy-carousel:first').find('.prev-popular'),
next: $t.parents('.fancy-carousel:first').find('.next-popular'),
mousewheel: true,
swipe: {
onMouse: true,
onTouch: true
}
});
$t.data('carouselBound', true);
});
}
bindCarousels();
/*-----------------------------------------------------------------------------------
Make the videos responsive
-----------------------------------------------------------------------------------*/
$(".video-wrapper").fitVids();
/*-----------------------------------------------------------------------------------
Slicebox configuration
-----------------------------------------------------------------------------------*/
var $navArrows = $( '#naav-arrows' ).hide(),
commonSpeed = 600,
$descriptions = $('.sb-description'),
slicebox = $( '#sb-slider' ).slicebox( {
onReady : function() {
$('#slicebox').addClass('loaded');
if($descriptions.first().hasClass('sb-description-light'))
$navArrows.addClass('sb-nav-light');
else
$navArrows.removeClass('sb-nav-light');
$navArrows.show();
},
speed : commonSpeed,
onBeforeChange : function( pos ) {
if($descriptions.eq(pos).hasClass('sb-description-light'))
$navArrows.addClass('sb-nav-light');
else
$navArrows.removeClass('sb-nav-light');
}
} );
// add navigation events
$navArrows.children( ':first' ).on( 'click', function() {
slicebox.previous();
return false;
} );
$navArrows.children( ':last' ).on( 'click', function() {
slicebox.next();
return false;
} );
/*-----------------------------------------------------------------------------------
Transform audio player in a sleek responsive audio player
-----------------------------------------------------------------------------------*/
$( 'audio' ).audioPlayer();
/*-----------------------------------------------------------------------------------
Ajax Contact form
-----------------------------------------------------------------------------------*/
$('#contact-submit').on('click', function(e){
e.preventDefault();
var emailRe = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if($('#name').val() == ""){
$('#name').addClass("required");
return;
}
if($('#email').val() == "" || !emailRe.test($('#email').val())){
$('#email').addClass("required");
return;
}
if($('#message').val() == ""){
$('#message').addClass("required");
return;
}
$('#contact').find('.alert').hide();
var $t = $(this),
$form = $t.parents('form:first'),
url = $form.attr('action'),
data = $form.serialize();
$.post(url, data, function(json){
if(json.res == "success")
$('#contact-form-success').slideToggle();
else
$('#contact-form-error').slideToggle();
}, "json");
});
/*-----------------------------------------------------------------------------------
Tabs
-----------------------------------------------------------------------------------*/
$(".tabwrapper").each(function(){
var $container = $(this);
$container.find('.tabrow').find('li').click(function(e){
var $element = $(this);
e.preventDefault();
$container.find('.tabrow').find('li').removeClass("selected");
$element.addClass("selected");
var index = $container.find('.tabrow').find('li').index($element);
$container.find('.tabcontent').find('li.tabcontentwrapper').removeClass('selected').hide();
$container.find('.tabcontent').find('li.tabcontentwrapper').eq(index).addClass('selected').show();
});
});
function responsiveTabs(){
$('.nav-responsive-tabs').remove();
$(".tabwrapper").each(function(){
var $container = $(this),
$tr = $container.find('.tabrow'),
count = 0;
$tr.find('li').each(function(){
count+= $(this).outerWidth(true);
});
if($container.width() - parseInt($tr.css('paddingLeft')) - parseInt($tr.css('paddingRight')) < count){
$tr.width(count);
var $next = $('<a class="next-responsive-tabs" href="#"><i class="icon-caret-right"></i></a>'),
$prev = $('<a class="prev-responsive-tabs" href="#"><i class="icon-caret-left"></i></a>');
$('<nav class="nav-responsive-tabs"/>').appendTo($container).append($next).append($prev);
$next.on('click', function(e){
e.preventDefault();
if(parseInt($tr.css('marginLeft')) - 100 < $container.width() - $tr.outerWidth())
$tr.stop(true, true).animate({
'marginLeft' : $container.width() - $tr.outerWidth()
});
else
$tr.stop(true, true).animate({
'marginLeft' : "-=100"
});
});
$prev.on('click', function(e){
e.preventDefault();
if(parseInt($tr.css('marginLeft')) + 100 > 0)
$tr.stop(true, true).animate({
'marginLeft' : "0"
});
else
$tr.stop(true, true).animate({
'marginLeft' : "+=100"
});
});
}
else
$tr.css({
'width': '100%',
'marginLeft' : '0'
});
});
}
/*-----------------------------------------------------------------------------------
Gamma Gallery
-----------------------------------------------------------------------------------*/
var GammaSettings = {
// order is important!
viewport : [ {
width : 1200,
columns : 5
}, {
width : 900,
columns : 4
}, {
width : 500,
columns : 3
}, {
width : 320,
columns : 2
}, {
width : 0,
columns : 2
} ]
};
Gamma.init( GammaSettings );
/*-----------------------------------------------------------------------------------
Toggle
-----------------------------------------------------------------------------------*/
$(".toggle-title").click(function(){
var $this = $(this),
$parent = $this.parent();
$parent.toggleClass('open').find(".toggle-inner").slideToggle();
});
/*-----------------------------------------------------------------------------------
Trigger resize when document's ready
-----------------------------------------------------------------------------------*/
$(window).resize();
});
/*-----------------------------------------------------------------------------------
Google map utility
-----------------------------------------------------------------------------------*/
$(window).load(function(){
var $map = $('#map-canvas');
if($map.length){
var myLatlng = new google.maps.LatLng(-25.363882,131.044922);
var mapOptions = {
zoom: 4,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map($map[0], mapOptions);
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title: 'Hello World!'
});
}
});
| {
"content_hash": "f1cafc945addd9f833378c1b9f86f4d9",
"timestamp": "",
"source": "github",
"line_count": 479,
"max_line_length": 172,
"avg_line_length": 28.139874739039666,
"alnum_prop": 0.4346761629200979,
"repo_name": "abhilashst/abhilashst.github.io",
"id": "2766b8a9aca7d708f246f9a9e1a75bb95aff510c",
"size": "13479",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "js/main.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "100861"
},
{
"name": "CoffeeScript",
"bytes": "10450"
},
{
"name": "HTML",
"bytes": "186917"
},
{
"name": "JavaScript",
"bytes": "43275"
}
],
"symlink_target": ""
} |
FROM balenalib/vab820-quad-debian:stretch-build
ENV NODE_VERSION 16.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" ; \
done \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-armv7l.tar.gz" \
&& echo "2df94404f4dd22aee67370cd24b2c802f82409434e5ed26061c7aaec74a8ebc2 node-v$NODE_VERSION-linux-armv7l.tar.gz" | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-armv7l.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-armv7l.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" \
&& curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" \
&& gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& mkdir -p /opt/yarn \
&& tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/yarn --strip-components=1 \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarnpkg \
&& rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \
&& npm config set unsafe-perm true -g --unsafe-perm \
&& rm -rf /tmp/*
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"]
RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/test-stack@node.sh" \
&& echo "Running test-stack@node" \
&& chmod +x test-stack@node.sh \
&& bash test-stack@node.sh \
&& rm -rf test-stack@node.sh
RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo 'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v7 \nOS: Debian Stretch \nVariant: build variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nNode.js v16.14.0, Yarn v1.22.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info
RUN echo '#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \
&& chmod +x /bin/sh-shim \
&& cp /bin/sh /bin/sh.real \
&& mv /bin/sh-shim /bin/sh | {
"content_hash": "4e3e2a98cbdcda5d2b3615e92babd8ef",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 695,
"avg_line_length": 67.39024390243902,
"alnum_prop": 0.7097357944263482,
"repo_name": "resin-io-library/base-images",
"id": "eccc468f5754e6b63f2ff61f60e7e1faf8280b95",
"size": "2784",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "balena-base-images/node/vab820-quad/debian/stretch/16.14.0/build/Dockerfile",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Dockerfile",
"bytes": "71234697"
},
{
"name": "JavaScript",
"bytes": "13096"
},
{
"name": "Shell",
"bytes": "12051936"
},
{
"name": "Smarty",
"bytes": "59789"
}
],
"symlink_target": ""
} |
<div class="hero-unit">Profile Activity Widget</div>
| {
"content_hash": "516e6e2d9d68167cd2663c6febbfc623",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 52,
"avg_line_length": 27,
"alnum_prop": 0.7407407407407407,
"repo_name": "ProfilerTeam/Profiler",
"id": "6679404e06af46ae2dced57617fad54852cc09fa",
"size": "54",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "protected/modules_core/user/widgets/views/profileActivities.php",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "427"
},
{
"name": "Batchfile",
"bytes": "431"
},
{
"name": "CSS",
"bytes": "326435"
},
{
"name": "HTML",
"bytes": "917"
},
{
"name": "JavaScript",
"bytes": "581447"
},
{
"name": "PHP",
"bytes": "7311409"
},
{
"name": "Shell",
"bytes": "41"
}
],
"symlink_target": ""
} |
package hadraha;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
/**
* The @Entity tells Objectify about our entity.
*
* This is never actually created, but gives a hint to Objectify about our Ancestor key.
*/
@Entity
public class Guestbook {
@Id public String book;
}
| {
"content_hash": "2a6a2b5e12b68c8ff8b39d6c1804ed74",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 88,
"avg_line_length": 20.5625,
"alnum_prop": 0.7537993920972644,
"repo_name": "rommguy/merkaz-hadraha",
"id": "1615dd865a88ae46e11f5169b1f5e94b2428e092",
"size": "946",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/hadraha/Guestbook.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "16969"
},
{
"name": "Java",
"bytes": "52453"
},
{
"name": "JavaScript",
"bytes": "116621"
}
],
"symlink_target": ""
} |
using testing::_;
using testing::Eq;
using testing::InSequence;
using testing::Invoke;
using testing::Return;
using testing::ReturnRef;
namespace Envoy {
namespace Extensions {
namespace NetworkFilters {
namespace ClientSslAuth {
TEST(ClientSslAuthAllowedPrincipalsTest, EmptyString) {
AllowedPrincipals principals;
principals.add("");
EXPECT_EQ(0UL, principals.size());
}
TEST(ClientSslAuthConfigTest, BadClientSslAuthConfig) {
std::string yaml = R"EOF(
stat_prefix: my_stat_prefix
auth_api_cluster: fake_cluster
ip_white_list:
- address_prefix: 192.168.3.0
prefix_len: 24
test: a
)EOF";
envoy::extensions::filters::network::client_ssl_auth::v3::ClientSSLAuth proto_config{};
EXPECT_THROW(TestUtility::loadFromYaml(yaml, proto_config), EnvoyException);
}
class ClientSslAuthFilterTest : public testing::Test {
protected:
ClientSslAuthFilterTest()
: request_(&cm_.async_client_), interval_timer_(new Event::MockTimer(&dispatcher_)),
api_(Api::createApiForTest(stats_store_)),
ssl_(std::make_shared<Ssl::MockConnectionInfo>()) {}
~ClientSslAuthFilterTest() override { tls_.shutdownThread(); }
void setup() {
std::string yaml = R"EOF(
auth_api_cluster: vpn
stat_prefix: vpn
ip_white_list:
- address_prefix: 1.2.3.4
prefix_len: 32
- address_prefix: '2001:abcd::'
prefix_len: 64
)EOF";
envoy::extensions::filters::network::client_ssl_auth::v3::ClientSSLAuth proto_config{};
TestUtility::loadFromYaml(yaml, proto_config);
EXPECT_CALL(cm_, get(Eq("vpn")));
setupRequest();
config_ =
ClientSslAuthConfig::create(proto_config, tls_, cm_, dispatcher_, stats_store_, random_);
createAuthFilter();
}
void createAuthFilter() {
filter_callbacks_.connection_.callbacks_.clear();
instance_ = std::make_unique<ClientSslAuthFilter>(config_);
instance_->initializeReadFilterCallbacks(filter_callbacks_);
// NOP currently.
instance_->onAboveWriteBufferHighWatermark();
instance_->onBelowWriteBufferLowWatermark();
}
void setupRequest() {
EXPECT_CALL(cm_, httpAsyncClientForCluster("vpn")).WillOnce(ReturnRef(cm_.async_client_));
EXPECT_CALL(cm_.async_client_, send_(_, _, _))
.WillOnce(
Invoke([this](Http::RequestMessagePtr&, Http::AsyncClient::Callbacks& callbacks,
const Http::AsyncClient::RequestOptions&) -> Http::AsyncClient::Request* {
callbacks_ = &callbacks;
return &request_;
}));
}
NiceMock<ThreadLocal::MockInstance> tls_;
Upstream::MockClusterManager cm_;
Event::MockDispatcher dispatcher_;
Http::MockAsyncClientRequest request_;
ClientSslAuthConfigSharedPtr config_;
NiceMock<Network::MockReadFilterCallbacks> filter_callbacks_;
std::unique_ptr<ClientSslAuthFilter> instance_;
Event::MockTimer* interval_timer_;
Http::AsyncClient::Callbacks* callbacks_;
Stats::IsolatedStoreImpl stats_store_;
NiceMock<Runtime::MockRandomGenerator> random_;
Api::ApiPtr api_;
std::shared_ptr<Ssl::MockConnectionInfo> ssl_;
};
TEST_F(ClientSslAuthFilterTest, NoCluster) {
std::string yaml = R"EOF(
auth_api_cluster: bad_cluster
stat_prefix: bad_cluster
)EOF";
envoy::extensions::filters::network::client_ssl_auth::v3::ClientSSLAuth proto_config{};
TestUtility::loadFromYaml(yaml, proto_config);
EXPECT_CALL(cm_, get(Eq("bad_cluster"))).WillOnce(Return(nullptr));
EXPECT_THROW(
ClientSslAuthConfig::create(proto_config, tls_, cm_, dispatcher_, stats_store_, random_),
EnvoyException);
}
TEST_F(ClientSslAuthFilterTest, NoSsl) {
setup();
Buffer::OwnedImpl dummy("hello");
// Check no SSL case, multiple iterations.
EXPECT_CALL(filter_callbacks_.connection_, ssl()).WillOnce(Return(nullptr));
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onNewConnection());
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
EXPECT_EQ(1U, stats_store_.counter("auth.clientssl.vpn.auth_no_ssl").value());
EXPECT_CALL(request_, cancel());
}
TEST_F(ClientSslAuthFilterTest, Ssl) {
InSequence s;
setup();
Buffer::OwnedImpl dummy("hello");
// Create a new filter for an SSL connection, with no backing auth data yet.
createAuthFilter();
ON_CALL(filter_callbacks_.connection_, ssl()).WillByDefault(Return(ssl_));
filter_callbacks_.connection_.remote_address_ =
std::make_shared<Network::Address::Ipv4Instance>("192.168.1.1");
std::string expected_sha_1("digest");
EXPECT_CALL(*ssl_, sha256PeerCertificateDigest()).WillOnce(ReturnRef(expected_sha_1));
EXPECT_CALL(filter_callbacks_.connection_, close(Network::ConnectionCloseType::NoFlush));
EXPECT_EQ(Network::FilterStatus::StopIteration, instance_->onNewConnection());
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::Connected);
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
// Respond.
EXPECT_CALL(*interval_timer_, enableTimer(_, _));
Http::ResponseMessagePtr message(new Http::ResponseMessageImpl(
Http::ResponseHeaderMapPtr{new Http::TestResponseHeaderMapImpl{{":status", "200"}}}));
message->body() = std::make_unique<Buffer::OwnedImpl>(
api_->fileSystem().fileReadToEnd(TestEnvironment::runfilesPath(
"test/extensions/filters/network/client_ssl_auth/test_data/vpn_response_1.json")));
callbacks_->onSuccess(std::move(message));
EXPECT_EQ(1U,
stats_store_
.gauge("auth.clientssl.vpn.total_principals", Stats::Gauge::ImportMode::NeverImport)
.value());
// Create a new filter for an SSL connection with an authorized cert.
createAuthFilter();
filter_callbacks_.connection_.remote_address_ =
std::make_shared<Network::Address::Ipv4Instance>("192.168.1.1");
std::string expected_sha_2("1b7d42ef0025ad89c1c911d6c10d7e86a4cb7c5863b2980abcbad1895f8b5314");
EXPECT_CALL(*ssl_, sha256PeerCertificateDigest()).WillOnce(ReturnRef(expected_sha_2));
EXPECT_EQ(Network::FilterStatus::StopIteration, instance_->onNewConnection());
EXPECT_CALL(filter_callbacks_, continueReading());
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::Connected);
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
// White list case.
createAuthFilter();
filter_callbacks_.connection_.remote_address_ =
std::make_shared<Network::Address::Ipv4Instance>("1.2.3.4");
EXPECT_EQ(Network::FilterStatus::StopIteration, instance_->onNewConnection());
EXPECT_CALL(filter_callbacks_, continueReading());
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::Connected);
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
// IPv6 White list case.
createAuthFilter();
filter_callbacks_.connection_.remote_address_ =
std::make_shared<Network::Address::Ipv6Instance>("2001:abcd::1");
EXPECT_EQ(Network::FilterStatus::StopIteration, instance_->onNewConnection());
EXPECT_CALL(filter_callbacks_, continueReading());
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::Connected);
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
EXPECT_EQ(Network::FilterStatus::Continue, instance_->onData(dummy, false));
filter_callbacks_.connection_.raiseEvent(Network::ConnectionEvent::RemoteClose);
EXPECT_EQ(1U, stats_store_.counter("auth.clientssl.vpn.update_success").value());
EXPECT_EQ(2U, stats_store_.counter("auth.clientssl.vpn.auth_ip_white_list").value());
EXPECT_EQ(1U, stats_store_.counter("auth.clientssl.vpn.auth_digest_match").value());
EXPECT_EQ(1U, stats_store_.counter("auth.clientssl.vpn.auth_digest_no_match").value());
// Interval timer fires.
setupRequest();
interval_timer_->invokeCallback();
// Error response.
EXPECT_CALL(*interval_timer_, enableTimer(_, _));
message = std::make_unique<Http::ResponseMessageImpl>(
Http::ResponseHeaderMapPtr{new Http::TestResponseHeaderMapImpl{{":status", "503"}}});
callbacks_->onSuccess(std::move(message));
// Interval timer fires.
setupRequest();
interval_timer_->invokeCallback();
// Parsing error
EXPECT_CALL(*interval_timer_, enableTimer(_, _));
message = std::make_unique<Http::ResponseMessageImpl>(
Http::ResponseHeaderMapPtr{new Http::TestResponseHeaderMapImpl{{":status", "200"}}});
message->body() = std::make_unique<Buffer::OwnedImpl>("bad_json");
callbacks_->onSuccess(std::move(message));
// Interval timer fires.
setupRequest();
interval_timer_->invokeCallback();
// No response failure.
EXPECT_CALL(*interval_timer_, enableTimer(_, _));
callbacks_->onFailure(Http::AsyncClient::FailureReason::Reset);
// Interval timer fires, cannot obtain async client.
EXPECT_CALL(cm_, httpAsyncClientForCluster("vpn")).WillOnce(ReturnRef(cm_.async_client_));
EXPECT_CALL(cm_.async_client_, send_(_, _, _))
.WillOnce(
Invoke([&](Http::RequestMessagePtr&, Http::AsyncClient::Callbacks& callbacks,
const Http::AsyncClient::RequestOptions&) -> Http::AsyncClient::Request* {
callbacks.onSuccess(
Http::ResponseMessagePtr{new Http::ResponseMessageImpl(Http::ResponseHeaderMapPtr{
new Http::TestResponseHeaderMapImpl{{":status", "503"}}})});
return nullptr;
}));
EXPECT_CALL(*interval_timer_, enableTimer(_, _));
interval_timer_->invokeCallback();
EXPECT_EQ(4U, stats_store_.counter("auth.clientssl.vpn.update_failure").value());
}
} // namespace ClientSslAuth
} // namespace NetworkFilters
} // namespace Extensions
} // namespace Envoy
| {
"content_hash": "da3f5456fc91086a9dab64168081f4de",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 100,
"avg_line_length": 40.78629032258065,
"alnum_prop": 0.7141868512110726,
"repo_name": "eklitzke/envoy",
"id": "b4b522f7c274d1f96a102b0848b0da86c95f3057",
"size": "10771",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "test/extensions/filters/network/client_ssl_auth/client_ssl_auth_test.cc",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C",
"bytes": "21685"
},
{
"name": "C++",
"bytes": "18065395"
},
{
"name": "Dockerfile",
"bytes": "245"
},
{
"name": "Emacs Lisp",
"bytes": "966"
},
{
"name": "Go",
"bytes": "695"
},
{
"name": "PowerShell",
"bytes": "5725"
},
{
"name": "PureBasic",
"bytes": "472"
},
{
"name": "Python",
"bytes": "381045"
},
{
"name": "Rust",
"bytes": "892"
},
{
"name": "Shell",
"bytes": "109058"
},
{
"name": "Starlark",
"bytes": "1088951"
},
{
"name": "Thrift",
"bytes": "748"
}
],
"symlink_target": ""
} |
module ActiveExtAPI
DEFAULT_METHODS = { 'ext_read' => 1, 'ext_create' => 1, 'ext_update' => 1, 'ext_destroy' => 1, 'ext_get_nodes'=> 2, 'ext_form_load' => 2, 'ext_form_submit'=> {:len =>1, :formHandler=>1}}
def self.included(base)
base.send :extend, ClassMethods
end
module ClassMethods
# Register the Ext API methods as available to the Direct RPC calls.
#
# @param [Hash] direct methods direct_methods that can be made accessible through the ActiveDirect api
# @example make a foobar method taking 1 argument available to the Direct RPC API.
# acts_as_direct_ext_api {:foobar => 1}
# @author Adapted from code from Stone Gao's ActiveDirect library github.com/stonegao/active-direct
def acts_as_direct_ext_api(direct_methods = {})
raise "ActiveDirect was not found " if self.methods.include? "acts_as_direct" == false
ActiveDirect::Config.method_config[self.to_s].clear
direct_methods.stringify_keys!.merge!(DEFAULT_METHODS).each do |mtd, mcfg|
if mcfg.is_a?(Hash)
ActiveDirect::Config.method_config[self.to_s] << {'name' => mtd}.merge!(mcfg)
else
ActiveDirect::Config.method_config[self.to_s] << { 'name' => mtd, 'len' => mcfg }
end
end
end
# Return a list of records that can be used to load an ExtJS Store
#
# ActiveRecord alias to ActiveExtAPI::Read.read
#
# @param [Hash] opts the options provided by ExtJS to request records
# @option opts [String] :sort the attributes that must be used to sort
# @option opts [String] :dir the direction of the sort
# @option opts [Integer] :limit the maximum number of record to return
# @option opts [Integer] :offset the number of records to skip
# @option opts [Integer] :start alias for :offset
# @option opts [Mixed] Any option recognised by ActiveRecord::Base.find
# @return [Hash] ExtJS compliant response containing the requested records
# :success : normally always true (even if no record send)
# :total : the number of total records (ignoring limits)
# :data : an array of records
# :message : optional messages
def ext_read(opts = {})
ext_api = ActiveExtAPI::StoreRead.new self
ext_api.read opts
end
# Create one or several records
# Responds to creation requests from an ExtJS Store
#
# ActiveRecord alias for ActiveExtAPI::Create.create
#
# @param [Hash] the request options
# @option opts [Array] :data an array of record to create
# @option opts [Hash] :data a record to create
# @return [Hash] ExtJS compliant response containing the created records (with id)
# :success : true if one or more record were created
# :data : an array of records
# :message : optional messages
def ext_create(opts = {})
ext_api = ActiveExtAPI::StoreCreate.new self
ext_api.create opts
end
# Update one or several records
# Responds to update requests from an ExtJS Store
#
# ActiveRecord alias for ActiveExtAPI::Update.update
#
# @param [Hash] the request options
# @option opts [Array] :data an array of record to update
# @option opts [Hash] :data a record to update
# @option options [String] :on_edit
# "find_or_create" on a secondary model update, it will try to find an existing record with the value or will create a new one.
# "force_create" will always result in a new record creation
# When one of those are not provided, the default is to update the current record.
# @return [Hash] ExtJS compliant response containing the updated records (with id)
# :success : true if one or more record were updated
# :data : an array of records
# :message : optional messages
def ext_update(opts = {})
ext_api = ActiveExtAPI::StoreUpdate.new self
ext_api.update opts
end
# Delete one or several records
# Responds to destroy requests from an ExtJS Store
#
# ActiveRecord alias for ActiveExtAPI::Destroy.destroy
#
# @param [Hash] the request options
# @option opts [Array] :data an array of record to delete
# @option opts [Hash] :data a record to delete
# @return [Hash] ExtJS compliant response contaning a message
# :success : true if one or more record were deleted
# :data : an array of records
# :message : optional messages
def ext_destroy(opts = {})
ext_api = ActiveExtAPI::StoreDestroy.new self
ext_api.destroy opts
end
# Return records as tree node as expected by Ext.tree.TreeLoader
#
# ActiveRecord alias for ActiveExtAPI::Tree.get_nodes
#
# @example Tree Configuration Example
#
# root id must be root :
# root:{text:"whatever", id:"root"}
#
# loader config :
# loader: {
# directFn: App.models.Model.ext_get_nodes, // requires Active Direct plugin
# paramOrder: ["tree_config"], // necessary to use for baseParams to be send
# baseParams: {
# "root_options" : {} //ActiveRecord::Base.find options goes here
# "tree_config": {
# "tree_nodes": [
# {
# "cls":"category_cls",
# "text":"name"
# },
# {
# "link":"radios",
# "cls":"radio_cls",
# "text":"name"
# },{
# "go_to_level":0 //recursion (requires that the node 0 has a link option.
# }
# ]
# ...
#
#
# @param [String] the node id with a format #level_#ModelName_#id or "root" for the root node.
# @param [Hash] the tree configuration. A :tree_nodes options is required.
# @return [Array] an array of nodes
def ext_get_nodes(node = "" , opts = {})
ext_api = ActiveExtAPI::Tree.new self
ext_api.get_nodes node, opts
end
def ext_form_load(id, opts = {})
ext_api = ActiveExtAPI::FormLoad.new self
ext_api.load id, opts
end
def ext_form_submit(opts = {})
pp opts
return opts
ext_api = ActiveExtAPI::FormSubmit.new self
ext_api.submit opts
end
end
end
ActiveRecord::Base.send :include, ActiveExtAPI
| {
"content_hash": "7dbf8be8d3e90b0b3cecb574ae6fd023",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 188,
"avg_line_length": 39.030674846625764,
"alnum_prop": 0.6174159069475008,
"repo_name": "lelag/active-ext-api",
"id": "7b179ac8e2d66bf58274154f0ac974bc13ccb21f",
"size": "6745",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/active_ext_api/active_ext_api.rb",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "7489"
},
{
"name": "Ruby",
"bytes": "61652"
}
],
"symlink_target": ""
} |
class Photo < ActiveRecord::Base
belongs_to :article
has_attached_file :image,
path: "#{ Rails.root }/public/assets/images/articles/:article_id/images/:id_:style.:extension",
url: '/assets/images/articles/:article_id/images/:id_:style.:extension',
styles: { medium: '400x400>', thumb: '100x100>', mini: '90x90#' },
size: { in: 0..6.megabytes },
convert_options: {
medium: '-set colorspace sRGB -strip',
thumb: '-set colorspace sRGB -strip',
mini: '-set colorspace sRGB -strip'
}
validates_attachment_content_type :image, content_type: %r{\Aimage\/.*\Z}
validates :title, :image, presence: true
Paperclip.interpolates :article_id do |attachment, _style|
attachment.instance.article_id
end
end
| {
"content_hash": "b6e3c6ab8dc86a550822545891fef325",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 115,
"avg_line_length": 44.8,
"alnum_prop": 0.5613839285714286,
"repo_name": "mohamedelfiky/pinews",
"id": "20f97c0b7efd5ac9303b77937e7dbad7f96e2da8",
"size": "896",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/models/photo.rb",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "1352"
},
{
"name": "HTML",
"bytes": "16470"
},
{
"name": "JavaScript",
"bytes": "39451"
},
{
"name": "Ruby",
"bytes": "84484"
}
],
"symlink_target": ""
} |
/* Invalid __thread specifiers. As diag-4.c but some cases in
different orders. */
/* { dg-require-effective-target tls } */
__thread typedef int g4; /* { dg-error "'__thread' used with 'typedef'" } */
void foo()
{
__thread auto int l2; /* { dg-error "'__thread' used with 'auto'" } */
__thread register int l4; /* { dg-error "'__thread' used with 'register'" } */
}
| {
"content_hash": "a032c364dab71f2fa0d5d60b1c055cb4",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 80,
"avg_line_length": 34.45454545454545,
"alnum_prop": 0.6015831134564644,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "fed2f3accd33fcfd9e9a341b479b8ac302df760f",
"size": "379",
"binary": false,
"copies": "208",
"ref": "refs/heads/master",
"path": "gccsrc/gcc-4.7.2/gcc/testsuite/gcc.dg/tls/diag-4.c",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "Ada",
"bytes": "38139979"
},
{
"name": "Assembly",
"bytes": "3723477"
},
{
"name": "Awk",
"bytes": "83739"
},
{
"name": "C",
"bytes": "103607293"
},
{
"name": "C#",
"bytes": "55726"
},
{
"name": "C++",
"bytes": "38577421"
},
{
"name": "CLIPS",
"bytes": "6933"
},
{
"name": "CSS",
"bytes": "32588"
},
{
"name": "Emacs Lisp",
"bytes": "13451"
},
{
"name": "FORTRAN",
"bytes": "4294984"
},
{
"name": "GAP",
"bytes": "13089"
},
{
"name": "Go",
"bytes": "11277335"
},
{
"name": "Haskell",
"bytes": "2415"
},
{
"name": "Java",
"bytes": "45298678"
},
{
"name": "JavaScript",
"bytes": "6265"
},
{
"name": "Matlab",
"bytes": "56"
},
{
"name": "OCaml",
"bytes": "148372"
},
{
"name": "Objective-C",
"bytes": "995127"
},
{
"name": "Objective-C++",
"bytes": "436045"
},
{
"name": "PHP",
"bytes": "12361"
},
{
"name": "Pascal",
"bytes": "40318"
},
{
"name": "Perl",
"bytes": "358808"
},
{
"name": "Python",
"bytes": "60178"
},
{
"name": "SAS",
"bytes": "1711"
},
{
"name": "Scilab",
"bytes": "258457"
},
{
"name": "Shell",
"bytes": "2610907"
},
{
"name": "Tcl",
"bytes": "17983"
},
{
"name": "TeX",
"bytes": "1455571"
},
{
"name": "XSLT",
"bytes": "156419"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/rachel" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/rachel</sem:subject>
<sem:predicate>http://www.w3.org/2004/02/skos/core#prefLabel</sem:predicate>
<sem:object datatype="xsd:string" xml:lang="eng">Rachel</sem:object>
</sem:triple>
<sem:triple>
<sem:subject>http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/rachel</sem:subject>
<sem:predicate>http://www.w3.org/2004/02/skos/core#inScheme</sem:predicate>
<sem:object datatype="sem:iri">http://www.lds.org/concept-scheme/vrl</sem:object>
</sem:triple>
<sem:triple>
<sem:subject>http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/rachel</sem:subject>
<sem:predicate>http://www.lds.org/core#entityType</sem:predicate>
<sem:object datatype="sem:iri">http://www.schema.org/Place</sem:object>
</sem:triple>
</sem:triples>
| {
"content_hash": "37868e4c353efa62b1cdf674d5c6f518",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 152,
"avg_line_length": 62.72222222222222,
"alnum_prop": 0.728963684676705,
"repo_name": "freshie/ml-taxonomies",
"id": "cf7a9315759763c0f9c9f02c6a9119dec32f0315",
"size": "1129",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "roxy/data/gospel-topical-explorer-v2/taxonomies/vrl/people/specific-people/people-from-scriptures/old-testament/rachel.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "4422"
},
{
"name": "CSS",
"bytes": "38665"
},
{
"name": "HTML",
"bytes": "356"
},
{
"name": "JavaScript",
"bytes": "411651"
},
{
"name": "Ruby",
"bytes": "259121"
},
{
"name": "Shell",
"bytes": "7329"
},
{
"name": "XQuery",
"bytes": "857170"
},
{
"name": "XSLT",
"bytes": "13753"
}
],
"symlink_target": ""
} |
#include_next<float.h>
#ifndef _MINGW_FLOAT_H_
#define _MINGW_FLOAT_H_
/* All the headers include this file. */
#include <_mingw.h>
/*
* Functions and definitions for controlling the FPU.
*/
#ifndef __STRICT_ANSI__
/* TODO: These constants are only valid for x86 machines */
/* Control word masks for unMask */
#define _MCW_EM 0x0008001F /* Error masks */
#define _MCW_IC 0x00040000 /* Infinity */
#define _MCW_RC 0x00000300 /* Rounding */
#define _MCW_PC 0x00030000 /* Precision */
/* Control word values for unNew (use with related unMask above) */
#define _EM_INVALID 0x00000010
#define _EM_DENORMAL 0x00080000
#define _EM_ZERODIVIDE 0x00000008
#define _EM_OVERFLOW 0x00000004
#define _EM_UNDERFLOW 0x00000002
#define _EM_INEXACT 0x00000001
#define _IC_AFFINE 0x00040000
#define _IC_PROJECTIVE 0x00000000
#define _RC_CHOP 0x00000300
#define _RC_UP 0x00000200
#define _RC_DOWN 0x00000100
#define _RC_NEAR 0x00000000
#define _PC_24 0x00020000
#define _PC_53 0x00010000
#define _PC_64 0x00000000
/* These are also defined in Mingw math.h, needed to work around
GCC build issues. */
/* Return values for fpclass. */
#ifndef __MINGW_FPCLASS_DEFINED
#define __MINGW_FPCLASS_DEFINED 1
#define _FPCLASS_SNAN 0x0001 /* Signaling "Not a Number" */
#define _FPCLASS_QNAN 0x0002 /* Quiet "Not a Number" */
#define _FPCLASS_NINF 0x0004 /* Negative Infinity */
#define _FPCLASS_NN 0x0008 /* Negative Normal */
#define _FPCLASS_ND 0x0010 /* Negative Denormal */
#define _FPCLASS_NZ 0x0020 /* Negative Zero */
#define _FPCLASS_PZ 0x0040 /* Positive Zero */
#define _FPCLASS_PD 0x0080 /* Positive Denormal */
#define _FPCLASS_PN 0x0100 /* Positive Normal */
#define _FPCLASS_PINF 0x0200 /* Positive Infinity */
#endif /* __MINGW_FPCLASS_DEFINED */
/* invalid subconditions (_SW_INVALID also set) */
#define _SW_UNEMULATED 0x0040 /* unemulated instruction */
#define _SW_SQRTNEG 0x0080 /* square root of a neg number */
#define _SW_STACKOVERFLOW 0x0200 /* FP stack overflow */
#define _SW_STACKUNDERFLOW 0x0400 /* FP stack underflow */
/* Floating point error signals and return codes */
#define _FPE_INVALID 0x81
#define _FPE_DENORMAL 0x82
#define _FPE_ZERODIVIDE 0x83
#define _FPE_OVERFLOW 0x84
#define _FPE_UNDERFLOW 0x85
#define _FPE_INEXACT 0x86
#define _FPE_UNEMULATED 0x87
#define _FPE_SQRTNEG 0x88
#define _FPE_STACKOVERFLOW 0x8a
#define _FPE_STACKUNDERFLOW 0x8b
#define _FPE_EXPLICITGEN 0x8c /* raise( SIGFPE ); */
#ifndef RC_INVOKED
#ifdef __cplusplus
extern "C" {
#endif
/* Set the FPU control word as cw = (cw & ~unMask) | (unNew & unMask),
* i.e. change the bits in unMask to have the values they have in unNew,
* leaving other bits unchanged. */
_CRTIMP unsigned int __cdecl _controlfp (unsigned int unNew, unsigned int unMask);
_CRTIMP unsigned int __cdecl _control87 (unsigned int unNew, unsigned int unMask);
_CRTIMP unsigned int __cdecl _clearfp (void); /* Clear the FPU status word */
_CRTIMP unsigned int __cdecl _statusfp (void); /* Report the FPU status word */
#define _clear87 _clearfp
#define _status87 _statusfp
/*
MSVCRT.dll _fpreset initializes the control register to 0x27f,
the status register to zero and the tag word to 0FFFFh.
This differs from asm instruction finit/fninit which set control
word to 0x37f (64 bit mantissa precison rather than 53 bit).
By default, the mingw version of _fpreset sets fp control as
per fninit. To use the MSVCRT.dll _fpreset, include CRT_fp8.o when
building your application.
*/
void __cdecl _fpreset (void);
void __cdecl fpreset (void);
/* Global 'variable' for the current floating point error code. */
_CRTIMP int * __cdecl __fpecode(void);
#define _fpecode (*(__fpecode()))
/*
* IEEE recommended functions. MS puts them in float.h
* but they really belong in math.h.
*/
_CRTIMP double __cdecl _chgsign (double);
_CRTIMP double __cdecl _copysign (double, double);
_CRTIMP double __cdecl _logb (double);
_CRTIMP double __cdecl _nextafter (double, double);
_CRTIMP double __cdecl _scalb (double, long);
_CRTIMP int __cdecl _finite (double);
_CRTIMP int __cdecl _fpclass (double);
_CRTIMP int __cdecl _isnan (double);
#ifdef __cplusplus
}
#endif
#endif /* Not RC_INVOKED */
#endif /* Not __STRICT_ANSI__ */
#endif /* _FLOAT_H_ */
| {
"content_hash": "fe2bf8b9943871738eae40417e590c85",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 82,
"avg_line_length": 31.397058823529413,
"alnum_prop": 0.7142857142857143,
"repo_name": "andersonsilvade/python_C",
"id": "53bfb34dbdfd0022ba5676e3da6381c36bdf596d",
"size": "4877",
"binary": false,
"copies": "4",
"ref": "refs/heads/master",
"path": "Dev-Cpp/include/float.h",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "6031642"
},
{
"name": "C#",
"bytes": "9892"
},
{
"name": "C++",
"bytes": "1800118"
},
{
"name": "CSS",
"bytes": "126965"
},
{
"name": "F#",
"bytes": "4611"
},
{
"name": "JavaScript",
"bytes": "296535"
},
{
"name": "Objective-C",
"bytes": "272866"
},
{
"name": "Python",
"bytes": "1949327"
},
{
"name": "Shell",
"bytes": "54613"
},
{
"name": "Tcl",
"bytes": "3155560"
}
],
"symlink_target": ""
} |
"""
Onshape REST API
The Onshape REST API consumed by all clients. # noqa: E501
The version of the OpenAPI document: 1.113
Contact: api-support@onshape.zendesk.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
import sys # noqa: F401
import six # noqa: F401
import nulltype # noqa: F401
from onshape_client.oas.model_utils import ( # noqa: F401
ModelComposed,
ModelNormal,
ModelSimple,
date,
datetime,
file_type,
int,
none_type,
str,
validate_get_composed_info,
)
try:
from onshape_client.oas.models import btp_annotation231
except ImportError:
btp_annotation231 = sys.modules["onshape_client.oas.models.btp_annotation231"]
try:
from onshape_client.oas.models import btp_space10
except ImportError:
btp_space10 = sys.modules["onshape_client.oas.models.btp_space10"]
try:
from onshape_client.oas.models import btp_statement269
except ImportError:
btp_statement269 = sys.modules["onshape_client.oas.models.btp_statement269"]
try:
from onshape_client.oas.models import btp_statement_continue274_all_of
except ImportError:
btp_statement_continue274_all_of = sys.modules[
"onshape_client.oas.models.btp_statement_continue274_all_of"
]
class BTPStatementContinue274(ModelComposed):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
Attributes:
allowed_values (dict): The key is the tuple path to the attribute
and the for var_name this is (var_name,). The value is a dict
with a capitalized key describing the allowed value and an allowed
value. These dicts store the allowed enum values.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
discriminator_value_class_map (dict): A dict to go from the discriminator
variable value to the discriminator class name.
validations (dict): The key is the tuple path to the attribute
and the for var_name this is (var_name,). The value is a dict
that stores validations for max_length, min_length, max_items,
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
inclusive_minimum, and regex.
additional_properties_type (tuple): A tuple of classes accepted
as additional properties values.
"""
allowed_values = {
("documentation_type",): {
"FUNCTION": "FUNCTION",
"PREDICATE": "PREDICATE",
"CONSTANT": "CONSTANT",
"ENUM": "ENUM",
"USER_TYPE": "USER_TYPE",
"FEATURE_DEFINITION": "FEATURE_DEFINITION",
"FILE_HEADER": "FILE_HEADER",
"UNDOCUMENTABLE": "UNDOCUMENTABLE",
"UNKNOWN": "UNKNOWN",
},
}
validations = {}
additional_properties_type = None
@staticmethod
def openapi_types():
"""
This must be a class method so a model may have properties that are
of type self, this ensures that we don't create a cyclic import
Returns
openapi_types (dict): The key is attribute name
and the value is attribute type.
"""
return {
"bt_type": (str,), # noqa: E501
"space_after_continue": (btp_space10.BTPSpace10,), # noqa: E501
"atomic": (bool,), # noqa: E501
"documentation_type": (str,), # noqa: E501
"end_source_location": (int,), # noqa: E501
"node_id": (str,), # noqa: E501
"short_descriptor": (str,), # noqa: E501
"space_after": (btp_space10.BTPSpace10,), # noqa: E501
"space_before": (btp_space10.BTPSpace10,), # noqa: E501
"space_default": (bool,), # noqa: E501
"start_source_location": (int,), # noqa: E501
"annotation": (btp_annotation231.BTPAnnotation231,), # noqa: E501
}
@staticmethod
def discriminator():
return None
attribute_map = {
"bt_type": "btType", # noqa: E501
"space_after_continue": "spaceAfterContinue", # noqa: E501
"atomic": "atomic", # noqa: E501
"documentation_type": "documentationType", # noqa: E501
"end_source_location": "endSourceLocation", # noqa: E501
"node_id": "nodeId", # noqa: E501
"short_descriptor": "shortDescriptor", # noqa: E501
"space_after": "spaceAfter", # noqa: E501
"space_before": "spaceBefore", # noqa: E501
"space_default": "spaceDefault", # noqa: E501
"start_source_location": "startSourceLocation", # noqa: E501
"annotation": "annotation", # noqa: E501
}
required_properties = set(
[
"_data_store",
"_check_type",
"_from_server",
"_path_to_item",
"_configuration",
"_composed_instances",
"_var_name_to_model_instances",
"_additional_properties_model_instances",
]
)
def __init__(
self,
_check_type=True,
_from_server=False,
_path_to_item=(),
_configuration=None,
**kwargs
): # noqa: E501
"""btp_statement_continue274.BTPStatementContinue274 - a model defined in OpenAPI
Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Defaults to True
_path_to_item (tuple/list): This is a list of keys or values to
drill down to the model in received_data
when deserializing a response
_from_server (bool): True if the data is from the server
False if the data is from the client (default)
_configuration (Configuration): the instance to use when
deserializing a file_type parameter.
If passed, type conversion is attempted
If omitted no type conversion is done.
bt_type (str): [optional] # noqa: E501
space_after_continue (btp_space10.BTPSpace10): [optional] # noqa: E501
atomic (bool): [optional] # noqa: E501
documentation_type (str): [optional] # noqa: E501
end_source_location (int): [optional] # noqa: E501
node_id (str): [optional] # noqa: E501
short_descriptor (str): [optional] # noqa: E501
space_after (btp_space10.BTPSpace10): [optional] # noqa: E501
space_before (btp_space10.BTPSpace10): [optional] # noqa: E501
space_default (bool): [optional] # noqa: E501
start_source_location (int): [optional] # noqa: E501
annotation (btp_annotation231.BTPAnnotation231): [optional] # noqa: E501
"""
self._data_store = {}
self._check_type = _check_type
self._from_server = _from_server
self._path_to_item = _path_to_item
self._configuration = _configuration
constant_args = {
"_check_type": _check_type,
"_path_to_item": _path_to_item,
"_from_server": _from_server,
"_configuration": _configuration,
}
required_args = {}
# remove args whose value is Null because they are unset
required_arg_names = list(required_args.keys())
for required_arg_name in required_arg_names:
if required_args[required_arg_name] is nulltype.Null:
del required_args[required_arg_name]
model_args = {}
model_args.update(required_args)
model_args.update(kwargs)
composed_info = validate_get_composed_info(constant_args, model_args, self)
self._composed_instances = composed_info[0]
self._var_name_to_model_instances = composed_info[1]
self._additional_properties_model_instances = composed_info[2]
unused_args = composed_info[3]
for var_name, var_value in required_args.items():
setattr(self, var_name, var_value)
for var_name, var_value in six.iteritems(kwargs):
if (
var_name in unused_args
and self._configuration is not None
and self._configuration.discard_unknown_keys
and not self._additional_properties_model_instances
):
# discard variable.
continue
setattr(self, var_name, var_value)
@staticmethod
def _composed_schemas():
# we need this here to make our import statements work
# we must store _composed_schemas in here so the code is only run
# when we invoke this method. If we kept this at the class
# level we would get an error beause the class level
# code would be run when this module is imported, and these composed
# classes don't exist yet because their module has not finished
# loading
return {
"anyOf": [],
"allOf": [
btp_statement269.BTPStatement269,
btp_statement_continue274_all_of.BTPStatementContinue274AllOf,
],
"oneOf": [],
}
| {
"content_hash": "fb5dea67821c5febbf8290d81252b851",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 89,
"avg_line_length": 38.96326530612245,
"alnum_prop": 0.5869474125288079,
"repo_name": "onshape-public/onshape-clients",
"id": "047383df43dfa97642b4e147457ae025c512b6df",
"size": "9563",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "python/onshape_client/oas/models/btp_statement_continue274.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "4873"
},
{
"name": "Go",
"bytes": "59674"
},
{
"name": "HTML",
"bytes": "3851790"
},
{
"name": "JavaScript",
"bytes": "2217"
},
{
"name": "Makefile",
"bytes": "559"
},
{
"name": "Python",
"bytes": "7560009"
},
{
"name": "Shell",
"bytes": "3475"
},
{
"name": "TypeScript",
"bytes": "1412661"
}
],
"symlink_target": ""
} |
package io.druid.segment;
import com.google.common.base.Preconditions;
import io.druid.query.monomorphicprocessing.RuntimeShapeInspector;
public class ConstantColumnValueSelector<T> implements ColumnValueSelector<T>
{
private long longValue;
private float floatValue;
private double doubleValue;
private T objectValue;
private Class<T> objectClass;
public ConstantColumnValueSelector(
final long longValue,
final float floatValue,
final double doubleValue,
final T objectValue,
final Class<T> objectClass
)
{
this.longValue = longValue;
this.floatValue = floatValue;
this.doubleValue = doubleValue;
this.objectValue = objectValue;
this.objectClass = Preconditions.checkNotNull(objectClass, "objectClass");
}
@Override
public double getDouble()
{
return doubleValue;
}
@Override
public float getFloat()
{
return floatValue;
}
@Override
public long getLong()
{
return longValue;
}
@Override
public T getObject()
{
return objectValue;
}
@Override
public Class<T> classOfObject()
{
return objectClass;
}
@Override
public void inspectRuntimeShape(final RuntimeShapeInspector inspector)
{
// Nothing here: objectValue is nullable but getObject is not @CalledFromHotLoop
}
@Override
public boolean isNull()
{
// return false always as the primitive values for this selector can never be null.
return false;
}
}
| {
"content_hash": "32aa01976a9ee39d89f72a686a382714",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 87,
"avg_line_length": 19.653333333333332,
"alnum_prop": 0.7130257801899593,
"repo_name": "taochaoqiang/druid",
"id": "88519008f1cf919a72e000b3335b294d16a18634",
"size": "2279",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "processing/src/main/java/io/druid/segment/ConstantColumnValueSelector.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ANTLR",
"bytes": "1406"
},
{
"name": "CSS",
"bytes": "11623"
},
{
"name": "HTML",
"bytes": "26739"
},
{
"name": "Java",
"bytes": "15694963"
},
{
"name": "JavaScript",
"bytes": "295150"
},
{
"name": "Makefile",
"bytes": "659"
},
{
"name": "PostScript",
"bytes": "5"
},
{
"name": "Protocol Buffer",
"bytes": "552"
},
{
"name": "R",
"bytes": "17002"
},
{
"name": "Roff",
"bytes": "3617"
},
{
"name": "Shell",
"bytes": "3997"
},
{
"name": "TeX",
"bytes": "399444"
},
{
"name": "Thrift",
"bytes": "199"
}
],
"symlink_target": ""
} |
package auth
import (
"testing"
)
func TestEncodeAuth(t *testing.T) {
newAuthConfig := AuthConfig{Username: "ken", Password: "test", Email: "test@example.com"}
authStr := EncodeAuth(newAuthConfig)
decAuthConfig, err := DecodeAuth(authStr)
if err != nil {
t.Fatal(err)
}
if newAuthConfig.Username != decAuthConfig.Username {
t.Fatal("Encode Username doesn't match decoded Username")
}
if newAuthConfig.Password != decAuthConfig.Password {
t.Fatal("Encode Password doesn't match decoded Password")
}
if authStr != "a2VuOnRlc3Q=" {
t.Fatal("AuthString encoding isn't correct.")
}
}
| {
"content_hash": "94852d26c508fcb765a4efec82c7b5d2",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 90,
"avg_line_length": 26.130434782608695,
"alnum_prop": 0.7171381031613977,
"repo_name": "LeeSaferite/docker",
"id": "d1650668e71fda1e0ba0fe72f5b316886d69488e",
"size": "601",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "auth/auth_test.go",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
<!doctype html>
<html lang=en>
<head>
<title>docBrowser Prototype</title>
<meta charset=utf-8>
<meta name=author content='Theo Armour'>
</head>
<body>
<script src=http://jaanga.github.io/libs/md/showdown.js ></script>
<script src=./r2/doc-browser.js ></script>
<div id=txt >
<h1>
<a href='' >docBrowser Prototype</a>
</h1>
<p id=intro >
<a href=JavaScript:DS.displayMarkdown('readme.md',intro); >docBrowser Read Me on GitHub</a>
</p>
<p>
A simple app for browsing files in Markdown format hosted on GitHub.
</p>
<p id=ab>
<a href=JavaScript:DS.displayMarkdown('test-folder-abc/readme.md',ab); >Test Folder ABC</a><br>
Iteration system wide engenders economies of scale, cross-media technology, presentation action items and life cycle replication.
</p>
<p id=de>
<a href=JavaScript:DS.displayMarkdown('test-folder-def/readme.md',de); >Test Folder DEF</a><br>
Marketing teams input produce cross purposing in view of goal alignments due to knowledge paucity, necessitating workflow education and orientation. Media sourcing as an acquisition strategy is counterproductive in a internet environment in virtual component methodology. Imaging through ideals rather than real world branding, is a perilous undertaking with negative results. Branding strategies generating motion as activity without reproducible results is a ultimately futile effort if left in place.
</p>
<hr>
<p>
<a href='https://github.com/jaanga/libs/blob/gh-pages/jaanga-copyright-and-mit-license.md' target='_blank'>Jaanga Copyright and License</a>
</p>
</div>
<script>
DS.menu.innerHTML = txt.innerHTML;
txt.innerHTML = '';
DS.init( 'https://github.com/jaanga/libs/tree/gh-pages/db/','readme.md', intro );
</script>
</body>
</html> | {
"content_hash": "83d1464f17c3001efa04077cd29c3498",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 506,
"avg_line_length": 34.34615384615385,
"alnum_prop": 0.7178051511758119,
"repo_name": "jaanga/libs",
"id": "94b11cb4066c5a47d2ba0974a1b233a4984ecf27",
"size": "1786",
"binary": false,
"copies": "2",
"ref": "refs/heads/gh-pages",
"path": "archives/db/r8-dev/doc-browser-local-test.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "78050"
},
{
"name": "JavaScript",
"bytes": "102034"
}
],
"symlink_target": ""
} |
const dispatcher = require('../../../lib/dispatcher').dispatcher;
const getDataProvider = require('../../../lib/dataprovider/dataProvider').getDataProvider;
const SerialListItem = require('./components/SerialListItem').SerialListItem;
const ListDialog = require('../list/ListDialog').ListDialog;
const SHOW_SIGNAL = 'Dialog.ConnectNXT.Show';
exports.NXTConnectListDialog = class extends ListDialog {
constructor(opts) {
opts.help = 'Bluetooth';
opts.title = 'Connect NXT';
opts.applyTitle = 'Connect';
opts.subClass = true;
opts.comment = 'Don\'t forget to pair your device first!';
opts.showSignal = SHOW_SIGNAL;
opts.ListItem = SerialListItem;
super(opts);
}
getList() {
getDataProvider().getData('post', 'nxt/device-list', {}, this.onDeviceList.bind(this));
}
onApply() {
let index = this._refs.list.getSelectedIndex();
if (index >= 0) {
let item = this._list[index];
if (item.connected || item.connecting) {
return;
}
this.hide();
dispatcher.dispatch('NXT.ConnectToDevice', item.title);
}
}
onSelectItem(index) {
this.onApply();
}
onShow() {
this.show();
this.getList();
}
onDeviceList(data) {
try {
data = JSON.parse(data);
} catch (error) {
data = null;
}
if (data) {
this._list = data.list;
this.showList(data.list);
if (this._listItems && this._listItems.length) {
this._listItems[0].focus();
} else {
this._refs.buttonCancel.focus();
}
}
}
};
exports.NXTConnectListDialog.SHOW_SIGNAL = SHOW_SIGNAL;
| {
"content_hash": "62b330de0501485747e8ee9f0d9e95cd",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 95,
"avg_line_length": 28.84375,
"alnum_prop": 0.5438786565547129,
"repo_name": "ArnoVanDerVegt/wheel",
"id": "005f191bcbb22af8a7f473c1aa3e81fbfdba8394",
"size": "2001",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "js/frontend/ide/dialogs/connection/NXTConnectListDialog.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C",
"bytes": "113289"
},
{
"name": "CSS",
"bytes": "526894"
},
{
"name": "HTML",
"bytes": "1657447"
},
{
"name": "JavaScript",
"bytes": "4667529"
},
{
"name": "Rich Text Format",
"bytes": "496"
}
],
"symlink_target": ""
} |
This directory includes supplementary scripts for **FuncTree-CLI**.
Scripts are written by Python 3 and require [NumPy](https://github.com/numpy/numpy), [SciPy](https://github.com/scipy/scipy) and [Pandas](https://github.com/pandas-dev/pandas) packages. You can quickly install these packages by using [pip](https://pip.pypa.io) in the following command.
```bash
$ pip3 install -r requirements.txt
```
| {
"content_hash": "42cf785f5522b63fbd496be4ec9d8f59",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 286,
"avg_line_length": 67.16666666666667,
"alnum_prop": 0.7543424317617866,
"repo_name": "yyuuta88/functree-cli",
"id": "f8708f8cde39fa84e3c2a71193444aa9fc211221",
"size": "403",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "scripts/README.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "4161"
},
{
"name": "JavaScript",
"bytes": "33107"
},
{
"name": "Python",
"bytes": "13900"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.TokenAttributes;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.QueryParsers.Classic;
using Lucene.Net.Search;
using Lucene.Net.Store;
using Lucene.Net.Util;
using NUnit.Framework;
namespace Lucene.Net.QueryParsers.Analyzing
{
[SuppressCodecs("Lucene3x")] // binary terms
[TestFixture]
public class TestAnalyzingQueryParser : LuceneTestCase
{
private readonly static string FIELD = "field";
private Analyzer a;
private string[] wildcardInput;
private string[] wildcardExpected;
private string[] prefixInput;
private string[] prefixExpected;
private string[] rangeInput;
private string[] rangeExpected;
private string[] fuzzyInput;
private string[] fuzzyExpected;
private IDictionary<string, string> wildcardEscapeHits = new Dictionary<string, string>();
private IDictionary<string, string> wildcardEscapeMisses = new Dictionary<string, string>();
public override void SetUp()
{
base.SetUp();
wildcardInput = new string[] { "*bersetzung über*ung",
"Mötley Cr\u00fce Mötl?* Crü?", "Renée Zellweger Ren?? Zellw?ger" };
wildcardExpected = new string[] { "*bersetzung uber*ung", "motley crue motl?* cru?",
"renee zellweger ren?? zellw?ger" };
prefixInput = new string[] { "übersetzung übersetz*",
"Mötley Crüe Mötl* crü*", "René? Zellw*" };
prefixExpected = new string[] { "ubersetzung ubersetz*", "motley crue motl* cru*",
"rene? zellw*" };
rangeInput = new string[] { "[aa TO bb]", "{Anaïs TO Zoé}" };
rangeExpected = new string[] { "[aa TO bb]", "{anais TO zoe}" };
fuzzyInput = new string[] { "Übersetzung Übersetzung~0.9",
"Mötley Crüe Mötley~0.75 Crüe~0.5",
"Renée Zellweger Renée~0.9 Zellweger~" };
fuzzyExpected = new string[] { "ubersetzung ubersetzung~1",
"motley crue motley~1 crue~2", "renee zellweger renee~0 zellweger~2" };
wildcardEscapeHits["mö*tley"] = "moatley";
// need to have at least one genuine wildcard to trigger the wildcard analysis
// hence the * before the y
wildcardEscapeHits["mö\\*tl*y"] = "mo*tley";
// escaped backslash then true wildcard
wildcardEscapeHits["mö\\\\*tley"] = "mo\\atley";
// escaped wildcard then true wildcard
wildcardEscapeHits["mö\\??ley"] = "mo?tley";
// the first is an escaped * which should yield a miss
wildcardEscapeMisses["mö\\*tl*y"] = "moatley";
a = new ASCIIAnalyzer();
}
[Test]
public virtual void TestSingleChunkExceptions()
{
bool ex = false;
string termStr = "the*tre";
Analyzer stopsAnalyzer = new MockAnalyzer
(Random(), MockTokenizer.WHITESPACE, true, MockTokenFilter.ENGLISH_STOPSET);
try
{
string q = ParseWithAnalyzingQueryParser(termStr, stopsAnalyzer, true);
}
catch (ParseException e)
{
if (e.Message.Contains("returned nothing"))
{
ex = true;
}
}
assertEquals("Should have returned nothing", true, ex);
ex = false;
AnalyzingQueryParser qp = new AnalyzingQueryParser(TEST_VERSION_CURRENT, FIELD, a);
try
{
qp.AnalyzeSingleChunk(FIELD, "", "not a single chunk");
}
catch (ParseException e)
{
if (e.Message.Contains("multiple terms"))
{
ex = true;
}
}
assertEquals("Should have produced multiple terms", true, ex);
}
[Test]
public virtual void TestWildcardAlone()
{
//seems like crazy edge case, but can be useful in concordance
bool pex = false;
try
{
Query q = GetAnalyzedQuery("*", a, false);
}
catch (ParseException /*e*/)
{
pex = true;
}
assertEquals("Wildcard alone with allowWildcard=false", true, pex);
pex = false;
try
{
String qString = ParseWithAnalyzingQueryParser("*", a, true);
assertEquals("Every word", "*", qString);
}
catch (ParseException /*e*/)
{
pex = true;
}
assertEquals("Wildcard alone with allowWildcard=true", false, pex);
}
[Test]
public virtual void TestWildCardEscapes()
{
foreach (var entry in wildcardEscapeHits)
{
Query q = GetAnalyzedQuery(entry.Key, a, false);
assertEquals("WildcardEscapeHits: " + entry.Key, true, IsAHit(q, entry.Value, a));
}
foreach (var entry in wildcardEscapeMisses)
{
Query q = GetAnalyzedQuery(entry.Key, a, false);
assertEquals("WildcardEscapeMisses: " + entry.Key, false, IsAHit(q, entry.Value, a));
}
}
[Test]
public virtual void TestWildCardQueryNoLeadingAllowed()
{
bool ex = false;
try
{
string q = ParseWithAnalyzingQueryParser(wildcardInput[0], a, false);
}
catch (ParseException /*e*/)
{
ex = true;
}
assertEquals("Testing initial wildcard not allowed",
true, ex);
}
[Test]
public virtual void TestWildCardQuery()
{
for (int i = 0; i < wildcardInput.Length; i++)
{
assertEquals("Testing wildcards with analyzer " + a.GetType() + ", input string: "
+ wildcardInput[i], wildcardExpected[i], ParseWithAnalyzingQueryParser(wildcardInput[i], a, true));
}
}
[Test]
public virtual void TestPrefixQuery()
{
for (int i = 0; i < prefixInput.Length; i++)
{
assertEquals("Testing prefixes with analyzer " + a.GetType() + ", input string: "
+ prefixInput[i], prefixExpected[i], ParseWithAnalyzingQueryParser(prefixInput[i], a, false));
}
}
[Test]
public virtual void TestRangeQuery()
{
for (int i = 0; i < rangeInput.Length; i++)
{
assertEquals("Testing ranges with analyzer " + a.GetType() + ", input string: "
+ rangeInput[i], rangeExpected[i], ParseWithAnalyzingQueryParser(rangeInput[i], a, false));
}
}
[Test]
public virtual void TestFuzzyQuery()
{
for (int i = 0; i < fuzzyInput.Length; i++)
{
assertEquals("Testing fuzzys with analyzer " + a.GetType() + ", input string: "
+ fuzzyInput[i], fuzzyExpected[i], ParseWithAnalyzingQueryParser(fuzzyInput[i], a, false));
}
}
private string ParseWithAnalyzingQueryParser(string s, Analyzer a, bool allowLeadingWildcard)
{
Query q = GetAnalyzedQuery(s, a, allowLeadingWildcard);
return q.ToString(FIELD);
}
private Query GetAnalyzedQuery(string s, Analyzer a, bool allowLeadingWildcard)
{
AnalyzingQueryParser qp = new AnalyzingQueryParser(TEST_VERSION_CURRENT, FIELD, a);
qp.AllowLeadingWildcard = allowLeadingWildcard;
Query q = qp.Parse(s);
return q;
}
internal sealed class FoldingFilter : TokenFilter
{
private readonly ICharTermAttribute termAtt;
public FoldingFilter(TokenStream input)
: base(input)
{
termAtt = AddAttribute<ICharTermAttribute>();
}
public sealed override bool IncrementToken()
{
if (m_input.IncrementToken())
{
char[] term = termAtt.Buffer;
for (int i = 0; i < term.Length; i++)
switch (term[i])
{
case 'ü':
term[i] = 'u';
break;
case 'ö':
term[i] = 'o';
break;
case 'é':
term[i] = 'e';
break;
case 'ï':
term[i] = 'i';
break;
}
return true;
}
else
{
return false;
}
}
}
internal sealed class ASCIIAnalyzer : Analyzer
{
protected internal override TokenStreamComponents CreateComponents(string fieldName, System.IO.TextReader reader)
{
Tokenizer result = new MockTokenizer(reader, MockTokenizer.WHITESPACE, true);
return new TokenStreamComponents(result, new FoldingFilter(result));
}
}
// LUCENE-4176
[Test]
public virtual void TestByteTerms()
{
string s = "เข";
Analyzer analyzer = new MockBytesAnalyzer();
Classic.QueryParser qp = new AnalyzingQueryParser(TEST_VERSION_CURRENT, FIELD, analyzer);
Query q = qp.Parse("[เข TO เข]");
assertEquals(true, IsAHit(q, s, analyzer));
}
private bool IsAHit(Query q, string content, Analyzer analyzer)
{
int hits;
using (Directory ramDir = NewDirectory())
{
using (RandomIndexWriter writer = new RandomIndexWriter(Random(), ramDir, analyzer, Similarity, TimeZone))
{
Document doc = new Document();
FieldType fieldType = new FieldType();
fieldType.IsIndexed = (true);
fieldType.IsTokenized = (true);
fieldType.IsStored = (true);
Field field = new Field(FIELD, content, fieldType);
doc.Add(field);
writer.AddDocument(doc);
}
using (DirectoryReader ir = DirectoryReader.Open(ramDir))
{
IndexSearcher @is = new IndexSearcher(ir);
hits = @is.Search(q, 10).TotalHits;
}
}
if (hits == 1)
{
return true;
}
else
{
return false;
}
}
}
}
| {
"content_hash": "e42ba930b24d489b768cf38a97ce87b4",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 125,
"avg_line_length": 34.71559633027523,
"alnum_prop": 0.5031712473572939,
"repo_name": "laimis/lucenenet",
"id": "321d910f74d1412887ffbfbfccb8a1912c75c50e",
"size": "12258",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Lucene.Net.Tests.QueryParser/Analyzing/TestAnalyzingQueryParser.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "4805"
},
{
"name": "C#",
"bytes": "41089688"
},
{
"name": "Gnuplot",
"bytes": "2444"
},
{
"name": "HTML",
"bytes": "79746"
},
{
"name": "PowerShell",
"bytes": "73932"
},
{
"name": "XSLT",
"bytes": "21773"
}
],
"symlink_target": ""
} |
ifeq (nacl,$(filter nacl,$(MAKECMDGOALS)))
POST_BUILD = cp $(EXE_NAME) awk_module.nexe
CC = $(NACL_BIN_PATH)/nacl-gcc
LIBS = -lgoogle_nacl_imc
NACL_INCLUDE = -I$(GOOGLE_CLIENT)/third_party/npapi/files/include
else
CCFLAGS=-DHAS_ISBLANK
# $(error This sample only works with nacl builds.)
endif
SUBSYSTEM :=
# CCFLAGS+=-Wall -Werror
NAME:=awk_module
AWK_FILES := ytab.c
AWK_FILES += b.c
AWK_FILES += main.c
AWK_FILES += parse.c
AWK_FILES += proctab.c
AWK_FILES += tran.c
AWK_FILES += lib.c
AWK_FILES += run.c
AWK_FILES += lex.c
AWK_SRC_DIR = ./awk_src/
AWK_SRC = $(addprefix $(AWK_SRC_DIR), $(AWK_FILES))
FILES:= $(AWK_SRC)
include ../../common/Makefile.mk
.PHONY: allclean download
allclean: clean
rm -f ./*.nexe
rm -rf $(AWK_SRC_DIR)
download:
../../tools/download.sh http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz awk.tar.gz
mkdir awk_src
cd awk_src ; tar xzf ../awk.tar.gz
rm -f awk.tar.gz
| {
"content_hash": "1f40a0d23b2b89bd65a1753e1e2914e7",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 90,
"avg_line_length": 19.97826086956522,
"alnum_prop": 0.6746463547334058,
"repo_name": "eseidel/native_client_patches",
"id": "66bdd69ec70059bfd3538b52ecfcccfb7aad5dfc",
"size": "2648",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "tests/awk/Makefile",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "C",
"bytes": "5822113"
},
{
"name": "C++",
"bytes": "1834527"
},
{
"name": "JavaScript",
"bytes": "37393"
},
{
"name": "Objective-C",
"bytes": "4766"
},
{
"name": "Python",
"bytes": "742410"
},
{
"name": "R",
"bytes": "522"
},
{
"name": "Shell",
"bytes": "409095"
}
],
"symlink_target": ""
} |
<?xml version="1.0" encoding="UTF-8"?>
<!-- vi:ts=2:sw=2:expandtab: -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!-- Parent -->
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-parent</artifactId>
<version>1.4.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>
<!-- Artifact Configuration -->
<artifactId>arquillian-build</artifactId>
<name>Arquillian Build</name>
<description>Arquillian Build Configuration</description>
<packaging>pom</packaging>
<!-- Properties -->
<properties>
<!-- Arquillian Core common Deps, Test related -->
<version.javax.inject>1</version.javax.inject>
<version.junit>4.12</version.junit>
<version.mockito_all>1.10.19</version.mockito_all>
<version.jcommander>1.69</version.jcommander>
<version.testng>6.13</version.testng>
<version.assertj>2.9.0</version.assertj>
</properties>
<!-- Dependency Management -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${version.javax.inject}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-bom</artifactId>
<version>${version.shrinkwrap_shrinkwrap}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-bom</artifactId>
<version>${version.shrinkwrap_descriptors}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
<!-- Workaround https://github.com/cbeust/testng/issues/1506#issuecomment-347178740 -->
<!-- JCommander 1.66 is missing in Maven Central, thus taking newer one first -->
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.69</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${version.testng}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${version.mockito_all}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${version.assertj}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.15</version>
<executions>
<execution>
<id>signature-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
</configuration>
</plugin>
</plugins>
</build>
</project>
| {
"content_hash": "8dbb58df93bf5d077c071dc0627c81eb",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 201,
"avg_line_length": 32.21848739495798,
"alnum_prop": 0.6139801773604591,
"repo_name": "MatousJobanek/arquillian-core",
"id": "f322c52dac82c6c493f98824001f99ef55d20bc4",
"size": "3834",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "build/pom.xml",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "5137"
},
{
"name": "Java",
"bytes": "2084797"
},
{
"name": "Shell",
"bytes": "6468"
}
],
"symlink_target": ""
} |
%
% Copyright 2013 Katarzyna Szawan <kat.szwn@gmail.com>
% and Michał Rus <m@michalrus.com>
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
%
\chapter{Introduction}
\label{chap:introduction}
% What? The problem
Mind maps are diagrams which visually gather ideas and put them in a logical structure. The structure usually consists of one or more central words, around which associated ideas and concepts are placed. Subbranches may also represent categories. They are used in a whole range of disciplines, both in science and arts, for both commercial and personal use~\cite{Gee:2010:Roots}.
% How? Shortly about the method
The subject of the thesis is project and implementation of a cloud-based mind-mapping tool for Android. It should support bidirectional data exchange with one of the most popular mind-mapping software: XMind. Also, it should provide tools for collaboration: working on the same map in real-time by more than one person. The task will be divided into two modules. First one is creating an Android application, which supports XMind files. Second part of the task, the most important, is creation of collaboration tool for many users.
% Why? The source
Mind-mapping tools are becoming more and more popular these days. At this point, there is a shortage of an Android mind-mapping software, while the number of devices operating on Android is growing rapidly. At this point, as far as we know there is no Android application which makes it possible to work on the same map collaboratively.
% What for? Consequences
Mind-mapping tools are used in a whole range of disciplines, both in science and arts. They are proved to be a very effective way of organizing ideas, brainstorming and dealing with information overload. Considering the fact that tablets and mobile phones are nowadays a natural way of recording notes and ideas for most people, creating an application which makes the process of collecting and organizing ideas intuitive, effective and most important, makes it possible to collaborate, seems a significant task.
% What's in next chapters?
Next chapters include the theoretical analysis of the problem and detailed description of the possible solution. Then, we will discuss the implementation details. In the final part we will focus on the analysis of our solution, providing tests to check how many of the initial problems were solved by the application.
The work was split between two persons. The details of the division of tasks can be traced below in \cref{tab:who-did-impl}, \cref{tab:who-did-impl-akk} and \cref{tab:who-did-docs}.
It has been decided to share both the code and this paper under the terms of of free Apache License, version 2. This license is compatible with GNU General Public License. It is also a \emph{permissive} license, although all contributors are required to submit a patent license on contributions infringing their own patents.
\begin{table}[h]
\centering
\begin{tabular}{l|c|c}
What? & K. Szawan & M. Rus \\
\hline
Setting up the project and adding sbt plugins & & M \\
Action bar & & M\\
Maps list & & M\\
Navigation bar with tabs & K & \\
Basic models & K & M\\
Opening a map in a new tab & K & M\\
Adding a new map & K & \\
Closing tabs & & M\\
XMind Importer & K & \\
Adding Importer to ActionBar & K & \\
Bidirectional scrolling & K & M \\
Dp to px conversion & K & \\
Map drawing helper methods & K & \\
Drawing root node & K & \\
Drawing 1st level children on ellipse & K & \\
Node's division to left and right tree & K & \\
Positioning child nodes & & M \\
The final version of drawing & & M \\
Adding child node & K & \\
Deleting a node with subtree & & M \\
Editing node's content & K & \\
Adding database & & M \\
Making operations on mind nodes save in database & K & M \\
\end{tabular}
\caption{Division of Android related implementation tasks.}
\label{tab:who-did-impl}
\end{table}
\begin{table}[h]
\centering
\begin{tabular}{l|c|c}
What? & K. Szawan & M. Rus \\
\hline
Initializing Akka project and settings & & M\\
Adding HTTP service & & M\\
MindMap actor & & M\\
Supervising actor & K & M\\
Poller actor & & M\\
Service actor & & M\\
Updater actor & & M\\
Managing subscriptions & & M\\
Refresher and Synchronizer & & M\\
CustomJsonFormats trait & K & M\\
Integrating spray-can & & M\\
Adding spray-json dependency & & M\\
Cooperation use cases & K & M\\
Mind maps memoization & & M\\
Conflict resolution & & M\\
Setting up akka application on Amazon EC2 & & M\\
\end{tabular}
\caption{Division of Akka related implementation tasks.}
\label{tab:who-did-impl-akk}
\end{table}
\begin{table}[h]
\centering
\begin{tabular}{l|c|c}
What? & K. Szawan & M. Rus \\
\hline
\Cref{chap:introduction} & K & \\
\Cref{sec:xmind} & K & \\
\Cref{sec:android-theory} & K & \\
\Cref{sec:scala} & & M \\
\Cref{sec:akka} & & M \\
\Cref{sec:requirements} & K & \\
\Cref{sec:plan} & K & \\
\Cref{subsec:component-android} & K & M \\
\Cref{subsec:data-repr} & & M \\
\Cref{subsec:xmind-exchange} & K & \\
\Cref{subsec:android-akka-comm} & & M \\
\Cref{subsec:subtree-recreation} & & M \\
\Cref{subsec:choosing-ide} & K & \\
\Cref{subsec:good-idea} & K & \\
\Cref{subsec:android-sbt} & K & \\
\Cref{subsec:drawing} & K & \\
\Cref{subsec:drawing-m} & K & \\
\Cref{subsec:creating-mm} & K & \\
\Cref{subsec:import} & K & \\
\Cref{subsection:akka-actors} & & M \\
\Cref{subsection:akka-database} & & M \\
\Cref{subsection:akka-spray} & & M \\
\Cref{subsection:akka-synchro} & & M \\
\Cref{subsec:problem-longpolling} & & M \\
\Cref{subsec:problem-tabhost} & & M \\
\Cref{subsec:problem-scrollview} & K & \\
\Cref{subsec:problem-positioning} & & M \\
\Cref{sec:summary-testing} & K & M \\
\Cref{sec:summary-how-solve} & K & M \\
\Cref{sec:summary-missing} & K & M \\
\Cref{sec:summary-future} & K & M \\
\end{tabular}
\caption{Division of thesis-related tasks.}
\label{tab:who-did-docs}
\end{table}
| {
"content_hash": "7079c6f431fbacbcb52be3daf6e9bfe7",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 532,
"avg_line_length": 45.73972602739726,
"alnum_prop": 0.6925726265348907,
"repo_name": "michalrus/agh-mindmap",
"id": "44c8aee8867310125553da342304647f43a10fb6",
"size": "6679",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/bsc-thesis/introduction.tex",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "1199"
},
{
"name": "Scala",
"bytes": "103442"
},
{
"name": "TeX",
"bytes": "103433"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0) on Fri May 15 16:55:42 CEST 2015 -->
<title>org.objectweb.asm.xml (ASM 5.0.4 Documentation)</title>
<meta name="date" content="2015-05-15">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<h1 class="bar"><a href="../../../../org/objectweb/asm/xml/package-summary.html" target="classFrame">org.objectweb.asm.xml</a></h1>
<div class="indexContainer">
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="ASMContentHandler.html" title="class in org.objectweb.asm.xml" target="classFrame">ASMContentHandler</a></li>
<li><a href="Processor.html" title="class in org.objectweb.asm.xml" target="classFrame">Processor</a></li>
<li><a href="SAXAdapter.html" title="class in org.objectweb.asm.xml" target="classFrame">SAXAdapter</a></li>
<li><a href="SAXAnnotationAdapter.html" title="class in org.objectweb.asm.xml" target="classFrame">SAXAnnotationAdapter</a></li>
<li><a href="SAXClassAdapter.html" title="class in org.objectweb.asm.xml" target="classFrame">SAXClassAdapter</a></li>
<li><a href="SAXCodeAdapter.html" title="class in org.objectweb.asm.xml" target="classFrame">SAXCodeAdapter</a></li>
<li><a href="SAXFieldAdapter.html" title="class in org.objectweb.asm.xml" target="classFrame">SAXFieldAdapter</a></li>
</ul>
</div>
</body>
</html>
| {
"content_hash": "58a73e01fb42d05baf27ee664e80b5fb",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 131,
"avg_line_length": 60.88461538461539,
"alnum_prop": 0.691724573594441,
"repo_name": "JPAT-ROSEMARY/SCUBA",
"id": "d070576b762b0f37e3ae52eafb6844902ffc5839",
"size": "1583",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "org.jpat.scuba.external.asm/asm-5.0.4/doc/javadoc/user/org/objectweb/asm/xml/package-frame.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "479"
},
{
"name": "CSS",
"bytes": "184347"
},
{
"name": "Groovy",
"bytes": "61577"
},
{
"name": "HTML",
"bytes": "72563310"
},
{
"name": "Java",
"bytes": "4674644"
},
{
"name": "JavaScript",
"bytes": "155840"
},
{
"name": "PLSQL",
"bytes": "4133"
},
{
"name": "PLpgSQL",
"bytes": "4948"
},
{
"name": "Roff",
"bytes": "505"
},
{
"name": "Scala",
"bytes": "39880"
},
{
"name": "Shell",
"bytes": "5051"
},
{
"name": "XSLT",
"bytes": "16226"
}
],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using FakeItEasy;
using FakeItEasy.Core;
using RapidCore.Reflection;
using Xunit;
namespace UnitTests.Core.Reflection.InstanceTraverserTests
{
public class InstanceTraverser_BasicTests : InstanceTraverserTestBase
{
public static IEnumerable<object[]> Throws_ifGivenANonTraversable_instance_data()
{
return new List<object[]>
{
new [] { (object)StringSplitOptions.RemoveEmptyEntries },
new [] { new MemoryStream() },
new [] { (object)'c' },
new [] { (object)true },
new [] { (object)0x12 },
new [] { (object)(short)3 },
new [] { (object)5 },
new [] { (object)7L },
new [] { (object)12.34F },
new [] { (object)56.37D },
new [] { (object)1234m },
new [] { (object)DateTime.UtcNow },
new [] { (object)DateTimeOffset.UtcNow },
new [] { (object)TimeSpan.FromSeconds(666) },
new [] { (object)Guid.NewGuid() },
new [] { (object)"string" },
new [] { (object)(int?)5}
};
}
[Theory]
[MemberData(nameof(Throws_ifGivenANonTraversable_instance_data))]
public void Throws_ifGivenANonTraversable_instance(object instance)
{
var actual = Record.Exception(() => Traverser.TraverseInstance(instance, 10, listener));
Assert.NotNull(actual);
Assert.IsType<InstanceTraversalException>(actual);
}
[Fact]
public void EventHandlersAreCalled()
{
var victim = new Victim();
Traverser.TraverseInstance(victim, 5, listener);
var type = typeof(Victim);
A.CallTo(() => listener.OnConstructor(GetConstructor(type, new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnConstructor(GetConstructor(type, new[] {typeof(string)}), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnField(GetField(type, "PrivateField"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnField(GetField(type, "PrivateStaticField"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnField(GetField(type, "PublicField"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnField(GetField(type, "BaseField"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnProperty(GetProp(type, "PrivateProperty"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnProperty(GetProp(type, "PrivateStaticProperty"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnProperty(GetProp(type, "PublicProperty"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnProperty(GetProp(type, "BaseProperty"), A<Func<object>>._, A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "PrivateMethod", new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "PrivateStaticMethod", new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "PublicMethod", new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "BaseMethod", new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "OverloadedMethod", new Type[0]), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "OverloadedMethod", new [] { typeof(int) }), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMethod(GetMethod(type, "OverloadedMethod", new [] { typeof(int), typeof(int) }), A<InstanceTraversalContext>._)).MustHaveHappenedOnceExactly();
A.CallTo(() => listener.OnMaxDepthReached(A<InstanceTraversalContext>._)).MustNotHaveHappened();
}
[Fact]
public void EventHandlersAreCalled_withCorrect_context()
{
var victim = new Victim();
Action<IFakeObjectCall> invocation = fakeObjectCall =>
{
var context = (InstanceTraversalContext)fakeObjectCall.Arguments.Last();
Assert.Same(victim, context.Instance);
Assert.Equal(0, context.CurrentDepth);
Assert.Equal(5, context.MaxDepth);
};
A.CallTo(() => listener.OnConstructor(A<ConstructorInfo>._, A<InstanceTraversalContext>._)).Invokes(invocation);
A.CallTo(() => listener.OnField(A<FieldInfo>._, A<Func<object>>._, A<InstanceTraversalContext>._)).Invokes(invocation);
A.CallTo(() => listener.OnProperty(A<PropertyInfo>._, A<Func<object>>._, A<InstanceTraversalContext>._)).Invokes(invocation);
A.CallTo(() => listener.OnMethod(A<MethodInfo>._, A<InstanceTraversalContext>._)).Invokes(invocation);
Traverser.TraverseInstance(victim, 5, listener);
}
[Fact]
public void EventHandlersAreCalled_withCorrect_valueGetter()
{
var victim = new Victim();
Action<IFakeObjectCall> fieldInvocation = fakeObjectCall =>
{
var valueGetter = (Func<object>) fakeObjectCall.Arguments[1];
Assert.Contains(" field", valueGetter.Invoke().ToString());
};
Action<IFakeObjectCall> propertyInvocation = fakeObjectCall =>
{
var valueGetter = (Func<object>) fakeObjectCall.Arguments[1];
Assert.Contains(" property", valueGetter.Invoke().ToString());
};
A.CallTo(() => listener.OnField(A<FieldInfo>._, A<Func<object>>._, A<InstanceTraversalContext>._)).Invokes(fieldInvocation);
A.CallTo(() => listener.OnProperty(A<PropertyInfo>._, A<Func<object>>._, A<InstanceTraversalContext>._)).Invokes(propertyInvocation);
Traverser.TraverseInstance(victim, 5, listener);
}
[Fact]
public void IgnoreMembersDefinedOn_theLowLevel_Object_type()
{
var victim = new Victim();
Traverser.TraverseInstance(victim, 5, listener);
// these are just a couple of examples
A.CallTo(() => listener.OnMethod(A<MethodInfo>.That.Matches(x => x.Name.Equals("ToString")), A<InstanceTraversalContext>._)).MustNotHaveHappened();
A.CallTo(() => listener.OnMethod(A<MethodInfo>.That.Matches(x => x.Name.Equals("GetHashCode")), A<InstanceTraversalContext>._)).MustNotHaveHappened();
}
[Fact]
public void IgnoreAutoProperty_backing_fields()
{
var victim = new Victim();
Traverser.TraverseInstance(victim, 5, listener);
// this is just one example
A.CallTo(() => listener.OnField(A<FieldInfo>.That.Matches(x => x.Name.Equals("<PublicProperty>k__BackingField")), A<Func<object>>._, A<InstanceTraversalContext>._)).MustNotHaveHappened();
}
[Fact]
public void IgnoreAutoProperty_backing_methods()
{
var victim = new Victim();
Traverser.TraverseInstance(victim, 5, listener);
// this is just one example
A.CallTo(() => listener.OnMethod(A<MethodInfo>.That.Matches(x => x.Name.Equals("<PublicProperty>k__BackingField")), A<InstanceTraversalContext>._)).MustNotHaveHappened();
}
#region Victims
public class Victim : VictimBase
{
public Victim() { }
public Victim(string x) { }
#pragma warning disable 414
// this is used by reflection / is meant to be ignored
private static string PrivateStaticField = "private static field";
#pragma warning restore 414
#pragma warning disable 414
// this is used by reflection / is meant to be ignored
private string PrivateField = "private field";
#pragma warning restore 414
public string PublicField = "public field";
private string PrivateProperty { get; set; } = "private property";
private static string PrivateStaticProperty { get; set; } = "private static property";
public string PublicProperty { get; set; } = "public property";
private void PrivateMethod() { }
private static void PrivateStaticMethod() { }
public void PublicMethod() { }
public void OverloadedMethod() { }
public void OverloadedMethod(int x) { }
public void OverloadedMethod(int x, int y) { }
}
public abstract class VictimBase
{
protected VictimBase() { } // this does not come out
public string BaseField = "base field";
public string BaseProperty { get; set; } = "base property";
public string BaseMethod()
{
return "x";
}
}
#endregion
}
} | {
"content_hash": "0951a3ba83145b39752d6f05c7ffb5ad",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 199,
"avg_line_length": 48.4688995215311,
"alnum_prop": 0.5935834155972359,
"repo_name": "rapidcore/rapidcore",
"id": "df3363e2d2b104823c4080b59a2bc4676412c7ee",
"size": "10132",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/test-unit/Core/Reflection/InstanceTraverserTests/InstanceTraverser_BasicTests.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "586080"
},
{
"name": "PowerShell",
"bytes": "5176"
},
{
"name": "Shell",
"bytes": "2695"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Nov 13 21:21:59 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.hadoop.streaming.io (Apache Hadoop Main 2.6.0 API)
</TITLE>
<META NAME="date" CONTENT="2014-11-13">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameTitleFont">
<A HREF="../../../../../org/apache/hadoop/streaming/io/package-summary.html" target="classFrame">org.apache.hadoop.streaming.io</A></FONT>
</BODY>
</HTML>
| {
"content_hash": "692748e530a13dda67faaf1d235e844d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 138,
"avg_line_length": 32.77272727272727,
"alnum_prop": 0.6643550624133149,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "d93f92c3452acecbbe10059b5794b24dd587565a",
"size": "721",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "packages/hadoop-2.6.0/share/doc/hadoop/api/org/apache/hadoop/streaming/io/package-frame.html",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "23179"
},
{
"name": "CSS",
"bytes": "39965"
},
{
"name": "HTML",
"bytes": "263271260"
},
{
"name": "Java",
"bytes": "103085"
},
{
"name": "JavaScript",
"bytes": "1347"
},
{
"name": "Python",
"bytes": "4101"
},
{
"name": "Ruby",
"bytes": "262588"
},
{
"name": "Shell",
"bytes": "118548"
}
],
"symlink_target": ""
} |
package tora.plugin;
import gw.fs.IFile;
import gw.lang.reflect.ITypeInfo;
import tora.parser.tree.template.JSTNode;
public class JavascriptTemplateType extends JavascriptTypeBase
{
private final JavascriptTemplateTypeInfo _typeinfo;
public JavascriptTemplateType(JavascriptPlugin typeloader, String name, IFile jsFile, JSTNode templateNode)
{
super( typeloader, name, jsFile );
_typeinfo = new JavascriptTemplateTypeInfo(this, templateNode);
}
@Override
public ITypeInfo getTypeInfo()
{
return _typeinfo;
}
}
| {
"content_hash": "1f762fa276753fa9bae8d529c6a353b0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 109,
"avg_line_length": 24.636363636363637,
"alnum_prop": 0.7730627306273062,
"repo_name": "gosu-lang/tora",
"id": "dcb4a4e1b7512aae47c00a919695ae700e4b6fea",
"size": "542",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/tora/plugin/JavascriptTemplateType.java",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "Gosu",
"bytes": "195"
},
{
"name": "Java",
"bytes": "151063"
},
{
"name": "JavaScript",
"bytes": "5947"
}
],
"symlink_target": ""
} |
package com.intellij.openapi.options;
import com.intellij.AbstractBundle;
import com.intellij.CommonBundle;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.AbstractExtensionPointBean;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.AtomicNotNullLazyValue;
import com.intellij.util.xmlb.annotations.AbstractCollection;
import com.intellij.util.xmlb.annotations.Attribute;
import com.intellij.util.xmlb.annotations.Property;
import com.intellij.util.xmlb.annotations.Tag;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.picocontainer.PicoContainer;
import java.util.ResourceBundle;
/**
* Declares a named component that enables to configure settings.
*
* @author nik
* @see Configurable
*/
@Tag("configurable")
public class ConfigurableEP<T extends UnnamedConfigurable> extends AbstractExtensionPointBean {
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.options.ConfigurableEP");
/**
* This attribute specifies the setting name visible to users.
* It has precedence over the pair of attributes {@link #key}-{@link #bundle}.
* If the display name is not set, a configurable component will be instantiated to retrieve its name dynamically.
* This causes a loading of plugin classes and increases the delay before showing the settings dialog.
* It is highly recommended specifying the display name in XML to improve UI responsiveness.
*/
@Attribute("displayName")
public String displayName;
/**
* This attribute specifies the resource key in the specified {@link #bundle}.
* This is another way to specify the {@link #displayName display name}.
*/
@Attribute("key")
public String key;
/**
* This attribute specifies the resource bundle that contains the specified {@link #key}.
* This is another way to specify the {@link #displayName display name}.
*/
@Attribute("bundle")
public String bundle;
public String getDisplayName() {
if (displayName != null) return displayName;
LOG.assertTrue(bundle != null, "Bundle missed for " + instanceClass);
final ResourceBundle resourceBundle = AbstractBundle.getResourceBundle(bundle, myPluginDescriptor.getPluginClassLoader());
return displayName = CommonBundle.message(resourceBundle, key);
}
/**
* @return a resource bundle using the specified base name or {@code null}
*/
public ResourceBundle findBundle() {
return bundle == null ? null : AbstractBundle.getResourceBundle(bundle, myPluginDescriptor != null
? myPluginDescriptor.getPluginClassLoader()
: getClass().getClassLoader());
}
@Property(surroundWithTag = false)
@AbstractCollection(surroundWithTag = false)
public ConfigurableEP[] children;
/**
* This attribute specifies a name of the extension point of {@code ConfigurableEP} type that will be used to calculate children.
*
* @see #dynamic
*/
@Attribute("childrenEPName")
public String childrenEPName;
/**
* This attribute states that a custom configurable component implements the {@link Configurable.Composite} interface
* and its children are dynamically calculated by calling the {@link Configurable.Composite#getConfigurables()} method.
* It is needed to improve performance, because we do not want to load any additional classes during the building a setting tree.
*/
@Attribute("dynamic")
public boolean dynamic;
/**
* This attribute is used to create a hierarchy of settings.
* If it is set, the configurable component will be a child of the specified parent component.
*
* @see #groupId
*/
@Attribute("parentId")
public String parentId;
public ConfigurableEP[] getChildren() {
for (ConfigurableEP child : children) {
child.myPicoContainer = myPicoContainer;
child.myPluginDescriptor = myPluginDescriptor;
child.myProject = myProject;
}
return children;
}
/**
* This attribute specifies the {@link SearchableConfigurable#getId() unique identifier} of the configurable component.
* It is also recommended specifying the identifier in XML to improve UI responsiveness.
*/
@Attribute("id")
public String id;
/**
* This attribute specifies a top-level group, which the configurable component belongs to.
* If this attribute is not set, the configurable component will be added to the Other Settings group.
* The following groups are supported:
* <dl>
* <dt>ROOT {@code groupId="root"}</dt>
* <dd>This is the invisible root group that contains all other groups.
* Usually, you should not place your settings here.</dd>
* <dt>Appearance & Behavior {@code groupId="appearance"}</dt>
* <dd>This group contains settings to personalize IDE appearance and behavior:
* change themes and font size, tune the keymap, and configure plugins and system settings,
* such as password policies, HTTP proxy, updates and more.</dd>
* <dt>Editor {@code groupId="editor"}</dt>
* <dd>This group contains settings to personalize source code appearance by changing fonts,
* highlighting styles, indents, etc. Here you can customize the editor from line numbers,
* caret placement and tabs to source code inspections, setting up templates and file encodings.</dd>
* <dt>Default Project / Project Settings {@code groupId="project"}</dt>
* <dd>This group is intended to store some project-related settings, but now it is rarely used.</dd>
* <dt>Build, Execution, Deployment {@code groupId="build"}</dt>
* <dd>This group contains settings to configure you project integration with the different build tools,
* modify the default compiler settings, manage server access configurations, customize the debugger behavior, etc.</dd>
* <dt>Build Tools {@code groupId="build.tools"}</dt>
* <dd>This is subgroup of the group above. Here you can configure your project integration
* with the different build tools, such as Maven, Gradle, or Gant.</dd>
* <dt>Languages & Frameworks {@code groupId="language"}</dt>
* <dd>This group is intended to configure the settings related to specific frameworks and technologies used in your project.</dd>
* <dt>Tools {@code groupId="tools"}</dt>
* <dd>This group contains settings to configure integration with third-party applications,
* specify the SSH Terminal connection settings, manage server certificates and tasks, configure diagrams layout, etc.</dd>
* <dt>Other Settings {@code groupId="other"}</dt>
* <dd>This group contains settings that are related to non-bundled custom plugins and are not assigned to any other category.</dd>
* </dl>
* This attribute should not be used together with the {@link #parentId} attribute, which has precedence.
* Currently, it is possible to specify a group identifier in the {@link #parentId} attribute.
*/
@Attribute("groupId")
public String groupId;
/**
* This attribute specifies the weight of a configurable component within a group or a parent configurable component.
* The default weight is {@code 0}. If one child in a group or a parent configurable component has non-zero weight,
* all children will be sorted descending by their weight. And if the weights are equal,
* the components will be sorted ascending by their display name.
*/
@Attribute("groupWeight")
public int groupWeight;
/**
* This attribute is applicable to the {@code projectConfigurable} extension only.
* If it is set to {@code true}, the corresponding project settings will be shown for a real project only,
* not for the {@link com.intellij.openapi.project.ProjectManager#getDefaultProject() template project},
* which provides default settings for all the new projects.
*/
@Attribute("nonDefaultProject")
public boolean nonDefaultProject;
public boolean isAvailable() {
return !nonDefaultProject || !(myProject != null && myProject.isDefault());
}
/**
* @deprecated use '{@link #instanceClass instance}' or '{@link #providerClass provider}' attribute instead
*/
@Deprecated
@Attribute("implementation")
public String implementationClass;
/**
* This attribute specifies a qualified name of a custom implementation of this interface.
* The constructor will be determined automatically from the tag name:
* <br>{@code <extensions defaultExtensionNs="com.intellij">}
* <br>{@code <projectConfigurable instance="fully.qualified.class.name"/>}
* <br>{@code </extensions>}
*
* @see #providerClass provider
*/
@Attribute("instance")
public String instanceClass;
/**
* This attribute can be used instead of the {@link #instanceClass instance} attribute.
* It specifies a qualified name of a custom implementation of the {@link ConfigurableProvider} interface,
* which provides another way to create a configurable component:
* <br>{@code <extensions defaultExtensionNs="com.intellij">}
* <br>{@code <projectConfigurable provider="fully.qualified.class.name"/>}
* <br>{@code </extensions>}
*
* @see #instanceClass instance
*/
@Attribute("provider")
public String providerClass;
private final AtomicNotNullLazyValue<ObjectProducer> myProducer;
private PicoContainer myPicoContainer;
private Project myProject;
public ConfigurableEP() {
this(ApplicationManager.getApplication().getPicoContainer(), null);
}
@SuppressWarnings("UnusedDeclaration")
public ConfigurableEP(Project project) {
this(project.getPicoContainer(), project);
}
protected ConfigurableEP(PicoContainer picoContainer, @Nullable Project project) {
myProject = project;
myPicoContainer = picoContainer;
myProducer = new AtomicNotNullLazyValue<ObjectProducer>() {
@NotNull
@Override
protected ObjectProducer compute() {
try {
if (providerClass != null) {
return new ProviderProducer((ConfigurableProvider)instantiate(providerClass, myPicoContainer));
}
if (instanceClass != null) {
return new ClassProducer(myPicoContainer, findClass(instanceClass));
}
if (implementationClass != null) {
return new ClassProducer(myPicoContainer, findClass(implementationClass));
}
throw new RuntimeException("configurable class name is not set");
}
catch (AssertionError | Exception | LinkageError error) {
LOG.error(error);
}
return new ObjectProducer();
}
};
}
@Nullable
public T createConfigurable() {
ObjectProducer producer = myProducer.getValue();
if (producer.canCreateElement()) {
@SuppressWarnings("unchecked")
T configurable = (T)producer.createElement();
return configurable;
}
return null;
}
public Project getProject() {
return myProject;
}
@Override
public String toString() {
return getDisplayName();
}
public boolean canCreateConfigurable() {
return myProducer.getValue().canCreateElement();
}
/**
* Returns the type of configurable to create or {@code null},
* if it cannot be determined.
*
* @return the the configurable's type or {@code null}
*/
@Nullable
public Class<?> getConfigurableType() {
return myProducer.getValue().getType();
}
private static class ObjectProducer {
Object createElement() {
return null;
}
boolean canCreateElement() {
return false;
}
Class<?> getType() {
return null;
}
}
private static final class ProviderProducer extends ObjectProducer {
private final ConfigurableProvider myProvider;
private ProviderProducer(ConfigurableProvider provider) {
myProvider = provider;
}
@Override
Object createElement() {
return myProvider == null ? null : myProvider.createConfigurable();
}
@Override
boolean canCreateElement() {
return myProvider != null && myProvider.canCreateConfigurable();
}
}
private static final class ClassProducer extends ObjectProducer {
private final PicoContainer myContainer;
private final Class<?> myType;
private ClassProducer(PicoContainer container, Class<?> type) {
myContainer = container;
myType = type;
}
@Override
Object createElement() {
try {
return instantiate(myType, myContainer, true);
}
catch (ProcessCanceledException exception) {
throw exception;
}
catch (AssertionError | LinkageError | Exception e) {
LOG.error(e);
}
return null;
}
@Override
boolean canCreateElement() {
return myType != null;
}
Class<?> getType() {
return myType;
}
}
} | {
"content_hash": "0fab259bb1e692b7d14f7c4b4701a607",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 133,
"avg_line_length": 37.508620689655174,
"alnum_prop": 0.7066574733777675,
"repo_name": "youdonghai/intellij-community",
"id": "d3aeba97e132cd9224ed10d4933b8628ba3e6966",
"size": "13653",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "platform/platform-api/src/com/intellij/openapi/options/ConfigurableEP.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "AMPL",
"bytes": "20665"
},
{
"name": "AspectJ",
"bytes": "182"
},
{
"name": "Batchfile",
"bytes": "60477"
},
{
"name": "C",
"bytes": "195270"
},
{
"name": "C#",
"bytes": "1264"
},
{
"name": "C++",
"bytes": "197804"
},
{
"name": "CMake",
"bytes": "1195"
},
{
"name": "CSS",
"bytes": "201445"
},
{
"name": "CoffeeScript",
"bytes": "1759"
},
{
"name": "Cucumber",
"bytes": "14382"
},
{
"name": "Erlang",
"bytes": "10"
},
{
"name": "Groff",
"bytes": "35232"
},
{
"name": "Groovy",
"bytes": "3078038"
},
{
"name": "HLSL",
"bytes": "57"
},
{
"name": "HTML",
"bytes": "1837329"
},
{
"name": "J",
"bytes": "5050"
},
{
"name": "Java",
"bytes": "160121025"
},
{
"name": "JavaScript",
"bytes": "570364"
},
{
"name": "Jupyter Notebook",
"bytes": "93222"
},
{
"name": "Kotlin",
"bytes": "2803472"
},
{
"name": "Lex",
"bytes": "183993"
},
{
"name": "Makefile",
"bytes": "2352"
},
{
"name": "NSIS",
"bytes": "49795"
},
{
"name": "Objective-C",
"bytes": "28750"
},
{
"name": "Perl",
"bytes": "903"
},
{
"name": "Perl6",
"bytes": "26"
},
{
"name": "Protocol Buffer",
"bytes": "6639"
},
{
"name": "Python",
"bytes": "24055272"
},
{
"name": "Ruby",
"bytes": "1217"
},
{
"name": "Scala",
"bytes": "11698"
},
{
"name": "Shell",
"bytes": "63389"
},
{
"name": "Smalltalk",
"bytes": "338"
},
{
"name": "TeX",
"bytes": "25473"
},
{
"name": "Thrift",
"bytes": "1846"
},
{
"name": "TypeScript",
"bytes": "9469"
},
{
"name": "Visual Basic",
"bytes": "77"
},
{
"name": "XSLT",
"bytes": "113040"
}
],
"symlink_target": ""
} |
"""
LGPO - Registry.pol
===================
.. versionadded:: 3006
A state module for working with registry based policies in Windows Local Group
Policy (LGPO). This module contains functions for working with the
``Registry.pol`` file. The ``Registry.pol`` file is the source of truth for
registry settings and LGPO.
Group Policy is refreshed every 90 seconds by default. During that refresh the
contents of the ``Registry.pol`` file are applied to the Registry. If the
setting is changed outside of Group Policy to something other than what is
contained in the ``Registry.pol`` file, it will be changed back during the next
refresh.
In the Group Policy Editor (``gpedit.msc``) these policies can be set to three
states:
- Not Configured
- Enabled
- Disabled
A policy that is "Not Configured" does not have an entry in the ``Registry.pol``
file. A Group Policy refresh will not make any changes to key/value pairs in the
registry that are not specified in the ``Registry.pol`` file.
An "Enabled" policy will have an entry in the ``Registry.pol`` files that
contains its key path, value name, value type, value size, and value data. When
Group Policy is refreshed, existing values will be overwritten with those
contained in the ``Registry.pol`` file.
A "Disabled" policy will have an entry in the ``Registry.pol`` file with the key
path and the value name, but the value name will be prepended with ``**del.``.
When Group Policy is refreshed the key/value will be deleted from the registry.
If the key contains no values, it will also be deleted.
Working with LGPO Reg
---------------------
The easiest way to figure out the values needed for this module is to set the
policy using the Group Policy Editor (``gpedit.msc``) and then run the
``lgpo_reg.read_reg_pol`` function. This function will display a dictionary of
all registry-based policies in the ``Registry.pol`` file. From its return you
can get the ``key``, ``v_name``, ``v_type``, and ``v_data`` required to
configure that policy.
.. note::
Not all policies in the Group Policy Editor (``gpedit.msc``) that write to
the registry make that change in the ``Registry.pol`` file. Those policies
could still be enforced via the ``Registry.pol`` file... theoretically. But
you will have to find the values needed to set them with this module using a
different method.
"""
import salt.utils.data
import salt.utils.platform
__virtualname__ = "lgpo"
def __virtual__():
"""
Only works on Windows with the lgpo_reg module
"""
if not salt.utils.platform.is_windows():
return False, "LGPO_REG State: Only available on Windows"
if "lgpo_reg.get_value" not in __salt__:
return False, "LGPO_REG State: lgpo_reg module not available"
return __virtualname__
def value_present(name, key, v_data, v_type="REG_DWORD", policy_class="Machine"):
r"""
Ensure a registry setting is present in the Registry.pol file.
Args:
name (str): The registry value name within the key
key (str): The registry key path
v_data(str): The registry value
v_type (str): The registry value type. Must be one of the following:
- REG_BINARY
- REG_DWORD
- REG_EXPAND_SZ
- REG_MULTI_SZ
- REG_QWORD
- REG_SZ
Default is REG_DWORD
policy_class (str): The registry class to write to. Can be one of the
following:
- Computer
- Machine
- User
Default is ``Machine``
CLI Example:
.. code-block:: yaml
# Using the name parameter in the definition
set_reg_pol_value:
lgpo_reg.present:
- key: SOFTWARE\MyKey
- name: MyValue
- v_type: REG_SZ
- v_data: "some string data"
- policy_class: Machine
# Using the name as the parameter and modifying the User policy
MyValue:
lgpo_reg.present:
- key: SOFTWARE\MyKey
- v_type: REG_SZ
- v_data: "some string data"
- policy_class: User
"""
ret = {"name": name, "changes": {}, "result": False, "comment": ""}
old = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
if old.get("data", "") == v_data and old.get("type", "") == v_type:
ret["comment"] = "Registry.pol value already present"
return ret
if __opts__["test"]:
ret["comment"] = "Registry.pol value will be set"
ret["result"] = None
return ret
__salt__["lgpo_reg.set_value"](
key=key,
v_name=name,
v_data=v_data,
v_type=v_type,
policy_class=policy_class,
)
new = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
changes = salt.utils.data.compare_dicts(old, new)
if changes:
ret["comment"] = "Registry.pol value has been set"
ret["changes"] = changes
ret["result"] = True
return ret
def value_disabled(name, key, policy_class="Machine"):
r"""
Ensure a registry setting is disabled in the Registry.pol file.
Args:
key (str): The registry key path
name (str): The registry value name within the key
policy_class (str): The registry class to write to. Can be one of the
following:
- Computer
- Machine
- User
Default is ``Machine``
CLI Example:
.. code-block:: yaml
# Using the name parameter in the definition
set_reg_pol_value:
lgpo_reg.disabled:
- key: SOFTWARE\MyKey
- name: MyValue
- policy_class: Machine
# Using the name as the parameter and modifying the User policy
MyValue:
lgpo_reg.disabled:
- key: SOFTWARE\MyKey
- policy_class: User
"""
ret = {"name": name, "changes": {}, "result": False, "comment": ""}
old = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
if old.get("data", "") == "**del.{}".format(name):
ret["comment"] = "Registry.pol value already disabled"
return ret
if __opts__["test"]:
ret["comment"] = "Registry.pol value will be disabled"
ret["result"] = None
return ret
__salt__["lgpo_reg.disable_value"](key=key, v_name=name, policy_class=policy_class)
new = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
changes = salt.utils.data.compare_dicts(old, new)
if changes:
ret["comment"] = "Registry.pol value enabled"
ret["changes"] = changes
ret["result"] = True
return ret
def value_absent(name, key, policy_class="Machine"):
r"""
Ensure a registry setting is not present in the Registry.pol file.
Args:
key (str): The registry key path
name (str): The registry value name within the key
policy_class (str): The registry class to write to. Can be one of the
following:
- Computer
- Machine
- User
Default is ``Machine``
CLI Example:
.. code-block:: yaml
# Using the name parameter in the definition
set_reg_pol_value:
lgpo_reg.absent:
- key: SOFTWARE\MyKey
- name: MyValue
- policy_class: Machine
# Using the name as the parameter and modifying the User policy
MyValue:
lgpo_reg.absent:
- key: SOFTWARE\MyKey
- policy_class: User
"""
ret = {"name": name, "changes": {}, "result": False, "comment": ""}
old = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
if not old:
ret["comment"] = "Registry.pol value already absent"
return ret
if __opts__["test"]:
ret["comment"] = "Registry.pol value will be deleted"
ret["result"] = None
return ret
__salt__["lgpo_reg.delete_value"](key=key, v_name=name, policy_class=policy_class)
new = __salt__["lgpo_reg.get_value"](
key=key, v_name=name, policy_class=policy_class
)
if new is None:
new = {}
changes = salt.utils.data.compare_dicts(old, new)
if changes:
ret["comment"] = "Registry.pol value deleted"
ret["changes"] = changes
ret["result"] = True
return ret
| {
"content_hash": "e6e15e05daa4d6e329a63a8f69cf170e",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 87,
"avg_line_length": 28.638795986622075,
"alnum_prop": 0.6024757678383744,
"repo_name": "saltstack/salt",
"id": "4d6a687d533604a1ce7a37f2df9b4d793c682844",
"size": "8563",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "salt/states/win_lgpo_reg.py",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "14911"
},
{
"name": "C",
"bytes": "1571"
},
{
"name": "Cython",
"bytes": "1458"
},
{
"name": "Dockerfile",
"bytes": "184"
},
{
"name": "Groovy",
"bytes": "12318"
},
{
"name": "HCL",
"bytes": "257"
},
{
"name": "HTML",
"bytes": "8031"
},
{
"name": "Jinja",
"bytes": "45598"
},
{
"name": "Makefile",
"bytes": "713"
},
{
"name": "NSIS",
"bytes": "76572"
},
{
"name": "PowerShell",
"bytes": "75891"
},
{
"name": "Python",
"bytes": "41444811"
},
{
"name": "Rich Text Format",
"bytes": "6242"
},
{
"name": "Roff",
"bytes": "191"
},
{
"name": "Ruby",
"bytes": "961"
},
{
"name": "SaltStack",
"bytes": "35856"
},
{
"name": "Scheme",
"bytes": "895"
},
{
"name": "Scilab",
"bytes": "1147"
},
{
"name": "Shell",
"bytes": "524917"
}
],
"symlink_target": ""
} |
/*
Test that we are cycling the servers we are creating during testing.
*/
#include <config.h>
#include <libtest/test.hpp>
#include <libmemcached/memcached.h>
using namespace libtest;
#ifndef __INTEL_COMPILER
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
static std::string executable("./clients/memerror");
static test_return_t help_TEST(void *)
{
const char *args[]= { "--help", 0 };
test_compare(EXIT_SUCCESS, exec_cmdline(executable, args, true));
return TEST_SUCCESS;
}
static test_return_t version_TEST(void *)
{
const char *args[]= { "--version", 0 };
test_compare(EXIT_SUCCESS, exec_cmdline(executable, args, true));
return TEST_SUCCESS;
}
static test_return_t error_test(void *)
{
const char *args[]= { "memcached_success", 0 };
test_compare(EXIT_FAILURE, exec_cmdline(executable, args, true));
return TEST_SUCCESS;
}
static test_return_t SUCCESS_TEST(void *)
{
const char *args[]= { "0", 0 };
test_compare(EXIT_SUCCESS, exec_cmdline(executable, args, true));
return TEST_SUCCESS;
}
static test_return_t bad_input_test(void *)
{
const char *args[]= { "bad input", 0 };
test_compare(EXIT_FAILURE, exec_cmdline(executable, args, true));
return TEST_SUCCESS;
}
test_st memerror_tests[] ={
{"--help", 0, help_TEST},
{"--version", 0, version_TEST},
{"<error>", 0, error_test},
{"0", 0, SUCCESS_TEST},
{"<bad input>", 0, bad_input_test},
{0, 0, 0}
};
collection_st collection[] ={
{"memerror", 0, 0, memerror_tests },
{0, 0, 0, 0}
};
static void *world_create(server_startup_st&, test_return_t& error)
{
if (libtest::has_memcached() == false)
{
error= TEST_SKIPPED;
return NULL;
}
return NULL;
}
void get_world(libtest::Framework* world)
{
world->collections(collection);
world->create(world_create);
}
| {
"content_hash": "46c7aafa290a0c3564c91a46b04f525a",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 70,
"avg_line_length": 18.721649484536083,
"alnum_prop": 0.6580396475770925,
"repo_name": "tony2001/libmemcached",
"id": "76cc96c434570134387a79d112b478a2b8164064",
"size": "3467",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "tests/memerror.cc",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "C",
"bytes": "756296"
},
{
"name": "C++",
"bytes": "1878145"
},
{
"name": "D",
"bytes": "987"
},
{
"name": "Objective-C",
"bytes": "120541"
},
{
"name": "Shell",
"bytes": "10154"
}
],
"symlink_target": ""
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Simple jQuery character countdown in textarea</title>
<meta name="description" content="" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="https://jbrizio.github.io/favicon.ico">
<link rel="stylesheet" type="text/css" href="//jbrizio.github.io/themes/casper/assets/css/screen.css?v=1501181911448" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link rel="canonical" href="https://jbrizio.github.io/2016/08/16/Simple-j-Query-character-countdown-in-textarea.html" />
<meta name="referrer" content="origin" />
<meta property="og:site_name" content="Jonathan Brizio" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Simple jQuery character countdown in textarea" />
<meta property="og:description" content="Looking to build a Twitter-like textarea character countdown to show your users how much space they have remaining? Good. See the below implementation using jQuery: $(document).ready(function() { var maxCharacters = 255; document.getElementById('description').onkeyup = function() { document.getElementById('characters-counter').innerHTML =" />
<meta property="og:url" content="https://jbrizio.github.io/2016/08/16/Simple-j-Query-character-countdown-in-textarea.html" />
<meta property="article:published_time" content="2016-08-16T00:00:00.000Z" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Simple jQuery character countdown in textarea" />
<meta name="twitter:description" content="Looking to build a Twitter-like textarea character countdown to show your users how much space they have remaining? Good. See the below implementation using jQuery: $(document).ready(function() { var maxCharacters = 255; document.getElementById('description').onkeyup = function() { document.getElementById('characters-counter').innerHTML =" />
<meta name="twitter:url" content="https://jbrizio.github.io/2016/08/16/Simple-j-Query-character-countdown-in-textarea.html" />
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Article",
"publisher": "Jonathan Brizio",
"author": {
"@type": "Person",
"name": "Jonathan Brizio",
"image": "https://avatars1.githubusercontent.com/u/4563394?v=4",
"url": "https://jbrizio.github.io/author/jbrizio/",
"sameAs": "http://ar.linkedin.com/in/jonathanbrizio/",
"description": "Front-End Software Developer"
},
"headline": "Simple jQuery character countdown in textarea",
"url": "https://jbrizio.github.io/2016/08/16/Simple-j-Query-character-countdown-in-textarea.html",
"datePublished": "2016-08-16T00:00:00.000Z",
"description": "Looking to build a Twitter-like textarea character countdown to show your users how much space they have remaining? Good. See the below implementation using jQuery: $(document).ready(function() { var maxCharacters = 255; document.getElementById('description').onkeyup = function() { document.getElementById('characters-counter').innerHTML ="
}
</script>
<meta name="generator" content="HubPress" />
<link rel="alternate" type="application/rss+xml" title="Jonathan Brizio" href="https://jbrizio.github.io/rss/" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/styles/atom-one-dark.min.css">
</head>
<body class="post-template nav-closed">
<div class="site-wrapper">
<header class="main-header post-head no-cover">
<nav class="main-nav clearfix">
</nav>
</header>
<main class="content" role="main">
<article class="post">
<header class="post-header">
<h1 class="post-title">Simple jQuery character countdown in textarea</h1>
<section class="post-meta">
<time class="post-date" datetime="2016-08-16">16 August 2016</time>
</section>
</header>
<section class="post-content">
<div class="paragraph">
<p>Looking to build a Twitter-like textarea character countdown to show your users how much space they have remaining? Good. See the below implementation using jQuery:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlight"><code>$(document).ready(function() {
var maxCharacters = 255;
document.getElementById('description').onkeyup = function() {
document.getElementById('characters-counter').innerHTML = (maxCharacters - this.value.length);
};
});</code></pre>
</div>
</div>
<div class="paragraph">
<p>Easy, right? You can view the full demo of this implementation working on: <a href="http://codepen.io/jonathanbrizio/pen/pbYZZy/" class="bare">http://codepen.io/jonathanbrizio/pen/pbYZZy/</a></p>
</div>
</section>
<footer class="post-footer">
<figure class="author-image">
<a class="img" href="https://jbrizio.github.io/author/jbrizio/" style="background-image: url(https://avatars1.githubusercontent.com/u/4563394?v=4)"><span class="hidden">Jonathan Brizio's Picture</span></a>
</figure>
<section class="author">
<h4><a href="https://jbrizio.github.io/author/jbrizio/">Jonathan Brizio</a></h4>
<p>Front-End Software Developer</p>
<div class="author-meta">
<span class="author-location icon-location">Córdoba, Argentina</span>
<span class="author-link icon-link"><a href="http://ar.linkedin.com/in/jonathanbrizio/">http://ar.linkedin.com/in/jonathanbrizio/</a></span>
</div>
</section>
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="https://twitter.com/intent/tweet?text=Simple%20jQuery%20character%20countdown%20in%20textarea&url=https://jbrizio.github.io/"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span>
</a>
<a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u=https://jbrizio.github.io/"
onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;">
<span class="hidden">Facebook</span>
</a>
<a class="icon-google-plus" href="https://plus.google.com/share?url=https://jbrizio.github.io/"
onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;">
<span class="hidden">Google+</span>
</a>
</section>
</footer>
<section class="post-comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'jonathanbrizio'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</section>
</article>
</main>
<aside class="read-next">
</aside>
<footer class="site-footer clearfix">
<section class="copyright"><a href="https://jbrizio.github.io">Jonathan Brizio</a> © 2017</section>
<section class="poweredby">Proudly published with <a href="http://hubpress.io">HubPress</a></section>
</footer>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js?v="></script> <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.min.js?v="></script> <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.10.0/highlight.min.js?v="></script>
<script type="text/javascript">
jQuery( document ).ready(function() {
// change date with ago
jQuery('ago.ago').each(function(){
var element = jQuery(this).parent();
element.html( moment(element.text()).fromNow());
});
});
hljs.initHighlightingOnLoad();
</script>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script type="text/javascript" src="//jbrizio.github.io/themes/casper/assets/js/jquery.fitvids.js?v=1501181911448"></script>
<script type="text/javascript" src="//jbrizio.github.io/themes/casper/assets/js/index.js?v=1501181911448"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-81302818-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
| {
"content_hash": "8e5782e717ec4fef24c98526b008c5e3",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 433,
"avg_line_length": 50.47738693467337,
"alnum_prop": 0.6434046789447486,
"repo_name": "jbrizio/jbrizio.github.io",
"id": "346e5c8d2e0112343abcafbb8aa570ce88c594ed",
"size": "10046",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "2016/08/16/Simple-j-Query-character-countdown-in-textarea.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "330898"
},
{
"name": "CoffeeScript",
"bytes": "6630"
},
{
"name": "HTML",
"bytes": "278244"
},
{
"name": "Handlebars",
"bytes": "150512"
},
{
"name": "JavaScript",
"bytes": "244443"
},
{
"name": "Ruby",
"bytes": "806"
},
{
"name": "SCSS",
"bytes": "140841"
},
{
"name": "Shell",
"bytes": "2265"
}
],
"symlink_target": ""
} |
import metascraper = require('metascraper');
import metascraperSoundcloud = require('metascraper-soundcloud');
const html = 'example';
const url = 'https://example.org';
metascraper([metascraperSoundcloud()])({ html, url }).then(data => {
data;
});
| {
"content_hash": "d48f69098b0183167112571047b577d6",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 68,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.7058823529411765,
"repo_name": "markogresak/DefinitelyTyped",
"id": "ce1c82bb4f0c0c77fad0df0a46b17c77c18e1ab7",
"size": "255",
"binary": false,
"copies": "33",
"ref": "refs/heads/master",
"path": "types/metascraper-soundcloud/metascraper-soundcloud-tests.ts",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CoffeeScript",
"bytes": "15"
},
{
"name": "Protocol Buffer",
"bytes": "678"
},
{
"name": "TypeScript",
"bytes": "17426898"
}
],
"symlink_target": ""
} |
var _curry = require('./_curry');
var _curryN = require('./_curryN');
module.exports = _curry(function flip(fn) {
return _curryN(fn.length, function(a,b){
var tmp = a;
arguments[0] = b;
arguments[1] = tmp;
return fn.apply(this, arguments);
})
});
| {
"content_hash": "f1d474eafcb33107f3582787d01410c6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 26.181818181818183,
"alnum_prop": 0.5590277777777778,
"repo_name": "mwardle/lambdash",
"id": "60e6b30ee998168aa95c36eb91445216e771de09",
"size": "288",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/internal/_flip.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "282553"
}
],
"symlink_target": ""
} |
using namespace std;
using namespace dynet;
// Precision required not to lose accuracy when serializing float32 to text.
// We should probably use std::hexfloat, but it's not supported by some
// older incomplete implementations of C++11.
static const int FLOAT32_PRECISION = 8;
bool valid_key(const std::string & s) {
if (s.size() == 0) return true;
if (s == "/") return false;
auto it = std::find_if(s.begin(), s.end(),
[] (char ch) { return ch == ' ' || ch == '#';});
return it == s.end();
}
bool valid_pc_key(const std::string & s) {
if (s.size() == 0) return true;
if (!(startswith(s, "/"))) return false;
return valid_key(s);
}
bool grad_is_zero(const ParameterStorageBase & p){
return !p.has_grad();
}
void read_param_header(string line, string &type, string &name, Dim& dim,size_t& byte_count, bool& zero_grad){
// Read header
istringstream iss(line);
iss >> type >> name >> dim >> byte_count;
// Check whether gradient is 0
// Check for EOF (for backward compatibility)
string grad;
if (!iss.eof()){
iss >> grad;
if (grad == "ZERO_GRAD")
zero_grad = true;
}
}
TextFileSaver::TextFileSaver(const string & filename, bool append) :
datastream(filename, append ? ofstream::app : ofstream::out) {
if(!datastream)
DYNET_RUNTIME_ERR("Could not write model to " << filename);
}
void TextFileSaver::save(const ParameterCollection & model,
const string & key) {
if (!valid_pc_key(key))
DYNET_INVALID_ARG("Key should start with '/' and could not include ' ' or '#': " << key);
string key_ = key;
if (key_.back() != '/') key_ += "/";
const ParameterCollectionStorage & storage = model.get_storage();
if(key.size() == 0) {
for (auto & p : storage.params) save(*p, key);
for (auto & p : storage.lookup_params) save(*p, key);
} else {
size_t strip_size = model.get_fullname().size();
for (auto & p : storage.params)
save(*p, key_ + p->name.substr(strip_size));
for (auto & p : storage.lookup_params)
save(*p, key_ + p->name.substr(strip_size));
}
}
void TextFileSaver::save(const Parameter & param,
const string & key) {
if (!valid_key(key))
DYNET_INVALID_ARG("Key could not include ' ' or '#': " << key);
save(*param.p, key);
}
void TextFileSaver::save(const LookupParameter & param,
const string & key) {
if (!valid_key(key))
DYNET_INVALID_ARG("Key could not include ' ' or '#': " << key);
save(*param.p, key);
}
void TextFileSaver::save(const ParameterStorage & p,
const string & key) {
std::ostringstream buffer;
buffer.precision(FLOAT32_PRECISION);
buffer << dynet::as_vector(p.values) << endl;
bool zero_grad = grad_is_zero(p);
if(!zero_grad)
buffer << dynet::as_vector(p.g) << endl;
datastream << "#Parameter# " << (key.size() > 0 ? key : p.name) << ' '
<< p.dim << ' ' << buffer.str().size();
if(zero_grad)
datastream << " ZERO_GRAD";
else
datastream << " FULL_GRAD";
datastream << endl;
datastream.write(buffer.str().c_str(), buffer.str().size());
}
void TextFileSaver::save(const LookupParameterStorage & p,
const string & key) {
std::ostringstream buffer;
buffer.precision(FLOAT32_PRECISION);
buffer << dynet::as_vector(p.all_values) << endl;
bool zero_grad = grad_is_zero(p);
if(!zero_grad)
buffer << dynet::as_vector(p.all_grads) << endl;
datastream << "#LookupParameter# " << (key.size() > 0 ? key : p.name) << ' ' << p.all_dim << ' ' << buffer.str().size();
if(zero_grad)
datastream << " ZERO_GRAD";
else
datastream << " FULL_GRAD";
datastream << endl;
datastream.write(buffer.str().c_str(), buffer.str().size());
}
TextFileLoader::TextFileLoader(const string & filename) :
dataname(filename) { }
void TextFileLoader::populate(ParameterCollection & model, const string & key) {
ifstream datastream(dataname);
if(!datastream) DYNET_RUNTIME_ERR("Could not read model from " << dataname);
string line, type, name;
bool zero_grad = false;
Dim dim;
size_t byte_count = 0;
vector<float> values;
Tensor *value_t, *grad_t;
size_t param_id = 0, lookup_id = 0;
ParameterCollectionStorage & storage = model.get_storage();
string key_ = key;
if (key_.back() != '/') key_ += "/";
while(getline(datastream, line)) {
read_param_header(line, type, name, dim, byte_count, zero_grad);
// Skip ones that don't match
if(key.size() != 0 && name.substr(0, key_.size()) != key_) {
size_t offset = static_cast<size_t>(datastream.tellg()) + byte_count;
datastream.seekg(offset);
continue;
// Load a parameter
} else if(type == "#Parameter#") {
values.resize(dim.size());
if(param_id >= storage.params.size())
DYNET_RUNTIME_ERR("Too many parameters to load in populated model at " << name);
ParameterStorage & param = *storage.params[param_id++];
if(param.dim != dim)
DYNET_RUNTIME_ERR("Dimensions of parameter " << name << " looked up from file (" << dim <<
") do not match parameters to be populated (" << param.dim << ")");
value_t = ¶m.values;
grad_t = ¶m.g;
// Load a lookup parameter
} else if(type == "#LookupParameter#") {
values.resize(dim.size());
if(lookup_id >= storage.lookup_params.size())
DYNET_RUNTIME_ERR("Too many lookup parameters in populated model at " << name);
LookupParameterStorage & param = *storage.lookup_params[lookup_id++];
if(param.all_dim != dim)
DYNET_RUNTIME_ERR("Dimensions of lookup parameter " << name << " lookup up from file (" << dim <<
") do not match parameters to be populated (" << param.all_dim << ")");
value_t = ¶m.all_values;
grad_t = ¶m.all_grads;
} else {
DYNET_RUNTIME_ERR("Bad parameter specification in model: " << line);
}
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(*value_t, values);
if(!zero_grad){
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(*grad_t, values);
} else {
TensorTools::zero(*grad_t);
}
}
if(param_id != storage.params.size() || lookup_id != storage.lookup_params.size())
DYNET_RUNTIME_ERR("Number of parameter/lookup parameter objects loaded from file (" <<
param_id << '/' << lookup_id << ") did not match number to be populated (" <<
storage.params.size() << '/' << storage.lookup_params.size() << ')');
}
void TextFileLoader::populate(Parameter & param,
const string & key) {
if(key == "")
DYNET_INVALID_ARG("TextFileLoader.populate() requires non-empty key");
ifstream datastream(dataname);
if(!datastream) DYNET_RUNTIME_ERR("Could not read model from " << dataname);
string line, type, name;
bool zero_grad=false;
Dim dim;
size_t byte_count = 0;
while(getline(datastream, line)) {
read_param_header(line, type, name, dim, byte_count, zero_grad);
if(type == "#Parameter#" && name == key) {
if(param.p->dim != dim)
DYNET_RUNTIME_ERR("Attempted to populate parameter where arguments don't match (" << param.p->dim << " != " << dim << ")");
vector<float> values(dim.size());
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(param.get_storage().values, values);
if(!zero_grad){
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(param.get_storage().g, values);
} else {
TensorTools::zero(param.get_storage().g);
}
return;
} else {
size_t offset = static_cast<size_t>(datastream.tellg()) + byte_count;
datastream.seekg(offset);
}
}
DYNET_RUNTIME_ERR("Could not find key " << key << " in the model file");
}
void TextFileLoader::populate(LookupParameter & lookup_param,
const string & key) {
if(key == "")
DYNET_INVALID_ARG("TextFileLoader.populate() requires non-empty key");
ifstream datastream(dataname);
if(!datastream) DYNET_RUNTIME_ERR("Could not read model from " << dataname);
string line, type, name;
bool zero_grad=false;
Dim dim;
size_t byte_count = 0;
while(getline(datastream, line)) {
read_param_header(line, type, name, dim, byte_count, zero_grad);
if(type == "#LookupParameter#" && name == key) {
if(lookup_param.p->all_dim != dim)
DYNET_RUNTIME_ERR("Attempted to populate lookup parameter where arguments don't match (" << lookup_param.p->all_dim << " != " << dim << ")");
vector<float> values(dim.size());
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(lookup_param.get_storage().all_values, values);
if(!zero_grad){
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(lookup_param.get_storage().all_grads, values);
} else {
TensorTools::zero(lookup_param.get_storage().all_grads);
}
return;
} else {
size_t offset = static_cast<size_t>(datastream.tellg()) + byte_count;
datastream.seekg(offset);
}
}
DYNET_RUNTIME_ERR("Could not find key " << key << " in the model file");
}
Parameter TextFileLoader::load_param(ParameterCollection & model,
const string & key) {
if(key == "")
DYNET_INVALID_ARG("TextFileLoader.load_param() requires non-empty key");
ifstream datastream(dataname);
if(!datastream) DYNET_RUNTIME_ERR("Could not read model from " << dataname);
string line, type, name;
bool zero_grad=false;
Dim dim;
size_t byte_count = 0;
while(getline(datastream, line)) {
read_param_header(line, type, name, dim, byte_count, zero_grad);
if(type == "#Parameter#" && name == key) {
Parameter param = model.add_parameters(dim);
param.get_storage().name = name;
vector<float> values(dim.size());
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(param.get_storage().values, values);
if(!zero_grad){
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(param.get_storage().g, values);
} else {
TensorTools::zero(param.get_storage().g);
}
return param;
} else {
size_t offset = static_cast<size_t>(datastream.tellg()) + byte_count;
datastream.seekg(offset);
}
}
DYNET_RUNTIME_ERR("Could not find key " << key << " in the model file");
}
LookupParameter TextFileLoader::load_lookup_param(ParameterCollection & model,
const string & key) {
if(key == "")
DYNET_INVALID_ARG("TextFileLoader.load_lookup_param() requires non-empty key");
ifstream datastream(dataname);
if(!datastream) DYNET_RUNTIME_ERR("Could not read model from " << dataname);
string line, type, name;
bool zero_grad=false;
Dim dim;
size_t byte_count = 0;
while(getline(datastream, line)) {
read_param_header(line, type, name, dim, byte_count, zero_grad);
if(type == "#LookupParameter#" && name == key) {
vector<float> values(dim.size());
size_t size = dim[dim.nd-1]; dim.nd--;
LookupParameter lookup_param = model.add_lookup_parameters(size, dim);
lookup_param.get_storage().name = name;
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(lookup_param.get_storage().all_values, values);
if(!zero_grad){
{ getline(datastream, line); istringstream iss(line); iss >> values; }
TensorTools::set_elements(lookup_param.get_storage().all_grads, values);
} else {
TensorTools::zero(lookup_param.get_storage().all_grads);
}
return lookup_param;
} else {
size_t offset = static_cast<size_t>(datastream.tellg()) + byte_count;
datastream.seekg(offset);
}
}
DYNET_RUNTIME_ERR("Could not find key " << key << " in the model file");
}
| {
"content_hash": "064f7658d9873ca0d738b1735b713077",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 149,
"avg_line_length": 39.72168284789644,
"alnum_prop": 0.6126772038455272,
"repo_name": "Abasyoni/dynet",
"id": "a081a00058055b2fb9b746f84097d32ab0fadac3",
"size": "12377",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "dynet/io.cc",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C++",
"bytes": "981345"
},
{
"name": "CMake",
"bytes": "27806"
},
{
"name": "Cuda",
"bytes": "18871"
},
{
"name": "Java",
"bytes": "2844"
},
{
"name": "Makefile",
"bytes": "697"
},
{
"name": "Python",
"bytes": "281453"
},
{
"name": "Scala",
"bytes": "96037"
}
],
"symlink_target": ""
} |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "072bd8f4a60de2838f367959187da64d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "455d82a72fdace7bdac39db3cc4d1bde96b7ff42",
"size": "208",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Orchidaceae/Cyclopogon/Cyclopogon inaequilaterus/ Syn. Stigmatosema inaequilatera/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
using System;
using System.Collections.Generic;
namespace Spine {
/// <summary>Stores attachments by slot index and attachment name.
/// <para>See SkeletonData <see cref="Spine.SkeletonData.DefaultSkin"/>, Skeleton <see cref="Spine.Skeleton.Skin"/>, and
/// <a href="http://esotericsoftware.com/spine-runtime-skins">Runtime skins</a> in the Spine Runtimes Guide.</para>
/// </summary>
public class Skin {
internal string name;
private Dictionary<AttachmentKeyTuple, Attachment> attachments =
new Dictionary<AttachmentKeyTuple, Attachment>(AttachmentKeyTupleComparer.Instance);
public string Name { get { return name; } }
public Dictionary<AttachmentKeyTuple, Attachment> Attachments { get { return attachments; } }
public Skin (string name) {
if (name == null) throw new ArgumentNullException("name", "name cannot be null.");
this.name = name;
}
/// <summary>Adds an attachment to the skin for the specified slot index and name. If the name already exists for the slot, the previous value is replaced.</summary>
public void AddAttachment (int slotIndex, string name, Attachment attachment) {
if (attachment == null) throw new ArgumentNullException("attachment", "attachment cannot be null.");
attachments[new AttachmentKeyTuple(slotIndex, name)] = attachment;
}
/// <summary>Returns the attachment for the specified slot index and name, or null.</summary>
/// <returns>May be null.</returns>
public Attachment GetAttachment (int slotIndex, string name) {
Attachment attachment;
attachments.TryGetValue(new AttachmentKeyTuple(slotIndex, name), out attachment);
return attachment;
}
/// <summary>Finds the skin keys for a given slot. The results are added to the passed List(names).</summary>
/// <param name="slotIndex">The target slotIndex. To find the slot index, use <see cref="Spine.Skeleton.FindSlotIndex"/> or <see cref="Spine.SkeletonData.FindSlotIndex"/>
/// <param name="names">Found skin key names will be added to this list.</param>
public void FindNamesForSlot (int slotIndex, List<string> names) {
if (names == null) throw new ArgumentNullException("names", "names cannot be null.");
foreach (AttachmentKeyTuple key in attachments.Keys)
if (key.slotIndex == slotIndex) names.Add(key.name);
}
/// <summary>Finds the attachments for a given slot. The results are added to the passed List(Attachment).</summary>
/// <param name="slotIndex">The target slotIndex. To find the slot index, use <see cref="Spine.Skeleton.FindSlotIndex"/> or <see cref="Spine.SkeletonData.FindSlotIndex"/>
/// <param name="attachments">Found Attachments will be added to this list.</param>
public void FindAttachmentsForSlot (int slotIndex, List<Attachment> attachments) {
if (attachments == null) throw new ArgumentNullException("attachments", "attachments cannot be null.");
foreach (KeyValuePair<AttachmentKeyTuple, Attachment> entry in this.attachments)
if (entry.Key.slotIndex == slotIndex) attachments.Add(entry.Value);
}
override public string ToString () {
return name;
}
/// <summary>Attach all attachments from this skin if the corresponding attachment from the old skin is currently attached.</summary>
internal void AttachAll (Skeleton skeleton, Skin oldSkin) {
foreach (KeyValuePair<AttachmentKeyTuple, Attachment> entry in oldSkin.attachments) {
int slotIndex = entry.Key.slotIndex;
Slot slot = skeleton.slots.Items[slotIndex];
if (slot.Attachment == entry.Value) {
Attachment attachment = GetAttachment(slotIndex, entry.Key.name);
if (attachment != null) slot.Attachment = attachment;
}
}
}
public struct AttachmentKeyTuple {
public readonly int slotIndex;
public readonly string name;
internal readonly int nameHashCode;
public AttachmentKeyTuple (int slotIndex, string name) {
this.slotIndex = slotIndex;
this.name = name;
nameHashCode = this.name.GetHashCode();
}
}
// Avoids boxing in the dictionary.
class AttachmentKeyTupleComparer : IEqualityComparer<AttachmentKeyTuple> {
internal static readonly AttachmentKeyTupleComparer Instance = new AttachmentKeyTupleComparer();
bool IEqualityComparer<AttachmentKeyTuple>.Equals (AttachmentKeyTuple o1, AttachmentKeyTuple o2) {
return o1.slotIndex == o2.slotIndex && o1.nameHashCode == o2.nameHashCode && o1.name == o2.name;
}
int IEqualityComparer<AttachmentKeyTuple>.GetHashCode (AttachmentKeyTuple o) {
return o.slotIndex;
}
}
}
}
| {
"content_hash": "17beeca4629fb4d58c373b0c1e2fc8c2",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 172,
"avg_line_length": 46.402061855670105,
"alnum_prop": 0.7380582092868252,
"repo_name": "Code-Ponys/MixedUpTales-0.2.0",
"id": "7134b7ca36a779f6d20261d882d7e066c835aaad",
"size": "6336",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "Assets/Resources/Animations/spine-csharp/src/Skin.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "C#",
"bytes": "1378243"
},
{
"name": "HLSL",
"bytes": "86769"
},
{
"name": "ShaderLab",
"bytes": "81753"
}
],
"symlink_target": ""
} |
/**
* RSA Public Key cryptography
* @author Antoine Delignat-Lavaud
* @description
* <p>An implementation of PKCS#1 v2.1.</p>
* <p>The main difference with other PKCS#1 implementations
* is the format of the keys. Instead of using ASN.1 for
* encoding, the keys are stored in an equivalent JSON object.
* For a public key, the fields are 'n' for the modulus and
* 'e' for the public exponent. In addition, a private key must
* contain the CRT values 'dmp1', 'dmq1', 'p', 'q' and 'iqmp'
* (the private exponent 'd' is not required because it is not
* used for decryption; using BigInteger it is easy to compute
* 'dmp1', 'dmq1' and 'iqmp' from 'd', 'p' and 'q').</p>
* <p>Use the following PHP script (requires the openssl extension)
* to convert a PKCS#1 key to JSON:</p>
* <pre>#!/usr/bin/env php
* <?
* if(count($argv)<2) die("Usage: {$argv[0]} file.pem\n");
* $f = "file://{$argv[1]}";
* if(!($k = openssl_pkey_get_private($f)))
* dir("Failed to import private key {$argv[1]}.\n");
* $d = openssl_pkey_get_details($k);
* $pk = $d['rsa'];
* foreach($pk as $p=>$v) $pk[$p] = bin2hex($v);
* echo json_encode($pk)."\n";</pre>
* @requires BigInteger
* @requires encoding
* @requires hashing
* @namespace
*/
var rsa =
{
/** Label of OAEP encryption, an ASCII string empty by default.
* Can be of any length since it will be hash using rsa.encryption_hash
*/
label: '',
/** Salt of PSS signature, an ASCII string empty by default.
* The max length is n-h-2 where n is the modulus size in bytes and h the
* size in bytes of the output of the hash function.
*/
salt: '',
/** Hash function to use for OAEP label (hashing.sha256 by default) */
encryption_hash: hashing.sha256,
/** Hash function to use for MGF function (hashing.sha256 by default) */
mgf_hash: hashing.sha256,
/** Hash function to use for PSS signature (hashing.sha256 by default) */
signature_hash: hashing.sha256,
/** If something fails, this code provides information about the error.
* <table width="100%"><tr><th>Code</th><th>Description</th></tr>
* <tr><th>0</td><td>No error.</td></tr>
* <tr><th>1</td><td>Message is too long for the modulus.</td></tr>
* <tr><th>2</td><td>Invalid length of the input to decrypt or verify.</td></tr>
* <tr><th>3</td><td>Top byte/bit is not zero after decryption/verification.</td></tr>
* <tr><th>4</td><td>Incorrect padding of encrypted/signature data.</td></tr>
* <tr><th>5</td><td>Bad label of OAEP encryption.</td></tr>
* <tr><th>6</td><td>PSS salt is too long for modulus.</td></tr>
* <tr><th>7</td><td>Invalid PSS padding byte in PSS signature.</td></tr>
* </table> */
error_code: 0,
/** RSAES-OAEP-ENCRYPT encryption.
* @param {string} m Message to encode, an ASCII string
* @param {publicKey} pub Public key
* @returns {string} Hex string representing the encrypted message
*/
encrypt: function(message, pub)
{
var m = encoding.astr2hstr(message)+'', l = m.length>>1,
N = BigInteger.create(pub.n+''), E = BigInteger.create(pub.e+''),
h = this.encryption_hash, n = BigInteger.bitLength(N)>>3,
i = 0, DB = '', pad = '', sm = '', hs = h.size, w = this.label+'',
seed = encoding.astr2hstr(h.hash(message+w));// Should be random
if(n-2*hs-2 < l){this.error_code = 1; return '' }
for(i=0; i < n-2*hs-2-l; i++) pad += '00';
DB = encoding.astr2hstr(h.hash(w)) + pad + '01' + m;
// Mask
pad = this.MGF(seed, n-hs-1);
DB = BigInteger.toString(BigInteger.xor(BigInteger.create(DB),BigInteger.create(pad)));
if(!!(DB.length&1)) DB = '0'+DB;
// Final message
sm = BigInteger.toString(BigInteger.xor(BigInteger.create(seed), BigInteger.create(this.MGF(DB, hs))));
DB = BigInteger.toString(BigInteger.expMod(BigInteger.create(sm+DB), E, N));
if(!!(DB.length&1)) DB = '0'+DB;
this.error_code = 0;
return DB;
},
/** RSADP/RSASP1 - Computes m^d mod n using CRT coefficients.
* @private
* @param {string} message Hex-encoded message
* @param {privateKey} priv Private key object
* @returns {string} Hex string representing m^d mod n
*/
_private: function(message, priv)
{
var C = BigInteger.create(message), dP = BigInteger.create(priv.dmp1),
dQ = BigInteger.create(priv.dmq1), P = BigInteger.create(priv.p),
Q = BigInteger.create(priv.q), qInv = BigInteger.create(priv.iqmp),
M = BigInteger.create("0");
// CRT decryption
dP = BigInteger.expMod(C,dP,P); // m1 = c ^ dP mod p
dQ = BigInteger.expMod(C,dQ,Q);// m2 = c ^ dQ mod q
BigInteger.subTo(dP, dQ, M);
BigInteger.multiplyTo(M, qInv, C);
BigInteger.multiplyTo(Q, BigInteger.mod(C,P), M); // h = qInv * (m1 - m2) mod p
BigInteger.subTo(dQ, BigInteger.negate(M), C); // m = m2 + h * q
return BigInteger.toString(C);
},
/** RSAES-OAEP-DECRYPT decryption.
* @param {string} message Hex string containing the encrypted data
* @param {privateKey} priv Private Key
* @returns {string} ASCII string representing the original message, or an empty string if decryption failed.
*/
decrypt: function(message, priv)
{
var m = message+'', l = m.length>>1,
n = BigInteger.bitLength(BigInteger.create(priv.n+''))>>3,
f = false, DB = '', sm = '', pad = '', i = 0,
h = this.encryption_hash, hs = h.size;
if(n != l){ this.error_code = 2; return "" }
DB = this._private(m,priv);
for(i = (n<<1)-DB.length; i>0; i--) DB = '0'+DB;
// Parsing and unmasking
for(i=0; i < DB.length; i++)
{
if(i<2){ if(DB[i] != '0'){ this.error_code = 3; return ''}}
else if(i < 2*(hs+1)) sm += DB[i];
else pad += DB[i];
}
DB = this.MGF(pad, hs);
sm = BigInteger.toString(BigInteger.xor(BigInteger.create(sm), BigInteger.create(DB)));
DB = this.MGF(sm, n-hs-1);
DB = BigInteger.toString(BigInteger.xor(BigInteger.create(pad),BigInteger.create(DB)));
if(!!(DB.length&1)) DB='0'+DB;
// Unpadding
m = ''; f = false; sm = '';
for(i=0; i < DB.length; i++)
{
if(i < 2*hs){sm += DB[i]; continue;}
pad = DB[i];
if(f) m += pad;
else
{
if(pad == "1"){ if(!(i&1)) break; else f = true; }
else if(pad != "0") break;
}
}
if(!sm){this.error_code = 4; return "" }
if(sm != encoding.astr2hstr(h.hash(this.label))){ this.error_code = 5; return "" }
this.error_code = 0;
return encoding.hstr2astr(m);
},
/** RSASSA-PSS-SIGN signature using rsa.signature_hash.
* @param {string} message ASCII string containing the data to sign
* @param {privateKey} priv Private Key
* @returns {string} Hex string representing a PSS signature for the data
*/
sign: function(message, priv)
{
var h = this.signature_hash, m = h.hash(message+''),
DB = '', sm = '', pad = '', salt = this.salt+'',
sl = salt.length, i = 0, hs = h.size,
n = BigInteger.bitLength(BigInteger.create(priv.n+''))>>3;
if(n-hs-2 < sl){this.error_code = 6; return ""}
m = encoding.astr2hstr(h.hash("\x00\x00\x00\x00\x00\x00\x00\x00"+m+salt));
sm = "01"+encoding.astr2hstr(salt);
for(i = sm.length>>1; i < n-sl-hs-2; i++) pad+="00";
DB = this.MGF(m, n-hs-1);
// Most significant bit - PSS could be using a byte like OAEP...
sm = (+('0x'+(0<DB.length?DB[0]:"0"))>>3==0?"00":"80") + pad + sm;
DB = BigInteger.toString(BigInteger.xor(BigInteger.create(DB), BigInteger.create(sm)));
DB += m+'bc';
DB = this._private(DB, priv);
if(!!(DB.length&1)) DB='0'+DB;
this.error_code = 0;
return DB;
},
/** EMSA-PKCS1-v1_5-ENCODE
* @private
*/
_pkcs1_sig_pad: function(m, n)
{
var h = this.signature_hash, m = h.hash(m+''),
res = '', pad = '', i = 0;
// DER octet string of hash
m = "04"+encoding.b2h(h.size)+encoding.astr2hstr(m);
res = h.identifier + '';
res = '06'+encoding.b2h(res.length>>1)+res+'0500';
res = '30'+encoding.b2h(res.length>>1)+res+m;
res = '0030'+encoding.b2h(res.length>>1)+res;
for(i=res.length>>1; i < n-2; i++) pad += "ff";
return '0001'+pad+res;
},
/** RSASSA-PKCS1-V1_5-SIGN signature using rsa.signature_hash.
* @param {string} message ASCII string containing the data to sign
* @param {privateKey} priv Private Key
* @returns {string} Hex string representing a PKCS1v1.5 signature for the data
*/
sign_pkcs1_v1_5: function(message, priv)
{
var res = '',
n = BigInteger.bitLength(BigInteger.create(priv.n+''))>>3;
res = this._private(this._pkcs1_sig_pad(message, n), priv);
if(!!(res.length&1)) res = '0'+res;
this.error_code = 0;
return res;
},
/** RSASSA-PSS-VERIFY signature verification using rsa.signature_hash.
* @param {string} data ASCII string containing the signed data
* @param {string} signature Hex string containing the signature of the data
* @param {publicKey} pub Public key of the expected sender
* @returns {boolean} whether s is a valid signature for m from pub
*/
verify: function(data, signature, pub)
{
var h = this.signature_hash, hs = h.size,
m = h.hash(data+''), s = signature+'',
N = BigInteger.create(pub.n+''), k = s.length>>1,
E = BigInteger.create(pub.e+''), n = BigInteger.bitLength(N)>>3,
i = 0, DB = '', sm = '', pad = '', f = false;
if(k != n){this.error_code = 2; return false }
s = BigInteger.toString(BigInteger.expMod(BigInteger.create(s), E, N));
while(s.length != 2*n) s='0'+s;
if(+(0<s.length?s[0]:'0')>>3 != 0){this.error_code = 3; return false }
for(i=0; i<s.length; i++)
{
if(i < 2*(n-hs-1)) DB += s[i];
else if(i < 2*(n-1)) sm += s[i];
else pad += s[i];
}
if(pad != "bc"){ this.error_code = 7; return false }
s = sm; sm = this.MGF(sm, n-hs-1);
DB = BigInteger.toString(BigInteger.xor(BigInteger.create(DB), BigInteger.create(sm)));
if(!!(DB.length&1)) DB='0'+DB;
sm = "";
for(i=0; i < DB.length; i++)
{
pad = DB[i];
if(!i){ if(pad != "0" && pad != "8") return false; }
else if(f) sm += pad;
else
{
if(pad == "1" && !!(i&1)){f = true; continue;}
if(pad != "0"){ this.error_code = 4; return false }
}
}
sm = encoding.hstr2astr(sm);
this.error_code = 0;
return encoding.astr2hstr(h.hash("\x00\x00\x00\x00\x00\x00\x00\x00"+m+sm)) == s;
},
/** RSASSA-PKCS1-V1_5-VERIFY signature verification using rsa.signature_hash.
* @param {string} data ASCII string containing the signed data
* @param {string} signature Hex string containing the signature of the data
* @param {publicKey} pub Public key of the expected sender
* @returns {boolean} whether s is a valid signature for m from pub
*/
verify_pkcs1_v1_5: function(data, signature, pub)
{
var N = BigInteger.create(pub.n+''), E = BigInteger.create(pub.e+''),
s = signature+'', k = s.length >> 1, n = BigInteger.bitLength(N)>>3,
res = this._pkcs1_sig_pad(data, n);
if(k != n){this.error_code = 2; return false }
s = BigInteger.toString(BigInteger.expMod(BigInteger.create(s), E, N));
while(s.length != 2*n) s='0'+s;
return s == res;
},
/** MGF1 message generating function. Underlying hash function is rsa.mgf_hash
* @param {string} seed Hex string containing the seed for message generation
* @param {number} length Length n of the requested message in bytes
* @returns {string} Hex string of the desired length
*/
MGF: function(seed, length)
{
var res = '', c = '', i = 0, j = 0, h = this.mgf_hash,
len = length<<1, hs = h.size,
n = (length/hs |0) + (!(length%hs) ? 0 :1);
for(i=0; i<n; i++)
{
for(c = '', j = 0; j < 4; j++)
c += encoding.b2h((i>>(24-8*j))&255);
c = encoding.astr2hstr(h.hash(encoding.hstr2astr(seed+c)));
for(j=0; j < c.length; j++)
{
res += c[j];
if(res.length == len) return res;
}
}
return res;
}
};
| {
"content_hash": "ba2e905a9ebfe23c372311ac77e19dd2",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 110,
"avg_line_length": 35.76969696969697,
"alnum_prop": 0.6086919688241275,
"repo_name": "ad-l/djcl",
"id": "b0a3f4ea2255818027f9742531d60dd4da432aed",
"size": "11804",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/rsa.js",
"mode": "33188",
"license": "bsd-2-clause",
"language": [
{
"name": "JavaScript",
"bytes": "95804"
},
{
"name": "Makefile",
"bytes": "1349"
}
],
"symlink_target": ""
} |
package org.assertj.core.util.diff;
import static org.assertj.core.util.Preconditions.checkState;
import java.util.List;
/**
* Initially copied from https://code.google.com/p/java-diff-utils/.
* <p>
* Describes the change-delta between original and revised texts.
*
* @author <a href="dm.naumenko@gmail.com">Dmitry Naumenko</a>
* @param <T> The type of the compared elements in the 'lines'.
*/
public class ChangeDelta<T> extends Delta<T> {
/**
* Creates a change delta with the two given chunks.
* @param original The original chunk. Must not be {@code null}.
* @param revised The original chunk. Must not be {@code null}.
*/
public ChangeDelta(Chunk<T> original, Chunk<T> revised) {
super(original, revised);
}
/**
* {@inheritDoc}
*/
@Override
public void applyTo(List<T> target) throws IllegalStateException {
verify(target);
int position = getOriginal().getPosition();
int size = getOriginal().size();
for (int i = 0; i < size; i++) {
target.remove(position);
}
int i = 0;
for (T line : getRevised().getLines()) {
target.add(position + i, line);
i++;
}
}
/**
* {@inheritDoc}
*/
@Override
public void verify(List<T> target) throws IllegalStateException {
getOriginal().verify(target);
checkState(getOriginal().getPosition() <= target.size(),
"Incorrect patch for delta: delta original position > target size");
}
@Override
public TYPE getType() {
return Delta.TYPE.CHANGE;
}
}
| {
"content_hash": "f6675a3c09b5b3e76425389b55ccbca3",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 83,
"avg_line_length": 25.915254237288135,
"alnum_prop": 0.6461739699149771,
"repo_name": "ChrisCanCompute/assertj-core",
"id": "85cf9f68678c1e1145de117b4af6e89621f3ecf9",
"size": "2136",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/main/java/org/assertj/core/util/diff/ChangeDelta.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "4994"
},
{
"name": "Java",
"bytes": "10239517"
},
{
"name": "Shell",
"bytes": "47288"
}
],
"symlink_target": ""
} |
<?php
$root = $_SERVER['DOCUMENT_ROOT'];
require_once($root.'/models/back/Media_Model.php');
require_once($root.'/models/back/Layout_Model.php');
require_once $root.'/backends/admin-backend.php';
require_once $root.'/Framework/Tools.php';
switch ($_GET['option'])
{
// Upload
case 1:
$model = new Layout_Model();
$data = $backend->loadBackend();
$allowedExtensions = array("jpg", "JPG", "jpeg", "png");
$sizeLimit = 20 * 1024 * 1024;
$uploader = new Media_Model($allowedExtensions, $sizeLimit);
$savePath = $root.'/img-up/companies_pictures/original/';
$medium = $root.'/img-up/companies_pictures/sliders-medium/';
$pre = Tools::slugify($_POST['companyName']);
$mediumWidth = 640;
if ($result = $uploader->handleUpload($savePath, $pre))
{
$uploader->getThumb($result['fileName'] , $savePath, $medium, $mediumWidth,
'width', '');
$newData = getimagesize($medium.$result['fileName']);
$wp = $newData[0];
$hp = $newData[1];
$lastId = 0;
if ($newData)
{
$lastId = $model->addCompanySlider($_POST['companyId'], $result['fileName']);
}
$data = array('success'=>true, 'fileName'=>$result['fileName'],
'wp'=>$wp, 'hp'=>$hp, 'lastId'=>$lastId);
echo htmlspecialchars(json_encode($data), ENT_NOQUOTES);
}
break;
// Crop
case 2:
$model = new Media_Model();
$data = $backend->loadBackend();
if (!empty($_POST))
{
$dstWidth = 640;
$dstImageHeight = 255;
$source = $root.'/img-up/companies_pictures/original/'.$_POST['imgId'];
$destination = $root.'/img-up/companies_pictures/sliders/'.$_POST['imgId'];
if ($model -> cropImage($_POST, $dstWidth, $dstImageHeight, $source, $destination))
{
echo '1';
}
else
{
echo '0';
}
}
break;
// Delete
case 3:
$model = new Layout_Model();
if (!empty($_POST))
{
if ($model->deleteCompanySlider($_POST['sliderId']))
echo 1;
}
break;
}
?> | {
"content_hash": "04b33e5f7cdacb1932bfe714770e6398",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 86,
"avg_line_length": 23.294117647058822,
"alnum_prop": 0.5898989898989899,
"repo_name": "raulcastro/properties",
"id": "e8580f888c2cd5911c9bcc5ab0b67dac4c8d0c2b",
"size": "1980",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "ajax/back/company-media-sliders.php",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "ApacheConf",
"bytes": "3421"
},
{
"name": "CSS",
"bytes": "124106"
},
{
"name": "Groff",
"bytes": "202148"
},
{
"name": "JavaScript",
"bytes": "275493"
},
{
"name": "PHP",
"bytes": "597615"
},
{
"name": "Shell",
"bytes": "165"
}
],
"symlink_target": ""
} |
/**
* RNS3
*/
import { Request } from './Request';
import { S3Policy } from './S3Policy';
const EXPECTED_RESPONSE_KEY_VALUE_RE = {
key: /<Key>(.*)<\/Key>/,
etag: /<ETag>"?([^"]*)"?<\/ETag>/,
bucket: /<Bucket>(.*)<\/Bucket>/,
location: /<Location>(.*)<\/Location>/,
}
const extractResponseValues = (responseText) => {
return null == responseText ? null : Object.keys(EXPECTED_RESPONSE_KEY_VALUE_RE)
.reduce((result, key) => {
let match = responseText.match(EXPECTED_RESPONSE_KEY_VALUE_RE[key]);
return Object.assign(result, { [key]: match && match[1] });
}, {});
}
const setBodyAsParsedXML = (response) => {
return Object.assign(response, { body: { postResponse: extractResponseValues(response.text) } });
}
export class RNS3 {
static put(file, options) {
options = Object.assign({}, options, {
key: (options.keyPrefix || '') + file.name,
contentType: file.type
});
let url = `https://${ options.bucket }.s3.amazonaws.com`;
let method = "POST";
let policy = S3Policy.generate(options);
return Request.create(url, method, policy)
.set("file", file)
.send()
.then(setBodyAsParsedXML);
}
}
| {
"content_hash": "b78158ddf13a7cefc4c6e1c9ee698466",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 99,
"avg_line_length": 26.954545454545453,
"alnum_prop": 0.6087689713322091,
"repo_name": "kelong/react-native-with-amazon-s3",
"id": "e74b54c000e49f28e98df36c9cb2f45dae60d7b7",
"size": "1186",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "node_modules/react-native-aws3/src/RNS3.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "773052"
},
{
"name": "JavaScript",
"bytes": "30465"
},
{
"name": "Objective-C",
"bytes": "5165"
}
],
"symlink_target": ""
} |
package org.apache.flink.table.api
import org.apache.calcite.rel.RelNode
import org.apache.flink.api.common.typeinfo.TypeInformation
import org.apache.flink.api.java.operators.join.JoinType
import org.apache.flink.table.calcite.FlinkRelBuilder
import org.apache.flink.table.calcite.FlinkTypeFactory
import org.apache.flink.table.expressions.{Alias, Asc, Expression, ExpressionParser, Ordering, UnresolvedAlias, UnresolvedFieldReference}
import org.apache.flink.table.functions.utils.UserDefinedFunctionUtils
import org.apache.flink.table.plan.ProjectionTranslator._
import org.apache.flink.table.plan.logical.{Minus, _}
import org.apache.flink.table.sinks.TableSink
import _root_.scala.collection.JavaConverters._
import _root_.scala.annotation.varargs
/**
* A Table is the core component of the Table API.
* Similar to how the batch and streaming APIs have DataSet and DataStream,
* the Table API is built around [[Table]].
*
* Use the methods of [[Table]] to transform data. Use [[TableEnvironment]] to convert a [[Table]]
* back to a DataSet or DataStream.
*
* When using Scala a [[Table]] can also be converted using implicit conversions.
*
* Example:
*
* {{{
* val env = ExecutionEnvironment.getExecutionEnvironment
* val tEnv = TableEnvironment.getTableEnvironment(env)
*
* val set: DataSet[(String, Int)] = ...
* val table = set.toTable(tEnv, 'a, 'b)
* ...
* val table2 = ...
* val set2: DataSet[MyType] = table2.toDataSet[MyType]
* }}}
*
* Operations such as [[join]], [[select]], [[where]] and [[groupBy]] either take arguments
* in a Scala DSL or as an expression String. Please refer to the documentation for the expression
* syntax.
*
* @param tableEnv The [[TableEnvironment]] to which the table is bound.
* @param logicalPlan logical representation
*/
class Table(
private[flink] val tableEnv: TableEnvironment,
private[flink] val logicalPlan: LogicalNode) {
// Check if the plan has an unbounded TableFunctionCall as child node.
// A TableFunctionCall is tolerated as root node because the Table holds the initial call.
if (containsUnboudedUDTFCall(logicalPlan) &&
!logicalPlan.isInstanceOf[LogicalTableFunctionCall]) {
throw new ValidationException("TableFunction can only be used in join and leftOuterJoin.")
}
/**
* Creates a [[Table]] for a TableFunction call from a String expression.
*
* @param tableEnv The TableEnvironment in which the call is created.
* @param udtfCall A String expression of the TableFunction call.
*/
def this(tableEnv: TableEnvironment, udtfCall: String) {
this(tableEnv, UserDefinedFunctionUtils.createLogicalFunctionCall(tableEnv, udtfCall))
}
private lazy val tableSchema: TableSchema = new TableSchema(
logicalPlan.output.map(_.name).toArray,
logicalPlan.output.map(_.resultType).toArray)
def relBuilder: FlinkRelBuilder = tableEnv.getRelBuilder
def getRelNode: RelNode = if (containsUnboudedUDTFCall(logicalPlan)) {
throw new ValidationException("Cannot translate a query with an unbounded table function call.")
} else {
logicalPlan.toRelNode(relBuilder)
}
/**
* Returns the schema of this table.
*/
def getSchema: TableSchema = tableSchema
/**
* Prints the schema of this table to the console in a tree format.
*/
def printSchema(): Unit = print(tableSchema.toString)
/**
* Performs a selection operation. Similar to an SQL SELECT statement. The field expressions
* can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* tab.select('key, 'value.avg + " The average" as 'average)
* }}}
*/
def select(fields: Expression*): Table = {
val expandedFields = expandProjectList(fields, logicalPlan, tableEnv)
val (aggNames, propNames) = extractAggregationsAndProperties(expandedFields, tableEnv)
if (propNames.nonEmpty) {
throw ValidationException("Window properties can only be used on windowed tables.")
}
if (aggNames.nonEmpty) {
val projectsOnAgg = replaceAggregationsAndProperties(
expandedFields, tableEnv, aggNames, propNames)
val projectFields = extractFieldReferences(expandedFields)
new Table(tableEnv,
Project(projectsOnAgg,
Aggregate(Nil, aggNames.map(a => Alias(a._1, a._2)).toSeq,
Project(projectFields, logicalPlan).validate(tableEnv)
).validate(tableEnv)
).validate(tableEnv)
)
} else {
new Table(tableEnv,
Project(expandedFields.map(UnresolvedAlias), logicalPlan).validate(tableEnv))
}
}
/**
* Performs a selection operation. Similar to an SQL SELECT statement. The field expressions
* can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* tab.select("key, value.avg + ' The average' as average")
* }}}
*/
def select(fields: String): Table = {
val fieldExprs = ExpressionParser.parseExpressionList(fields)
//get the correct expression for AggFunctionCall
val withResolvedAggFunctionCall = fieldExprs.map(replaceAggFunctionCall(_, tableEnv))
select(withResolvedAggFunctionCall: _*)
}
/**
* Renames the fields of the expression result. Use this to disambiguate fields before
* joining to operations.
*
* Example:
*
* {{{
* tab.as('a, 'b)
* }}}
*/
def as(fields: Expression*): Table = {
logicalPlan match {
case functionCall: LogicalTableFunctionCall if functionCall.child == null =>
// If the logical plan is a TableFunctionCall, we replace its field names to avoid special
// cases during the validation.
if (fields.length != functionCall.output.length) {
throw new ValidationException(
"List of column aliases must have same degree as TableFunction's output")
}
if (!fields.forall(_.isInstanceOf[UnresolvedFieldReference])) {
throw new ValidationException(
"Alias field must be an instance of UnresolvedFieldReference"
)
}
new Table(
tableEnv,
LogicalTableFunctionCall(
functionCall.functionName,
functionCall.tableFunction,
functionCall.parameters,
functionCall.resultType,
fields.map(_.asInstanceOf[UnresolvedFieldReference].name).toArray,
functionCall.child)
)
case _ =>
// prepend an AliasNode
new Table(tableEnv, AliasNode(fields, logicalPlan).validate(tableEnv))
}
}
/**
* Renames the fields of the expression result. Use this to disambiguate fields before
* joining to operations.
*
* Example:
*
* {{{
* tab.as("a, b")
* }}}
*/
def as(fields: String): Table = {
val fieldExprs = ExpressionParser.parseExpressionList(fields)
as(fieldExprs: _*)
}
/**
* Filters out elements that don't pass the filter predicate. Similar to a SQL WHERE
* clause.
*
* Example:
*
* {{{
* tab.filter('name === "Fred")
* }}}
*/
def filter(predicate: Expression): Table = {
new Table(tableEnv, Filter(predicate, logicalPlan).validate(tableEnv))
}
/**
* Filters out elements that don't pass the filter predicate. Similar to a SQL WHERE
* clause.
*
* Example:
*
* {{{
* tab.filter("name = 'Fred'")
* }}}
*/
def filter(predicate: String): Table = {
val predicateExpr = ExpressionParser.parseExpression(predicate)
filter(predicateExpr)
}
/**
* Filters out elements that don't pass the filter predicate. Similar to a SQL WHERE
* clause.
*
* Example:
*
* {{{
* tab.where('name === "Fred")
* }}}
*/
def where(predicate: Expression): Table = {
filter(predicate)
}
/**
* Filters out elements that don't pass the filter predicate. Similar to a SQL WHERE
* clause.
*
* Example:
*
* {{{
* tab.where("name = 'Fred'")
* }}}
*/
def where(predicate: String): Table = {
filter(predicate)
}
/**
* Groups the elements on some grouping keys. Use this before a selection with aggregations
* to perform the aggregation on a per-group basis. Similar to a SQL GROUP BY statement.
*
* Example:
*
* {{{
* tab.groupBy('key).select('key, 'value.avg)
* }}}
*/
def groupBy(fields: Expression*): GroupedTable = {
new GroupedTable(this, fields)
}
/**
* Groups the elements on some grouping keys. Use this before a selection with aggregations
* to perform the aggregation on a per-group basis. Similar to a SQL GROUP BY statement.
*
* Example:
*
* {{{
* tab.groupBy("key").select("key, value.avg")
* }}}
*/
def groupBy(fields: String): GroupedTable = {
val fieldsExpr = ExpressionParser.parseExpressionList(fields)
groupBy(fieldsExpr: _*)
}
/**
* Removes duplicate values and returns only distinct (different) values.
*
* Example:
*
* {{{
* tab.select("key, value").distinct()
* }}}
*/
def distinct(): Table = {
new Table(tableEnv, Distinct(logicalPlan).validate(tableEnv))
}
/**
* Joins two [[Table]]s. Similar to an SQL join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary. You can use
* where and select clauses after a join to further specify the behaviour of the join.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.join(right).where('a === 'b && 'c > 3).select('a, 'b, 'd)
* }}}
*/
def join(right: Table): Table = {
join(right, None, JoinType.INNER)
}
/**
* Joins two [[Table]]s. Similar to an SQL join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.join(right, "a = b")
* }}}
*/
def join(right: Table, joinPredicate: String): Table = {
join(right, joinPredicate, JoinType.INNER)
}
/**
* Joins two [[Table]]s. Similar to an SQL join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.join(right, 'a === 'b).select('a, 'b, 'd)
* }}}
*/
def join(right: Table, joinPredicate: Expression): Table = {
join(right, Some(joinPredicate), JoinType.INNER)
}
/**
* Joins this [[Table]] with an user-defined [[org.apache.calcite.schema.TableFunction]].
* This join is similar to a SQL left outer join with ON TRUE predicate, but it works with a
* table function. Each row of the outer table is joined with all rows produced by the table
* function. If the table function does not produce any row, the outer row is padded with nulls.
*
* Scala Example:
* {{{
* class MySplitUDTF extends TableFunction[String] {
* def eval(str: String): Unit = {
* str.split("#").foreach(collect)
* }
* }
*
* val split = new MySplitUDTF()
* table.leftOuterJoin(split('c) as ('s)).select('a,'b,'c,'s)
* }}}
*
* Java Example:
* {{{
* class MySplitUDTF extends TableFunction<String> {
* public void eval(String str) {
* str.split("#").forEach(this::collect);
* }
* }
*
* TableFunction<String> split = new MySplitUDTF();
* tableEnv.registerFunction("split", split);
* table.leftOuterJoin(new Table(tableEnv, "split(c)").as("s"))).select("a, b, c, s");
* }}}
*/
def leftOuterJoin(right: Table): Table = {
join(right, None, JoinType.LEFT_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL left outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.leftOuterJoin(right, "a = b").select('a, 'b, 'd)
* }}}
*/
def leftOuterJoin(right: Table, joinPredicate: String): Table = {
join(right, joinPredicate, JoinType.LEFT_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL left outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.leftOuterJoin(right, 'a === 'b).select('a, 'b, 'd)
* }}}
*/
def leftOuterJoin(right: Table, joinPredicate: Expression): Table = {
join(right, Some(joinPredicate), JoinType.LEFT_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL right outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.rightOuterJoin(right, "a = b").select('a, 'b, 'd)
* }}}
*/
def rightOuterJoin(right: Table, joinPredicate: String): Table = {
join(right, joinPredicate, JoinType.RIGHT_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL right outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.rightOuterJoin(right, 'a === 'b).select('a, 'b, 'd)
* }}}
*/
def rightOuterJoin(right: Table, joinPredicate: Expression): Table = {
join(right, Some(joinPredicate), JoinType.RIGHT_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL full outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.fullOuterJoin(right, "a = b").select('a, 'b, 'd)
* }}}
*/
def fullOuterJoin(right: Table, joinPredicate: String): Table = {
join(right, joinPredicate, JoinType.FULL_OUTER)
}
/**
* Joins two [[Table]]s. Similar to an SQL full outer join. The fields of the two joined
* operations must not overlap, use [[as]] to rename fields if necessary.
*
* Note: Both tables must be bound to the same [[TableEnvironment]] and its [[TableConfig]] must
* have nullCheck enabled.
*
* Example:
*
* {{{
* left.fullOuterJoin(right, 'a === 'b).select('a, 'b, 'd)
* }}}
*/
def fullOuterJoin(right: Table, joinPredicate: Expression): Table = {
join(right, Some(joinPredicate), JoinType.FULL_OUTER)
}
private def join(right: Table, joinPredicate: String, joinType: JoinType): Table = {
val joinPredicateExpr = ExpressionParser.parseExpression(joinPredicate)
join(right, Some(joinPredicateExpr), joinType)
}
private def join(right: Table, joinPredicate: Option[Expression], joinType: JoinType): Table = {
// check if we join with a table or a table function
if (!containsUnboudedUDTFCall(right.logicalPlan)) {
// regular table-table join
// check that the TableEnvironment of right table is not null
// and right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException("Only tables from the same TableEnvironment can be joined.")
}
new Table(
tableEnv,
Join(this.logicalPlan, right.logicalPlan, joinType, joinPredicate, correlated = false)
.validate(tableEnv))
} else {
// join with a table function
// check join type
if (joinType != JoinType.INNER && joinType != JoinType.LEFT_OUTER) {
throw new ValidationException(
"TableFunctions are currently supported for join and leftOuterJoin.")
}
val udtf = right.logicalPlan.asInstanceOf[LogicalTableFunctionCall]
val udtfCall = LogicalTableFunctionCall(
udtf.functionName,
udtf.tableFunction,
udtf.parameters,
udtf.resultType,
udtf.fieldNames,
this.logicalPlan
).validate(tableEnv)
new Table(
tableEnv,
Join(this.logicalPlan, udtfCall, joinType, joinPredicate, correlated = true)
.validate(tableEnv))
}
}
/**
* Minus of two [[Table]]s with duplicate records removed.
* Similar to a SQL EXCEPT clause. Minus returns records from the left table that do not
* exist in the right table. Duplicate records in the left table are returned
* exactly once, i.e., duplicates are removed. Both tables must have identical field types.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.minus(right)
* }}}
*/
def minus(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException("Only tables from the same TableEnvironment can be " +
"subtracted.")
}
new Table(tableEnv, Minus(logicalPlan, right.logicalPlan, all = false)
.validate(tableEnv))
}
/**
* Minus of two [[Table]]s. Similar to an SQL EXCEPT ALL.
* Similar to a SQL EXCEPT ALL clause. MinusAll returns the records that do not exist in
* the right table. A record that is present n times in the left table and m times
* in the right table is returned (n - m) times, i.e., as many duplicates as are present
* in the right table are removed. Both tables must have identical field types.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.minusAll(right)
* }}}
*/
def minusAll(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException("Only tables from the same TableEnvironment can be " +
"subtracted.")
}
new Table(tableEnv, Minus(logicalPlan, right.logicalPlan, all = true)
.validate(tableEnv))
}
/**
* Unions two [[Table]]s with duplicate records removed.
* Similar to an SQL UNION. The fields of the two union operations must fully overlap.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.union(right)
* }}}
*/
def union(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException("Only tables from the same TableEnvironment can be unioned.")
}
new Table(tableEnv, Union(logicalPlan, right.logicalPlan, all = false).validate(tableEnv))
}
/**
* Unions two [[Table]]s. Similar to an SQL UNION ALL. The fields of the two union operations
* must fully overlap.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.unionAll(right)
* }}}
*/
def unionAll(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException("Only tables from the same TableEnvironment can be unioned.")
}
new Table(tableEnv, Union(logicalPlan, right.logicalPlan, all = true).validate(tableEnv))
}
/**
* Intersects two [[Table]]s with duplicate records removed. Intersect returns records that
* exist in both tables. If a record is present in one or both tables more than once, it is
* returned just once, i.e., the resulting table has no duplicate records. Similar to an
* SQL INTERSECT. The fields of the two intersect operations must fully overlap.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.intersect(right)
* }}}
*/
def intersect(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException(
"Only tables from the same TableEnvironment can be intersected.")
}
new Table(tableEnv, Intersect(logicalPlan, right.logicalPlan, all = false).validate(tableEnv))
}
/**
* Intersects two [[Table]]s. IntersectAll returns records that exist in both tables.
* If a record is present in both tables more than once, it is returned as many times as it
* is present in both tables, i.e., the resulting table might have duplicate records. Similar
* to an SQL INTERSECT ALL. The fields of the two intersect operations must fully overlap.
*
* Note: Both tables must be bound to the same [[TableEnvironment]].
*
* Example:
*
* {{{
* left.intersectAll(right)
* }}}
*/
def intersectAll(right: Table): Table = {
// check that right table belongs to the same TableEnvironment
if (right.tableEnv != this.tableEnv) {
throw new ValidationException(
"Only tables from the same TableEnvironment can be intersected.")
}
new Table(tableEnv, Intersect(logicalPlan, right.logicalPlan, all = true).validate(tableEnv))
}
/**
* Sorts the given [[Table]]. Similar to SQL ORDER BY.
* The resulting Table is globally sorted across all parallel partitions.
*
* Example:
*
* {{{
* tab.orderBy('name.desc)
* }}}
*/
def orderBy(fields: Expression*): Table = {
val order: Seq[Ordering] = fields.map {
case o: Ordering => o
case e => Asc(e)
}
new Table(tableEnv, Sort(order, logicalPlan).validate(tableEnv))
}
/**
* Sorts the given [[Table]]. Similar to SQL ORDER BY.
* The resulting Table is sorted globally sorted across all parallel partitions.
*
* Example:
*
* {{{
* tab.orderBy("name.desc")
* }}}
*/
def orderBy(fields: String): Table = {
val parsedFields = ExpressionParser.parseExpressionList(fields)
orderBy(parsedFields: _*)
}
/**
* Limits a sorted result from an offset position.
* Similar to a SQL LIMIT clause. Limit is technically part of the Order By operator and
* thus must be preceded by it.
*
* Example:
*
* {{{
* // returns unlimited number of records beginning with the 4th record
* tab.orderBy('name.desc).limit(3)
* }}}
*
* @param offset number of records to skip
*/
def limit(offset: Int): Table = {
new Table(tableEnv, Limit(offset = offset, child = logicalPlan).validate(tableEnv))
}
/**
* Limits a sorted result to a specified number of records from an offset position.
* Similar to a SQL LIMIT clause. Limit is technically part of the Order By operator and
* thus must be preceded by it.
*
* Example:
*
* {{{
* // returns 5 records beginning with the 4th record
* tab.orderBy('name.desc).limit(3, 5)
* }}}
*
* @param offset number of records to skip
* @param fetch number of records to be returned
*/
def limit(offset: Int, fetch: Int): Table = {
new Table(tableEnv, Limit(offset, fetch, logicalPlan).validate(tableEnv))
}
/**
* Writes the [[Table]] to a [[TableSink]]. A [[TableSink]] defines an external storage location.
*
* A batch [[Table]] can only be written to a
* [[org.apache.flink.table.sinks.BatchTableSink]], a streaming [[Table]] requires a
* [[org.apache.flink.table.sinks.AppendStreamTableSink]], a
* [[org.apache.flink.table.sinks.RetractStreamTableSink]], or an
* [[org.apache.flink.table.sinks.UpsertStreamTableSink]].
*
* @param sink The [[TableSink]] to which the [[Table]] is written.
* @tparam T The data type that the [[TableSink]] expects.
*/
def writeToSink[T](sink: TableSink[T]): Unit = {
def queryConfig = this.tableEnv match {
case s: StreamTableEnvironment => s.queryConfig
case b: BatchTableEnvironment => new BatchQueryConfig
case _ => null
}
writeToSink(sink, queryConfig)
}
/**
* Writes the [[Table]] to a [[TableSink]]. A [[TableSink]] defines an external storage location.
*
* A batch [[Table]] can only be written to a
* [[org.apache.flink.table.sinks.BatchTableSink]], a streaming [[Table]] requires a
* [[org.apache.flink.table.sinks.AppendStreamTableSink]], a
* [[org.apache.flink.table.sinks.RetractStreamTableSink]], or an
* [[org.apache.flink.table.sinks.UpsertStreamTableSink]].
*
* @param sink The [[TableSink]] to which the [[Table]] is written.
* @param conf The configuration for the query that writes to the sink.
* @tparam T The data type that the [[TableSink]] expects.
*/
def writeToSink[T](sink: TableSink[T], conf: QueryConfig): Unit = {
// get schema information of table
val rowType = getRelNode.getRowType
val fieldNames: Array[String] = rowType.getFieldNames.asScala.toArray
val fieldTypes: Array[TypeInformation[_]] = rowType.getFieldList.asScala
.map(field => FlinkTypeFactory.toTypeInfo(field.getType)).toArray
// configure the table sink
val configuredSink = sink.configure(fieldNames, fieldTypes)
// emit the table to the configured table sink
tableEnv.writeToSink(this, configuredSink, conf)
}
/**
* Groups the records of a table by assigning them to windows defined by a time or row interval.
*
* For streaming tables of infinite size, grouping into windows is required to define finite
* groups on which group-based aggregates can be computed.
*
* For batch tables of finite size, windowing essentially provides shortcuts for time-based
* groupBy.
*
* __Note__: Computing windowed aggregates on a streaming table is only a parallel operation
* if additional grouping attributes are added to the `groupBy(...)` clause.
* If the `groupBy(...)` only references a window alias, the streamed table will be processed
* by a single task, i.e., with parallelism 1.
*
* @param window window that specifies how elements are grouped.
* @return A windowed table.
*/
def window(window: Window): WindowedTable = {
new WindowedTable(this, window)
}
/**
* Defines over-windows on the records of a table.
*
* An over-window defines for each record an interval of records over which aggregation
* functions can be computed.
*
* Example:
*
* {{{
* table
* .window(Over partitionBy 'c orderBy 'rowTime preceding 10.seconds as 'ow)
* .select('c, 'b.count over 'ow, 'e.sum over 'ow)
* }}}
*
* __Note__: Computing over window aggregates on a streaming table is only a parallel operation
* if the window is partitioned. Otherwise, the whole stream will be processed by a single
* task, i.e., with parallelism 1.
*
* __Note__: Over-windows for batch tables are currently not supported.
*
* @param overWindows windows that specify the record interval over which aggregations are
* computed.
* @return An OverWindowedTable to specify the aggregations.
*/
@varargs
def window(overWindows: OverWindow*): OverWindowedTable = {
if (tableEnv.isInstanceOf[BatchTableEnvironment]) {
throw TableException("Over-windows for batch tables are currently not supported..")
}
if (overWindows.size != 1) {
throw TableException("Over-Windows are currently only supported single window.")
}
new OverWindowedTable(this, overWindows.toArray)
}
var tableName: String = _
/**
* Registers an unique table name under the table environment
* and return the registered table name.
*/
override def toString: String = {
if (tableName == null) {
tableName = "UnnamedTable$" + tableEnv.attrNameCntr.getAndIncrement()
tableEnv.registerTable(tableName, this)
}
tableName
}
/**
* Checks if the plan represented by a [[LogicalNode]] contains an unbounded UDTF call.
* @param n the node to check
* @return true if the plan contains an unbounded UDTF call, false otherwise.
*/
private def containsUnboudedUDTFCall(n: LogicalNode): Boolean = {
n match {
case functionCall: LogicalTableFunctionCall if functionCall.child == null => true
case u: UnaryNode => containsUnboudedUDTFCall(u.child)
case b: BinaryNode => containsUnboudedUDTFCall(b.left) || containsUnboudedUDTFCall(b.right)
case _: LeafNode => false
}
}
}
/**
* A table that has been grouped on a set of grouping keys.
*/
class GroupedTable(
private[flink] val table: Table,
private[flink] val groupKey: Seq[Expression]) {
/**
* Performs a selection operation on a grouped table. Similar to an SQL SELECT statement.
* The field expressions can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* tab.groupBy('key).select('key, 'value.avg + " The average" as 'average)
* }}}
*/
def select(fields: Expression*): Table = {
val expandedFields = expandProjectList(fields, table.logicalPlan, table.tableEnv)
val (aggNames, propNames) = extractAggregationsAndProperties(expandedFields, table.tableEnv)
if (propNames.nonEmpty) {
throw ValidationException("Window properties can only be used on windowed tables.")
}
val projectsOnAgg = replaceAggregationsAndProperties(
expandedFields, table.tableEnv, aggNames, propNames)
val projectFields = extractFieldReferences(expandedFields ++ groupKey)
new Table(table.tableEnv,
Project(projectsOnAgg,
Aggregate(groupKey, aggNames.map(a => Alias(a._1, a._2)).toSeq,
Project(projectFields, table.logicalPlan).validate(table.tableEnv)
).validate(table.tableEnv)
).validate(table.tableEnv))
}
/**
* Performs a selection operation on a grouped table. Similar to an SQL SELECT statement.
* The field expressions can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* tab.groupBy("key").select("key, value.avg + ' The average' as average")
* }}}
*/
def select(fields: String): Table = {
val fieldExprs = ExpressionParser.parseExpressionList(fields)
//get the correct expression for AggFunctionCall
val withResolvedAggFunctionCall = fieldExprs.map(replaceAggFunctionCall(_, table.tableEnv))
select(withResolvedAggFunctionCall: _*)
}
}
class WindowedTable(
private[flink] val table: Table,
private[flink] val window: Window) {
/**
* Groups the elements by a mandatory window and one or more optional grouping attributes.
* The window is specified by referring to its alias.
*
* If no additional grouping attribute is specified and if the input is a streaming table,
* the aggregation will be performed by a single task, i.e., with parallelism 1.
*
* Aggregations are performed per group and defined by a subsequent `select(...)` clause similar
* to SQL SELECT-GROUP-BY query.
*
* Example:
*
* {{{
* tab.window([window] as 'w)).groupBy('w, 'key).select('key, 'value.avg)
* }}}
*/
def groupBy(fields: Expression*): WindowGroupedTable = {
val fieldsWithoutWindow = fields.filterNot(window.alias.equals(_))
if (fields.size != fieldsWithoutWindow.size + 1) {
throw new ValidationException("GroupBy must contain exactly one window alias.")
}
new WindowGroupedTable(table, fieldsWithoutWindow, window)
}
/**
* Groups the elements by a mandatory window and one or more optional grouping attributes.
* The window is specified by referring to its alias.
*
* If no additional grouping attribute is specified and if the input is a streaming table,
* the aggregation will be performed by a single task, i.e., with parallelism 1.
*
* Aggregations are performed per group and defined by a subsequent `select(...)` clause similar
* to SQL SELECT-GROUP-BY query.
*
* Example:
*
* {{{
* tab.window([window].as("w")).groupBy("w, key").select("key, value.avg")
* }}}
*/
def groupBy(fields: String): WindowGroupedTable = {
val fieldsExpr = ExpressionParser.parseExpressionList(fields)
groupBy(fieldsExpr: _*)
}
}
class OverWindowedTable(
private[flink] val table: Table,
private[flink] val overWindows: Array[OverWindow]) {
def select(fields: Expression*): Table = {
val expandedFields = expandProjectList(
fields,
table.logicalPlan,
table.tableEnv)
val expandedOverFields = resolveOverWindows(expandedFields, overWindows, table.tableEnv)
new Table(
table.tableEnv,
Project(expandedOverFields.map(UnresolvedAlias), table.logicalPlan).validate(table.tableEnv))
}
def select(fields: String): Table = {
val fieldExprs = ExpressionParser.parseExpressionList(fields)
//get the correct expression for AggFunctionCall
val withResolvedAggFunctionCall = fieldExprs.map(replaceAggFunctionCall(_, table.tableEnv))
select(withResolvedAggFunctionCall: _*)
}
}
class WindowGroupedTable(
private[flink] val table: Table,
private[flink] val groupKeys: Seq[Expression],
private[flink] val window: Window) {
/**
* Performs a selection operation on a window grouped table. Similar to an SQL SELECT statement.
* The field expressions can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* windowGroupedTable.select('key, 'window.start, 'value.avg as 'valavg)
* }}}
*/
def select(fields: Expression*): Table = {
val expandedFields = expandProjectList(fields, table.logicalPlan, table.tableEnv)
val (aggNames, propNames) = extractAggregationsAndProperties(expandedFields, table.tableEnv)
val projectsOnAgg = replaceAggregationsAndProperties(
expandedFields, table.tableEnv, aggNames, propNames)
val projectFields = extractFieldReferences(expandedFields ++ groupKeys :+ window.timeField)
new Table(table.tableEnv,
Project(
projectsOnAgg,
WindowAggregate(
groupKeys,
window.toLogicalWindow,
propNames.map(a => Alias(a._1, a._2)).toSeq,
aggNames.map(a => Alias(a._1, a._2)).toSeq,
Project(projectFields, table.logicalPlan).validate(table.tableEnv)
).validate(table.tableEnv)
).validate(table.tableEnv))
}
/**
* Performs a selection operation on a window grouped table. Similar to an SQL SELECT statement.
* The field expressions can contain complex expressions and aggregations.
*
* Example:
*
* {{{
* windowGroupedTable.select("key, window.start, value.avg as valavg")
* }}}
*/
def select(fields: String): Table = {
val fieldExprs = ExpressionParser.parseExpressionList(fields)
//get the correct expression for AggFunctionCall
val withResolvedAggFunctionCall = fieldExprs.map(replaceAggFunctionCall(_, table.tableEnv))
select(withResolvedAggFunctionCall: _*)
}
}
| {
"content_hash": "c819e4eba8987ff3cf75a007f0f78ecc",
"timestamp": "",
"source": "github",
"line_count": 1060,
"max_line_length": 137,
"avg_line_length": 33.71132075471698,
"alnum_prop": 0.653971008003582,
"repo_name": "WangTaoTheTonic/flink",
"id": "2bcb3d89910c8b3c3fdb5b6d501df450ec704d3c",
"size": "36539",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/table.scala",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "4792"
},
{
"name": "CSS",
"bytes": "18100"
},
{
"name": "CoffeeScript",
"bytes": "89458"
},
{
"name": "HTML",
"bytes": "88253"
},
{
"name": "Java",
"bytes": "31102723"
},
{
"name": "JavaScript",
"bytes": "8267"
},
{
"name": "Python",
"bytes": "166860"
},
{
"name": "Scala",
"bytes": "5502649"
},
{
"name": "Shell",
"bytes": "76520"
}
],
"symlink_target": ""
} |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lecanora polychromoides Stirt.
### Remarks
null | {
"content_hash": "c2caf28fea577996b017c198bed7b2c9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 10.384615384615385,
"alnum_prop": 0.7185185185185186,
"repo_name": "mdoering/backbone",
"id": "829b850548a09c23459ceffd7a99ab6e73823ce6",
"size": "189",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "life/Fungi/Ascomycota/Lecanoromycetes/Lecanorales/Lecanoraceae/Lecanora/Lecanora polychromoides/README.md",
"mode": "33188",
"license": "apache-2.0",
"language": [],
"symlink_target": ""
} |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('settings_reset_page', function() {
/** @enum {string} */
var TestNames = {
PowerwashDialogAction: 'PowerwashDialogAction',
PowerwashDialogOpenClose: 'PowerwashDialogOpenClose',
ResetBannerClose: 'ResetBannerClose',
ResetBannerReset: 'ResetBannerReset',
ResetProfileDialogAction: 'ResetProfileDialogAction',
ResetProfileDialogOpenClose: 'ResetProfileDialogOpenClose',
};
/**
* @constructor
* @implements {settings.ResetBrowserProxy}
* @extends {settings.TestBrowserProxy}
*/
var TestResetBrowserProxy = function() {
settings.TestBrowserProxy.call(this, [
'performResetProfileSettings',
'onHideResetProfileDialog',
'onHideResetProfileBanner',
'onShowResetProfileDialog',
'showReportedSettings',
'onPowerwashDialogShow',
'requestFactoryResetRestart',
]);
};
TestResetBrowserProxy.prototype = {
__proto__: settings.TestBrowserProxy.prototype,
/** @override */
performResetProfileSettings: function(sendSettings) {
this.methodCalled('performResetProfileSettings');
return Promise.resolve();
},
/** @override */
onHideResetProfileDialog: function() {
this.methodCalled('onHideResetProfileDialog');
},
/** @override */
onHideResetProfileBanner: function() {
this.methodCalled('onHideResetProfileBanner');
},
/** @override */
onShowResetProfileDialog: function() {
this.methodCalled('onShowResetProfileDialog');
},
/** @override */
showReportedSettings: function() {
this.methodCalled('showReportedSettings');
},
/** @override */
onPowerwashDialogShow: function() {
this.methodCalled('onPowerwashDialogShow');
},
/** @override */
requestFactoryResetRestart: function() {
this.methodCalled('requestFactoryResetRestart');
},
};
function registerBannerTests() {
suite('BannerTests', function() {
var resetBanner = null;
var browserProxy = null;
suiteSetup(function() {
return PolymerTest.importHtml(
'chrome://md-settings/reset_page/reset_profile_banner.html');
});
setup(function() {
browserProxy = new TestResetBrowserProxy();
settings.ResetBrowserProxyImpl.instance_ = browserProxy;
PolymerTest.clearBody();
resetBanner = document.createElement('settings-reset-profile-banner');
document.body.appendChild(resetBanner);
});
teardown(function() { resetBanner.remove(); });
// Tests that the reset profile banner
// - opens the reset profile dialog when the reset button is clicked.
// - the reset profile dialog is closed after reset is done.
test(TestNames.ResetBannerReset, function() {
var dialog = resetBanner.$$('settings-reset-profile-dialog');
assertFalse(!!dialog);
MockInteractions.tap(resetBanner.$['reset']);
Polymer.dom.flush();
dialog = resetBanner.$$('settings-reset-profile-dialog');
assertTrue(!!dialog);
dialog.dispatchEvent(new CustomEvent('reset-done'));
Polymer.dom.flush();
assertEquals('none', dialog.style.display);
return Promise.resolve();
});
// Tests that the reset profile banner removes itself from the DOM when
// the close button is clicked and that |onHideResetProfileBanner| is
// called.
test(TestNames.ResetBannerClose, function() {
MockInteractions.tap(resetBanner.$['close']);
assertFalse(!!resetBanner.parentNode);
return browserProxy.whenCalled('onHideResetProfileBanner');
});
});
}
function registerDialogTests() {
suite('DialogTests', function() {
var resetPage = null;
setup(function() {
browserProxy = new TestResetBrowserProxy();
settings.ResetBrowserProxyImpl.instance_ = browserProxy;
PolymerTest.clearBody();
resetPage = document.createElement('settings-reset-page');
document.body.appendChild(resetPage);
});
teardown(function() { resetPage.remove(); });
/**
* @param {function(SettingsResetProfileDialogElemeent)}
* closeDialogFn A function to call for closing the dialog.
* @return {!Promise}
*/
function testOpenCloseResetProfileDialog(closeDialogFn) {
browserProxy.resetResolver('onShowResetProfileDialog');
browserProxy.resetResolver('onHideResetProfileDialog');
// Open reset profile dialog.
MockInteractions.tap(resetPage.$.resetProfile);
var dialog = resetPage.$$('settings-reset-profile-dialog');
assertTrue(!!dialog);
var onDialogClosed = new Promise(
function(resolve, reject) {
dialog.addEventListener('iron-overlay-closed', resolve);
});
return browserProxy.whenCalled('onShowResetProfileDialog').then(
function() {
closeDialogFn(dialog);
return Promise.all([
onDialogClosed,
browserProxy.whenCalled('onHideResetProfileDialog'),
]);
});
}
// Tests that the reset profile dialog opens and closes correctly and that
// browserProxy calls are occurring as expected.
test(TestNames.ResetProfileDialogOpenClose, function() {
return Promise.all([
// Test case where the 'cancel' button is clicked.
testOpenCloseResetProfileDialog(
function(dialog) {
MockInteractions.tap(dialog.$.cancel);
}),
// Test case where the 'close' button is clicked.
testOpenCloseResetProfileDialog(
function(dialog) {
MockInteractions.tap(dialog.$.dialog.getCloseButton());
}),
// Test case where the 'Esc' key is pressed.
testOpenCloseResetProfileDialog(
function(dialog) {
MockInteractions.pressAndReleaseKeyOn(
dialog, 27 /* 'Esc' key code */);
}),
]);
});
// Tests that when user request to reset the profile the appropriate
// message is sent to the browser.
test(TestNames.ResetProfileDialogAction, function() {
// Open reset profile dialog.
MockInteractions.tap(resetPage.$.resetProfile);
var dialog = resetPage.$$('settings-reset-profile-dialog');
assertTrue(!!dialog);
var showReportedSettingsLink = dialog.$$('.footer a');
assertTrue(!!showReportedSettingsLink);
MockInteractions.tap(showReportedSettingsLink);
return browserProxy.whenCalled('showReportedSettings').then(function() {
MockInteractions.tap(dialog.$.reset);
return browserProxy.whenCalled('performResetProfileSettings');
});
});
if (cr.isChromeOS) {
/**
* @param {function(SettingsPowerwashDialogElemeent):!Element}
* closeButtonFn A function that returns the button to be used for
* closing the dialog.
* @return {!Promise}
*/
function testOpenClosePowerwashDialog(closeButtonFn) {
// Open powerwash dialog.
MockInteractions.tap(resetPage.$.powerwash);
var dialog = resetPage.$$('settings-powerwash-dialog');
assertTrue(!!dialog);
var onDialogClosed = new Promise(
function(resolve, reject) {
dialog.addEventListener('iron-overlay-closed', resolve);
});
MockInteractions.tap(closeButtonFn(dialog));
return Promise.all([
onDialogClosed,
browserProxy.whenCalled('onPowerwashDialogShow'),
]);
}
// Tests that the powerwash dialog opens and closes correctly, and
// that chrome.send calls are propagated as expected.
test(TestNames.PowerwashDialogOpenClose, function() {
return Promise.all([
// Test case where the 'cancel' button is clicked.
testOpenClosePowerwashDialog(
function(dialog) { return dialog.$.cancel; }),
// Test case where the 'close' button is clicked.
testOpenClosePowerwashDialog(
function(dialog) { return dialog.$.dialog.getCloseButton(); }),
]);
});
// Tests that when powerwash is requested chrome.send calls are
// propagated as expected.
test(TestNames.PowerwashDialogAction, function() {
// Open powerwash dialog.
MockInteractions.tap(resetPage.$.powerwash);
var dialog = resetPage.$$('settings-powerwash-dialog');
assertTrue(!!dialog);
MockInteractions.tap(dialog.$.powerwash);
return browserProxy.whenCalled('requestFactoryResetRestart');
});
}
});
}
return {
registerTests: function() {
registerBannerTests();
registerDialogTests();
},
};
});
| {
"content_hash": "3ac522ed7be01ad5b278e274252677db",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 80,
"avg_line_length": 35.15325670498084,
"alnum_prop": 0.6287738419618528,
"repo_name": "axinging/chromium-crosswalk",
"id": "82fae2325c99e4e4b7631a27f0c2df1ee3cb5dd0",
"size": "9175",
"binary": false,
"copies": "3",
"ref": "refs/heads/master",
"path": "chrome/test/data/webui/settings/reset_page_test.js",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "ApacheConf",
"bytes": "8242"
},
{
"name": "AppleScript",
"bytes": "6973"
},
{
"name": "Arduino",
"bytes": "464"
},
{
"name": "Assembly",
"bytes": "23945"
},
{
"name": "C",
"bytes": "4103204"
},
{
"name": "C++",
"bytes": "225022948"
},
{
"name": "CSS",
"bytes": "949808"
},
{
"name": "Dart",
"bytes": "74976"
},
{
"name": "Go",
"bytes": "18155"
},
{
"name": "HTML",
"bytes": "28206993"
},
{
"name": "Java",
"bytes": "7651204"
},
{
"name": "JavaScript",
"bytes": "18831169"
},
{
"name": "Makefile",
"bytes": "96270"
},
{
"name": "Objective-C",
"bytes": "1228122"
},
{
"name": "Objective-C++",
"bytes": "7563676"
},
{
"name": "PHP",
"bytes": "97817"
},
{
"name": "Perl",
"bytes": "63937"
},
{
"name": "Protocol Buffer",
"bytes": "418221"
},
{
"name": "Python",
"bytes": "7855597"
},
{
"name": "Shell",
"bytes": "472586"
},
{
"name": "Standard ML",
"bytes": "4965"
},
{
"name": "XSLT",
"bytes": "418"
},
{
"name": "nesC",
"bytes": "18335"
}
],
"symlink_target": ""
} |
package org.aikodi.chameleon.eclipse.editors.preferences;
import org.eclipse.swt.widgets.Composite;
/**
* @author Manuel Van Wesemael
* @author Joeri Hendrickx
*
* A field editor for adding space to a preference page.
*/
public class SpacerFieldEditor extends LabelFieldEditor {
// Implemented as an empty label field editor.
public SpacerFieldEditor(Composite parent) {
super("", parent);
}
}
| {
"content_hash": "6a9d3fc42b2d26210a6c037da697a065",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 57,
"avg_line_length": 26.5,
"alnum_prop": 0.7240566037735849,
"repo_name": "markovandooren/chameleon",
"id": "f153a777c1b843a15b03dbc1de296ba14227d626",
"size": "424",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/org/aikodi/chameleon/eclipse/editors/preferences/SpacerFieldEditor.java",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Java",
"bytes": "2110668"
}
],
"symlink_target": ""
} |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/xpcom/base/nsIException.idl
*/
#ifndef __gen_nsIException_h__
#define __gen_nsIException_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIProgrammingLanguage_h__
#include "nsIProgrammingLanguage.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIStackFrame */
#define NS_ISTACKFRAME_IID_STR "91d82105-7c62-4f8b-9779-154277c0ee90"
#define NS_ISTACKFRAME_IID \
{0x91d82105, 0x7c62, 0x4f8b, \
{ 0x97, 0x79, 0x15, 0x42, 0x77, 0xc0, 0xee, 0x90 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIStackFrame : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTACKFRAME_IID)
/* readonly attribute PRUint32 language; */
NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) = 0;
/* readonly attribute string languageName; */
NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char **aLanguageName) = 0;
/* readonly attribute string filename; */
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) = 0;
/* readonly attribute string name; */
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) = 0;
/* readonly attribute PRInt32 lineNumber; */
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) = 0;
/* readonly attribute string sourceLine; */
NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char **aSourceLine) = 0;
/* readonly attribute nsIStackFrame caller; */
NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame **aCaller) = 0;
/* string toString (); */
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIStackFrame, NS_ISTACKFRAME_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISTACKFRAME \
NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage); \
NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char **aLanguageName); \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename); \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName); \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber); \
NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char **aSourceLine); \
NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame **aCaller); \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISTACKFRAME(_to) \
NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) { return _to GetLanguage(aLanguage); } \
NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char **aLanguageName) { return _to GetLanguageName(aLanguageName); } \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) { return _to GetFilename(aFilename); } \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) { return _to GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) { return _to GetLineNumber(aLineNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char **aSourceLine) { return _to GetSourceLine(aSourceLine); } \
NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame **aCaller) { return _to GetCaller(aCaller); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) { return _to ToString(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSISTACKFRAME(_to) \
NS_SCRIPTABLE NS_IMETHOD GetLanguage(PRUint32 *aLanguage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguage(aLanguage); } \
NS_SCRIPTABLE NS_IMETHOD GetLanguageName(char **aLanguageName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguageName(aLanguageName); } \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRInt32 *aLineNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetSourceLine(char **aSourceLine) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceLine(aSourceLine); } \
NS_SCRIPTABLE NS_IMETHOD GetCaller(nsIStackFrame **aCaller) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaller(aCaller); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsStackFrame : public nsIStackFrame
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISTACKFRAME
nsStackFrame();
private:
~nsStackFrame();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsStackFrame, nsIStackFrame)
nsStackFrame::nsStackFrame()
{
/* member initializers and constructor code */
}
nsStackFrame::~nsStackFrame()
{
/* destructor code */
}
/* readonly attribute PRUint32 language; */
NS_IMETHODIMP nsStackFrame::GetLanguage(PRUint32 *aLanguage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string languageName; */
NS_IMETHODIMP nsStackFrame::GetLanguageName(char **aLanguageName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string filename; */
NS_IMETHODIMP nsStackFrame::GetFilename(char **aFilename)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string name; */
NS_IMETHODIMP nsStackFrame::GetName(char **aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRInt32 lineNumber; */
NS_IMETHODIMP nsStackFrame::GetLineNumber(PRInt32 *aLineNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string sourceLine; */
NS_IMETHODIMP nsStackFrame::GetSourceLine(char **aSourceLine)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIStackFrame caller; */
NS_IMETHODIMP nsStackFrame::GetCaller(nsIStackFrame **aCaller)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string toString (); */
NS_IMETHODIMP nsStackFrame::ToString(char **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIException */
#define NS_IEXCEPTION_IID_STR "f3a8d3b4-c424-4edc-8bf6-8974c983ba78"
#define NS_IEXCEPTION_IID \
{0xf3a8d3b4, 0xc424, 0x4edc, \
{ 0x8b, 0xf6, 0x89, 0x74, 0xc9, 0x83, 0xba, 0x78 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIException : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXCEPTION_IID)
/* [binaryname (MessageMoz)] readonly attribute string message; */
NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char **aMessage) = 0;
/* readonly attribute nsresult result; */
NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) = 0;
/* readonly attribute string name; */
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) = 0;
/* readonly attribute string filename; */
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) = 0;
/* readonly attribute PRUint32 lineNumber; */
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) = 0;
/* readonly attribute PRUint32 columnNumber; */
NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) = 0;
/* readonly attribute nsIStackFrame location; */
NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame **aLocation) = 0;
/* readonly attribute nsIException inner; */
NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException **aInner) = 0;
/* readonly attribute nsISupports data; */
NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports **aData) = 0;
/* string toString (); */
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIException, NS_IEXCEPTION_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIEXCEPTION \
NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char **aMessage); \
NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult); \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName); \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename); \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber); \
NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber); \
NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame **aLocation); \
NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException **aInner); \
NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports **aData); \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIEXCEPTION(_to) \
NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char **aMessage) { return _to GetMessageMoz(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) { return _to GetResult(aResult); } \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) { return _to GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) { return _to GetFilename(aFilename); } \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) { return _to GetLineNumber(aLineNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) { return _to GetColumnNumber(aColumnNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame **aLocation) { return _to GetLocation(aLocation); } \
NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException **aInner) { return _to GetInner(aInner); } \
NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports **aData) { return _to GetData(aData); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) { return _to ToString(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIEXCEPTION(_to) \
NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(char **aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(aMessage); } \
NS_SCRIPTABLE NS_IMETHOD GetResult(nsresult *aResult) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResult(aResult); } \
NS_SCRIPTABLE NS_IMETHOD GetName(char **aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetFilename(char **aFilename) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(aFilename); } \
NS_SCRIPTABLE NS_IMETHOD GetLineNumber(PRUint32 *aLineNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(aLineNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetColumnNumber(PRUint32 *aColumnNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(aColumnNumber); } \
NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIStackFrame **aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
NS_SCRIPTABLE NS_IMETHOD GetInner(nsIException **aInner) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInner(aInner); } \
NS_SCRIPTABLE NS_IMETHOD GetData(nsISupports **aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
NS_SCRIPTABLE NS_IMETHOD ToString(char **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsException : public nsIException
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIEXCEPTION
nsException();
private:
~nsException();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsException, nsIException)
nsException::nsException()
{
/* member initializers and constructor code */
}
nsException::~nsException()
{
/* destructor code */
}
/* [binaryname (MessageMoz)] readonly attribute string message; */
NS_IMETHODIMP nsException::GetMessageMoz(char **aMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsresult result; */
NS_IMETHODIMP nsException::GetResult(nsresult *aResult)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string name; */
NS_IMETHODIMP nsException::GetName(char **aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string filename; */
NS_IMETHODIMP nsException::GetFilename(char **aFilename)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRUint32 lineNumber; */
NS_IMETHODIMP nsException::GetLineNumber(PRUint32 *aLineNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute PRUint32 columnNumber; */
NS_IMETHODIMP nsException::GetColumnNumber(PRUint32 *aColumnNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIStackFrame location; */
NS_IMETHODIMP nsException::GetLocation(nsIStackFrame **aLocation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIException inner; */
NS_IMETHODIMP nsException::GetInner(nsIException **aInner)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISupports data; */
NS_IMETHODIMP nsException::GetData(nsISupports **aData)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string toString (); */
NS_IMETHODIMP nsException::ToString(char **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIException_h__ */
| {
"content_hash": "7f57a1de079fbf85e4ef8a198f5cc29a",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 148,
"avg_line_length": 36.766666666666666,
"alnum_prop": 0.736400725294651,
"repo_name": "akiellor/selenium",
"id": "d729bf9958b95da1210af0dd70b3ec8b7a492f9f",
"size": "13236",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "third_party/gecko-2/mac/include/nsIException.h",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ASP",
"bytes": "22777"
},
{
"name": "C",
"bytes": "13787069"
},
{
"name": "C#",
"bytes": "1592944"
},
{
"name": "C++",
"bytes": "39839762"
},
{
"name": "Java",
"bytes": "5948691"
},
{
"name": "JavaScript",
"bytes": "15038006"
},
{
"name": "Objective-C",
"bytes": "331601"
},
{
"name": "Python",
"bytes": "544265"
},
{
"name": "Ruby",
"bytes": "557579"
},
{
"name": "Shell",
"bytes": "21701"
}
],
"symlink_target": ""
} |
package de.fhg.igd.iva.colormaps.impl;
import static java.lang.Math.hypot;
import java.awt.Color;
import java.util.AbstractMap;
import java.util.Map;
import java.util.Map.Entry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Function;
import de.fhg.igd.iva.colormaps.AbstractKnownColormap;
import de.fhg.igd.iva.colorspaces.CIELAB;
/**
* Guo-style Lab 2D color spaces, based on functions that reflect the choices in the paper.
* @author simon
*/
public abstract class GuoLabStyle extends AbstractKnownColormap
{
private static final Logger logger = LoggerFactory.getLogger(GuoLabStyle.class);
private Function<Double, Double> lightnessFunc;
private Function<Map.Entry<Double, Double>, Map.Entry<Double, Double>> chromaFunc;
/**
* @param lightnessFunc the lightness function, defined based on distance from the mid point 0..sqrt 2
* @param chromaFunc The chroma function, defined based on x and y as in {@link de.fhg.igd.iva.colormaps.KnownColormap#getColor(float, float)}
*/
public GuoLabStyle(Function<Double, Double> lightnessFunc, Function<Entry<Double, Double>, Entry<Double, Double>> chromaFunc)
{
this.lightnessFunc = lightnessFunc;
this.chromaFunc = chromaFunc;
}
public static Function<Double, Double> cone(final float factor)
{
return (input) -> 100.0f - (input * factor);
}
public static Function<Double, Double> pseudoGaussian(float sigma)
{
final float sigmasquare = sigma * sigma;
return input -> 100 * Math.exp(-((input * input) / 2 * sigmasquare));
}
public static Function<Map.Entry<Double, Double>, Map.Entry<Double, Double>> linearAB(final float xOffset,
final float xFactor, final float yOffset, final float yFactor)
{
return input -> new AbstractMap.SimpleEntry<>(
xOffset + input.getKey() * xFactor,
yOffset + input.getValue() * yFactor);
}
public static Function<Map.Entry<Double, Double>, Map.Entry<Double, Double>> linearBa(
final float xOffset,
final float xFactor,
final float yOffset,
final float yFactor) {
return input -> new AbstractMap.SimpleEntry<>(
yOffset + input.getValue() * yFactor,
xOffset + input.getKey() * xFactor);
}
@Override
public Color getColor(double x, double y)
{
// normalize to -1..1
double nx = x * 2 - 1;
double ny = y * 2 - 1;
double dist = (float) hypot(nx, ny);
double light = lightnessFunc.apply(dist);
Map.Entry<Double, Double> ab = chromaFunc.apply(new AbstractMap.SimpleEntry<>(nx, ny));
double[] lab = new double[] { light, ab.getKey(), ab.getValue() };
double[] rgb = CIELAB.lab2rgb(lab);
for (int i = 0; i < rgb.length; i++)
{
// TODO clamp is not the best idea but it's unclear what Guo did
// also ATM we do not have a way of evaluating the delta E in the UI
// meaning we should have a color class supporting further analysis.
if (rgb[i] < 0)
{
rgb[i] = 0;
if (rgb[i] < -0.01)
{
logger.warn("Color channel {} was clamped from {} to 0", i, rgb[i]);
}
}
if (rgb[i] > 1)
{
rgb[i] = 1;
if (rgb[i] > 1.01)
{
logger.warn("Color channel {} was clamped from {} to 1", i, rgb[i]);
}
}
}
return new Color((float)rgb[0], (float)rgb[1], (float)rgb[2]);
}
@Override
public de.fhg.igd.iva.colormaps.ColorSpace getColorSpace() {
return de.fhg.igd.iva.colormaps.ColorSpace.CIE_Lab;
}
}
| {
"content_hash": "44f35596e924d105f934adb014ba2ce2",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 143,
"avg_line_length": 28.94871794871795,
"alnum_prop": 0.6870386772955418,
"repo_name": "igd-iva/colormap-explorer",
"id": "f1a48683ba9b0f6eb12c009915610ec76d9d4a8d",
"size": "3985",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "colormaps/src/main/java/de/fhg/igd/iva/colormaps/impl/GuoLabStyle.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "2809"
},
{
"name": "Java",
"bytes": "361636"
},
{
"name": "Shell",
"bytes": "673"
},
{
"name": "TeX",
"bytes": "70630"
}
],
"symlink_target": ""
} |
package com.touchgraph.graphlayout.graphelements;
import com.touchgraph.graphlayout.Node;
import com.touchgraph.graphlayout.Edge;
import com.touchgraph.graphlayout.TGException;
import java.util.Collection;
import java.util.Iterator;
import java.util.Vector;
import java.util.Hashtable;
/** GraphEltSet contains data about the graph's components. Currently
* the only components are edges and nodes.
*
* @author Alexander Shapiro
* @author Murray Altheim (added support for IDs)
* @version 1.21 $Id: GraphEltSet.java,v 1.1.1.1 2007/01/07 07:58:19 andrew Exp $
*/
public class GraphEltSet implements ImmutableGraphEltSet {
protected Vector nodes;
protected Vector edges;
/** The Hashtable containing references to the Node IDs of the current graph.
*/
protected Hashtable nodeIDRegistry = null;
// ...........
/** Default constructor. */
public GraphEltSet() {
nodes = new Vector();
edges = new Vector();
nodeIDRegistry = new Hashtable(); // registry of Node IDs
}
// Node manipulation ...........................
/** Return the Node at int <tt>index</tt>, null if none are available. */
protected Node nodeAt( int i ) {
if ( nodes.size() == 0 ) return null;
return (Node)nodes.elementAt(i);
}
/** Return the number of Nodes in the cumulative Vector.
* @deprecated this method has been replaced by the <tt>nodeCount()</tt> method.
*/
public int nodeNum() {
return nodes.size();
}
/** Return the number of Nodes in the cumulative Vector. */
public int nodeCount() {
return nodes.size();
}
/** Return an iterator over the Nodes in the cumulative Vector, null if it is empty. */
public Iterator getNodes() {
if ( nodes.size() == 0 ) return null;
return nodes.iterator();
}
/** Registers the Node <tt>node</tt> via its ID String <tt>id</tt>.
*
* @param id the ID of the object.
* @param node the Node to be registered.
*/
//protected void registerNode( String id, Node node ) {
// FIXME
//}
/** Add the Node <tt>node</tt> to the graph, and
* registers the Node via its ID. If no ID exists, no registration occurs. */
public void addNode( Node node ) throws TGException {
String id = node.getID();
if ( id != null ) {
if ( findNode(id) == null ) { // doesn't already exist
nodeIDRegistry.put(id,node);
nodes.addElement(node);
} else throw new TGException(TGException.NODE_EXISTS,"node ID '"+id+"' already exists.");
} else {
String label = node.getLabel().trim();
if (label == null) label = "";
if (!label.equals("") && findNode(node.getLabel()) == null ) {
id = label;
} else {
int i;
for( i = 1; findNode( label +"-"+ i ) != null; i++ );
id = label + "-" + i;
}
node.setID(id);
nodeIDRegistry.put(id,node);
nodes.addElement(node);
}
//} else throw new TGException(TGException.NODE_NO_ID,"node has no ID."); // could be ignored?
}
/** Returns true if the graph contains the Node <tt>node</tt>. */
public boolean contains( Node node ) {
return nodes.contains(node);
}
// Edge manipulation ...........................
/** Return the Edge at int <tt>index</tt>, null if none are available. */
protected Edge edgeAt( int index ) {
if ( edges.size() == 0 ) return null;
return (Edge)edges.elementAt(index);
}
/** Return the number of Edges in the cumulative Vector.
* @deprecated this method has been replaced by the <tt>edgeCount()</tt> method.
*/
public int edgeNum() {
return edges.size();
}
/** Return the number of Edges in the cumulative Vector. */
public int edgeCount() {
return edges.size();
}
/** Return an iterator over the Edges in the cumulative Vector, null if it is empty. */
public Iterator getEdges() {
if ( edges.size() == 0 ) return null;
else return edges.iterator();
}
/** Add the Edge <tt>edge</tt> to the graph. */
public void addEdge( Edge edge ) {
if ( edge == null ) return;
if(!contains(edge)) {
edges.addElement(edge);
edge.from.addEdge(edge);
edge.to.addEdge(edge);
}
}
/** Add an Edge from Node <tt>from</tt> to Node <tt>to</tt>,
* with tension of int <tt>tension</tt>, returning the Edge.
*/
public Edge addEdge( Node from, Node to, int tension ) {
Edge edge = null;
if ( from != null && to != null ) {
edge = new Edge(from,to,tension);
addEdge(edge);
}
return edge;
}
/** Returns true if the graph contains the Edge <tt>edge</tt>. */
public boolean contains( Edge edge ) {
return edges.contains(edge);
}
/** Return the Node whose ID matches the String <tt>id</tt>, null if no match is found. */
public Node findNode( String id ) {
if ( id == null ) return null; // ignore
return (Node)nodeIDRegistry.get(id);
}
/** Return a Collection of all Nodes whose label matches the String <tt>label</tt>,
* null if no match is found. */
public Collection findNodesByLabel( String label ) {
Vector nodelist = new Vector();
for ( int i = 0 ; i < nodeCount() ; i++) {
if (nodeAt(i)!=null && nodeAt(i).getLabel().equals(label)) {
nodelist.add(nodeAt(i));
}
}
if ( nodelist.size() == 0 ) return null;
else return nodelist;
}
/** Return the first Nodes whose label contains the String <tt>substring</tt>,
* null if no match is found. */
public Node findNodeLabelContaining( String substring ) {
for ( int i = 0 ; i < nodeCount() ; i++) {
if (nodeAt(i)!=null && nodeAt(i).getLabel().toLowerCase().equals(substring.toLowerCase())) {
return nodeAt(i);
}
}
for ( int i = 0 ; i < nodeCount() ; i++) {
if (nodeAt(i)!=null && nodeAt(i).getLabel().toLowerCase().indexOf(
substring.toLowerCase())>-1) {
return nodeAt(i);
}
}
return null;
}
/** Return an Edge spanning Node <tt>from</tt> to Node <tt>to</tt>. */
public Edge findEdge( Node from, Node to ) {
for ( int i = 0 ; i < from.edgeCount(); i++ ) {
Edge e = from.edgeAt(i);
if (e.to == to) return e;
}
return null;
}
/** Delete the Edge <tt>edge</tt>. */
public boolean deleteEdge( Edge edge ) {
synchronized(edges) {
if ( edge == null ) return false;
if (!edges.removeElement(edge)) return false;
edge.from.removeEdge(edge);
edge.to.removeEdge(edge);
return true;
}
}
/** Delete the Edges contained within the Vector <tt>edgedToDelete</tt>. */
public void deleteEdges( Vector edgesToDelete ) {
synchronized(edges) {
for (int i=0;i<edgesToDelete.size();i++) {
deleteEdge((Edge) edgesToDelete.elementAt(i));
}
}
}
/** Delete the Edge spanning Node <tt>from</tt> to Node <tt>to</tt>,
* returning true if successful. */
public boolean deleteEdge( Node from, Node to ) {
synchronized(edges) {
Edge e = findEdge(from,to);
if (e!=null) return deleteEdge(e);
return false;
}
}
/** Delete the Node <tt>node</tt>, returning true if successful. */
public boolean deleteNode( Node node ) {
synchronized (nodes) {
if ( node == null ) return false;
if ( !nodes.removeElement(node) ) return false;
String id = node.getID();
if ( id != null ) nodeIDRegistry.remove(id); // remove from registry
for ( int i = 0 ; i < node.edgeCount(); i++ ) {
Edge e = node.edgeAt(i);
if ( e.from == node ) {
edges.removeElement(e); // Delete edge not used, because it would change the node's edges
e.to.removeEdge(e); // vector which is being iterated on.
} else if ( e.to == node ) {
edges.removeElement(e);
e.from.removeEdge(e);
}
//No edges are deleted from node. Hopefully garbage collection will pick them up.
}
}
return true;
}
/** Delete the Nodes contained within the Vector <tt>nodesToDelete</tt>. */
public void deleteNodes( Vector nodesToDelete ) {
synchronized (nodes) {
for (int i=0;i<nodesToDelete.size();i++) {
deleteNode((Node)nodesToDelete.elementAt(i));
}
}
}
/** Returns a random node, or null if none exist (for making random graphs). */
public Node getRandomNode() {
if ( nodes.size() == 0 ) return null;
int r=(int) (Math.random()*nodeCount());
return nodeAt(r);
}
/** Return the first Node, null if none exist. */
public Node getFirstNode() {
if ( nodes.size() == 0 ) return null;
else return nodeAt(0);
}
/** Clear all nodes and edges. */
public void clearAll() {
synchronized(nodes) {
synchronized(edges) {
nodes.removeAllElements();
edges.removeAllElements();
nodeIDRegistry.clear();
}
}
}
/** A way of iterating through all the nodes.
* Maybe too complex, and should be replaced by iterators.
*/
public void forAllNodes( TGForEachNode fen ) {
synchronized(nodes) {
for (int i=0;i<nodeCount();i++) {
Node n = nodeAt(i);
fen.forEachNode(n);
}
}
}
/** iterates through pairs of Nodes. */
public void forAllNodePairs( TGForEachNodePair fenp ) {
synchronized(nodes) {
for (int i=0;i<nodeCount();i++) {
Node n1=nodeAt(i);
fenp.beforeInnerLoop(n1);
for (int j=i+1;j<nodeCount();j++)
fenp.forEachNodePair(n1, nodeAt(j));
fenp.afterInnerLoop(n1);
}
}
}
/** Iterates through Edges. */
public void forAllEdges( TGForEachEdge fee ) {
synchronized(edges) {
for (int i=0;i<edgeCount();i++) {
Edge e = edgeAt(i);
fee.forEachEdge(e);
}
}
}
} // end com.touchgraph.graphlayout.graphelements.GraphEltSet
| {
"content_hash": "f29fc0f703b24e4dde2f63d89de2f9c5",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 109,
"avg_line_length": 34.68711656441718,
"alnum_prop": 0.5237884683409976,
"repo_name": "lolocripto/wikokit",
"id": "9ab8bc48050acf11897e21d3d31463a84eece623",
"size": "13657",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "TGWikiBrowser/src/com/touchgraph/graphlayout/graphelements/GraphEltSet.java",
"mode": "33261",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "2453"
},
{
"name": "HTML",
"bytes": "68688"
},
{
"name": "Java",
"bytes": "4573782"
},
{
"name": "PHP",
"bytes": "18481"
},
{
"name": "Perl",
"bytes": "15475"
},
{
"name": "SQLPL",
"bytes": "13308"
},
{
"name": "Shell",
"bytes": "885"
}
],
"symlink_target": ""
} |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("StoryTime.Data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("StoryTime.Data")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7c950cdc-9587-4b65-a204-988efed17948")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| {
"content_hash": "cd152a0d746e2120e55b63717a6fe506",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 38.77142857142857,
"alnum_prop": 0.7435519528371407,
"repo_name": "pepinho24/Story-Time",
"id": "cfea3f834d2dbfc73a3b7eefef9d73ab02533c14",
"size": "1360",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Data/StoryTime.Data/Properties/AssemblyInfo.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "104"
},
{
"name": "C#",
"bytes": "209390"
},
{
"name": "CSS",
"bytes": "513"
},
{
"name": "JavaScript",
"bytes": "377"
}
],
"symlink_target": ""
} |
<?php
namespace Core\ProjectBundle\Entity;
/**
* Project
*/
class Project
{
/**
* @var integer
*/
private $id;
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $label;
/**
* @var string
*/
private $description;
/**
* @var string
*/
private $logo;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $domains;
/**
* Constructor
*/
public function __construct()
{
$this->domains = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return Project
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set label
*
* @param string $label
*
* @return Project
*/
public function setLabel($label)
{
$this->label = $label;
return $this;
}
/**
* Get label
*
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* Set description
*
* @param string $description
*
* @return Project
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set logo
*
* @param string $logo
*
* @return Project
*/
public function setLogo($logo)
{
$this->logo = $logo;
return $this;
}
/**
* Get logo
*
* @return string
*/
public function getLogo()
{
return $this->logo;
}
/**
* Add domain
*
* @param \Core\ProjectBundle\Entity\Domain $domain
*
* @return Project
*/
public function addDomain(\Core\ProjectBundle\Entity\Domain $domain)
{
$domain->addProject($this);
$this->domains[] = $domain;
return $this;
}
/**
* Remove domain
*
* @param \Core\ProjectBundle\Entity\Domain $domain
*/
public function removeDomain(\Core\ProjectBundle\Entity\Domain $domain)
{
$this->domains->removeElement($domain);
}
/**
* Get domains
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getDomains()
{
return $this->domains;
}
/**
* __toString
*
* @return string
*/
public function __toString()
{
return "{$this->getLabel()}";
}
}
| {
"content_hash": "3fa9cfd6110bbaa06832456c405f66a0",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 76,
"avg_line_length": 15.1010101010101,
"alnum_prop": 0.47759197324414715,
"repo_name": "c0ki/asgard",
"id": "1b7b1eeace55b8ecc32916385bb8d0c1e6680716",
"size": "2990",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Core/ProjectBundle/Entity/Project.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ApacheConf",
"bytes": "3073"
},
{
"name": "CSS",
"bytes": "68817"
},
{
"name": "HTML",
"bytes": "78923"
},
{
"name": "JavaScript",
"bytes": "18662"
},
{
"name": "PHP",
"bytes": "262927"
}
],
"symlink_target": ""
} |
/**
* Created by Leo on 16/12/21.
*/
function addClass(element,value){
if (!element.className) {
element.className = value;
} else {
var newClassName = element.className;
newClassName += " ";
newClassName += value;
element.className = newClassName;
}
}
addLoadEvent(addClass);
| {
"content_hash": "d4505a6e28203f481c10cd273f1ad0af",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 45,
"avg_line_length": 23.642857142857142,
"alnum_prop": 0.6012084592145015,
"repo_name": "zxclovetotti/JavaScript-DOM-ReactJS",
"id": "dedcf6575b0add974c8ec04654dadca20a8cff39",
"size": "331",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/js/addClass.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "13033"
},
{
"name": "HTML",
"bytes": "74583"
},
{
"name": "JavaScript",
"bytes": "60279"
}
],
"symlink_target": ""
} |
<h2>Web Server Configurations</h2>
<h3>Apache</h3>
<p>Minimal configuration for apache. This goes to web/.htaccess:
<pre>
<code class="hljs">
# web/.htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</code>
</pre>
</p>
<h3>Lighttpd</h3>
<p>Rewrite rules for lighttpd.
<pre>
<code class="hljs">
url.rewrite-if-not-file = (
"^/(.*)" => "/project_name.php/$1"
)
</code>
</pre>
</p>
| {
"content_hash": "1962d3aec84e4ea8c0dee24c2a066433",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 64,
"avg_line_length": 18,
"alnum_prop": 0.6728395061728395,
"repo_name": "Palethorn/Yeah",
"id": "e5b5fb0e24faa7d2d622091cc13a46e42372f4f4",
"size": "486",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "tutorial/server-config.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "112995"
},
{
"name": "HTML",
"bytes": "19544"
},
{
"name": "PHP",
"bytes": "118105"
}
],
"symlink_target": ""
} |
package client
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/http/httputil"
"net/url"
"strconv"
"strings"
"github.com/iobeam/iobeam/config"
)
// see time.Parse docs for why this is the case
const (
tokenTimeForm = "2006-01-02 15:04:05 -0700"
contentTypeOctet = "application/octet-stream"
contentTypeJson = "application/json"
contentTypePlain = "text/plain"
)
type basicAuth struct {
username string
password string
}
// ResponseBodyHandler is a function called when an API request returns.
// The function takes an interface{} (usually converted to JSON) and returns
// an error.
type ResponseBodyHandler func(responseBody interface{}) error
// Request is an API HTTP request to the iobeam backend.
type Request struct {
client *Client
apiCall string
method string
headers http.Header
body interface{}
bodyStream io.Reader
responseBody interface{}
responseHeaderPtr **http.Header
handler ResponseBodyHandler
parameters url.Values
auth *basicAuth
token *AuthToken
expectedStatusCode *int
dumpRequest bool
dumpResponse bool
}
// NewRequest creates a new API request to iobeam. It takes a *Client that
// handles the actual execution, a string for the HTTP method, and a string
// for the API path.
func NewRequest(client *Client, method, apiCall string) *Request {
builder := Request{
client: client,
method: method,
apiCall: apiCall,
headers: make(http.Header),
parameters: make(url.Values),
dumpRequest: false,
dumpResponse: false,
}
return &builder
}
// Param adds a query parameter to the *Request whose value is a string.
// It returns the *Request so it can be chained.
func (r *Request) Param(name, value string) *Request {
r.parameters.Add(name, value)
return r
}
// ParamBool adds a query parameter to the *Request whose value is a bool.
// It returns the *Request so it can be chained.
func (r *Request) ParamBool(name string, value bool) *Request {
r.parameters.Add(name, strconv.FormatBool(value))
return r
}
// ParamInt adds a query parameter to the *Request whose value is an int.
// It returns the *Request so it can be chained.
func (r *Request) ParamInt(name string, value int) *Request {
r.parameters.Add(name, strconv.Itoa(value))
return r
}
// ParamInt64 adds a query parameter to the *Request whose value is an int64.
// It returns the *Request so it can be chained.
func (r *Request) ParamInt64(name string, value int64) *Request {
r.parameters.Add(name, strconv.FormatInt(value, 10))
return r
}
// ParamUint adds a query parameter to the *Request whose value is a uint.
// It returns the *Request so it can be chained.
func (r *Request) ParamUint(name string, value uint) *Request {
return r.ParamUint64(name, uint64(value))
}
// ParamUint64 adds a query parameter to the *Request whose value is a uint64.
// It returns the *Request so it can be chained.
func (r *Request) ParamUint64(name string, value uint64) *Request {
r.parameters.Add(name, strconv.FormatUint(value, 10))
return r
}
// Body sets the HTTP body of the *Request. It assumes the content can be
// serialized to JSON. It returns the *Request so it can be chained.
func (r *Request) Body(content interface{}) *Request {
r.headers.Add("Content-Type", contentTypeJson)
r.body = content
return r
}
// BodyStream sets the stream to use for HTTP body of the *Request.
// Content is assumed to be an octet-stream. It returns the *Request so it can be chained.
func (r *Request) BodyStream(stream io.Reader) *Request {
r.headers.Add("Content-Type", contentTypeOctet)
r.bodyStream = stream
return r
}
// BasicAuth sets the username and password to use in case of Basic authentication
// on the API endpoint. It returns the *Request so it can be chained.
func (r *Request) BasicAuth(username string, password string) *Request {
r.auth = &basicAuth{
username: username,
password: password,
}
return r
}
// refreshToken takes care of refreshing the project token when it expires.
func refreshToken(r *Request, t *AuthToken, p *config.Profile) {
type data struct {
OldToken string `json:"refresh_token"`
}
body := data{OldToken: t.Token}
client := r.client
reqPath := "/v1/tokens/project"
_, _ = client.Post(reqPath).
Expect(200).
Body(body).
ResponseBody(new(AuthToken)).
ResponseBodyHandler(func(token interface{}) error {
projToken := token.(*AuthToken)
err := projToken.Save(p)
if err != nil {
fmt.Printf("Could not save new token: %s\n", err)
}
err = p.UpdateActiveProject(projToken.ProjectId)
if err != nil {
fmt.Printf("Could not update active project: %s\n", err)
}
fmt.Println("New project token acquired...")
fmt.Printf("Expires: %v\n", projToken.Expires)
fmt.Println("-----")
return err
}).Execute()
}
// UserToken returns a request with user token set. It returns the *Request so it can be chained.
func (r *Request) UserToken(p *config.Profile) *Request {
r.token, _ = ReadUserToken(p)
return r
}
// ProjectToken returns a Request with the project token set. If the token is expired,
// an attempt to refresh the token is made. It returns the *Request so it can be chained.
func (r *Request) ProjectToken(p *config.Profile, id uint64) *Request {
r.token, _ = ReadProjToken(p, id)
if r.token == nil {
return r
}
expired, err := r.token.IsExpired()
if err != nil {
return r
}
if expired {
r.token, _ = r.token.Refresh(r.client, p)
}
return r
}
// Expect sets the HTTP status code value that the executed r should expect.
// It returns the *Request so it can be chained.
func (r *Request) Expect(statusCode int) *Request {
r.expectedStatusCode = &statusCode
return r
}
// ResponseBody sets the object where the *Request's response should be stored.
// It returns the *Request so it can be chained.
func (r *Request) ResponseBody(content interface{}) *Request {
r.responseBody = content
return r
}
// ResponseHeader sets a pointer that will be directed to the response header.
// It returns the *Request so it can be chained.
func (r *Request) ResponseHeader(headerPtr **http.Header) *Request {
r.responseHeaderPtr = headerPtr
return r
}
// ResponseBodyHandler sets the ResponseBodyHandler to use when the request returns.
// It returns the *Request so it can be chained.
func (r *Request) ResponseBodyHandler(handler ResponseBodyHandler) *Request {
r.handler = handler
return r
}
// DumpRequest sets whether the request should be dumped to stdout.
// It returns the *Request so it can be chained.
func (r *Request) DumpRequest(dumpFlag bool) *Request {
r.dumpRequest = dumpFlag
return r
}
// DumpResponse sets whether the response should be dumped to stdout.
// It returns the *Request so it can be chained.
func (r *Request) DumpResponse(dumpFlag bool) *Request {
r.dumpResponse = dumpFlag
return r
}
// Execute causes the API request to be carried out, returning a *Response and
// possibly an error.
func (r *Request) Execute() (*Response, error) {
var reader io.Reader
if r.body != nil {
body, err := json.Marshal(r.body)
if err != nil {
return nil, err
}
reader = bytes.NewReader(body)
} else if r.bodyStream != nil {
reader = r.bodyStream
}
req, err := http.NewRequest(r.method,
*r.client.url+r.apiCall, reader)
if err != nil {
return nil, err
}
req.URL.RawQuery = r.parameters.Encode()
req.Header = r.headers
req.Header.Add("User-Agent", r.client.userAgent)
// If basic auth nor a token is set, we'll try anyway and then fail as unauthorized.
if r.auth != nil {
req.SetBasicAuth(r.auth.username, r.auth.password)
} else if r.token != nil {
req.Header.Add("Authorization", "Bearer "+r.token.Token)
}
if r.dumpRequest {
dump, err := httputil.DumpRequest(req, true)
if err != nil {
return nil, err
}
fmt.Printf("REQ:\n %q\n", dump)
}
httpRsp, err := r.client.httpClient.Do(req)
if err != nil {
return nil, err
}
if r.dumpResponse {
dump, err := httputil.DumpResponse(httpRsp, true)
if err != nil {
return nil, err
}
fmt.Printf("RSP:\n %q\n", dump)
}
if r.responseHeaderPtr != nil {
*r.responseHeaderPtr = &httpRsp.Header
}
rsp := NewResponse(httpRsp)
contentType := contentTypeJson
if len(httpRsp.Header["Content-Type"]) > 0 {
contentType = httpRsp.Header["Content-Type"][0]
}
contentTypeArgs := strings.Split(contentType, ";")
caseInsensitiveEqual := func(given, want string) bool {
return strings.ToLower(strings.TrimSpace(given)) == want
}
isJson := false
isPlain := false
if len(contentTypeArgs) == 1 {
isJson = caseInsensitiveEqual(contentTypeArgs[0], contentTypeJson)
isPlain = caseInsensitiveEqual(contentTypeArgs[0], contentTypePlain)
} else if len(contentTypeArgs) == 2 {
isUtf8 := caseInsensitiveEqual(contentTypeArgs[1], "charset=utf-8")
if isUtf8 {
isJson = caseInsensitiveEqual(contentTypeArgs[0], contentTypeJson)
isPlain = caseInsensitiveEqual(contentTypeArgs[0], contentTypePlain)
}
}
if !isJson && !isPlain {
return rsp, errors.New("Unknown content-type: " + contentType)
}
// Check if we got the status code we expected
if r.expectedStatusCode != nil &&
*r.expectedStatusCode != httpRsp.StatusCode {
// Read error message if any
errorMsg, err := rsp.ReadError()
if err != nil {
err = errors.New("Unexpected status code " + httpRsp.Status)
} else if len(errorMsg.Errors) > 0 {
e1 := errorMsg.Errors[0]
errFmt := "Error: %s%s\n"
if len(e1.Details) > 0 {
err = fmt.Errorf(errFmt, e1.Message, " ("+e1.Details+")")
} else {
err = fmt.Errorf(errFmt, e1.Message, "")
}
}
return rsp, err
}
var res interface{}
if isJson && r.responseBody != nil {
err = rsp.ReadJson(r.responseBody)
res = r.responseBody
} else if !isJson && isPlain {
var temp string
err = rsp.ReadPlain(&temp)
res = temp
} else if !isJson && !isPlain {
return rsp, errors.New("Unknown content-type, cannot read response: " + contentType)
}
if err != nil {
return rsp, err
}
if r.handler != nil {
err = r.handler(res)
}
return rsp, err
}
| {
"content_hash": "39a8720a6feae4327e40aaf2be266f0f",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 97,
"avg_line_length": 27.732970027247955,
"alnum_prop": 0.6958145018667715,
"repo_name": "iobeam/iobeam",
"id": "207c487706779a43a1fc0a5b3ac47e1e328c294c",
"size": "10178",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "client/request.go",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Go",
"bytes": "146775"
}
],
"symlink_target": ""
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_05) on Thu Sep 30 22:15:59 GMT+01:00 2004 -->
<TITLE>
org.springframework.jms (Spring Framework)
</TITLE>
<META NAME="keywords" CONTENT="org.springframework.jms package">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="org.springframework.jms (Spring Framework)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/springframework/jdbc/support/nativejdbc/package-summary.html"><B>PREV PACKAGE</B></A>
<A HREF="../../../org/springframework/jms/connection/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<H2>
Package org.springframework.jms
</H2>
Classes in this package make JMS easier to use.
<P>
<B>See:</B>
<BR>
<A HREF="#package_description"><B>Description</B></A>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Exception Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/IllegalStateException.html" title="class in org.springframework.jms">IllegalStateException</A></B></TD>
<TD>Runtime exception mirroring the JMS IllegalStateException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/InvalidClientIDException.html" title="class in org.springframework.jms">InvalidClientIDException</A></B></TD>
<TD>Runtime exception mirroring the JMS InvalidClientIDException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/InvalidDestinationException.html" title="class in org.springframework.jms">InvalidDestinationException</A></B></TD>
<TD>Runtime exception mirroring the JMS InvalidDestinationException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/InvalidSelectorException.html" title="class in org.springframework.jms">InvalidSelectorException</A></B></TD>
<TD>Runtime exception mirroring the JMS InvalidSelectorException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/JmsException.html" title="class in org.springframework.jms">JmsException</A></B></TD>
<TD>Base class for exception thrown by the framework whenever it
encounters a problem related to JMS.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/JmsSecurityException.html" title="class in org.springframework.jms">JmsSecurityException</A></B></TD>
<TD>Runtime exception mirroring the JMS JMSSecurityException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/MessageEOFException.html" title="class in org.springframework.jms">MessageEOFException</A></B></TD>
<TD>Runtime exception mirroring the JMS MessageEOFException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/MessageFormatException.html" title="class in org.springframework.jms">MessageFormatException</A></B></TD>
<TD>Runtime exception mirroring the JMS MessageFormatException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/MessageNotReadableException.html" title="class in org.springframework.jms">MessageNotReadableException</A></B></TD>
<TD>Runtime exception mirroring the JMS MessageNotReadableException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/MessageNotWriteableException.html" title="class in org.springframework.jms">MessageNotWriteableException</A></B></TD>
<TD>Runtime exception mirroring the JMS MessageNotWriteableException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/ResourceAllocationException.html" title="class in org.springframework.jms">ResourceAllocationException</A></B></TD>
<TD>Runtime exception mirroring the JMS ResourceAllocationException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/TransactionInProgressException.html" title="class in org.springframework.jms">TransactionInProgressException</A></B></TD>
<TD>Runtime exception mirroring the JMS TransactionInProgressException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/TransactionRolledBackException.html" title="class in org.springframework.jms">TransactionRolledBackException</A></B></TD>
<TD>Runtime exception mirroring the JMS TransactionRolledBackException.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../org/springframework/jms/UncategorizedJmsException.html" title="class in org.springframework.jms">UncategorizedJmsException</A></B></TD>
<TD>JmsException to be thrown when no other matching subclass found.</TD>
</TR>
</TABLE>
<P>
<A NAME="package_description"><!-- --></A><H2>
Package org.springframework.jms Description
</H2>
<P>
Classes in this package make JMS easier to use.
<P>
<P>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/springframework/jdbc/support/nativejdbc/package-summary.html"><B>PREV PACKAGE</B></A>
<A HREF="../../../org/springframework/jms/connection/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright (C) 2003-2004 The Spring Framework Project.</i>
</BODY>
</HTML>
| {
"content_hash": "9ab73a210cd5619b77be9fb5363a4a3e",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 182,
"avg_line_length": 48.14351851851852,
"alnum_prop": 0.676026541013559,
"repo_name": "dachengxi/spring1.1.1_source",
"id": "2c7584466406a6ae2fcf14ee38e824cc066f2c50",
"size": "10399",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/api/org/springframework/jms/package-summary.html",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Batchfile",
"bytes": "163"
},
{
"name": "FreeMarker",
"bytes": "8024"
},
{
"name": "HTML",
"bytes": "34675"
},
{
"name": "Java",
"bytes": "5934573"
}
],
"symlink_target": ""
} |
Perhaps you want to ask the user questions, read files, or even stamp your own versions. In the [Simple Plugin](/docs/simplePlugin.md) section we copy a template with our plugin. File-copy is cute :heartpulse:, but this section will show you how to do more. All you need to do is provide an async function to the snapshot property, instead of a string like the simple plugin used.
Whatever async function you provide will be run when your plugin is selected. Now writing the `.solidarity` file is up to you!
**And you're not alone!** You have full power of Gluegun's context API (the CLI driver of Solidarity).
Learn more about [Gluegun here](https://infinitered.github.io/gluegun/#/context-api). Any spinner, color, or prompt you see in Solidarity is driven from Gluegun. So open up Solidarity source for examples of things you can do!
_As an example:_ If we wanted to perform the same exact plugin as the one from [Simple Plugin](/docs/simplePlugin.md), but do everything manually, the plugin would then look like this:
```js
module.exports = (context) => {
// Register this plugin
context.addPlugin({
name: 'Fiesta Time',
description: 'Make sure your system is ready to party 🎉',
snapshot: async (context) => {
const { filesystem, system } = context
// Copy template
filesystem.copy(
`${__dirname}/../templates/fiesta-template.json`,
'.solidarity'
)
// Update versions to local
await system.run('solidarity snapshot')
}
})
}
```
### [More About Plugins](/docs/plugins.md)
| {
"content_hash": "929bb75a1f22aa9a9a65e2d5cc72c580",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 382,
"avg_line_length": 50.32258064516129,
"alnum_prop": 0.7096153846153846,
"repo_name": "infinitered/solidarity",
"id": "c959251ac6ad4fa1643d8c7fd18654df89bc2c2e",
"size": "1615",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "docs/solidarityFromCode.md",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "3015"
},
{
"name": "JavaScript",
"bytes": "443"
},
{
"name": "TypeScript",
"bytes": "158067"
}
],
"symlink_target": ""
} |
"use strict"
const mongoose = require('mongoose')
const timestamps = require('mongoose-timestamp')
const validator = require('validator')
const Schema = mongoose.Schema
const ObjectId = Schema.Types.ObjectId
const async = require('async')
const competitiondb = require('./competition')
const lineMapdb = require('./lineMap')
const logger = require('../config/logger').mainLogger
const LINE_LEAGUES = require("./competition").LINE_LEAGUES
const lineRunSchema = new Schema({
competition: {
type : ObjectId,
ref : 'Competition',
required: true,
index : true
},
round : {type: ObjectId, ref: 'Round', required: true, index: true},
team : {type: ObjectId, ref: 'Team', required: true, index: true},
field : {type: ObjectId, ref: 'Field', required: true, index: true},
map : {type: ObjectId, ref: 'LineMap', required: true, index: true},
judges: [{type: ObjectId, ref: 'User'}],
tiles : [{
isDropTile: {type: Boolean, default: false},
scored : {type: Boolean, default: false}
/*scoredItems: {
obstacles : {type: Boolean, default: false},
speedbumps : {type: Boolean, default: false},
intersection: {type: Boolean, default: false},
gaps : {type: Boolean, default: false},
dropTile : {type: Boolean, default: false}
}*/
}],
LoPs : {type: [Number], min: 0},
evacuationLevel : {
type: Number, default: 1, validate: function (l) {
return l == 1 || l == 2
}
},
exitBonus : {type: Boolean, default: false},
rescuedLiveVictims: {type: Number, min: 0, default: 0},
rescuedDeadVictims: {type: Number, min: 0, default: 0},
score : {type: Number, min: 0, default: 0},
showedUp : {type: Boolean, default: false},
time : {
minutes: {type: Number, min: 0, max: 8, default: 0},
seconds: {type: Number, min: 0, max: 59, default: 0}
},
status : {type: Number, min: 0, default: 0},
retired : {type: Boolean, default: false},
sign : {
captain : {type: String, default: ""},
referee : {type: String, default: ""},
referee_as: {type: String, default: ""}
},
started : {type: Boolean, default: false, index: true},
comment : {type: String, default: ""},
startTime : {type: Number, default: 0}
})
lineRunSchema.pre('save', function (next) {
const self = this
self.populate('map', "name finished", function (err, populatedRun) {
if (err) {
return next(err)
} else if (!populatedRun.map.finished) {
err = new Error('Map "' + populatedRun.map.name + '" is not finished!')
return next(err)
} else {
if (self.isNew) {
LineRun.findOne({
round: self.round,
team : self.team
}).populate("round team").exec(function (err, dbRun) {
if (err) {
return next(err)
} else if (dbRun) {
err = new Error('Team "' + dbRun.team.name +
'" already has a run in round "' +
dbRun.round.name +
'"!')
return next(err)
} else {
// Check that all references matches
async.parallel({
competition: function (callback) {
competitiondb.competition.findById(self.competition, function (err, dbCompetition) {
if (err) {
return callback(err)
} else if (!dbCompetition) {
return callback(new Error("No competition with that id!"))
} else {
return callback(null, dbCompetition)
}
})
},
round : function (callback) {
competitiondb.round.findById(self.round, function (err, dbRound) {
if (err) {
return callback(err)
} else if (!dbRound) {
return callback(new Error("No round with that id!"))
} else {
return callback(null, dbRound)
}
})
},
team : function (callback) {
competitiondb.team.findById(self.team, function (err, dbTeam) {
if (err) {
return callback(err)
} else if (!dbTeam) {
return callback(new Error("No team with that id!"))
} else {
return callback(null, dbTeam)
}
})
},
field : function (callback) {
competitiondb.field.findById(self.field, function (err, dbField) {
if (err) {
return callback(err)
} else if (!dbField) {
return callback(new Error("No field with that id!"))
} else {
return callback(null, dbField)
}
})
},
map : function (callback) {
lineMapdb.lineMap.findById(self.map, function (err, dbMap) {
if (err) {
return callback(err)
} else if (!dbMap) {
return callback(new Error("No map with that id!"))
} else {
return callback(null, dbMap)
}
})
}
},
function (err, results) {
if (err) {
return next(err)
} else {
const competitionId = results.competition.id
if (results.round.competition != competitionId) {
return next(new Error("Round does not match competition!"))
}
if (LINE_LEAGUES.indexOf(results.round.league) == -1) {
return next(new Error("Round does not match league!"))
}
if (results.team.competition != competitionId) {
return next(new Error("Team does not match competition!"))
}
if (LINE_LEAGUES.indexOf(results.team.league) == -1) {
return next(new Error("Team does not match league!"))
}
if (results.field.competition != competitionId) {
return next(new Error("Field does not match competition!"))
}
if (LINE_LEAGUES.indexOf(results.field.league) == -1) {
return next(new Error("Field does not match league!"))
}
if (results.map.competition != competitionId) {
return next(new Error("Map does not match competition!"))
}
self.LoPs = new Array(results.map.numberOfDropTiles).fill(0)
self.tiles = new Array(results.map.indexCount).fill({})
return next()
}
})
}
})
} else {
return next()
}
}
})
})
lineRunSchema.plugin(timestamps)
const LineRun = mongoose.model('LineRun', lineRunSchema)
/** Mongoose model {@link http://mongoosejs.com/docs/models.html} */
module.exports.lineRun = LineRun
| {
"content_hash": "3949ff3edf36922161b6320a2e9180f8",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 102,
"avg_line_length": 38.159203980099505,
"alnum_prop": 0.47783572359843546,
"repo_name": "TechnoX/rcj-rescue-scoring",
"id": "abec0b1449ec2982bc6b052397df03a8a7ee2a7b",
"size": "7670",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "models/lineRun.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "38145"
},
{
"name": "HTML",
"bytes": "198005"
},
{
"name": "JavaScript",
"bytes": "410849"
}
],
"symlink_target": ""
} |
package org.jetbrains.plugins.scala
package codeInspection.functionExpressions
import com.intellij.codeInspection._
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.TextRange
import com.intellij.psi.impl.source.codeStyle.CodeEditUtil
import com.intellij.psi.impl.source.tree.TreeElement
import com.intellij.psi.search.LocalSearchScope
import com.intellij.psi.search.searches.ReferencesSearch
import com.intellij.psi.util.PsiTreeUtil
import com.intellij.psi.{PsiDocumentManager, PsiElement}
import org.jetbrains.plugins.scala.codeInspection.functionExpressions.MatchToPartialFunctionInspection._
import org.jetbrains.plugins.scala.codeInspection.{AbstractFixOnTwoPsiElements, AbstractInspection}
import org.jetbrains.plugins.scala.extensions.{StringExt, childOf}
import org.jetbrains.plugins.scala.lang.lexer.ScalaTokenTypes
import org.jetbrains.plugins.scala.lang.psi.api.base.patterns._
import org.jetbrains.plugins.scala.lang.psi.api.expr._
import org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementFactory._
import org.jetbrains.plugins.scala.lang.psi.types.result.Success
import org.jetbrains.plugins.scala.lang.psi.types.{ScType, ScTypeExt}
import scala.collection.JavaConverters._
/**
* Nikolay.Tropin
* 9/26/13
*/
class MatchToPartialFunctionInspection extends AbstractInspection(inspectionId) {
override def actionFor(implicit holder: ProblemsHolder): PartialFunction[PsiElement, Any] = {
case fun @ ScFunctionExpr(Seq(param), Some(ms @ ScMatchStmt(ref: ScReferenceExpression, _)))
if ref.resolve() == param && !(param.typeElement.isDefined && notExpectedType(fun)) && checkSameResolve(fun) =>
registerProblem(holder, ms, fun)
case fun @ ScFunctionExpr(Seq(param), Some(ScBlock(ms @ ScMatchStmt(ref: ScReferenceExpression, _))))
if ref.resolve() == param && !(param.typeElement.isDefined && notExpectedType(fun)) && checkSameResolve(fun) =>
registerProblem(holder, ms, fun) //if fun is last statement in block, result can be block without braces
case ms @ ScMatchStmt(_: ScUnderscoreSection, _) if checkSameResolve(ms) =>
registerProblem(holder, ms, ms)
}
private def notExpectedType(expr: ScExpression) = {
(expr.getType(), expr.expectedType()) match {
case (Success(tpe: ScType, _), Some(expType: ScType)) => !expType.equiv(tpe)
case _ => true
}
}
private def registerProblem(holder: ProblemsHolder, ms: ScMatchStmt, fExprToReplace: ScExpression) = {
def leftBraceOffset(ms: ScMatchStmt): Option[Int] = {
val leftBrace = ms.findFirstChildByType(ScalaTokenTypes.tLBRACE)
leftBrace match {
case elem: PsiElement => Option(elem.getTextRange.getStartOffset)
case _ => None
}
}
for (offset <- leftBraceOffset(ms)) {
val endOffsetInParent = offset - fExprToReplace.getTextRange.getStartOffset
val rangeInParent = new TextRange(0, endOffsetInParent)
val fix = new MatchToPartialFunctionQuickFix(ms, fExprToReplace)
holder.registerProblem(fExprToReplace, inspectionName, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, rangeInParent, fix)
}
}
private def checkSameResolve(argExpr: ScExpression): Boolean = {
def dummyCaseClauses = "{case _ => }"
val call = PsiTreeUtil.getParentOfType(argExpr, classOf[MethodInvocation])
val arg = argExpr match {
case _ childOf (x childOf (_: ScArgumentExprList)) => x
case _ childOf (x childOf (_: ScInfixExpr)) => x
case _ => argExpr
}
if (call == null || !call.argumentExpressions.contains(arg)) return true
val (refText, oldResolve) = call match {
case ScInfixExpr(qual, r, _) => (s"${qual.getText}.${r.refName}", r.resolve())
case ScMethodCall(r: ScReferenceExpression, _) => (r.getText, r.resolve())
case _ => return true
}
val newCall = createExpressionWithContextFromText(refText + dummyCaseClauses, call.getContext, call)
newCall match {
case ScMethodCall(ref: ScReferenceExpression, _) => ref.resolve() == oldResolve
case _ => true
}
}
}
object MatchToPartialFunctionInspection {
val inspectionId = "MatchToPartialFunction"
val inspectionName = "Convert match statement to pattern matching anonymous function"
}
class MatchToPartialFunctionQuickFix(matchStmt: ScMatchStmt, fExprToReplace: ScExpression)
extends AbstractFixOnTwoPsiElements(inspectionName, matchStmt, fExprToReplace) {
def doApplyFix(project: Project) {
val mStmt = getFirstElement
val fExpr = getSecondElement
val matchStmtCopy = mStmt.copy.asInstanceOf[ScMatchStmt]
val leftBrace = matchStmtCopy.findFirstChildByType(ScalaTokenTypes.tLBRACE)
if (leftBrace == null) return
addNamingPatterns(matchStmtCopy, needNamingPattern(mStmt))
matchStmtCopy.deleteChildRange(matchStmtCopy.getFirstChild, leftBrace.getPrevSibling)
val newBlock = createExpressionFromText(matchStmtCopy.getText)(mStmt.getManager)
CodeEditUtil.setOldIndentation(newBlock.getNode.asInstanceOf[TreeElement], CodeEditUtil.getOldIndentation(matchStmtCopy.getNode))
extensions.inWriteAction {
fExpr.getParent match {
case (argList: ScArgumentExprList) childOf (call: ScMethodCall) if argList.exprs.size == 1 =>
val newMethCall =
createExpressionFromText(call.getInvokedExpr.getText + " " + newBlock.getText)(fExpr.getManager)
call.replace(newMethCall)
case block@ScBlock(`fExpr`) =>
block.replace(newBlock)
case _ =>
fExpr.replace(newBlock)
}
PsiDocumentManager.getInstance(project).commitAllDocuments()
}
}
private def needNamingPattern(matchStmt: ScMatchStmt): Seq[Int] = {
matchStmt match {
case ScMatchStmt(expr: ScReferenceExpression, _) =>
val arg = expr.resolve()
if (arg == null) return Nil
val refs = ReferencesSearch.search(arg, new LocalSearchScope(matchStmt)).findAll().asScala
for {
(clause, index) <- matchStmt.caseClauses.zipWithIndex
if refs.exists(ref => PsiTreeUtil.isAncestor(clause, ref.getElement, false))
} yield index
case _ => Nil
}
}
private def addNamingPatterns(matchStmt: ScMatchStmt, indexes: Seq[Int]): Unit = {
val clauses = matchStmt.caseClauses
val name = matchStmt.expr.map(_.getText).getOrElse(return)
implicit val projectContext = matchStmt.projectContext
indexes.map(i => clauses(i).pattern).foreach {
case Some(w: ScWildcardPattern) =>
w.replace(createPatternFromText(name))
case Some(p: ScPattern) =>
val text = p.getText.parenthesize(needParentheses(p))
p.replace(createPatternFromText(s"$name @ $text"))
case _ =>
}
}
private def needParentheses(p: ScPattern): Boolean = p match {
case _: ScReferencePattern | _: ScLiteralPattern | _: ScConstructorPattern |
_: ScParenthesisedPattern | _: ScTuplePattern | _: ScStableReferenceElementPattern => false
case _ => true
}
}
| {
"content_hash": "808301ef0031e08baa8dd0ae8d6eaae0",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 133,
"avg_line_length": 45.16774193548387,
"alnum_prop": 0.7253249535780603,
"repo_name": "loskutov/intellij-scala",
"id": "12708fc0921c6dc15509fdeabfbb70b9ea50bc16",
"size": "7001",
"binary": false,
"copies": "1",
"ref": "refs/heads/idea172.x-better-implicits",
"path": "src/org/jetbrains/plugins/scala/codeInspection/functionExpressions/MatchToPartialFunctionInspection.scala",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "HTML",
"bytes": "55566"
},
{
"name": "Java",
"bytes": "1397858"
},
{
"name": "Lex",
"bytes": "35728"
},
{
"name": "Scala",
"bytes": "11387086"
},
{
"name": "Shell",
"bytes": "537"
}
],
"symlink_target": ""
} |
require "google/cloud/video_intelligence/v1p2beta1/video_intelligence_service_client"
require "google/rpc/status_pb"
require "google/cloud/videointelligence/v1p2beta1/video_intelligence_pb"
module Google
module Cloud
module VideoIntelligence
# rubocop:disable LineLength
##
# # Ruby Client for Cloud Video Intelligence API ([Beta](https://github.com/googleapis/google-cloud-ruby#versioning))
#
# [Cloud Video Intelligence API][Product Documentation]:
# Detects objects, explicit content, and scene changes in videos. It also
# specifies the region for annotation and transcribes speech to text.
# Supports both asynchronous API and streaming API.
# - [Product Documentation][]
#
# ## Quick Start
# In order to use this library, you first need to go through the following
# steps:
#
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
# 3. [Enable the Cloud Video Intelligence API.](https://console.cloud.google.com/apis/library/videointelligence.googleapis.com)
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest/file.AUTHENTICATION.html)
#
# ### Installation
# ```
# $ gem install google-cloud-video_intelligence
# ```
#
# ### Preview
# #### VideoIntelligenceServiceClient
# ```rb
# require "google/cloud/video_intelligence"
#
# video_intelligence_client = Google::Cloud::VideoIntelligence.new(version: :v1p2beta1)
# input_uri = "gs://cloud-samples-data/video/cat.mp4"
# features_element = :LABEL_DETECTION
# features = [features_element]
#
# # Register a callback during the method call.
# operation = video_intelligence_client.annotate_video(input_uri: input_uri, features: features) do |op|
# raise op.results.message if op.error?
# op_results = op.results
# # Process the results.
#
# metadata = op.metadata
# # Process the metadata.
# end
#
# # Or use the return value to register a callback.
# operation.on_done do |op|
# raise op.results.message if op.error?
# op_results = op.results
# # Process the results.
#
# metadata = op.metadata
# # Process the metadata.
# end
#
# # Manually reload the operation.
# operation.reload!
#
# # Or block until the operation completes, triggering callbacks on
# # completion.
# operation.wait_until_done!
# ```
#
# ### Next Steps
# - Read the [Cloud Video Intelligence API Product documentation][Product Documentation]
# to learn more about the product and see How-to Guides.
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
# to see the full list of Cloud APIs that we cover.
#
# [Product Documentation]: https://cloud.google.com/video-intelligence
#
# ## Enabling Logging
#
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
#
# Configuring a Ruby stdlib logger:
#
# ```ruby
# require "logger"
#
# module MyLogger
# LOGGER = Logger.new $stderr, level: Logger::WARN
# def logger
# LOGGER
# end
# end
#
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
# module GRPC
# extend MyLogger
# end
# ```
#
module V1p2beta1
# rubocop:enable LineLength
##
# Service that implements Google Cloud Video Intelligence API.
#
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
# Provides the means for authenticating requests made by the client. This parameter can
# be many types.
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
# authenticating requests made by this client.
# A `String` will be treated as the path to the keyfile to be used for the construction of
# credentials for this client.
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
# credentials for this client.
# A `GRPC::Core::Channel` will be used to make calls through.
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
# should already be composed with a `GRPC::Core::CallCredentials` object.
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
# metadata for requests, generally, to give OAuth credentials.
# @param scopes [Array<String>]
# The OAuth scopes for this service. This parameter is ignored if
# an updater_proc is supplied.
# @param client_config [Hash]
# A Hash for call options for each method. See
# Google::Gax#construct_settings for the structure of
# this data. Falls back to the default config if not specified
# or the specified config is missing data points.
# @param timeout [Numeric]
# The default timeout, in seconds, for calls made through this client.
# @param metadata [Hash]
# Default metadata to be sent with each request. This can be overridden on a per call basis.
# @param service_address [String]
# Override for the service hostname, or `nil` to leave as the default.
# @param service_port [Integer]
# Override for the service port, or `nil` to leave as the default.
# @param exception_transformer [Proc]
# An optional proc that intercepts any exceptions raised during an API call to inject
# custom error handling.
def self.new \
credentials: nil,
scopes: nil,
client_config: nil,
timeout: nil,
metadata: nil,
service_address: nil,
service_port: nil,
exception_transformer: nil,
lib_name: nil,
lib_version: nil
kwargs = {
credentials: credentials,
scopes: scopes,
client_config: client_config,
timeout: timeout,
metadata: metadata,
exception_transformer: exception_transformer,
lib_name: lib_name,
service_address: service_address,
service_port: service_port,
lib_version: lib_version
}.select { |_, v| v != nil }
Google::Cloud::VideoIntelligence::V1p2beta1::VideoIntelligenceServiceClient.new(**kwargs)
end
end
end
end
end
| {
"content_hash": "d188a1d6b1b980bd6d84d07c80aa8ebb",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 186,
"avg_line_length": 44.81976744186046,
"alnum_prop": 0.6292644960435855,
"repo_name": "quartzmo/google-cloud-ruby",
"id": "ea90588586dda4477760f252a37a3813e91b95f2",
"size": "8286",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "google-cloud-video_intelligence/lib/google/cloud/video_intelligence/v1p2beta1.rb",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Batchfile",
"bytes": "1412"
},
{
"name": "C",
"bytes": "25027"
},
{
"name": "CSS",
"bytes": "1422"
},
{
"name": "DIGITAL Command Language",
"bytes": "2216"
},
{
"name": "Dockerfile",
"bytes": "7419"
},
{
"name": "HTML",
"bytes": "65207"
},
{
"name": "JavaScript",
"bytes": "1862"
},
{
"name": "Python",
"bytes": "261473"
},
{
"name": "Ruby",
"bytes": "19823503"
},
{
"name": "Shell",
"bytes": "6540"
}
],
"symlink_target": ""
} |
from django.contrib import admin
from .models import Client
class ClientAdmin(admin.ModelAdmin):
pass
admin.site.register(Client, ClientAdmin) | {
"content_hash": "98a0063931bdd2f3825f71109c35b8d1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.8040540540540541,
"repo_name": "halfnibble/django-intro",
"id": "8bc4b02695c633d623e40ce7f3e75c88a4232aed",
"size": "148",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "freelance/clients/admin.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "HTML",
"bytes": "11011"
},
{
"name": "Python",
"bytes": "16869"
}
],
"symlink_target": ""
} |
package jj.webdriver.finder;
import javax.inject.Inject;
import javax.inject.Singleton;
import jj.webdriver.WebElementFinder;
import org.openqa.selenium.By;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.slf4j.Logger;
import com.google.common.base.Predicate;
/**
* waits three seconds for the element to exist and be displayed. if the
* element is not found, a warning is logged, and it waits three more
* seconds, then bails
*
* @author jason
*
*/
@Singleton
public class ImpatientWebElementFinder implements WebElementFinder {
private final Logger logger;
@Inject
ImpatientWebElementFinder(final Logger logger) {
this.logger = logger;
}
@Override
public WebElement find(final WebDriver webDriver, final By by) {
int tries = 1;
do {
try {
new WebDriverWait(webDriver, 3).until(new Predicate<WebDriver>() {
@Override
public boolean apply(WebDriver webDriver) {
WebElement webElement = webDriver.findElement(by);
return webElement != null && webElement.isDisplayed();
}
});
// if we succeed, exit now
tries = 0;
} catch (TimeoutException e) {
if (tries == 0) {
throw new AssertionError("gave up locating an element after 6 seconds " + by);
} else {
logger.warn("can't find element {} in 3 seconds. trying three more.", by);
}
}
} while (tries-- > 0);
return webDriver.findElement(by);
}
}
| {
"content_hash": "ef42e009f07765dc9e30057b992b18ad",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 83,
"avg_line_length": 24.25,
"alnum_prop": 0.7023195876288659,
"repo_name": "heinousjay/Pandia",
"id": "232a7f4a71f868b347645c6496fd882a4b9cd840",
"size": "2150",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/main/java/jj/webdriver/finder/ImpatientWebElementFinder.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "Java",
"bytes": "98707"
}
],
"symlink_target": ""
} |
import React from 'react'
import PropTypes from 'prop-types'
import { storiesOf } from '@kadira/storybook'
import { EasySteps } from '../src'
const FirstSlide = (props, context) => (
<div>
<p>Vai simbora</p>
<button onClick={context.goToNext}>
Click Me
</button>
</div>
)
FirstSlide.contextTypes = {
goToNext: PropTypes.func
}
storiesOf('<EasySteps />', module)
.add('default', () => (
<EasySteps>
<FirstSlide />
<div>
Olar
</div>
<div>
Opãn
</div>
<div>
Como tar
</div>
</EasySteps>
))
| {
"content_hash": "c3ce84831f6fa6f9bacbecfdd6736536",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 45,
"avg_line_length": 17.09090909090909,
"alnum_prop": 0.5815602836879432,
"repo_name": "airroom/react-easy-steps",
"id": "686950343e762082cad31cf71f2d172abd1af2d9",
"size": "565",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "__stories__/index.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "2357"
}
],
"symlink_target": ""
} |
<?php
namespace Zman\Tefilos;
trait Slichos
{
/**
* Checks if the day has Slichos.
*
* @return bool
*/
public function hasSlichos($sfardi = false)
{
return !($this->isShabbos() && !$this->isYomKippur())
&& ($this->isAseresYimeiTeshuva()
|| $this->isElulSlichos($sfardi)
|| ($this->isFastDay() && !$this->isTishaBav()));
}
/**
* Checks if there are Slichos because of Elul.
*
* @param bool $sfardi
* @return bool
*/
public function isElulSlichos($sfardi = false)
{
return $this->jewishMonth === 13 && $this->gte(static::firstDayOfSlichos($this->jewishYear, $sfardi));
}
/**
* Gets the first day of Slichos before the Yomim Noraim.
*
* @param bool $sfardi
* @return \Zman\Zman
*/
public static function firstDayOfSlichos($year, $sfardi = false)
{
return !$sfardi ? static::firstDayOfAshkenaziSlichos($year) : static::firstDayOfSfardiSlichos($year);
}
/**
* Gets the first day of Slichos for Sfaradim.
*
* @param bool $sfardi
* @return \Zman\Zman
*/
public static function firstDayOfSfardiSlichos($year)
{
return toSecular(13, 1, $year);
}
/**
* Gets the first day of Slichos for Ashkenazim.
*
* @param bool $sfardi
* @return \Zman\Zman
*/
public static function firstDayOfAshkenaziSlichos($year)
{
$dayOfRoshHashana = static::firstDayOfRoshHashana($year + 1);
return $dayOfRoshHashana
->subDays($dayOfRoshHashana->dayOfWeek + ($dayOfRoshHashana->dayOfWeek > 3 ? 0 : 7));
}
}
| {
"content_hash": "ac44117c8e7f7befeb5f07ffc3133e53",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 110,
"avg_line_length": 25.545454545454547,
"alnum_prop": 0.5747330960854092,
"repo_name": "zmanim/zman",
"id": "dea2fd693a5b6cc501703babdc2b3aa37601a331",
"size": "1686",
"binary": false,
"copies": "1",
"ref": "refs/heads/main",
"path": "src/Tefilos/Slichos.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Dockerfile",
"bytes": "1787"
},
{
"name": "PHP",
"bytes": "107034"
}
],
"symlink_target": ""
} |
<ion-view view-title="{{'params.title' | translate}}">
<ion-content>
<div class="list">
<!-- <ion-toggle ng-disabled="true" ng-model="item.checked" ng-checked="item.checked">
{{'params.offlineMode' | translate}}
</ion-toggle> -->
<div class="item item-input item-select">
<div class="input-label">
{{'params.language' | translate}}
</div>
<select ng-model="paramsCtrl.selected.language"
ng-change="paramsCtrl.changeLanguage()"
ng-options="key as value | translate for (key , value) in paramsCtrl.languages">
</select>
</div>
<div class="item item-input item-select">
<div class="input-label">
{{'params.fontSize' | translate}}
</div>
<select ng-model="paramsCtrl.selected.fontSize"
ng-change="paramsCtrl.changeFontSize()"
ng-options="object.value as object.trans | translate for object in paramsCtrl.fontSize | toArray | orderBy:'order'">
</select>
</div>
<a ng-if="paramsCtrl.isPushNotifPermitted && paramsCtrl.isPushNotifEnabled" class="item item-icon-left item-icon-right" ui-sref="public.params.pushNotifications">
<i class="icon ion-android-notifications-none"></i> {{'params.pushNotifications' | translate}}
<i class="icon ion-ios-arrow-right"></i>
</a>
</div>
</ion-content>
</ion-view>
| {
"content_hash": "557599c3858f1a24d57beaf401657418",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 174,
"avg_line_length": 51.935483870967744,
"alnum_prop": 0.5366459627329192,
"repo_name": "denzelwamburu/dekutcuapp",
"id": "209d47f1487baa3712a17cef982ba936e3de31d7",
"size": "1610",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "lib/templates/module/params.html",
"mode": "33261",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "34290"
},
{
"name": "CoffeeScript",
"bytes": "56914"
},
{
"name": "HTML",
"bytes": "28338"
},
{
"name": "JavaScript",
"bytes": "95565"
},
{
"name": "Shell",
"bytes": "4146"
}
],
"symlink_target": ""
} |
""" Here goes all the extensions and configs options. """
from google.cloud import datastore
from flask_mail import Mail
from flask_debugtoolbar import DebugToolbarExtension
class Db:
""" Class for common datastore functions. """
def __init__(self):
pass
def init_app(self, app):
""" Pass the app obj to the class. """
self.client = datastore.Client(app.config["PROJECT_ID"])
def from_datastore(self, entity):
""" Translate Datastore results from:
[Entity{key: (kind, id), prop: val, ...}]
To: {id: id, prop: val, ...} """
if not entity:
return None
if isinstance(entity, list):
entity = entity.pop()
entity['id'] = entity.key.id
return entity
def get(self, kind, entity_id):
""" Returns a single entity form Datastore. """
db = self.client
key = db.key(kind, int(entity_id))
return self.from_datastore(db.get(key))
def get_multi(self, kind, entities_keys):
""" Returns a list of all the entity in the list if exists. """
db = self.client
entities_keys = [db.key(kind, int(key)) for key in entities_keys]
entities = db.get_multi(entities_keys)
entities = map(self.from_datastore, entities)
return list(entities)
def put(self, kind, data, entity_id=None):
""" Create an Entity or update """
db = self.client
key = db.key(kind, int(entity_id)) if entity_id else db.key(kind)
# Exlude body field from index, this is beacause
# strings longer that 1500 bytes can be indexed.
if 'body' in data:
entity = datastore.Entity(key=key, exclude_from_indexes=['body'])
else:
entity = datastore.Entity(key=key)
entity.update(data)
db.put(entity)
return entity.key.id
# Updates and insert are almost the same
update = put
def delete(self, kind, entity_id):
""" Delete an Entity from Datastore. """
db = self.client
key = db.key(kind, int(entity_id))
return db.delete(key)
def delete_multi(self, kind, entities_id):
""" Delete multiples Entities from Datastore. """
db = self.client
entities_keys = [db.key(kind, int(entity_id))
for entity_id in entities_id]
return db.delete_multi(entities_keys)
# GClound DataStore wrapper
db = Db()
# Flask Mail
mail = Mail()
# Flask Debug
toolbar = DebugToolbarExtension()
| {
"content_hash": "7540de1f58b794204f613271996b6a32",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 77,
"avg_line_length": 29.39080459770115,
"alnum_prop": 0.590926867422761,
"repo_name": "oldani/nanodegree-blog",
"id": "fe0c206b9ab68496e979a1f4c5b40e13ec107650",
"size": "2557",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "app/extensions.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "CSS",
"bytes": "299"
},
{
"name": "HTML",
"bytes": "9175"
},
{
"name": "JavaScript",
"bytes": "5641"
},
{
"name": "Python",
"bytes": "20626"
}
],
"symlink_target": ""
} |
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Input;
using Xamarin.Forms;
namespace Plugin.Badge.Sample.ViewModels
{
public class GenericBadgeTabViewModel : INotifyPropertyChanged
{
private static readonly List<Color> Colors = new List<Color>()
{
Color.Accent,
Color.Aqua,
Color.Black,
Color.Blue,
Color.Fuchsia,
Color.Fuchsia,
Color.Gray,
Color.Green,
Color.Lime,
Color.Maroon,
Color.Navy,
Color.Pink,
Color.Purple,
Color.Red,
Color.Silver,
Color.Teal,
Color.White,
Color.Wheat,
Color.WhiteSmoke
};
private static readonly List<FontAttributes> FontAttrs = new List<FontAttributes>()
{
FontAttributes.Bold,
FontAttributes.Italic,
FontAttributes.Bold | FontAttributes.Italic,
FontAttributes.None
};
public Color BadgeColor { get; private set; } = Color.Red;
public Color BadgeTextColor { get; private set; } = Color.Black;
public ICommand ChangeColorCommand => new Command(obj =>
{
_color++;
if (_color >= Colors.Count)
_color = 0;
BadgeColor = Colors[_color];
RaisePropertyChanged(nameof(BadgeColor));
});
public ICommand ChangeTextColorCommand => new Command(obj =>
{
_textColor--;
if (_textColor < 0)
_textColor = Colors.Count - 1;
BadgeTextColor = Colors[_textColor];
RaisePropertyChanged(nameof(BadgeTextColor));
});
public ICommand ChangeFontAttributesCommand => new Command((obj) =>
{
_fontIndex++;
if (_fontIndex >= FontAttrs.Count)
_fontIndex = 0;
FontAttributes = FontAttrs[_fontIndex];
RaisePropertyChanged(nameof(FontAttributes));
});
private int _color;
private int _count = 1;
private int _textColor;
private int _fontIndex;
private double _fontSize = (double)Abstractions.Badge.BadgeFontSizeProperty.DefaultValue;
public string Count => _count <= 0 ? string.Empty : _count.ToString();
public int CountValue
{
get => _count;
set
{
if (_count == value)
return;
_count = value;
RaisePropertyChanged(nameof(CountValue));
RaisePropertyChanged(nameof(Count));
}
}
public FontAttributes FontAttributes { get; private set; } = FontAttributes.Bold;
public double FontSize
{
get => _fontSize;
set
{
if (_fontSize == value)
return;
_fontSize = value;
RaisePropertyChanged(nameof(FontSize));
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void RaisePropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}
| {
"content_hash": "4f4709602598310d7cf02b6c48946a9a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 97,
"avg_line_length": 28.82051282051282,
"alnum_prop": 0.5346975088967971,
"repo_name": "xabre/xamarin-forms-tab-badge",
"id": "e7725f81fd9ce8cb0dc037acd8abbe6a72d8d633",
"size": "3374",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "Source/Sample/Plugin.Badge.Sample/ViewModels/GenericBadgeTabViewModel.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "C#",
"bytes": "138382"
},
{
"name": "PowerShell",
"bytes": "7471"
}
],
"symlink_target": ""
} |
getdns-python-bindings
======================
Python bindings for getdns
External dependencies
=====================
Built and tested against Python 2.7 and Python 3.4. You will need to install
the Python headers and libraries - this is usually a package
called "python-dev"
Currently building against the getdns 0.3.1 release.
getdns external dependencies include:
* [libldns from NLnet Labs](https://www.nlnetlabs.nl/projects/ldns/) version 1.6.11 or later (ldns requires ope
nssl headers and libraries)
* [libunbound from NLnet Labs](http://www.nlnetlabs.nl/projects/unbound/) version 1.4.16 or later
* [libexpat](http://expat.sourceforge.net/) for libunbound.
* [libidn from the FSF](http://www.gnu.org/software/libidn/) version 1.
* [libevent](http://libevent.org) version 2.0.21 stable, sometimes called libevent2 (only needed if you plan to
use it for asynchronous handling)
Note that getdns **MUST** be built with the --with-libevent flag to
configure.
Building
========
To build,
```
python setup.py build
````
During the development process and before the module is installed, I
find it convenient to have a symlink in the current directory pointing
to the library in the build directory:
```
getdns.so -> build/lib.linux-i686-2.7/getdns.so
```
This is only useful if you're working on the actual bindings code;
people who are using the bindings should go ahead and install.
To install,
```
python setup.py install
````
We recently added Python 3 support. To build, just invoke
the Python 3 interpreter rather the Python 2 interpreter (on
most systems this will be "python3").
```
python3 setup.py build
```
You will need the
Python 3 development environment ("python3-dev" or
"python3-devel", most often).
Documentation
=============
Documentation is formatted using the [sphinx](http://sphinx-doc.org/)
documentation system. The html-formatted output is under the pygetdns
source tree in doc/_build/html. It is also available online at [readthedocs.org]
(https://getdns.readthedocs.org/)
Changes from the earlier release
================================
In addition to adding Python 3 support, we've changed the callback
argument to the asynchronous methods to accept a callable by name,
rather than as a literal string.
We're also now supporting a new transport_list attribute, an
ordered (by preference) list of transport options, including
TCP, UDP, TLS, and STARTTLS.
There are also a number of bugfixes, including cleaning up
after unbound zombies (this has been fixed in unbound as well
but the code is not yet included in a distribution) and
correct handling of strings encoded as getdns bindatas.
Examples have been updated to work with both Python 2.x and
Python 3.
Please see the documentation for details on new attributes
extensions, and methods.
Examples
========
There are several sample scripts in the examples directory, showing how to
issue different kinds of queries, how to verify the answer status and DNSSEC
status, and so on.
| {
"content_hash": "02be16d27f886fb33fc03158bcd43dc2",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 111,
"avg_line_length": 29.99,
"alnum_prop": 0.7449149716572191,
"repo_name": "Acidburn0zzz/getdns-python-bindings",
"id": "f67e0350a436affd68dee640249248c7a1b389b8",
"size": "2999",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "README.md",
"mode": "33188",
"license": "bsd-3-clause",
"language": [
{
"name": "C",
"bytes": "139511"
},
{
"name": "Python",
"bytes": "2944"
}
],
"symlink_target": ""
} |
package org.locationtech.geowave.analytic;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.geotools.feature.type.BasicFeatureTypes;
import org.geotools.filter.text.cql2.CQLException;
import org.geotools.filter.text.ecql.ECQL;
import org.junit.Test;
import org.locationtech.geowave.analytic.AnalyticFeature.ClusterFeatureAttribute;
import org.locationtech.geowave.analytic.clustering.ClusteringUtils;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.Geometry;
import org.locationtech.jts.geom.GeometryFactory;
import org.locationtech.jts.io.ParseException;
import org.opengis.feature.simple.SimpleFeature;
import org.opengis.feature.simple.SimpleFeatureType;
import org.opengis.filter.Filter;
import org.opengis.geometry.MismatchedDimensionException;
import org.opengis.referencing.FactoryException;
import org.opengis.referencing.NoSuchAuthorityCodeException;
public class AnalyticFeatureTest {
@Test
public void testGeometryCreation() throws MismatchedDimensionException,
NoSuchAuthorityCodeException, FactoryException, CQLException, ParseException {
final SimpleFeatureType ftype =
AnalyticFeature.createGeometryFeatureAdapter(
"centroid",
new String[] {"extra1"},
BasicFeatureTypes.DEFAULT_NAMESPACE,
ClusteringUtils.CLUSTERING_CRS).getFeatureType();
final GeometryFactory factory = new GeometryFactory();
SimpleFeature feature =
AnalyticFeature.createGeometryFeature(
ftype,
"b1",
"123",
"fred",
"NA",
20.30203,
factory.createPoint(new Coordinate(02.33, 0.23)),
new String[] {"extra1"},
new double[] {0.022},
1,
1,
0);
assertEquals(
new Coordinate(02.33, 0.23),
((Geometry) feature.getDefaultGeometry()).getCoordinate());
System.out.println(((Geometry) feature.getDefaultGeometry()).getPrecisionModel());
System.out.println(((Geometry) feature.getDefaultGeometry()).getEnvelope());
feature =
AnalyticFeature.createGeometryFeature(
ftype,
"b1",
"123",
"fred",
"NA",
20.30203,
factory.createPoint(new Coordinate(02.33, 0.23)),
new String[] {"extra1"},
new double[] {0.022},
10,
1,
0);
assertEquals(
new Coordinate(02.33, 0.23),
((Geometry) feature.getDefaultGeometry()).getCoordinate());
assertEquals(
"geometry",
feature.getFeatureType().getGeometryDescriptor().getName().getLocalPart());
assertEquals(
new Integer(10),
feature.getAttribute(ClusterFeatureAttribute.ZOOM_LEVEL.attrName()));
Filter gtFilter = ECQL.toFilter("BBOX(geometry,2,0,3,1) and level = 10");
assertTrue(gtFilter.evaluate(feature));
gtFilter = ECQL.toFilter("BBOX(geometry,2,0,3,1) and level = 9");
assertFalse(gtFilter.evaluate(feature));
gtFilter = ECQL.toFilter("BBOX(geometry,2,0,3,1) and batchID = 'b1'");
assertTrue(gtFilter.evaluate(feature));
}
}
| {
"content_hash": "8990f92c206539663fd50e918e55faf9",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 86,
"avg_line_length": 36.640449438202246,
"alnum_prop": 0.6755596442808954,
"repo_name": "locationtech/geowave",
"id": "e06577997fc2db083cf3262478e5900b10db9db2",
"size": "3696",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "analytics/api/src/test/java/org/locationtech/geowave/analytic/AnalyticFeatureTest.java",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "ANTLR",
"bytes": "10168"
},
{
"name": "Dockerfile",
"bytes": "3268"
},
{
"name": "FreeMarker",
"bytes": "2879"
},
{
"name": "Gnuplot",
"bytes": "57750"
},
{
"name": "Java",
"bytes": "11564564"
},
{
"name": "Puppet",
"bytes": "8849"
},
{
"name": "Python",
"bytes": "418256"
},
{
"name": "Scheme",
"bytes": "20491"
},
{
"name": "Shell",
"bytes": "100172"
}
],
"symlink_target": ""
} |
"""Create jobs in various configurations and run them.
The :class:`JobBuilder` class lets you build a combination of parameters easily.
It produces a list of :class:`Job` instances.
When running a job, you get a :class:`JobResult`.
"""
import itertools
class Job(object):
"""A concrete, runnable set of configuration parameters.
Do not create directly – use :class:`JobBuilder` instead!
Args:
job_id: identify this set of parameters
repetition_id: distinguish repetitions of this set of parameters
callback: function to invoke with params
params (dict): the parameters
"""
def __init__(self, job_id, repetition_id, callback, params):
self._job_id = job_id
self._repetition_id = repetition_id
self._callback = callback
self._params = params
@property
def job_id(self):
"""Identifies this set of parameters"""
return self._job_id
@property
def repetition_id(self):
"""Distinguishes repetitions of this set of parameters."""
return self._repetition_id
def run(self):
"""Execute the job.
Returns:
JobResult: the callback result, wrapped in a :class:`JobResult`.
Example::
>>> def add(x, y): return x + y
>>> job = Job(1, 2, add, dict(x=2, y=40))
>>> result = job.run()
>>> result.job is job
True
>>> result.result
42
"""
result = self._callback(**self.params)
return JobResult(self, result)
@property
def params(self):
"""dict: The chosen set of parameters. Do not modify."""
return self._params
def __str__(self):
job_id = self.job_id
repetition_id = self.repetition_id
params = self.params
formatted_params = ' '.join(
'{}={!r}'.format(key, params[key])
for key in sorted(params.keys())
)
return '{}:{}: {}'.format(job_id, repetition_id, formatted_params)
class JobResult(object):
"""The result of a job execution."""
def __init__(self, job, result):
self._job = job
self._result = result
@property
def job(self):
"""Job: The job that was run to generate this result."""
return self._job
@property
def result(self):
"""Whatever the job callback returned."""
return self._result
def _dict_list_product(dict_of_lists):
lists_of_kv_pairs = [
[(key, value) for value in dict_of_lists[key]]
for key in sorted(dict_of_lists.keys())]
for kv_pairs in itertools.product(*lists_of_kv_pairs):
yield dict(kv_pairs)
class JobBuilder(object):
"""Create a range of jobs to cover the required parameter combinations
Args:
defaults: any default values for the parameters
"""
def __init__(self, **defaults):
self._param_lists = {}
for param, value in defaults.items():
self.add(param, value)
def _add_list(self, param, values):
if param in self._param_lists:
raise RuntimeError("redefinition of parameter {!r}".format(param))
self._param_lists[param] = list(values)
def add(self, param, *values):
"""Add a specific range of parameters.
Args:
param: the name of the parameter
values: The values you want to add
Returns:
The added values.
Example::
>>> builder = JobBuilder()
>>> builder.add('x', 1, 2, 3)
(1, 2, 3)
Example: Redefinition of a parameter is impossible::
>>> builder = JobBuilder()
>>> builder.add('x', 1, 2, 3)
(1, 2, 3)
>>> builder.add('x', 4, 5, 6)
Traceback (most recent call last):
RuntimeError: redefinition of parameter 'x'
"""
self._add_list(param, values)
return values
def add_range(self, param, start, end, stride):
"""Create a ``[start, end]`` *inclusive* range of floats.
Args:
param (str):
The name of the param to add.
start (float):
The start of the range.
end (float):
The inclusive end of the range. This might not be included if
``(end - start)/stride`` is not integer.
stride (float):
The step size between numbers in the range.
Returns:
The added values.
Example::
>>> builder = JobBuilder()
>>> builder.add_range('x', 2, 5, 0.5)
[2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0]
Example::
>>> def round_all(ndigits, xs):
... return [round(x, ndigits) for x in xs]
>>> builder = JobBuilder()
>>> expected = round_all(7, [0/3, 1/3, 2/3, 3/3, 4/3, 5/3, 6/3])
>>> actual = round_all(7, builder.add_range('x', 0, 2, 1/3))
>>> actual == expected or (actual, expected)
True
Example: start must be smaller than end::
>>> builder = JobBuilder()
>>> builder.add_range('x', 3, 0, 0.5)
Traceback (most recent call last):
ValueError: start must be smaller than end
Example: stride must be positive::
>>> builder = JobBuilder()
>>> builder.add_range('x', 0, 3, -0.5)
Traceback (most recent call last):
ValueError: stride must be positive
"""
if not start < end:
raise ValueError("start must be smaller than end")
if stride <= 0:
raise ValueError("stride must be positive")
def _values():
# pylint: disable=invalid-name
n = 0
while True:
value = start + n * stride
if value <= end:
yield value
else:
break
n += 1
values = list(_values())
self._add_list(param, values)
return values
def add_linspace(self, param, start, stop, num):
""" Create a ``[start, stop]`` *inclusive* range of floats.
Args:
param (str):
The name of the param to add.
start (float):
The start of the range.
stop (float):
The inclusive stop of the range.
num (int):
The number of items in the range, must be at least 2.
Returns:
The added items.
Example::
>>> builder = JobBuilder()
>>> builder.add_linspace('x', 2, 5, 7)
[2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0]
Example::
>>> builder = JobBuilder()
>>> expected = [0.0, 1/3, 2/3, 1.0, 4/3, 5/3, 2.0]
>>> actual = builder.add_linspace('x', 0, 2, 7)
>>> actual == expected or (actual, expected)
True
Example: start must be smaller than stop::
>>> builder = JobBuilder()
>>> builder.add_linspace('x', 3, 0, 7)
Traceback (most recent call last):
ValueError: start must be smaller than stop
Example: num must be at least 2 to include start and stop:
>>> builder = JobBuilder()
>>> builder.add_linspace('x', 0, 3, 1)
Traceback (most recent call last):
ValueError: num must be at least 2 to include the start and stop
"""
if not start < stop:
raise ValueError("start must be smaller than stop")
if num < 2:
raise ValueError("num must be at least 2 to include the start and stop")
span = stop - start
values = [start + span * (n / (num - 1)) for n in range(num)]
self._add_list(param, values)
return values
def number_of_jobs(self):
"""Calculate the number of jobs that will be generated.
Example::
>>> builder = JobBuilder()
>>> builder.number_of_jobs()
1
>>> builder.add('a', 7)
(...)
>>> builder.add('b', 1, 2, 3)
(...)
>>> builder.add('c', 'a', 'b', 'c', 'd')
(...)
>>> builder.number_of_jobs()
12
"""
num = 1
for values in self._param_lists.values():
num *= len(values)
return num
def build(self, callback, repetitions=1):
"""Create all Job objects from this configuration.
Args:
callback: The function to invoke in the Job.
repetitions: How often each parameter set should be repeated.
Returns:
List[Job]: All job objects.
Example::
>>> def target(x, y, z): pass
>>> builder = JobBuilder(x=2)
>>> builder.add('y', 1, 2, 3)
(...)
>>> builder.add('z', True, False)
(...)
>>> jobs = builder.build(target, 2)
>>> jobs
[<multijob.job.Job object at 0x...>, ...]
>>> for job in jobs:
... print(job)
0:0: x=2 y=1 z=True
0:1: x=2 y=1 z=True
1:0: x=2 y=1 z=False
1:1: x=2 y=1 z=False
2:0: x=2 y=2 z=True
2:1: x=2 y=2 z=True
3:0: x=2 y=2 z=False
3:1: x=2 y=2 z=False
4:0: x=2 y=3 z=True
4:1: x=2 y=3 z=True
5:0: x=2 y=3 z=False
5:1: x=2 y=3 z=False
Example: empty config still produces a configuration::
>>> def target(): pass
>>> builder = JobBuilder()
>>> builder.build(target, 2)
[<...>, <...>]
Example: the callback must be callable::
>>> builder = JobBuilder()
>>> builder.build("target", 2)
Traceback (most recent call last):
TypeError: callback must be callable
Example: at least one repetition required::
>>> def target(): pass
>>> builder = JobBuilder()
>>> builder.build(target, 0)
Traceback (most recent call last):
ValueError: at least one repetition required
"""
if not callable(callback):
raise TypeError("callback must be callable")
if repetitions < 1:
raise ValueError("at least one repetition required")
params_product = _dict_list_product(self._param_lists)
jobs = []
for job_id, params in enumerate(params_product):
for repetition_id in range(repetitions):
jobs.append(Job(job_id, repetition_id, callback, params))
return jobs
| {
"content_hash": "ce6d5741cc3db728f9b2eb2b63ea952b",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 84,
"avg_line_length": 29.131720430107528,
"alnum_prop": 0.5094583371781859,
"repo_name": "fg-netzwerksicherheit/multijob",
"id": "802966ee893659b2ec394f021b60defd15d284f1",
"size": "10855",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "multijob/job.py",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "CSS",
"bytes": "428"
},
{
"name": "Makefile",
"bytes": "1015"
},
{
"name": "Python",
"bytes": "40404"
}
],
"symlink_target": ""
} |
namespace Beekeeper.Web.Infrastructure.Mapping
{
public interface IMapFrom<T>
where T : class
{
}
}
| {
"content_hash": "d68a542fe8d56cecb3a011dd4dff58c1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 17.285714285714285,
"alnum_prop": 0.6363636363636364,
"repo_name": "AntyfrizZz/Beekeeper",
"id": "12fee97ac928d352798084cacf0db6a2291a5ac0",
"size": "123",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Web/Beekeeper.Web.Infrastructure/Mapping/IMapFrom{T}.cs",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "ASP",
"bytes": "104"
},
{
"name": "C#",
"bytes": "238953"
},
{
"name": "CSS",
"bytes": "434147"
},
{
"name": "JavaScript",
"bytes": "801081"
}
],
"symlink_target": ""
} |
<?php
namespace Curl;
/**
* An object-oriented wrapper of the PHP cURL extension.
*
* This library requires to have the php cURL extensions installed:
* https://php.net/manual/curl.setup.php
*
* Example of making a get request with parameters:
*
* ```php
* $curl = new Curl\Curl();
* $curl->get('http://www.example.com/search', array(
* 'q' => 'keyword',
* ));
* ```
*
* Example post request with post data:
*
* ```php
* $curl = new Curl\Curl();
* $curl->post('http://www.example.com/login/', array(
* 'username' => 'myusername',
* 'password' => 'mypassword',
* ));
* ```
*
* @see https://php.net/manual/curl.setup.php
*/
class Curl
{
// The HTTP authentication method(s) to use.
/**
* @var string Type AUTH_BASIC
*/
const AUTH_BASIC = CURLAUTH_BASIC;
/**
* @var string Type AUTH_DIGEST
*/
const AUTH_DIGEST = CURLAUTH_DIGEST;
/**
* @var string Type AUTH_GSSNEGOTIATE
*/
const AUTH_GSSNEGOTIATE = CURLAUTH_GSSNEGOTIATE;
/**
* @var string Type AUTH_NTLM
*/
const AUTH_NTLM = CURLAUTH_NTLM;
/**
* @var string Type AUTH_ANY
*/
const AUTH_ANY = CURLAUTH_ANY;
/**
* @var string Type AUTH_ANYSAFE
*/
const AUTH_ANYSAFE = CURLAUTH_ANYSAFE;
/**
* @var string The user agent name which is set when making a request
*/
const USER_AGENT = 'PHP Curl/2.5 (+https://github.com/php-mod/curl)';
private $_cookies = array();
private $_headers = array();
/**
* @var resource Contains the curl resource created by `curl_init()` function
*/
public $curl;
/**
* @var bool Whether an error occurred or not
*/
public $error = false;
/**
* @var int Contains the error code of the current request, 0 means no error happened
*/
public $error_code = 0;
/**
* @var string If the curl request failed, the error message is contained
*/
public $error_message = null;
/**
* @var bool Whether an error occurred or not
*/
public $curl_error = false;
/**
* @var int Contains the error code of the current request, 0 means no error happened.
* @see https://curl.haxx.se/libcurl/c/libcurl-errors.html
*/
public $curl_error_code = 0;
/**
* @var string If the curl request failed, the error message is contained
*/
public $curl_error_message = null;
/**
* @var bool Whether an error occurred or not
*/
public $http_error = false;
/**
* @var int Contains the status code of the current processed request.
*/
public $http_status_code = 0;
/**
* @var string If the curl request failed, the error message is contained
*/
public $http_error_message = null;
/**
* @var string|array TBD (ensure type) Contains the request header information
*/
public $request_headers = null;
/**
* @var string|array TBD (ensure type) Contains the response header information
*/
public $response_headers = array();
/**
* @var string|false|null Contains the response from the curl request
*/
public $response = null;
/**
* @var bool Whether the current section of response headers is after 'HTTP/1.1 100 Continue'
*/
protected $response_header_continue = false;
/**
* Constructor ensures the available curl extension is loaded.
*
* @throws \RuntimeException
*/
public function __construct()
{
if (!extension_loaded('curl')) {
throw new \RuntimeException('The cURL extensions is not loaded, make sure you have installed the cURL extension: https://php.net/manual/curl.setup.php');
}
$this->init();
}
// private methods
/**
* Initializer for the curl resource.
*
* Is called by the __construct() of the class or when the curl request is reset.
* @return self
*/
private function init()
{
$this->curl = curl_init();
$this->setUserAgent(self::USER_AGENT);
$this->setOpt(CURLINFO_HEADER_OUT, true);
$this->setOpt(CURLOPT_HEADER, false);
$this->setOpt(CURLOPT_RETURNTRANSFER, true);
$this->setOpt(CURLOPT_HEADERFUNCTION, array($this, 'addResponseHeaderLine'));
return $this;
}
/**
* Handle writing the response headers
*
* @param resource $curl The current curl resource
* @param string $header_line A line from the list of response headers
*
* @return int Returns the length of the $header_line
*/
public function addResponseHeaderLine($curl, $header_line)
{
$trimmed_header = trim($header_line, "\r\n");
if ($trimmed_header === "") {
$this->response_header_continue = false;
} elseif (strtolower($trimmed_header) === 'http/1.1 100 continue') {
$this->response_header_continue = true;
} elseif (!$this->response_header_continue) {
$this->response_headers[] = $trimmed_header;
}
return strlen($header_line);
}
// protected methods
/**
* Execute the curl request based on the respective settings.
*
* @return int Returns the error code for the current curl request
*/
public function exec()
{
$this->response_headers = array();
$this->response = curl_exec($this->curl);
$this->curl_error_code = curl_errno($this->curl);
$this->curl_error_message = curl_error($this->curl);
$this->curl_error = !($this->getErrorCode() === 0);
$this->http_status_code = intval(curl_getinfo($this->curl, CURLINFO_HTTP_CODE));
$this->http_error = $this->isError();
$this->error = $this->curl_error || $this->http_error;
$this->error_code = $this->error ? ($this->curl_error ? $this->getErrorCode() : $this->getHttpStatus()) : 0;
$this->request_headers = preg_split('/\r\n/', curl_getinfo($this->curl, CURLINFO_HEADER_OUT), -1, PREG_SPLIT_NO_EMPTY);
$this->http_error_message = $this->error ? (isset($this->response_headers['0']) ? $this->response_headers['0'] : '') : '';
$this->error_message = $this->curl_error ? $this->getErrorMessage() : $this->http_error_message;
return $this->error_code;
}
/**
* @param array|object|string $data
*/
protected function preparePayload($data)
{
$this->setOpt(CURLOPT_POST, true);
if (is_array($data) || is_object($data)) {
$skip = false;
foreach ($data as $key => $value) {
// If a value is an instance of CurlFile skip the http_build_query
// see issue https://github.com/php-mod/curl/issues/46
// suggestion from: https://stackoverflow.com/a/36603038/4611030
if ($value instanceof \CurlFile) {
$skip = true;
}
}
if (!$skip) {
$data = http_build_query($data);
}
}
$this->setOpt(CURLOPT_POSTFIELDS, $data);
}
/**
* Set the json payload informations to the postfield curl option.
*
* @param array $data The data to be sent.
* @return void
*/
protected function prepareJsonPayload(array $data)
{
$this->setOpt(CURLOPT_POST, true);
$this->setOpt(CURLOPT_POSTFIELDS, json_encode($data));
}
/**
* Set auth options for the current request.
*
* Available auth types are:
*
* + self::AUTH_BASIC
* + self::AUTH_DIGEST
* + self::AUTH_GSSNEGOTIATE
* + self::AUTH_NTLM
* + self::AUTH_ANY
* + self::AUTH_ANYSAFE
*
* @param int $httpauth The type of authentication
*/
protected function setHttpAuth($httpauth)
{
$this->setOpt(CURLOPT_HTTPAUTH, $httpauth);
}
// public methods
/**
* @deprecated use `exec()` directly.
*/
public function _exec()
{
return $this->exec();
}
// functions
/**
* Make a get request with optional data.
*
* The get request has no body data, the data will be correctly added to the $url with the http_build_query() method.
*
* @param string $url The url to make the get request for
* @param array $data Optional arguments who are part of the url
* @return self
*/
public function get($url, $data = array())
{
$this->setOpt(CURLOPT_CUSTOMREQUEST, "GET");
if (count($data) > 0) {
$this->setOpt(CURLOPT_URL, $url.'?'.http_build_query($data));
} else {
$this->setOpt(CURLOPT_URL, $url);
}
$this->setOpt(CURLOPT_HTTPGET, true);
$this->exec();
return $this;
}
/**
* Purge Request
*
* A very common scenario to send a purge request is within the use of varnish, therefore
* the optional hostname can be defined.
*
* @param strng $url The url to make the purge request
* @param string $hostname An optional hostname which will be sent as http host header
* @return self
* @since 2.4.0
*/
public function purge($url, $hostName = null)
{
$this->setOpt(CURLOPT_URL, $url);
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'PURGE');
if ($hostName) {
$this->setHeader('Host', $hostName);
}
$this->exec();
return $this;
}
/**
* Make a post request with optional post data.
*
* @param string $url The url to make the post request
* @param array|object|string $data Post data to pass to the url
* @param boolean $asJson Whether the data should be passed as json or not. {@insce 2.2.1}
* @return self
*/
public function post($url, $data = array(), $asJson = false)
{
$this->setOpt(CURLOPT_CUSTOMREQUEST, "POST");
$this->setOpt(CURLOPT_URL, $url);
if ($asJson) {
$this->prepareJsonPayload($data);
} else {
$this->preparePayload($data);
}
$this->exec();
return $this;
}
/**
* Make a put request with optional data.
*
* The put request data can be either sent via payload or as get parameters of the string.
*
* @param string $url The url to make the put request
* @param array $data Optional data to pass to the $url
* @param bool $payload Whether the data should be transmitted trough payload or as get parameters of the string
* @param boolean $asJson Whether the data should be passed as json or not. {@insce 2.4.0}
* @return self
*/
public function put($url, $data = array(), $payload = false, $asJson = false)
{
if (! empty($data)) {
if ($payload === false) {
$url .= '?'.http_build_query($data);
} else {
if ($asJson) {
$this->prepareJsonPayload($data);
} else {
$this->preparePayload($data);
}
}
}
$this->setOpt(CURLOPT_URL, $url);
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'PUT');
$this->exec();
return $this;
}
/**
* Make a patch request with optional data.
*
* The patch request data can be either sent via payload or as get parameters of the string.
*
* @param string $url The url to make the patch request
* @param array $data Optional data to pass to the $url
* @param bool $payload Whether the data should be transmitted trough payload or as get parameters of the string
* @param boolean $asJson Whether the data should be passed as json or not. {@insce 2.4.0}
* @return self
*/
public function patch($url, $data = array(), $payload = false, $asJson = false)
{
if (! empty($data)) {
if ($payload === false) {
$url .= '?'.http_build_query($data);
} else {
if ($asJson) {
$this->prepareJsonPayload($data);
} else {
$this->preparePayload($data);
}
}
}
$this->setOpt(CURLOPT_URL, $url);
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'PATCH');
$this->exec();
return $this;
}
/**
* Make a delete request with optional data.
*
* @param string $url The url to make the delete request
* @param array $data Optional data to pass to the $url
* @param bool $payload Whether the data should be transmitted trough payload or as get parameters of the string
* @return self
*/
public function delete($url, $data = array(), $payload = false)
{
if (! empty($data)) {
if ($payload === false) {
$url .= '?'.http_build_query($data);
} else {
$this->preparePayload($data);
}
}
$this->setOpt(CURLOPT_URL, $url);
$this->setOpt(CURLOPT_CUSTOMREQUEST, 'DELETE');
$this->exec();
return $this;
}
// setters
/**
* Pass basic auth data.
*
* If the the requested url is secured by an htaccess basic auth mechanism you can use this method to provided the auth data.
*
* ```php
* $curl = new Curl();
* $curl->setBasicAuthentication('john', 'doe');
* $curl->get('http://example.com/secure.php');
* ```
*
* @param string $username The username for the authentication
* @param string $password The password for the given username for the authentication
* @return self
*/
public function setBasicAuthentication($username, $password)
{
$this->setHttpAuth(self::AUTH_BASIC);
$this->setOpt(CURLOPT_USERPWD, $username.':'.$password);
return $this;
}
/**
* Provide optional header information.
*
* In order to pass optional headers by key value pairing:
*
* ```php
* $curl = new Curl();
* $curl->setHeader('X-Requested-With', 'XMLHttpRequest');
* $curl->get('http://example.com/request.php');
* ```
*
* @param string $key The header key
* @param string $value The value for the given header key
* @return self
*/
public function setHeader($key, $value)
{
$this->_headers[$key] = $key.': '.$value;
$this->setOpt(CURLOPT_HTTPHEADER, array_values($this->_headers));
return $this;
}
/**
* Provide a User Agent.
*
* In order to provide you customized user agent name you can use this method.
*
* ```php
* $curl = new Curl();
* $curl->setUserAgent('My John Doe Agent 1.0');
* $curl->get('http://example.com/request.php');
* ```
*
* @param string $useragent The name of the user agent to set for the current request
* @return self
*/
public function setUserAgent($useragent)
{
$this->setOpt(CURLOPT_USERAGENT, $useragent);
return $this;
}
/**
* @deprecated Call setReferer() instead
*
* @param $referrer
* @return self
*/
public function setReferrer($referrer)
{
$this->setReferer($referrer);
return $this;
}
/**
* Set the HTTP referer header.
*
* The $referer Information can help identify the requested client where the requested was made.
*
* @param string $referer An url to pass and will be set as referer header
* @return self
*/
public function setReferer($referer)
{
$this->setOpt(CURLOPT_REFERER, $referer);
return $this;
}
/**
* Set contents of HTTP Cookie header.
*
* @param string $key The name of the cookie
* @param string $value The value for the provided cookie name
* @return self
*/
public function setCookie($key, $value)
{
$this->_cookies[$key] = $value;
$this->setOpt(CURLOPT_COOKIE, http_build_query($this->_cookies, '', '; '));
return $this;
}
/**
* Set customized curl options.
*
* To see a full list of options: http://php.net/curl_setopt
*
* @see http://php.net/curl_setopt
* @param int $option The curl option constant e.g. `CURLOPT_AUTOREFERER`, `CURLOPT_COOKIESESSION`
* @param mixed $value The value to pass for the given $option
* @return bool
*/
public function setOpt($option, $value)
{
return curl_setopt($this->curl, $option, $value);
}
/**
* Get curl option for a certain name
*
* To see a full list of options: http://php.net/curl_getinfo
*
* @see http://php.net/curl_getinfo
* @param int $option The curl option constant e.g. `CURLOPT_AUTOREFERER`, `CURLOPT_COOKIESESSION`
* @param mixed The value to check for the given $option
* @return mixed
*/
public function getOpt($option)
{
return curl_getinfo($this->curl, $option);
}
/**
* Return the all options for current curl ressource
*
* To see a full list of options: http://php.net/curl_getinfo
*
* @see http://php.net/curl_getinfo
* @return array
* @since 2.5.0
*/
public function getOpts()
{
return curl_getinfo($this->curl);
}
/**
* Return the endpoint set for curl
*
* @see http://php.net/curl_getinfo
* @return string of endpoint
*/
public function getEndpoint()
{
return $this->getOpt(CURLINFO_EFFECTIVE_URL);
}
/**
* Enable verbosity.
*
* @param bool $on
* @return self
*/
public function setVerbose($on = true)
{
$this->setOpt(CURLOPT_VERBOSE, $on);
return $this;
}
/**
* @deprecated Call setVerbose() instead
*
* @param bool $on
* @return self
*/
public function verbose($on = true)
{
return $this->setVerbose($on);
}
/**
* Reset all curl options.
*
* In order to make multiple requests with the same curl object all settings requires to be reset.
* @return self
*/
public function reset()
{
$this->close();
$this->_cookies = array();
$this->_headers = array();
$this->error = false;
$this->error_code = 0;
$this->error_message = null;
$this->curl_error = false;
$this->curl_error_code = 0;
$this->curl_error_message = null;
$this->http_error = false;
$this->http_status_code = 0;
$this->http_error_message = null;
$this->request_headers = null;
$this->response_headers = array();
$this->response = false;
$this->init();
return $this;
}
/**
* Closing the current open curl resource.
* @return self
*/
public function close()
{
if (is_resource($this->curl)) {
curl_close($this->curl);
}
return $this;
}
/**
* Close the connection when the Curl object will be destroyed.
*/
public function __destruct()
{
$this->close();
}
/**
* Was an 'info' header returned.
* @return bool
*/
public function isInfo()
{
return $this->getHttpStatus() >= 100 && $this->getHttpStatus() < 200;
}
/**
* Was an 'OK' response returned.
* @return bool
*/
public function isSuccess()
{
return $this->getHttpStatus() >= 200 && $this->getHttpStatus() < 300;
}
/**
* Was a 'redirect' returned.
* @return bool
*/
public function isRedirect()
{
return $this->getHttpStatus() >= 300 && $this->getHttpStatus() < 400;
}
/**
* Was an 'error' returned (client error or server error).
* @return bool
*/
public function isError()
{
return $this->getHttpStatus() >= 400 && $this->getHttpStatus() < 600;
}
/**
* Was a 'client error' returned.
* @return bool
*/
public function isClientError()
{
return $this->getHttpStatus() >= 400 && $this->getHttpStatus() < 500;
}
/**
* Was a 'server error' returned.
* @return bool
*/
public function isServerError()
{
return $this->getHttpStatus() >= 500 && $this->getHttpStatus() < 600;
}
/**
* Get a specific response header key or all values from the response headers array.
*
* Usage example:
*
* ```php
* $curl = (new Curl())->get('http://example.com');
*
* echo $curl->getResponseHeaders('Content-Type');
* ```
*
* Or in order to dump all keys with the given values use:
*
* ```php
* $curl = (new Curl())->get('http://example.com');
*
* var_dump($curl->getResponseHeaders());
* ```
*
* @param string $headerKey Optional key to get from the array.
* @return bool|string|array
* @since 1.9
*/
public function getResponseHeaders($headerKey = null)
{
$headers = array();
if (!is_null($headerKey)) {
$headerKey = strtolower($headerKey);
}
foreach ($this->response_headers as $header) {
$parts = explode(":", $header, 2);
$key = isset($parts[0]) ? $parts[0] : '';
$value = isset($parts[1]) ? $parts[1] : '';
$headers[trim(strtolower($key))] = trim($value);
}
if ($headerKey) {
return isset($headers[$headerKey]) ? $headers[$headerKey] : false;
}
return $headers;
}
/**
* Get response from the curl request
* @return string|false
*/
public function getResponse()
{
return $this->response;
}
/**
* Get curl error code
* @return string
*/
public function getErrorCode()
{
return $this->curl_error_code;
}
/**
* Get curl error message
* @return string
*/
public function getErrorMessage()
{
return $this->curl_error_message;
}
/**
* Get http status code from the curl request
* @return int
*/
public function getHttpStatus()
{
return $this->http_status_code;
}
}
| {
"content_hash": "6d6c68b9d6e117aab9dba1d4021c8e8b",
"timestamp": "",
"source": "github",
"line_count": 813,
"max_line_length": 165,
"avg_line_length": 27.423124231242312,
"alnum_prop": 0.5568961650594304,
"repo_name": "php-mod/curl",
"id": "abcee54ff6afac945dafed94b8089ce6592d721c",
"size": "22295",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "src/Curl/Curl.php",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Dockerfile",
"bytes": "211"
},
{
"name": "PHP",
"bytes": "35932"
}
],
"symlink_target": ""
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Microsoft.CodeAnalysis.CSharp {
using System;
using System.Reflection;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class CSharpResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal CSharpResources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.CodeAnalysis.CSharp.CSharpResources", typeof(CSharpResources).GetTypeInfo().Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Can't reference compilation of type '{0}' from {1} compilation..
/// </summary>
internal static string CantReferenceCompilationOf {
get {
return ResourceManager.GetString("CantReferenceCompilationOf", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Chaining speculative semantic model is not supported. You should create a speculative model from the non-speculative ParentModel..
/// </summary>
internal static string ChainingSpeculativeModelIsNotSupported {
get {
return ResourceManager.GetString("ChainingSpeculativeModelIsNotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Compilation (C#): .
/// </summary>
internal static string CompilationC {
get {
return ResourceManager.GetString("CompilationC", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find file..
/// </summary>
internal static string CouldNotFindFile {
get {
return ResourceManager.GetString("CouldNotFindFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to element is expected.
/// </summary>
internal static string ElementIsExpected {
get {
return ResourceManager.GetString("ElementIsExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Elements cannot be null..
/// </summary>
internal static string ElementsCannotBeNull {
get {
return ResourceManager.GetString("ElementsCannotBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be both extern and abstract.
/// </summary>
internal static string ERR_AbstractAndExtern {
get {
return ResourceManager.GetString("ERR_AbstractAndExtern", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be both abstract and sealed.
/// </summary>
internal static string ERR_AbstractAndSealed {
get {
return ResourceManager.GetString("ERR_AbstractAndSealed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot apply attribute class '{0}' because it is abstract.
/// </summary>
internal static string ERR_AbstractAttributeClass {
get {
return ResourceManager.GetString("ERR_AbstractAttributeClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot call an abstract base member: '{0}'.
/// </summary>
internal static string ERR_AbstractBaseCall {
get {
return ResourceManager.GetString("ERR_AbstractBaseCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': abstract event cannot have initializer.
/// </summary>
internal static string ERR_AbstractEventInitializer {
get {
return ResourceManager.GetString("ERR_AbstractEventInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The modifier 'abstract' is not valid on fields. Try using a property instead..
/// </summary>
internal static string ERR_AbstractField {
get {
return ResourceManager.GetString("ERR_AbstractField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot declare a body because it is marked abstract.
/// </summary>
internal static string ERR_AbstractHasBody {
get {
return ResourceManager.GetString("ERR_AbstractHasBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is abstract but it is contained in non-abstract class '{1}'.
/// </summary>
internal static string ERR_AbstractInConcreteClass {
get {
return ResourceManager.GetString("ERR_AbstractInConcreteClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The abstract method '{0}' cannot be marked virtual.
/// </summary>
internal static string ERR_AbstractNotVirtual {
get {
return ResourceManager.GetString("ERR_AbstractNotVirtual", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': an abstract class cannot be sealed or static.
/// </summary>
internal static string ERR_AbstractSealedStatic {
get {
return ResourceManager.GetString("ERR_AbstractSealedStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': accessibility modifiers on accessors may only be used if the property or indexer has both a get and a set accessor.
/// </summary>
internal static string ERR_AccessModMissingAccessor {
get {
return ResourceManager.GetString("ERR_AccessModMissingAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Accessor '{0}' cannot implement interface member '{1}' for type '{2}'. Use an explicit interface implementation..
/// </summary>
internal static string ERR_AccessorImplementingMethod {
get {
return ResourceManager.GetString("ERR_AccessorImplementingMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Properties cannot combine accessor lists with expression bodies..
/// </summary>
internal static string ERR_AccessorListAndExpressionBody {
get {
return ResourceManager.GetString("ERR_AccessorListAndExpressionBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be added to this assembly because it already is an assembly.
/// </summary>
internal static string ERR_AddModuleAssembly {
get {
return ResourceManager.GetString("ERR_AddModuleAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An add or remove accessor expected.
/// </summary>
internal static string ERR_AddOrRemoveExpected {
get {
return ResourceManager.GetString("ERR_AddOrRemoveExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An add or remove accessor must have a body.
/// </summary>
internal static string ERR_AddRemoveMustHaveBody {
get {
return ResourceManager.GetString("ERR_AddRemoveMustHaveBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot take the address of a read-only local variable.
/// </summary>
internal static string ERR_AddrOnReadOnlyLocal {
get {
return ResourceManager.GetString("ERR_AddrOnReadOnlyLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Agnostic assembly cannot have a processor specific module '{0}'..
/// </summary>
internal static string ERR_AgnosticToMachineModule {
get {
return ResourceManager.GetString("ERR_AgnosticToMachineModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid reference alias option: '{0}=' -- missing filename.
/// </summary>
internal static string ERR_AliasMissingFile {
get {
return ResourceManager.GetString("ERR_AliasMissingFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alias '{0}' not found.
/// </summary>
internal static string ERR_AliasNotFound {
get {
return ResourceManager.GetString("ERR_AliasNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The namespace alias qualifier '::' always resolves to a type or namespace so is illegal here. Consider using '.' instead..
/// </summary>
internal static string ERR_AliasQualAsExpression {
get {
return ResourceManager.GetString("ERR_AliasQualAsExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An alias-qualified name is not an expression..
/// </summary>
internal static string ERR_AliasQualifiedNameNotAnExpression {
get {
return ResourceManager.GetString("ERR_AliasQualifiedNameNotAnExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'.
/// </summary>
internal static string ERR_AmbigBinaryOps {
get {
return ResourceManager.GetString("ERR_AmbigBinaryOps", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The call is ambiguous between the following methods or properties: '{0}' and '{1}'.
/// </summary>
internal static string ERR_AmbigCall {
get {
return ResourceManager.GetString("ERR_AmbigCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is an ambiguous reference between '{1}' and '{2}'.
/// </summary>
internal static string ERR_AmbigContext {
get {
return ResourceManager.GetString("ERR_AmbigContext", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ambiguity between '{0}' and '{1}'.
/// </summary>
internal static string ERR_AmbigMember {
get {
return ResourceManager.GetString("ERR_AmbigMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The inherited members '{0}' and '{1}' have the same signature in type '{2}', so they cannot be overridden.
/// </summary>
internal static string ERR_AmbigOverride {
get {
return ResourceManager.GetString("ERR_AmbigOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type of conditional expression cannot be determined because '{0}' and '{1}' implicitly convert to one another.
/// </summary>
internal static string ERR_AmbigQM {
get {
return ResourceManager.GetString("ERR_AmbigQM", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ambiguous user defined conversions '{0}' and '{1}' when converting from '{2}' to '{3}'.
/// </summary>
internal static string ERR_AmbigUDConv {
get {
return ResourceManager.GetString("ERR_AmbigUDConv", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Operator '{0}' is ambiguous on an operand of type '{1}'.
/// </summary>
internal static string ERR_AmbigUnaryOp {
get {
return ResourceManager.GetString("ERR_AmbigUnaryOp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is ambiguous between '{1}' and '{2}'; use either '@{0}' or '{0}Attribute'.
/// </summary>
internal static string ERR_AmbiguousAttribute {
get {
return ResourceManager.GetString("ERR_AmbiguousAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use ref or out parameter '{0}' inside an anonymous method, lambda expression, or query expression.
/// </summary>
internal static string ERR_AnonDelegateCantUse {
get {
return ResourceManager.GetString("ERR_AnonDelegateCantUse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use ref local '{0}' inside an anonymous method, lambda expression, or query expression.
/// </summary>
internal static string ERR_AnonDelegateCantUseLocal {
get {
return ResourceManager.GetString("ERR_AnonDelegateCantUseLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Foreach cannot operate on a '{0}'. Did you intend to invoke the '{0}'?.
/// </summary>
internal static string ERR_AnonMethGrpInForEach {
get {
return ResourceManager.GetString("ERR_AnonMethGrpInForEach", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert {0} to type '{1}' because it is not a delegate type.
/// </summary>
internal static string ERR_AnonMethToNonDel {
get {
return ResourceManager.GetString("ERR_AnonMethToNonDel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An anonymous method expression cannot be converted to an expression tree.
/// </summary>
internal static string ERR_AnonymousMethodToExpressionTree {
get {
return ResourceManager.GetString("ERR_AnonymousMethodToExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Not all code paths return a value in {0} of type '{1}'.
/// </summary>
internal static string ERR_AnonymousReturnExpected {
get {
return ResourceManager.GetString("ERR_AnonymousReturnExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An anonymous type cannot have multiple properties with the same name.
/// </summary>
internal static string ERR_AnonymousTypeDuplicatePropertyName {
get {
return ResourceManager.GetString("ERR_AnonymousTypeDuplicatePropertyName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use anonymous type in a constant expression.
/// </summary>
internal static string ERR_AnonymousTypeNotAvailable {
get {
return ResourceManager.GetString("ERR_AnonymousTypeNotAvailable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot assign {0} to anonymous type property.
/// </summary>
internal static string ERR_AnonymousTypePropertyAssignedBadValue {
get {
return ResourceManager.GetString("ERR_AnonymousTypePropertyAssignedBadValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The __arglist construct is valid only within a variable argument method.
/// </summary>
internal static string ERR_ArgsInvalid {
get {
return ResourceManager.GetString("ERR_ArgsInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Array elements cannot be of type '{0}'.
/// </summary>
internal static string ERR_ArrayElementCantBeRefAny {
get {
return ResourceManager.GetString("ERR_ArrayElementCantBeRefAny", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A nested array initializer is expected.
/// </summary>
internal static string ERR_ArrayInitializerExpected {
get {
return ResourceManager.GetString("ERR_ArrayInitializerExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An array initializer of length '{0}' is expected.
/// </summary>
internal static string ERR_ArrayInitializerIncorrectLength {
get {
return ResourceManager.GetString("ERR_ArrayInitializerIncorrectLength", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Array initializers can only be used in a variable or field initializer. Try using a new expression instead..
/// </summary>
internal static string ERR_ArrayInitInBadPlace {
get {
return ResourceManager.GetString("ERR_ArrayInitInBadPlace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Can only use array initializer expressions to assign to array types. Try using a new expression instead..
/// </summary>
internal static string ERR_ArrayInitToNonArrayType {
get {
return ResourceManager.GetString("ERR_ArrayInitToNonArrayType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': array elements cannot be of static type.
/// </summary>
internal static string ERR_ArrayOfStaticClass {
get {
return ResourceManager.GetString("ERR_ArrayOfStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Array size cannot be specified in a variable declaration (try initializing with a 'new' expression).
/// </summary>
internal static string ERR_ArraySizeInDeclaration {
get {
return ResourceManager.GetString("ERR_ArraySizeInDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The as operator must be used with a reference type or nullable type ('{0}' is a non-nullable value type).
/// </summary>
internal static string ERR_AsMustHaveReferenceType {
get {
return ResourceManager.GetString("ERR_AsMustHaveReferenceType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly '{0}' with identity '{1}' uses '{2}' which has a higher version than referenced assembly '{3}' with identity '{4}'.
/// </summary>
internal static string ERR_AssemblyMatchBadVersion {
get {
return ResourceManager.GetString("ERR_AssemblyMatchBadVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The /moduleassemblyname option may only be specified when building a target type of 'module'.
/// </summary>
internal static string ERR_AssemblyNameOnNonModule {
get {
return ResourceManager.GetString("ERR_AssemblyNameOnNonModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assemblies '{0}' and '{1}' refer to the same metadata but only one is a linked reference (specified using /link option); consider removing one of the references..
/// </summary>
internal static string ERR_AssemblySpecifiedForLinkAndRef {
get {
return ResourceManager.GetString("ERR_AssemblySpecifiedForLinkAndRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The left-hand side of an assignment must be a variable, property or indexer.
/// </summary>
internal static string ERR_AssgLvalueExpected {
get {
return ResourceManager.GetString("ERR_AssgLvalueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A readonly field cannot be assigned to (except in a constructor or a variable initializer).
/// </summary>
internal static string ERR_AssgReadonly {
get {
return ResourceManager.GetString("ERR_AssgReadonly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Members of readonly field '{0}' cannot be modified (except in a constructor or a variable initializer).
/// </summary>
internal static string ERR_AssgReadonly2 {
get {
return ResourceManager.GetString("ERR_AssgReadonly2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot assign to '{0}' because it is read-only.
/// </summary>
internal static string ERR_AssgReadonlyLocal {
get {
return ResourceManager.GetString("ERR_AssgReadonlyLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot modify members of '{0}' because it is a '{1}'.
/// </summary>
internal static string ERR_AssgReadonlyLocal2Cause {
get {
return ResourceManager.GetString("ERR_AssgReadonlyLocal2Cause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot assign to '{0}' because it is a '{1}'.
/// </summary>
internal static string ERR_AssgReadonlyLocalCause {
get {
return ResourceManager.GetString("ERR_AssgReadonlyLocalCause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property or indexer '{0}' cannot be assigned to -- it is read only.
/// </summary>
internal static string ERR_AssgReadonlyProp {
get {
return ResourceManager.GetString("ERR_AssgReadonlyProp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A static readonly field cannot be assigned to (except in a static constructor or a variable initializer).
/// </summary>
internal static string ERR_AssgReadonlyStatic {
get {
return ResourceManager.GetString("ERR_AssgReadonlyStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fields of static readonly field '{0}' cannot be assigned to (except in a static constructor or a variable initializer).
/// </summary>
internal static string ERR_AssgReadonlyStatic2 {
get {
return ResourceManager.GetString("ERR_AssgReadonlyStatic2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type parameter '{0}' cannot be used with the 'as' operator because it does not have a class type constraint nor a 'class' constraint.
/// </summary>
internal static string ERR_AsWithTypeVar {
get {
return ResourceManager.GetString("ERR_AsWithTypeVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': an attribute argument cannot use type parameters.
/// </summary>
internal static string ERR_AttrArgWithTypeVars {
get {
return ResourceManager.GetString("ERR_AttrArgWithTypeVars", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot apply attribute class '{0}' because it is generic.
/// </summary>
internal static string ERR_AttributeCantBeGeneric {
get {
return ResourceManager.GetString("ERR_AttributeCantBeGeneric", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' is not valid on property or event accessors. It is only valid on '{1}' declarations..
/// </summary>
internal static string ERR_AttributeNotOnAccessor {
get {
return ResourceManager.GetString("ERR_AttributeNotOnAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' is not valid on this declaration type. It is only valid on '{1}' declarations..
/// </summary>
internal static string ERR_AttributeOnBadSymbolType {
get {
return ResourceManager.GetString("ERR_AttributeOnBadSymbolType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute parameter '{0}' must be specified..
/// </summary>
internal static string ERR_AttributeParameterRequired1 {
get {
return ResourceManager.GetString("ERR_AttributeParameterRequired1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute parameter '{0}' or '{1}' must be specified..
/// </summary>
internal static string ERR_AttributeParameterRequired2 {
get {
return ResourceManager.GetString("ERR_AttributeParameterRequired2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attributes are not valid in this context..
/// </summary>
internal static string ERR_AttributesNotAllowed {
get {
return ResourceManager.GetString("ERR_AttributesNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' is only valid on classes derived from System.Attribute.
/// </summary>
internal static string ERR_AttributeUsageOnNonAttributeClass {
get {
return ResourceManager.GetString("ERR_AttributeUsageOnNonAttributeClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented properties cannot return by reference.
/// </summary>
internal static string ERR_AutoPropertyCannotBeRefReturning {
get {
return ResourceManager.GetString("ERR_AutoPropertyCannotBeRefReturning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented properties inside interfaces cannot have initializers..
/// </summary>
internal static string ERR_AutoPropertyInitializerInInterface {
get {
return ResourceManager.GetString("ERR_AutoPropertyInitializerInInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented properties must have get accessors..
/// </summary>
internal static string ERR_AutoPropertyMustHaveGetAccessor {
get {
return ResourceManager.GetString("ERR_AutoPropertyMustHaveGetAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented properties must override all accessors of the overridden property..
/// </summary>
internal static string ERR_AutoPropertyMustOverrideSet {
get {
return ResourceManager.GetString("ERR_AutoPropertyMustOverrideSet", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await in an unsafe context.
/// </summary>
internal static string ERR_AwaitInUnsafeContext {
get {
return ResourceManager.GetString("ERR_AwaitInUnsafeContext", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is inaccessible due to its protection level.
/// </summary>
internal static string ERR_BadAccess {
get {
return ResourceManager.GetString("ERR_BadAccess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to AppConfigPath must be absolute..
/// </summary>
internal static string ERR_BadAppConfigPath {
get {
return ResourceManager.GetString("ERR_BadAppConfigPath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No overload for method '{0}' takes {1} arguments.
/// </summary>
internal static string ERR_BadArgCount {
get {
return ResourceManager.GetString("ERR_BadArgCount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument {0} may not be passed with the '{1}' keyword.
/// </summary>
internal static string ERR_BadArgExtraRef {
get {
return ResourceManager.GetString("ERR_BadArgExtraRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument {0} must be passed with the '{1}' keyword.
/// </summary>
internal static string ERR_BadArgRef {
get {
return ResourceManager.GetString("ERR_BadArgRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument {0}: cannot convert from '{1}' to '{2}'.
/// </summary>
internal static string ERR_BadArgType {
get {
return ResourceManager.GetString("ERR_BadArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' has no applicable method named '{1}' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax..
/// </summary>
internal static string ERR_BadArgTypeDynamicExtension {
get {
return ResourceManager.GetString("ERR_BadArgTypeDynamicExtension", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method '{0}' for the collection initializer has some invalid arguments.
/// </summary>
internal static string ERR_BadArgTypesForCollectionAdd {
get {
return ResourceManager.GetString("ERR_BadArgTypesForCollectionAdd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The argument to the '{0}' attribute must be a valid identifier.
/// </summary>
internal static string ERR_BadArgumentToAttribute {
get {
return ResourceManager.GetString("ERR_BadArgumentToAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using the generic {1} '{0}' requires {2} type arguments.
/// </summary>
internal static string ERR_BadArity {
get {
return ResourceManager.GetString("ERR_BadArity", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Array type specifier, [], must appear before parameter name.
/// </summary>
internal static string ERR_BadArraySyntax {
get {
return ResourceManager.GetString("ERR_BadArraySyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async methods cannot have ref or out parameters.
/// </summary>
internal static string ERR_BadAsyncArgType {
get {
return ResourceManager.GetString("ERR_BadAsyncArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async lambda expressions cannot be converted to expression trees.
/// </summary>
internal static string ERR_BadAsyncExpressionTree {
get {
return ResourceManager.GetString("ERR_BadAsyncExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'async' modifier can only be used in methods that have a body..
/// </summary>
internal static string ERR_BadAsyncLacksBody {
get {
return ResourceManager.GetString("ERR_BadAsyncLacksBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async methods cannot have by reference locals.
/// </summary>
internal static string ERR_BadAsyncLocalType {
get {
return ResourceManager.GetString("ERR_BadAsyncLocalType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The return type of an async method must be void, Task or Task<T>.
/// </summary>
internal static string ERR_BadAsyncReturn {
get {
return ResourceManager.GetString("ERR_BadAsyncReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Since this is an async method, the return expression must be of type '{0}' rather than 'Task<{0}>'.
/// </summary>
internal static string ERR_BadAsyncReturnExpression {
get {
return ResourceManager.GetString("ERR_BadAsyncReturnExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type.
/// </summary>
internal static string ERR_BadAttributeArgument {
get {
return ResourceManager.GetString("ERR_BadAttributeArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute constructor parameter '{0}' is optional, but no default parameter value was specified..
/// </summary>
internal static string ERR_BadAttributeParamDefaultArgument {
get {
return ResourceManager.GetString("ERR_BadAttributeParamDefaultArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute constructor parameter '{0}' has type '{1}', which is not a valid attribute parameter type.
/// </summary>
internal static string ERR_BadAttributeParamType {
get {
return ResourceManager.GetString("ERR_BadAttributeParamType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' requires that the type {0} have a suitable GetAwaiter method.
/// </summary>
internal static string ERR_BadAwaitArg {
get {
return ResourceManager.GetString("ERR_BadAwaitArg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' requires that the type '{0}' have a suitable GetAwaiter method. Are you missing a using directive for 'System'?.
/// </summary>
internal static string ERR_BadAwaitArg_NeedSystem {
get {
return ResourceManager.GetString("ERR_BadAwaitArg_NeedSystem", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await '{0}'.
/// </summary>
internal static string ERR_BadAwaitArgIntrinsic {
get {
return ResourceManager.GetString("ERR_BadAwaitArgIntrinsic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await 'void'.
/// </summary>
internal static string ERR_BadAwaitArgVoidCall {
get {
return ResourceManager.GetString("ERR_BadAwaitArgVoidCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' cannot be used as an identifier within an async method or lambda expression.
/// </summary>
internal static string ERR_BadAwaitAsIdentifier {
get {
return ResourceManager.GetString("ERR_BadAwaitAsIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' requires that the return type '{0}' of '{1}.GetAwaiter()' have suitable IsCompleted, OnCompleted, and GetResult members, and implement INotifyCompletion or ICriticalNotifyCompletion.
/// </summary>
internal static string ERR_BadAwaiterPattern {
get {
return ResourceManager.GetString("ERR_BadAwaiterPattern", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await in a catch clause.
/// </summary>
internal static string ERR_BadAwaitInCatch {
get {
return ResourceManager.GetString("ERR_BadAwaitInCatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await in the filter expression of a catch clause.
/// </summary>
internal static string ERR_BadAwaitInCatchFilter {
get {
return ResourceManager.GetString("ERR_BadAwaitInCatchFilter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await in the body of a finally clause.
/// </summary>
internal static string ERR_BadAwaitInFinally {
get {
return ResourceManager.GetString("ERR_BadAwaitInFinally", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot await in the body of a lock statement.
/// </summary>
internal static string ERR_BadAwaitInLock {
get {
return ResourceManager.GetString("ERR_BadAwaitInLock", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator may only be used in a query expression within the first collection expression of the initial 'from' clause or within the collection expression of a 'join' clause.
/// </summary>
internal static string ERR_BadAwaitInQuery {
get {
return ResourceManager.GetString("ERR_BadAwaitInQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator cannot be used in a static script variable initializer..
/// </summary>
internal static string ERR_BadAwaitInStaticVariableInitializer {
get {
return ResourceManager.GetString("ERR_BadAwaitInStaticVariableInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator can only be used when contained within a method or lambda expression marked with the 'async' modifier.
/// </summary>
internal static string ERR_BadAwaitWithoutAsync {
get {
return ResourceManager.GetString("ERR_BadAwaitWithoutAsync", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator can only be used within an async {0}. Consider marking this {0} with the 'async' modifier..
/// </summary>
internal static string ERR_BadAwaitWithoutAsyncLambda {
get {
return ResourceManager.GetString("ERR_BadAwaitWithoutAsyncLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<{0}>'..
/// </summary>
internal static string ERR_BadAwaitWithoutAsyncMethod {
get {
return ResourceManager.GetString("ERR_BadAwaitWithoutAsyncMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'..
/// </summary>
internal static string ERR_BadAwaitWithoutVoidAsyncMethod {
get {
return ResourceManager.GetString("ERR_BadAwaitWithoutVoidAsyncMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid image base number '{0}'.
/// </summary>
internal static string ERR_BadBaseNumber {
get {
return ResourceManager.GetString("ERR_BadBaseNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid base type.
/// </summary>
internal static string ERR_BadBaseType {
get {
return ResourceManager.GetString("ERR_BadBaseType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to One of the parameters of a binary operator must be the containing type.
/// </summary>
internal static string ERR_BadBinaryOperatorSignature {
get {
return ResourceManager.GetString("ERR_BadBinaryOperatorSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Operator '{0}' cannot be applied to operands of type '{1}' and '{2}'.
/// </summary>
internal static string ERR_BadBinaryOps {
get {
return ResourceManager.GetString("ERR_BadBinaryOps", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded binary operator '{0}' takes two parameters.
/// </summary>
internal static string ERR_BadBinOpArgs {
get {
return ResourceManager.GetString("ERR_BadBinOpArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type and parameter types.
/// </summary>
internal static string ERR_BadBoolOp {
get {
return ResourceManager.GetString("ERR_BadBoolOp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter..
/// </summary>
internal static string ERR_BadBoundType {
get {
return ResourceManager.GetString("ERR_BadBoundType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerFilePathAttribute may only be applied to parameters with default values.
/// </summary>
internal static string ERR_BadCallerFilePathParamWithoutDefaultValue {
get {
return ResourceManager.GetString("ERR_BadCallerFilePathParamWithoutDefaultValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerLineNumberAttribute may only be applied to parameters with default values.
/// </summary>
internal static string ERR_BadCallerLineNumberParamWithoutDefaultValue {
get {
return ResourceManager.GetString("ERR_BadCallerLineNumberParamWithoutDefaultValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute may only be applied to parameters with default values.
/// </summary>
internal static string ERR_BadCallerMemberNameParamWithoutDefaultValue {
get {
return ResourceManager.GetString("ERR_BadCallerMemberNameParamWithoutDefaultValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The right hand side of a fixed statement assignment may not be a cast expression.
/// </summary>
internal static string ERR_BadCastInFixed {
get {
return ResourceManager.GetString("ERR_BadCastInFixed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The managed coclass wrapper class signature '{0}' for interface '{1}' is not a valid class name signature.
/// </summary>
internal static string ERR_BadCoClassSig {
get {
return ResourceManager.GetString("ERR_BadCoClassSig", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid option '{0}' for /langversion; must be ISO-1, ISO-2, Default or an integer in range 1 to 6..
/// </summary>
internal static string ERR_BadCompatMode {
get {
return ResourceManager.GetString("ERR_BadCompatMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0}.
/// </summary>
internal static string ERR_BadCompilationOption {
get {
return ResourceManager.GetString("ERR_BadCompilationOption", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid '{0}' value: '{1}'..
/// </summary>
internal static string ERR_BadCompilationOptionValue {
get {
return ResourceManager.GetString("ERR_BadCompilationOptionValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class or a type parameter..
/// </summary>
internal static string ERR_BadConstraintType {
get {
return ResourceManager.GetString("ERR_BadConstraintType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' cannot be declared const.
/// </summary>
internal static string ERR_BadConstType {
get {
return ResourceManager.GetString("ERR_BadConstType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a constructor that takes {1} arguments.
/// </summary>
internal static string ERR_BadCtorArgCount {
get {
return ResourceManager.GetString("ERR_BadCtorArgCount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid option '{0}' for /debug; must be full or pdbonly.
/// </summary>
internal static string ERR_BadDebugType {
get {
return ResourceManager.GetString("ERR_BadDebugType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delegate '{0}' does not take {1} arguments.
/// </summary>
internal static string ERR_BadDelArgCount {
get {
return ResourceManager.GetString("ERR_BadDelArgCount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The delegate '{0}' does not have a valid constructor.
/// </summary>
internal static string ERR_BadDelegateConstructor {
get {
return ResourceManager.GetString("ERR_BadDelegateConstructor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Control cannot leave the body of an anonymous method or lambda expression.
/// </summary>
internal static string ERR_BadDelegateLeave {
get {
return ResourceManager.GetString("ERR_BadDelegateLeave", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name of destructor must match name of class.
/// </summary>
internal static string ERR_BadDestructorName {
get {
return ResourceManager.GetString("ERR_BadDestructorName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Preprocessor directives must appear as the first non-whitespace character on a line.
/// </summary>
internal static string ERR_BadDirectivePlacement {
get {
return ResourceManager.GetString("ERR_BadDirectivePlacement", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': user-defined conversions to or from the dynamic type are not allowed.
/// </summary>
internal static string ERR_BadDynamicConversion {
get {
return ResourceManager.GetString("ERR_BadDynamicConversion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use an expression of type '{0}' as an argument to a dynamically dispatched operation..
/// </summary>
internal static string ERR_BadDynamicMethodArg {
get {
return ResourceManager.GetString("ERR_BadDynamicMethodArg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type..
/// </summary>
internal static string ERR_BadDynamicMethodArgLambda {
get {
return ResourceManager.GetString("ERR_BadDynamicMethodArgLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use a method group as an argument to a dynamically dispatched operation. Did you intend to invoke the method?.
/// </summary>
internal static string ERR_BadDynamicMethodArgMemgrp {
get {
return ResourceManager.GetString("ERR_BadDynamicMethodArgMemgrp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Query expressions over source type 'dynamic' or with a join sequence of type 'dynamic' are not allowed.
/// </summary>
internal static string ERR_BadDynamicQuery {
get {
return ResourceManager.GetString("ERR_BadDynamicQuery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The typeof operator cannot be used on the dynamic type.
/// </summary>
internal static string ERR_BadDynamicTypeof {
get {
return ResourceManager.GetString("ERR_BadDynamicTypeof", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Embedded statement cannot be a declaration or labeled statement.
/// </summary>
internal static string ERR_BadEmbeddedStmt {
get {
return ResourceManager.GetString("ERR_BadEmbeddedStmt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A throw statement with no arguments is not allowed outside of a catch clause.
/// </summary>
internal static string ERR_BadEmptyThrow {
get {
return ResourceManager.GetString("ERR_BadEmptyThrow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A throw statement with no arguments is not allowed in a finally clause that is nested inside the nearest enclosing catch clause.
/// </summary>
internal static string ERR_BadEmptyThrowInFinally {
get {
return ResourceManager.GetString("ERR_BadEmptyThrowInFinally", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The event '{0}' can only appear on the left hand side of += or -= (except when used from within the type '{1}').
/// </summary>
internal static string ERR_BadEventUsage {
get {
return ResourceManager.GetString("ERR_BadEventUsage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The event '{0}' can only appear on the left hand side of += or -=.
/// </summary>
internal static string ERR_BadEventUsageNoField {
get {
return ResourceManager.GetString("ERR_BadEventUsageNoField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type caught or thrown must be derived from System.Exception.
/// </summary>
internal static string ERR_BadExceptionType {
get {
return ResourceManager.GetString("ERR_BadExceptionType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extension method must be defined in a non-generic static class.
/// </summary>
internal static string ERR_BadExtensionAgg {
get {
return ResourceManager.GetString("ERR_BadExtensionAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a definition for '{1}' and the best extension method overload '{2}' has some invalid arguments.
/// </summary>
internal static string ERR_BadExtensionArgTypes {
get {
return ResourceManager.GetString("ERR_BadExtensionArgTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extension method must be static.
/// </summary>
internal static string ERR_BadExtensionMeth {
get {
return ResourceManager.GetString("ERR_BadExtensionMeth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The extern alias '{0}' was not specified in a /reference option.
/// </summary>
internal static string ERR_BadExternAlias {
get {
return ResourceManager.GetString("ERR_BadExternAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid extern alias for '/reference'; '{0}' is not a valid identifier.
/// </summary>
internal static string ERR_BadExternIdentifier {
get {
return ResourceManager.GetString("ERR_BadExternIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Control cannot leave the body of a finally clause.
/// </summary>
internal static string ERR_BadFinallyLeave {
get {
return ResourceManager.GetString("ERR_BadFinallyLeave", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type of a local declared in a fixed statement must be a pointer type.
/// </summary>
internal static string ERR_BadFixedInitType {
get {
return ResourceManager.GetString("ERR_BadFixedInitType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type and identifier are both required in a foreach statement.
/// </summary>
internal static string ERR_BadForeachDecl {
get {
return ResourceManager.GetString("ERR_BadForeachDecl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to foreach requires that the return type '{0}' of '{1}' must have a suitable public MoveNext method and public Current property.
/// </summary>
internal static string ERR_BadGetEnumerator {
get {
return ResourceManager.GetString("ERR_BadGetEnumerator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The return type for ++ or -- operator must match the parameter type or be derived from the parameter type.
/// </summary>
internal static string ERR_BadIncDecRetType {
get {
return ResourceManager.GetString("ERR_BadIncDecRetType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter type for ++ or -- operator must be the containing type.
/// </summary>
internal static string ERR_BadIncDecSignature {
get {
return ResourceManager.GetString("ERR_BadIncDecSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wrong number of indices inside []; expected {0}.
/// </summary>
internal static string ERR_BadIndexCount {
get {
return ResourceManager.GetString("ERR_BadIndexCount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The '{0}' attribute is valid only on an indexer that is not an explicit interface member declaration.
/// </summary>
internal static string ERR_BadIndexerNameAttr {
get {
return ResourceManager.GetString("ERR_BadIndexerNameAttr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot apply indexing with [] to an expression of type '{0}'.
/// </summary>
internal static string ERR_BadIndexLHS {
get {
return ResourceManager.GetString("ERR_BadIndexLHS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a definition for '{1}' and the best extension method overload '{2}' requires a receiver of type '{3}'.
/// </summary>
internal static string ERR_BadInstanceArgType {
get {
return ResourceManager.GetString("ERR_BadInstanceArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid operand for pattern match..
/// </summary>
internal static string ERR_BadIsPatternExpression {
get {
return ResourceManager.GetString("ERR_BadIsPatternExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Iterators cannot have ref or out parameters.
/// </summary>
internal static string ERR_BadIteratorArgType {
get {
return ResourceManager.GetString("ERR_BadIteratorArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Iterators cannot have by reference locals.
/// </summary>
internal static string ERR_BadIteratorLocalType {
get {
return ResourceManager.GetString("ERR_BadIteratorLocalType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The body of '{0}' cannot be an iterator block because '{1}' is not an iterator interface type.
/// </summary>
internal static string ERR_BadIteratorReturn {
get {
return ResourceManager.GetString("ERR_BadIteratorReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The body of '{0}' cannot be an iterator block because '{0}' returns by reference.
/// </summary>
internal static string ERR_BadIteratorReturnRef {
get {
return ResourceManager.GetString("ERR_BadIteratorReturnRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The modifier '{0}' is not valid for this item.
/// </summary>
internal static string ERR_BadMemberFlag {
get {
return ResourceManager.GetString("ERR_BadMemberFlag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to More than one protection modifier.
/// </summary>
internal static string ERR_BadMemberProtection {
get {
return ResourceManager.GetString("ERR_BadMemberProtection", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member modifier '{0}' must precede the member type and name.
/// </summary>
internal static string ERR_BadModifierLocation {
get {
return ResourceManager.GetString("ERR_BadModifierLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A namespace declaration cannot have modifiers or attributes.
/// </summary>
internal static string ERR_BadModifiersOnNamespace {
get {
return ResourceManager.GetString("ERR_BadModifiersOnNamespace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overload for '{0}' does not have a parameter named '{1}'.
/// </summary>
internal static string ERR_BadNamedArgument {
get {
return ResourceManager.GetString("ERR_BadNamedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The delegate '{0}' does not have a parameter named '{1}'.
/// </summary>
internal static string ERR_BadNamedArgumentForDelegateInvoke {
get {
return ResourceManager.GetString("ERR_BadNamedArgumentForDelegateInvoke", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static..
/// </summary>
internal static string ERR_BadNamedAttributeArgument {
get {
return ResourceManager.GetString("ERR_BadNamedAttributeArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid named attribute argument because it is not a valid attribute parameter type.
/// </summary>
internal static string ERR_BadNamedAttributeArgumentType {
get {
return ResourceManager.GetString("ERR_BadNamedAttributeArgumentType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A new expression requires (), [], or {} after type.
/// </summary>
internal static string ERR_BadNewExpr {
get {
return ResourceManager.GetString("ERR_BadNewExpr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Declaration is not valid; use '{0} operator <dest-type> (...' instead.
/// </summary>
internal static string ERR_BadOperatorSyntax {
get {
return ResourceManager.GetString("ERR_BadOperatorSyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter modifier 'out' cannot be used with 'this' .
/// </summary>
internal static string ERR_BadOutWithThis {
get {
return ResourceManager.GetString("ERR_BadOutWithThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter {0} should not be declared with the '{1}' keyword.
/// </summary>
internal static string ERR_BadParamExtraRef {
get {
return ResourceManager.GetString("ERR_BadParamExtraRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A parameter array cannot be used with 'this' modifier on an extension method.
/// </summary>
internal static string ERR_BadParamModThis {
get {
return ResourceManager.GetString("ERR_BadParamModThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter {0} must be declared with the '{1}' keyword.
/// </summary>
internal static string ERR_BadParamRef {
get {
return ResourceManager.GetString("ERR_BadParamRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter {0} is declared as type '{1}{2}' but should be '{3}{4}'.
/// </summary>
internal static string ERR_BadParamType {
get {
return ResourceManager.GetString("ERR_BadParamType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading debug information for '{0}'.
/// </summary>
internal static string ERR_BadPdbData {
get {
return ResourceManager.GetString("ERR_BadPdbData", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid option '{0}' for /platform; must be anycpu, x86, Itanium or x64.
/// </summary>
internal static string ERR_BadPlatformType {
get {
return ResourceManager.GetString("ERR_BadPlatformType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to /platform:anycpu32bitpreferred can only be used with /t:exe, /t:winexe and /t:appcontainerexe.
/// </summary>
internal static string ERR_BadPrefer32OnLib {
get {
return ResourceManager.GetString("ERR_BadPrefer32OnLib", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot access protected member '{0}' via a qualifier of type '{1}'; the qualifier must be of type '{2}' (or derived from it).
/// </summary>
internal static string ERR_BadProtectedAccess {
get {
return ResourceManager.GetString("ERR_BadProtectedAccess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Lambda expressions that return by reference cannot be converted to expression trees.
/// </summary>
internal static string ERR_BadRefReturnExpressionTree {
get {
return ResourceManager.GetString("ERR_BadRefReturnExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter modifier 'ref' cannot be used with 'this' .
/// </summary>
internal static string ERR_BadRefWithThis {
get {
return ResourceManager.GetString("ERR_BadRefWithThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid option '{0}'; Resource visibility must be either 'public' or 'private'.
/// </summary>
internal static string ERR_BadResourceVis {
get {
return ResourceManager.GetString("ERR_BadResourceVis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{1} {0}' has the wrong return type.
/// </summary>
internal static string ERR_BadRetType {
get {
return ResourceManager.GetString("ERR_BadRetType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The first operand of an overloaded shift operator must have the same type as the containing type, and the type of the second operand must be int.
/// </summary>
internal static string ERR_BadShiftOperatorSignature {
get {
return ResourceManager.GetString("ERR_BadShiftOperatorSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is a {1} but is used like a {2}.
/// </summary>
internal static string ERR_BadSKknown {
get {
return ResourceManager.GetString("ERR_BadSKknown", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is a {1}, which is not valid in the given context.
/// </summary>
internal static string ERR_BadSKunknown {
get {
return ResourceManager.GetString("ERR_BadSKunknown", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameters or locals of type '{0}' cannot be declared in async methods or lambda expressions..
/// </summary>
internal static string ERR_BadSpecialByRefLocal {
get {
return ResourceManager.GetString("ERR_BadSpecialByRefLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A stackalloc expression requires [] after type.
/// </summary>
internal static string ERR_BadStackAllocExpr {
get {
return ResourceManager.GetString("ERR_BadStackAllocExpr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unrecognized option: '{0}'.
/// </summary>
internal static string ERR_BadSwitch {
get {
return ResourceManager.GetString("ERR_BadSwitch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method '{0}' has a parameter modifier 'this' which is not on the first parameter.
/// </summary>
internal static string ERR_BadThisParam {
get {
return ResourceManager.GetString("ERR_BadThisParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' may not be used as a type argument.
/// </summary>
internal static string ERR_BadTypeArgument {
get {
return ResourceManager.GetString("ERR_BadTypeArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The first parameter of an extension method cannot be of type '{0}'.
/// </summary>
internal static string ERR_BadTypeforThis {
get {
return ResourceManager.GetString("ERR_BadTypeforThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot reference a type through an expression; try '{1}' instead.
/// </summary>
internal static string ERR_BadTypeReference {
get {
return ResourceManager.GetString("ERR_BadTypeReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Operator '{0}' cannot be applied to operand of type '{1}'.
/// </summary>
internal static string ERR_BadUnaryOp {
get {
return ResourceManager.GetString("ERR_BadUnaryOp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter of a unary operator must be the containing type.
/// </summary>
internal static string ERR_BadUnaryOperatorSignature {
get {
return ResourceManager.GetString("ERR_BadUnaryOperatorSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded unary operator '{0}' takes one parameter.
/// </summary>
internal static string ERR_BadUnOpArgs {
get {
return ResourceManager.GetString("ERR_BadUnOpArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider a 'using static' directive instead.
/// </summary>
internal static string ERR_BadUsingNamespace {
get {
return ResourceManager.GetString("ERR_BadUsingNamespace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider a 'using namespace' directive instead.
/// </summary>
internal static string ERR_BadUsingType {
get {
return ResourceManager.GetString("ERR_BadUsingType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A method with vararg cannot be generic, be in a generic type, or have a params parameter.
/// </summary>
internal static string ERR_BadVarargs {
get {
return ResourceManager.GetString("ERR_BadVarargs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected ; or = (cannot specify constructor arguments in declaration).
/// </summary>
internal static string ERR_BadVarDecl {
get {
return ResourceManager.GetString("ERR_BadVarDecl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: base class '{1}' is less accessible than class '{0}'.
/// </summary>
internal static string ERR_BadVisBaseClass {
get {
return ResourceManager.GetString("ERR_BadVisBaseClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: base interface '{1}' is less accessible than interface '{0}'.
/// </summary>
internal static string ERR_BadVisBaseInterface {
get {
return ResourceManager.GetString("ERR_BadVisBaseInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: constraint type '{1}' is less accessible than '{0}'.
/// </summary>
internal static string ERR_BadVisBound {
get {
return ResourceManager.GetString("ERR_BadVisBound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: parameter type '{1}' is less accessible than delegate '{0}'.
/// </summary>
internal static string ERR_BadVisDelegateParam {
get {
return ResourceManager.GetString("ERR_BadVisDelegateParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: return type '{1}' is less accessible than delegate '{0}'.
/// </summary>
internal static string ERR_BadVisDelegateReturn {
get {
return ResourceManager.GetString("ERR_BadVisDelegateReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: event type '{1}' is less accessible than event '{0}'.
/// </summary>
internal static string ERR_BadVisEventType {
get {
return ResourceManager.GetString("ERR_BadVisEventType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: field type '{1}' is less accessible than field '{0}'.
/// </summary>
internal static string ERR_BadVisFieldType {
get {
return ResourceManager.GetString("ERR_BadVisFieldType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: parameter type '{1}' is less accessible than indexer '{0}'.
/// </summary>
internal static string ERR_BadVisIndexerParam {
get {
return ResourceManager.GetString("ERR_BadVisIndexerParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: indexer return type '{1}' is less accessible than indexer '{0}'.
/// </summary>
internal static string ERR_BadVisIndexerReturn {
get {
return ResourceManager.GetString("ERR_BadVisIndexerReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: parameter type '{1}' is less accessible than operator '{0}'.
/// </summary>
internal static string ERR_BadVisOpParam {
get {
return ResourceManager.GetString("ERR_BadVisOpParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: return type '{1}' is less accessible than operator '{0}'.
/// </summary>
internal static string ERR_BadVisOpReturn {
get {
return ResourceManager.GetString("ERR_BadVisOpReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: parameter type '{1}' is less accessible than method '{0}'.
/// </summary>
internal static string ERR_BadVisParamType {
get {
return ResourceManager.GetString("ERR_BadVisParamType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: property type '{1}' is less accessible than property '{0}'.
/// </summary>
internal static string ERR_BadVisPropertyType {
get {
return ResourceManager.GetString("ERR_BadVisPropertyType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent accessibility: return type '{1}' is less accessible than method '{0}'.
/// </summary>
internal static string ERR_BadVisReturnType {
get {
return ResourceManager.GetString("ERR_BadVisReturnType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Warning level must be in the range 0-4.
/// </summary>
internal static string ERR_BadWarningLevel {
get {
return ResourceManager.GetString("ERR_BadWarningLevel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading Win32 resources -- {0}.
/// </summary>
internal static string ERR_BadWin32Res {
get {
return ResourceManager.GetString("ERR_BadWin32Res", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot yield a value in the body of a catch clause.
/// </summary>
internal static string ERR_BadYieldInCatch {
get {
return ResourceManager.GetString("ERR_BadYieldInCatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot yield in the body of a finally clause.
/// </summary>
internal static string ERR_BadYieldInFinally {
get {
return ResourceManager.GetString("ERR_BadYieldInFinally", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot yield a value in the body of a try block with a catch clause.
/// </summary>
internal static string ERR_BadYieldInTryOfCatch {
get {
return ResourceManager.GetString("ERR_BadYieldInTryOfCatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Base class '{0}' must come before any interfaces.
/// </summary>
internal static string ERR_BaseClassMustBeFirst {
get {
return ResourceManager.GetString("ERR_BaseClassMustBeFirst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter '{0}' inherits conflicting constraints '{1}' and '{2}'.
/// </summary>
internal static string ERR_BaseConstraintConflict {
get {
return ResourceManager.GetString("ERR_BaseConstraintConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of keyword 'base' is not valid in this context.
/// </summary>
internal static string ERR_BaseIllegal {
get {
return ResourceManager.GetString("ERR_BaseIllegal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'base' is not available in the current context.
/// </summary>
internal static string ERR_BaseInBadContext {
get {
return ResourceManager.GetString("ERR_BaseInBadContext", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'base' is not available in a static method.
/// </summary>
internal static string ERR_BaseInStaticMeth {
get {
return ResourceManager.GetString("ERR_BaseInStaticMeth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is a binary file instead of a text file.
/// </summary>
internal static string ERR_BinaryFile {
get {
return ResourceManager.GetString("ERR_BinaryFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not supported by the language.
/// </summary>
internal static string ERR_BindToBogus {
get {
return ResourceManager.GetString("ERR_BindToBogus", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor method '{1}'.
/// </summary>
internal static string ERR_BindToBogusProp1 {
get {
return ResourceManager.GetString("ERR_BindToBogusProp1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor methods '{1}' or '{2}'.
/// </summary>
internal static string ERR_BindToBogusProp2 {
get {
return ResourceManager.GetString("ERR_BindToBogusProp2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Methods cannot combine block bodies with expression bodies..
/// </summary>
internal static string ERR_BlockBodyAndExpressionBody {
get {
return ResourceManager.GetString("ERR_BlockBodyAndExpressionBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot implement '{1}' because it is not supported by the language.
/// </summary>
internal static string ERR_BogusExplicitImpl {
get {
return ResourceManager.GetString("ERR_BogusExplicitImpl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is a type not supported by the language.
/// </summary>
internal static string ERR_BogusType {
get {
return ResourceManager.GetString("ERR_BogusType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A declaration of a by-reference variable must have an initializer.
/// </summary>
internal static string ERR_ByReferenceVariableMustBeInitialized {
get {
return ResourceManager.GetString("ERR_ByReferenceVariableMustBeInitialized", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain an out or ref parameter.
/// </summary>
internal static string ERR_ByRefParameterInExpressionTree {
get {
return ResourceManager.GetString("ERR_ByRefParameterInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to By-reference return type 'ref {0}' is not supported..
/// </summary>
internal static string ERR_ByRefReturnUnsupported {
get {
return ResourceManager.GetString("ERR_ByRefReturnUnsupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' cannot be used in an expression containing the type '{0}'.
/// </summary>
internal static string ERR_ByRefTypeAndAwait {
get {
return ResourceManager.GetString("ERR_ByRefTypeAndAwait", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not directly call your base class Finalize method. It is called automatically from your destructor..
/// </summary>
internal static string ERR_CallingBaseFinalizeDeprecated {
get {
return ResourceManager.GetString("ERR_CallingBaseFinalizeDeprecated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available..
/// </summary>
internal static string ERR_CallingFinalizeDeprecated {
get {
return ResourceManager.GetString("ERR_CallingFinalizeDeprecated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot deconstruct dynamic objects..
/// </summary>
internal static string ERR_CannotDeconstructDynamic {
get {
return ResourceManager.GetString("ERR_CannotDeconstructDynamic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot pass null for friend assembly name.
/// </summary>
internal static string ERR_CannotPassNullForFriendAssembly {
get {
return ResourceManager.GetString("ERR_CannotPassNullForFriendAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot explicitly call operator or accessor.
/// </summary>
internal static string ERR_CantCallSpecialMethod {
get {
return ResourceManager.GetString("ERR_CantCallSpecialMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot change access modifiers when overriding '{1}' inherited member '{2}'.
/// </summary>
internal static string ERR_CantChangeAccessOnOverride {
get {
return ResourceManager.GetString("ERR_CantChangeAccessOnOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' must {2}return by reference to match overridden member '{1}'.
/// </summary>
internal static string ERR_CantChangeRefReturnOnOverride {
get {
return ResourceManager.GetString("ERR_CantChangeRefReturnOnOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': return type must be '{2}' to match overridden member '{1}'.
/// </summary>
internal static string ERR_CantChangeReturnTypeOnOverride {
get {
return ResourceManager.GetString("ERR_CantChangeReturnTypeOnOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': type must be '{2}' to match overridden member '{1}'.
/// </summary>
internal static string ERR_CantChangeTypeOnOverride {
get {
return ResourceManager.GetString("ERR_CantChangeTypeOnOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert anonymous method block without a parameter list to delegate type '{0}' because it has one or more out parameters.
/// </summary>
internal static string ERR_CantConvAnonMethNoParams {
get {
return ResourceManager.GetString("ERR_CantConvAnonMethNoParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert {0} to delegate type '{1}' because the parameter types do not match the delegate parameter types.
/// </summary>
internal static string ERR_CantConvAnonMethParams {
get {
return ResourceManager.GetString("ERR_CantConvAnonMethParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type.
/// </summary>
internal static string ERR_CantConvAnonMethReturns {
get {
return ResourceManager.GetString("ERR_CantConvAnonMethReturns", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert async {0} to delegate type '{1}'. An async {0} may return void, Task or Task<T>, none of which are convertible to '{1}'..
/// </summary>
internal static string ERR_CantConvAsyncAnonFuncReturns {
get {
return ResourceManager.GetString("ERR_CantConvAsyncAnonFuncReturns", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot derive from sealed type '{1}'.
/// </summary>
internal static string ERR_CantDeriveFromSealedType {
get {
return ResourceManager.GetString("ERR_CantDeriveFromSealedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Conflicting options specified: Win32 resource file; Win32 icon.
/// </summary>
internal static string ERR_CantHaveWin32ResAndIcon {
get {
return ResourceManager.GetString("ERR_CantHaveWin32ResAndIcon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Conflicting options specified: Win32 resource file; Win32 manifest.
/// </summary>
internal static string ERR_CantHaveWin32ResAndManifest {
get {
return ResourceManager.GetString("ERR_CantHaveWin32ResAndManifest", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type arguments for method '{0}' cannot be inferred from the usage. Try specifying the type arguments explicitly..
/// </summary>
internal static string ERR_CantInferMethTypeArgs {
get {
return ResourceManager.GetString("ERR_CantInferMethTypeArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create temporary file -- {0}.
/// </summary>
internal static string ERR_CantMakeTempFile {
get {
return ResourceManager.GetString("ERR_CantMakeTempFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot open '{0}' for writing -- '{1}'.
/// </summary>
internal static string ERR_CantOpenFileWrite {
get {
return ResourceManager.GetString("ERR_CantOpenFileWrite", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error opening icon file {0} -- {1}.
/// </summary>
internal static string ERR_CantOpenIcon {
get {
return ResourceManager.GetString("ERR_CantOpenIcon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error opening Win32 manifest file {0} -- {1}.
/// </summary>
internal static string ERR_CantOpenWin32Manifest {
get {
return ResourceManager.GetString("ERR_CantOpenWin32Manifest", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error opening Win32 resource file '{0}' -- '{1}'.
/// </summary>
internal static string ERR_CantOpenWin32Res {
get {
return ResourceManager.GetString("ERR_CantOpenWin32Res", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override '{1}' because it is not supported by the language.
/// </summary>
internal static string ERR_CantOverrideBogusMethod {
get {
return ResourceManager.GetString("ERR_CantOverrideBogusMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override; '{1}' is not an event.
/// </summary>
internal static string ERR_CantOverrideNonEvent {
get {
return ResourceManager.GetString("ERR_CantOverrideNonEvent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override because '{1}' is not a function.
/// </summary>
internal static string ERR_CantOverrideNonFunction {
get {
return ResourceManager.GetString("ERR_CantOverrideNonFunction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override because '{1}' is not a property.
/// </summary>
internal static string ERR_CantOverrideNonProperty {
get {
return ResourceManager.GetString("ERR_CantOverrideNonProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override inherited member '{1}' because it is not marked virtual, abstract, or override.
/// </summary>
internal static string ERR_CantOverrideNonVirtual {
get {
return ResourceManager.GetString("ERR_CantOverrideNonVirtual", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override inherited member '{1}' because it is sealed.
/// </summary>
internal static string ERR_CantOverrideSealed {
get {
return ResourceManager.GetString("ERR_CantOverrideSealed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot read config file '{0}' -- '{1}'.
/// </summary>
internal static string ERR_CantReadConfigFile {
get {
return ResourceManager.GetString("ERR_CantReadConfigFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading resource '{0}' -- '{1}'.
/// </summary>
internal static string ERR_CantReadResource {
get {
return ResourceManager.GetString("ERR_CantReadResource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading ruleset file {0} - {1}.
/// </summary>
internal static string ERR_CantReadRulesetFile {
get {
return ResourceManager.GetString("ERR_CantReadRulesetFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot link resource files when building a module.
/// </summary>
internal static string ERR_CantRefResource {
get {
return ResourceManager.GetString("ERR_CantRefResource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return an expression of type 'void'.
/// </summary>
internal static string ERR_CantReturnVoid {
get {
return ResourceManager.GetString("ERR_CantReturnVoid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading Win32 manifest file '{0}' -- '{1}'.
/// </summary>
internal static string ERR_CantSetWin32Manifest {
get {
return ResourceManager.GetString("ERR_CantSetWin32Manifest", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The RequiredAttribute attribute is not permitted on C# types.
/// </summary>
internal static string ERR_CantUseRequiredAttribute {
get {
return ResourceManager.GetString("ERR_CantUseRequiredAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The operation overflows at compile time in checked mode.
/// </summary>
internal static string ERR_CheckedOverflow {
get {
return ResourceManager.GetString("ERR_CheckedOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The evaluation of the constant value for '{0}' involves a circular definition.
/// </summary>
internal static string ERR_CircConstValue {
get {
return ResourceManager.GetString("ERR_CircConstValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Circular base class dependency involving '{0}' and '{1}'.
/// </summary>
internal static string ERR_CircularBase {
get {
return ResourceManager.GetString("ERR_CircularBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Circular constraint dependency involving '{0}' and '{1}'.
/// </summary>
internal static string ERR_CircularConstraint {
get {
return ResourceManager.GetString("ERR_CircularConstraint", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The class type constraint '{0}' must come before any other constraints.
/// </summary>
internal static string ERR_ClassBoundNotFirst {
get {
return ResourceManager.GetString("ERR_ClassBoundNotFirst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': containing type does not implement interface '{1}'.
/// </summary>
internal static string ERR_ClassDoesntImplementInterface {
get {
return ResourceManager.GetString("ERR_ClassDoesntImplementInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An object, string, or class type expected.
/// </summary>
internal static string ERR_ClassTypeExpected {
get {
return ResourceManager.GetString("ERR_ClassTypeExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ) expected.
/// </summary>
internal static string ERR_CloseParenExpected {
get {
return ResourceManager.GetString("ERR_CloseParenExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement an interface member because it is not public..
/// </summary>
internal static string ERR_CloseUnimplementedInterfaceMemberNotPublic {
get {
return ResourceManager.GetString("ERR_CloseUnimplementedInterfaceMemberNotPublic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement an interface member because it is static..
/// </summary>
internal static string ERR_CloseUnimplementedInterfaceMemberStatic {
get {
return ResourceManager.GetString("ERR_CloseUnimplementedInterfaceMemberStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not return by {3}.
/// </summary>
internal static string ERR_CloseUnimplementedInterfaceMemberWrongRefReturn {
get {
return ResourceManager.GetString("ERR_CloseUnimplementedInterfaceMemberWrongRefReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have the matching return type of '{3}'..
/// </summary>
internal static string ERR_CloseUnimplementedInterfaceMemberWrongReturnType {
get {
return ResourceManager.GetString("ERR_CloseUnimplementedInterfaceMemberWrongReturnType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' given in a source file conflicts with option '{1}'..
/// </summary>
internal static string ERR_CmdOptionConflictsSource {
get {
return ResourceManager.GetString("ERR_CmdOptionConflictsSource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use alias '{0}' with '::' since the alias references a type. Use '.' instead..
/// </summary>
internal static string ERR_ColColWithTypeAlias {
get {
return ResourceManager.GetString("ERR_ColColWithTypeAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot initialize type '{0}' with a collection initializer because it does not implement 'System.Collections.IEnumerable'.
/// </summary>
internal static string ERR_CollectionInitRequiresIEnumerable {
get {
return ResourceManager.GetString("ERR_CollectionInitRequiresIEnumerable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a class with the ComImport attribute cannot specify a base class.
/// </summary>
internal static string ERR_ComImportWithBase {
get {
return ResourceManager.GetString("ERR_ComImportWithBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Since '{1}' has the ComImport attribute, '{0}' must be extern or abstract.
/// </summary>
internal static string ERR_ComImportWithImpl {
get {
return ResourceManager.GetString("ERR_ComImportWithImpl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a class with the ComImport attribute cannot specify field initializers..
/// </summary>
internal static string ERR_ComImportWithInitializers {
get {
return ResourceManager.GetString("ERR_ComImportWithInitializers", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Guid attribute must be specified with the ComImport attribute.
/// </summary>
internal static string ERR_ComImportWithoutUuidAttribute {
get {
return ResourceManager.GetString("ERR_ComImportWithoutUuidAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A class with the ComImport attribute cannot have a user-defined constructor.
/// </summary>
internal static string ERR_ComImportWithUserCtor {
get {
return ResourceManager.GetString("ERR_ComImportWithUserCtor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Compilation cancelled by user.
/// </summary>
internal static string ERR_CompileCancelled {
get {
return ResourceManager.GetString("ERR_CompileCancelled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a COM call with ref omitted on arguments.
/// </summary>
internal static string ERR_ComRefCallInExpressionTree {
get {
return ResourceManager.GetString("ERR_ComRefCallInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' must declare a body because it is not marked abstract, extern, or partial.
/// </summary>
internal static string ERR_ConcreteMissingBody {
get {
return ResourceManager.GetString("ERR_ConcreteMissingBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Conditional attribute is not valid on '{0}' because its return type is not void.
/// </summary>
internal static string ERR_ConditionalMustReturnVoid {
get {
return ResourceManager.GetString("ERR_ConditionalMustReturnVoid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Conditional attribute is not valid on interface members.
/// </summary>
internal static string ERR_ConditionalOnInterfaceMethod {
get {
return ResourceManager.GetString("ERR_ConditionalOnInterfaceMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' is only valid on methods or attribute classes.
/// </summary>
internal static string ERR_ConditionalOnNonAttributeClass {
get {
return ResourceManager.GetString("ERR_ConditionalOnNonAttributeClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Conditional attribute is not valid on '{0}' because it is an override method.
/// </summary>
internal static string ERR_ConditionalOnOverride {
get {
return ResourceManager.GetString("ERR_ConditionalOnOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The Conditional attribute is not valid on '{0}' because it is a constructor, destructor, operator, or explicit interface implementation.
/// </summary>
internal static string ERR_ConditionalOnSpecialMethod {
get {
return ResourceManager.GetString("ERR_ConditionalOnSpecialMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Conditional member '{0}' cannot have an out parameter.
/// </summary>
internal static string ERR_ConditionalWithOutParam {
get {
return ResourceManager.GetString("ERR_ConditionalWithOutParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Namespace '{1}' contains a definition conflicting with alias '{0}'.
/// </summary>
internal static string ERR_ConflictAliasAndMember {
get {
return ResourceManager.GetString("ERR_ConflictAliasAndMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alias '{0}' conflicts with {1} definition.
/// </summary>
internal static string ERR_ConflictingAliasAndDefinition {
get {
return ResourceManager.GetString("ERR_ConflictingAliasAndDefinition", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly and module '{0}' cannot target different processors..
/// </summary>
internal static string ERR_ConflictingMachineModule {
get {
return ResourceManager.GetString("ERR_ConflictingMachineModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A constant value is expected.
/// </summary>
internal static string ERR_ConstantExpected {
get {
return ResourceManager.GetString("ERR_ConstantExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Length of String constant exceeds current memory limit. Try splitting the string into multiple constants..
/// </summary>
internal static string ERR_ConstantStringTooLong {
get {
return ResourceManager.GetString("ERR_ConstantStringTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constant value '{0}' cannot be converted to a '{1}'.
/// </summary>
internal static string ERR_ConstOutOfRange {
get {
return ResourceManager.GetString("ERR_ConstOutOfRange", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constant value '{0}' cannot be converted to a '{1}' (use 'unchecked' syntax to override).
/// </summary>
internal static string ERR_ConstOutOfRangeChecked {
get {
return ResourceManager.GetString("ERR_ConstOutOfRangeChecked", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static classes cannot be used as constraints.
/// </summary>
internal static string ERR_ConstraintIsStaticClass {
get {
return ResourceManager.GetString("ERR_ConstraintIsStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraints are not allowed on non-generic declarations.
/// </summary>
internal static string ERR_ConstraintOnlyAllowedOnGenericDecl {
get {
return ResourceManager.GetString("ERR_ConstraintOnlyAllowedOnGenericDecl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraint cannot be a dynamic type '{0}'.
/// </summary>
internal static string ERR_ConstructedDynamicTypeAsBound {
get {
return ResourceManager.GetString("ERR_ConstructedDynamicTypeAsBound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Static classes cannot have instance constructors.
/// </summary>
internal static string ERR_ConstructorInStaticClass {
get {
return ResourceManager.GetString("ERR_ConstructorInStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A const field requires a value to be provided.
/// </summary>
internal static string ERR_ConstValueRequired {
get {
return ResourceManager.GetString("ERR_ConstValueRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User-defined conversion must convert to or from the enclosing type.
/// </summary>
internal static string ERR_ConversionNotInvolvingContainedType {
get {
return ResourceManager.GetString("ERR_ConversionNotInvolvingContainedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple with {0} elements cannot be converted to type '{1}'..
/// </summary>
internal static string ERR_ConversionNotTupleCompatible {
get {
return ResourceManager.GetString("ERR_ConversionNotTupleCompatible", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': user-defined conversions to or from a base class are not allowed.
/// </summary>
internal static string ERR_ConversionWithBase {
get {
return ResourceManager.GetString("ERR_ConversionWithBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': user-defined conversions to or from a derived class are not allowed.
/// </summary>
internal static string ERR_ConversionWithDerived {
get {
return ResourceManager.GetString("ERR_ConversionWithDerived", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': user-defined conversions to or from an interface are not allowed.
/// </summary>
internal static string ERR_ConversionWithInterface {
get {
return ResourceManager.GetString("ERR_ConversionWithInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert to static type '{0}'.
/// </summary>
internal static string ERR_ConvertToStaticClass {
get {
return ResourceManager.GetString("ERR_ConvertToStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'.
/// </summary>
internal static string ERR_ConWithValCon {
get {
return ResourceManager.GetString("ERR_ConWithValCon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cryptographic failure while creating hashes..
/// </summary>
internal static string ERR_CryptoHashFailed {
get {
return ResourceManager.GetString("ERR_CryptoHashFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Bad array declarator: To declare a managed array the rank specifier precedes the variable's identifier. To declare a fixed size buffer field, use the fixed keyword before the field type..
/// </summary>
internal static string ERR_CStyleArray {
get {
return ResourceManager.GetString("ERR_CStyleArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inherited interface '{1}' causes a cycle in the interface hierarchy of '{0}'.
/// </summary>
internal static string ERR_CycleInInterfaceInheritance {
get {
return ResourceManager.GetString("ERR_CycleInInterfaceInheritance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type forwarder for type '{0}' in assembly '{1}' causes a cycle.
/// </summary>
internal static string ERR_CycleInTypeForwarder {
get {
return ResourceManager.GetString("ERR_CycleInTypeForwarder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Debug entry point must be a definition of a method declared in the current compilation..
/// </summary>
internal static string ERR_DebugEntryPointNotSourceMethodDefinition {
get {
return ResourceManager.GetString("ERR_DebugEntryPointNotSourceMethodDefinition", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Evaluation of the decimal constant expression failed.
/// </summary>
internal static string ERR_DecConstError {
get {
return ResourceManager.GetString("ERR_DecConstError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type information on the left-hand-side '{0}' and right-hand-side '{1}' of the deconstruction was insufficient to infer a merged type..
/// </summary>
internal static string ERR_DeconstructCouldNotInferMergedType {
get {
return ResourceManager.GetString("ERR_DeconstructCouldNotInferMergedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Deconstruction `var (...)` form disallows a specific type for 'var'..
/// </summary>
internal static string ERR_DeconstructionVarFormDisallowsSpecificType {
get {
return ResourceManager.GetString("ERR_DeconstructionVarFormDisallowsSpecificType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Deconstruct assignment requires an expression with a type on the right-hand-side..
/// </summary>
internal static string ERR_DeconstructRequiresExpression {
get {
return ResourceManager.GetString("ERR_DeconstructRequiresExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Deconstruction must contain at least two variables..
/// </summary>
internal static string ERR_DeconstructTooFewElements {
get {
return ResourceManager.GetString("ERR_DeconstructTooFewElements", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot deconstruct a tuple of '{0}' elements into '{1}' variables..
/// </summary>
internal static string ERR_DeconstructWrongCardinality {
get {
return ResourceManager.GetString("ERR_DeconstructWrongCardinality", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify the DefaultMember attribute on a type containing an indexer.
/// </summary>
internal static string ERR_DefaultMemberOnIndexedType {
get {
return ResourceManager.GetString("ERR_DefaultMemberOnIndexedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument of type '{0}' is not applicable for the DefaultParameterValue attribute.
/// </summary>
internal static string ERR_DefaultValueBadValueType {
get {
return ResourceManager.GetString("ERR_DefaultValueBadValueType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Optional parameters must appear after all required parameters.
/// </summary>
internal static string ERR_DefaultValueBeforeRequiredValue {
get {
return ResourceManager.GetString("ERR_DefaultValueBeforeRequiredValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify a default value for the 'this' parameter.
/// </summary>
internal static string ERR_DefaultValueForExtensionParameter {
get {
return ResourceManager.GetString("ERR_DefaultValueForExtensionParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify a default value for a parameter array.
/// </summary>
internal static string ERR_DefaultValueForParamsParameter {
get {
return ResourceManager.GetString("ERR_DefaultValueForParamsParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Default parameter value for '{0}' must be a compile-time constant.
/// </summary>
internal static string ERR_DefaultValueMustBeConstant {
get {
return ResourceManager.GetString("ERR_DefaultValueMustBeConstant", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Default values are not valid in this context..
/// </summary>
internal static string ERR_DefaultValueNotAllowed {
get {
return ResourceManager.GetString("ERR_DefaultValueNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type of the argument to the DefaultParameterValue attribute must match the parameter type.
/// </summary>
internal static string ERR_DefaultValueTypeMustMatch {
get {
return ResourceManager.GetString("ERR_DefaultValueTypeMustMatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify default parameter value in conjunction with DefaultParameterAttribute or OptionalAttribute.
/// </summary>
internal static string ERR_DefaultValueUsedWithAttributes {
get {
return ResourceManager.GetString("ERR_DefaultValueUsedWithAttributes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create delegate with '{0}' because it or a method it overrides has a Conditional attribute.
/// </summary>
internal static string ERR_DelegateOnConditional {
get {
return ResourceManager.GetString("ERR_DelegateOnConditional", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot bind delegate to '{0}' because it is a member of 'System.Nullable<T>'.
/// </summary>
internal static string ERR_DelegateOnNullable {
get {
return ResourceManager.GetString("ERR_DelegateOnNullable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}.
/// </summary>
internal static string ERR_DeprecatedCollectionInitAddStr {
get {
return ResourceManager.GetString("ERR_DeprecatedCollectionInitAddStr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is obsolete: '{1}'.
/// </summary>
internal static string ERR_DeprecatedSymbolStr {
get {
return ResourceManager.GetString("ERR_DeprecatedSymbolStr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot implement a dynamic interface '{1}'.
/// </summary>
internal static string ERR_DeriveFromConstructedDynamic {
get {
return ResourceManager.GetString("ERR_DeriveFromConstructedDynamic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot derive from the dynamic type.
/// </summary>
internal static string ERR_DeriveFromDynamic {
get {
return ResourceManager.GetString("ERR_DeriveFromDynamic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot derive from special class '{1}'.
/// </summary>
internal static string ERR_DeriveFromEnumOrValueType {
get {
return ResourceManager.GetString("ERR_DeriveFromEnumOrValueType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot derive from '{0}' because it is a type parameter.
/// </summary>
internal static string ERR_DerivingFromATyVar {
get {
return ResourceManager.GetString("ERR_DerivingFromATyVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Static classes cannot contain destructors.
/// </summary>
internal static string ERR_DestructorInStaticClass {
get {
return ResourceManager.GetString("ERR_DestructorInStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a dictionary initializer..
/// </summary>
internal static string ERR_DictionaryInitializerInExpressionTree {
get {
return ResourceManager.GetString("ERR_DictionaryInitializerInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The DllImport attribute cannot be applied to a method that is generic or contained in a generic type..
/// </summary>
internal static string ERR_DllImportOnGenericMethod {
get {
return ResourceManager.GetString("ERR_DllImportOnGenericMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The DllImport attribute must be specified on a method marked 'static' and 'extern'.
/// </summary>
internal static string ERR_DllImportOnInvalidMethod {
get {
return ResourceManager.GetString("ERR_DllImportOnInvalidMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement '{1}'.
/// </summary>
internal static string ERR_DoesntImplementAwaitInterface {
get {
return ResourceManager.GetString("ERR_DoesntImplementAwaitInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the 'fixed' field modifier instead..
/// </summary>
internal static string ERR_DoNotUseFixedBufferAttr {
get {
return ResourceManager.GetString("ERR_DoNotUseFixedBufferAttr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type name '{0}' does not exist in the type '{1}'.
/// </summary>
internal static string ERR_DottedTypeNameNotFoundInAgg {
get {
return ResourceManager.GetString("ERR_DottedTypeNameNotFoundInAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type or namespace name '{0}' does not exist in the namespace '{1}' (are you missing an assembly reference?).
/// </summary>
internal static string ERR_DottedTypeNameNotFoundInNS {
get {
return ResourceManager.GetString("ERR_DottedTypeNameNotFoundInNS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type name '{0}' could not be found in the namespace '{1}'. This type has been forwarded to assembly '{2}' Consider adding a reference to that assembly..
/// </summary>
internal static string ERR_DottedTypeNameNotFoundInNSFwd {
get {
return ResourceManager.GetString("ERR_DottedTypeNameNotFoundInNSFwd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Property accessor already defined.
/// </summary>
internal static string ERR_DuplicateAccessor {
get {
return ResourceManager.GetString("ERR_DuplicateAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The using alias '{0}' appeared previously in this namespace.
/// </summary>
internal static string ERR_DuplicateAlias {
get {
return ResourceManager.GetString("ERR_DuplicateAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate '{0}' attribute.
/// </summary>
internal static string ERR_DuplicateAttribute {
get {
return ResourceManager.GetString("ERR_DuplicateAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate '{0}' attribute in '{1}'.
/// </summary>
internal static string ERR_DuplicateAttributeInNetModule {
get {
return ResourceManager.GetString("ERR_DuplicateAttributeInNetModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate constraint '{0}' for type parameter '{1}'.
/// </summary>
internal static string ERR_DuplicateBound {
get {
return ResourceManager.GetString("ERR_DuplicateBound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The switch statement contains multiple cases with the label value '{0}'.
/// </summary>
internal static string ERR_DuplicateCaseLabel {
get {
return ResourceManager.GetString("ERR_DuplicateCaseLabel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A constraint clause has already been specified for type parameter '{0}'. All of the constraints for a type parameter must be specified in a single where clause..
/// </summary>
internal static string ERR_DuplicateConstraintClause {
get {
return ResourceManager.GetString("ERR_DuplicateConstraintClause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate user-defined conversion in type '{0}'.
/// </summary>
internal static string ERR_DuplicateConversionInClass {
get {
return ResourceManager.GetString("ERR_DuplicateConversionInClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter name '{0}' conflicts with an automatically-generated parameter name.
/// </summary>
internal static string ERR_DuplicateGeneratedName {
get {
return ResourceManager.GetString("ERR_DuplicateGeneratedName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Multiple assemblies with equivalent identity have been imported: '{0}' and '{1}'. Remove one of the duplicate references..
/// </summary>
internal static string ERR_DuplicateImport {
get {
return ResourceManager.GetString("ERR_DuplicateImport", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An assembly with the same simple name '{0}' has already been imported. Try removing one of the references (e.g. '{1}') or sign them to enable side-by-side..
/// </summary>
internal static string ERR_DuplicateImportSimple {
get {
return ResourceManager.GetString("ERR_DuplicateImportSimple", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is already listed in interface list.
/// </summary>
internal static string ERR_DuplicateInterfaceInBaseList {
get {
return ResourceManager.GetString("ERR_DuplicateInterfaceInBaseList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The label '{0}' is a duplicate.
/// </summary>
internal static string ERR_DuplicateLabel {
get {
return ResourceManager.GetString("ERR_DuplicateLabel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate '{0}' modifier.
/// </summary>
internal static string ERR_DuplicateModifier {
get {
return ResourceManager.GetString("ERR_DuplicateModifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Named argument '{0}' cannot be specified multiple times.
/// </summary>
internal static string ERR_DuplicateNamedArgument {
get {
return ResourceManager.GetString("ERR_DuplicateNamedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' duplicate named attribute argument.
/// </summary>
internal static string ERR_DuplicateNamedAttributeArgument {
get {
return ResourceManager.GetString("ERR_DuplicateNamedAttributeArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' already contains a definition for '{1}'.
/// </summary>
internal static string ERR_DuplicateNameInClass {
get {
return ResourceManager.GetString("ERR_DuplicateNameInClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The namespace '{1}' already contains a definition for '{0}'.
/// </summary>
internal static string ERR_DuplicateNameInNS {
get {
return ResourceManager.GetString("ERR_DuplicateNameInNS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter name '{0}' is a duplicate.
/// </summary>
internal static string ERR_DuplicateParamName {
get {
return ResourceManager.GetString("ERR_DuplicateParamName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify accessibility modifiers for both accessors of the property or indexer '{0}'.
/// </summary>
internal static string ERR_DuplicatePropertyAccessMods {
get {
return ResourceManager.GetString("ERR_DuplicatePropertyAccessMods", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' duplicate TypeForwardedToAttribute.
/// </summary>
internal static string ERR_DuplicateTypeForwarder {
get {
return ResourceManager.GetString("ERR_DuplicateTypeForwarder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate type parameter '{0}'.
/// </summary>
internal static string ERR_DuplicateTypeParameter {
get {
return ResourceManager.GetString("ERR_DuplicateTypeParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A parameter can only have one '{0}' modifier.
/// </summary>
internal static string ERR_DupParamMod {
get {
return ResourceManager.GetString("ERR_DupParamMod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot define a class or member that utilizes 'dynamic' because the compiler required type '{0}' cannot be found. Are you missing a reference?.
/// </summary>
internal static string ERR_DynamicAttributeMissing {
get {
return ResourceManager.GetString("ERR_DynamicAttributeMissing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot pass argument with dynamic type to params parameter '{0}' of local function '{1}'..
/// </summary>
internal static string ERR_DynamicLocalFunctionParamsParameter {
get {
return ResourceManager.GetString("ERR_DynamicLocalFunctionParamsParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?.
/// </summary>
internal static string ERR_DynamicRequiredTypesMissing {
get {
return ResourceManager.GetString("ERR_DynamicRequiredTypesMissing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraint cannot be the dynamic type.
/// </summary>
internal static string ERR_DynamicTypeAsBound {
get {
return ResourceManager.GetString("ERR_DynamicTypeAsBound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty character literal.
/// </summary>
internal static string ERR_EmptyCharConst {
get {
return ResourceManager.GetString("ERR_EmptyCharConst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Element initializer cannot be empty.
/// </summary>
internal static string ERR_EmptyElementInitializer {
get {
return ResourceManager.GetString("ERR_EmptyElementInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty format specifier..
/// </summary>
internal static string ERR_EmptyFormatSpecifier {
get {
return ResourceManager.GetString("ERR_EmptyFormatSpecifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression expected after yield return.
/// </summary>
internal static string ERR_EmptyYield {
get {
return ResourceManager.GetString("ERR_EmptyYield", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot continue since the edit includes a reference to an embedded type: '{0}'..
/// </summary>
internal static string ERR_EncNoPIAReference {
get {
return ResourceManager.GetString("ERR_EncNoPIAReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot emit debug information for a source text without encoding..
/// </summary>
internal static string ERR_EncodinglessSyntaxTree {
get {
return ResourceManager.GetString("ERR_EncodinglessSyntaxTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' added during the current debug session can only be accessed from within its declaring assembly '{1}'..
/// </summary>
internal static string ERR_EncReferenceToAddedMember {
get {
return ResourceManager.GetString("ERR_EncReferenceToAddedMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #endif directive expected.
/// </summary>
internal static string ERR_EndifDirectiveExpected {
get {
return ResourceManager.GetString("ERR_EndifDirectiveExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Single-line comment or end-of-line expected.
/// </summary>
internal static string ERR_EndOfPPLineExpected {
get {
return ResourceManager.GetString("ERR_EndOfPPLineExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #endregion directive expected.
/// </summary>
internal static string ERR_EndRegionDirectiveExpected {
get {
return ResourceManager.GetString("ERR_EndRegionDirectiveExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': the enumerator value is too large to fit in its type.
/// </summary>
internal static string ERR_EnumeratorOverflow {
get {
return ResourceManager.GetString("ERR_EnumeratorOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Enums cannot contain explicit parameterless constructors.
/// </summary>
internal static string ERR_EnumsCantContainDefaultConstructor {
get {
return ResourceManager.GetString("ERR_EnumsCantContainDefaultConstructor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type or namespace definition, or end-of-file expected.
/// </summary>
internal static string ERR_EOFExpected {
get {
return ResourceManager.GetString("ERR_EOFExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error building Win32 resources -- {0}.
/// </summary>
internal static string ERR_ErrorBuildingWin32Resources {
get {
return ResourceManager.GetString("ERR_ErrorBuildingWin32Resources", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #error: '{0}'.
/// </summary>
internal static string ERR_ErrorDirective {
get {
return ResourceManager.GetString("ERR_ErrorDirective", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There is an error in a referenced assembly '{0}'..
/// </summary>
internal static string ERR_ErrorInReferencedAssembly {
get {
return ResourceManager.GetString("ERR_ErrorInReferencedAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A '{0}' character may only be escaped by doubling '{0}{0}' in an interpolated string..
/// </summary>
internal static string ERR_EscapedCurly {
get {
return ResourceManager.GetString("ERR_EscapedCurly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': event property must have both add and remove accessors.
/// </summary>
internal static string ERR_EventNeedsBothAccessors {
get {
return ResourceManager.GetString("ERR_EventNeedsBothAccessors", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': event must be of a delegate type.
/// </summary>
internal static string ERR_EventNotDelegate {
get {
return ResourceManager.GetString("ERR_EventNotDelegate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An event in an interface cannot have add or remove accessors.
/// </summary>
internal static string ERR_EventPropertyInInterface {
get {
return ResourceManager.GetString("ERR_EventPropertyInInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected contextual keyword 'by'.
/// </summary>
internal static string ERR_ExpectedContextualKeywordBy {
get {
return ResourceManager.GetString("ERR_ExpectedContextualKeywordBy", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected contextual keyword 'equals'.
/// </summary>
internal static string ERR_ExpectedContextualKeywordEquals {
get {
return ResourceManager.GetString("ERR_ExpectedContextualKeywordEquals", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected contextual keyword 'on'.
/// </summary>
internal static string ERR_ExpectedContextualKeywordOn {
get {
return ResourceManager.GetString("ERR_ExpectedContextualKeywordOn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected catch or finally.
/// </summary>
internal static string ERR_ExpectedEndTry {
get {
return ResourceManager.GetString("ERR_ExpectedEndTry", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Quoted file name expected.
/// </summary>
internal static string ERR_ExpectedPPFile {
get {
return ResourceManager.GetString("ERR_ExpectedPPFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A query body must end with a select clause or a group clause.
/// </summary>
internal static string ERR_ExpectedSelectOrGroup {
get {
return ResourceManager.GetString("ERR_ExpectedSelectOrGroup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected a script (.csx file) but none specified.
/// </summary>
internal static string ERR_ExpectedSingleScript {
get {
return ResourceManager.GetString("ERR_ExpectedSingleScript", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword, identifier, or string expected after verbatim specifier: @.
/// </summary>
internal static string ERR_ExpectedVerbatimLiteral {
get {
return ResourceManager.GetString("ERR_ExpectedVerbatimLiteral", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not use 'System.Runtime.CompilerServices.DynamicAttribute'. Use the 'dynamic' keyword instead..
/// </summary>
internal static string ERR_ExplicitDynamicAttr {
get {
return ResourceManager.GetString("ERR_ExplicitDynamicAttr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An explicit interface implementation of an event must use event accessor syntax.
/// </summary>
internal static string ERR_ExplicitEventFieldImpl {
get {
return ResourceManager.GetString("ERR_ExplicitEventFieldImpl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not use 'System.Runtime.CompilerServices.ExtensionAttribute'. Use the 'this' keyword instead..
/// </summary>
internal static string ERR_ExplicitExtension {
get {
return ResourceManager.GetString("ERR_ExplicitExtension", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot inherit interface '{0}' with the specified type parameters because it causes method '{1}' to contain overloads which differ only on ref and out.
/// </summary>
internal static string ERR_ExplicitImplCollisionOnRefOut {
get {
return ResourceManager.GetString("ERR_ExplicitImplCollisionOnRefOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' should not have a params parameter since '{1}' does not.
/// </summary>
internal static string ERR_ExplicitImplParams {
get {
return ResourceManager.GetString("ERR_ExplicitImplParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': explicit interface declaration can only be declared in a class or struct.
/// </summary>
internal static string ERR_ExplicitInterfaceImplementationInNonClassOrStruct {
get {
return ResourceManager.GetString("ERR_ExplicitInterfaceImplementationInNonClassOrStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' in explicit interface declaration is not an interface.
/// </summary>
internal static string ERR_ExplicitInterfaceImplementationNotInterface {
get {
return ResourceManager.GetString("ERR_ExplicitInterfaceImplementationNotInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': Auto-implemented properties cannot be used inside a type marked with StructLayout(LayoutKind.Explicit).
/// </summary>
internal static string ERR_ExplicitLayoutAndAutoImplementedProperty {
get {
return ResourceManager.GetString("ERR_ExplicitLayoutAndAutoImplementedProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' explicit method implementation cannot implement '{1}' because it is an accessor.
/// </summary>
internal static string ERR_ExplicitMethodImplAccessor {
get {
return ResourceManager.GetString("ERR_ExplicitMethodImplAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not use 'System.ParamArrayAttribute'. Use the 'params' keyword instead..
/// </summary>
internal static string ERR_ExplicitParamArray {
get {
return ResourceManager.GetString("ERR_ExplicitParamArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' adds an accessor not found in interface member '{1}'.
/// </summary>
internal static string ERR_ExplicitPropertyAddingAccessor {
get {
return ResourceManager.GetString("ERR_ExplicitPropertyAddingAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Explicit interface implementation '{0}' is missing accessor '{1}'.
/// </summary>
internal static string ERR_ExplicitPropertyMissingAccessor {
get {
return ResourceManager.GetString("ERR_ExplicitPropertyMissingAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot reference 'System.Runtime.CompilerServices.TupleElementNamesAttribute' explicitly. Use the tuple syntax to define tuple names..
/// </summary>
internal static string ERR_ExplicitTupleElementNames {
get {
return ResourceManager.GetString("ERR_ExplicitTupleElementNames", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' exported from module '{1}' conflicts with type declared in primary module of this assembly..
/// </summary>
internal static string ERR_ExportedTypeConflictsWithDeclaration {
get {
return ResourceManager.GetString("ERR_ExportedTypeConflictsWithDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' exported from module '{1}' conflicts with type '{2}' exported from module '{3}'..
/// </summary>
internal static string ERR_ExportedTypesConflict {
get {
return ResourceManager.GetString("ERR_ExportedTypesConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected expression.
/// </summary>
internal static string ERR_ExpressionExpected {
get {
return ResourceManager.GetString("ERR_ExpressionExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression does not have a name..
/// </summary>
internal static string ERR_ExpressionHasNoName {
get {
return ResourceManager.GetString("ERR_ExpressionHasNoName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression or declaration statement expected..
/// </summary>
internal static string ERR_ExpressionOrDeclarationExpected {
get {
return ResourceManager.GetString("ERR_ExpressionOrDeclarationExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain an anonymous method expression.
/// </summary>
internal static string ERR_ExpressionTreeContainsAnonymousMethod {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsAnonymousMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain an assignment operator.
/// </summary>
internal static string ERR_ExpressionTreeContainsAssignment {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsAssignment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a coalescing operator with a null literal left-hand side.
/// </summary>
internal static string ERR_ExpressionTreeContainsBadCoalesce {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsBadCoalesce", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a base access.
/// </summary>
internal static string ERR_ExpressionTreeContainsBaseAccess {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsBaseAccess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a dynamic operation.
/// </summary>
internal static string ERR_ExpressionTreeContainsDynamicOperation {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsDynamicOperation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain an indexed property.
/// </summary>
internal static string ERR_ExpressionTreeContainsIndexedProperty {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsIndexedProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a reference to a local function.
/// </summary>
internal static string ERR_ExpressionTreeContainsLocalFunction {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsLocalFunction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a multidimensional array initializer.
/// </summary>
internal static string ERR_ExpressionTreeContainsMultiDimensionalArrayInitializer {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsMultiDimensionalArrayInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a named argument specification.
/// </summary>
internal static string ERR_ExpressionTreeContainsNamedArgument {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsNamedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain a call or invocation that uses optional arguments.
/// </summary>
internal static string ERR_ExpressionTreeContainsOptionalArgument {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsOptionalArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain an unsafe pointer operation.
/// </summary>
internal static string ERR_ExpressionTreeContainsPointerOp {
get {
return ResourceManager.GetString("ERR_ExpressionTreeContainsPointerOp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert lambda to an expression tree whose type argument '{0}' is not a delegate type.
/// </summary>
internal static string ERR_ExpressionTreeMustHaveDelegate {
get {
return ResourceManager.GetString("ERR_ExpressionTreeMustHaveDelegate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot define a new extension method because the compiler required type '{0}' cannot be found. Are you missing a reference to System.Core.dll?.
/// </summary>
internal static string ERR_ExtensionAttrNotFound {
get {
return ResourceManager.GetString("ERR_ExtensionAttrNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An extension Add method is not supported for a collection initializer in an expression lambda..
/// </summary>
internal static string ERR_ExtensionCollectionElementInitializerInExpressionTree {
get {
return ResourceManager.GetString("ERR_ExtensionCollectionElementInitializerInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extension methods must be defined in a top level static class; {0} is a nested class.
/// </summary>
internal static string ERR_ExtensionMethodsDecl {
get {
return ResourceManager.GetString("ERR_ExtensionMethodsDecl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An extern alias declaration must precede all other elements defined in the namespace.
/// </summary>
internal static string ERR_ExternAfterElements {
get {
return ResourceManager.GetString("ERR_ExternAfterElements", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'extern alias' is not valid in this context.
/// </summary>
internal static string ERR_ExternAliasNotAllowed {
get {
return ResourceManager.GetString("ERR_ExternAliasNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be extern and declare a body.
/// </summary>
internal static string ERR_ExternHasBody {
get {
return ResourceManager.GetString("ERR_ExternHasBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be extern and have a constructor initializer.
/// </summary>
internal static string ERR_ExternHasConstructorInitializer {
get {
return ResourceManager.GetString("ERR_ExternHasConstructorInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is experimental and unsupported; use '/features:{1}' to enable..
/// </summary>
internal static string ERR_FeatureIsExperimental {
get {
return ResourceManager.GetString("ERR_FeatureIsExperimental", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not implemented in this compiler..
/// </summary>
internal static string ERR_FeatureIsUnimplemented {
get {
return ResourceManager.GetString("ERR_FeatureIsUnimplemented", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 1. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion1 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 2. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion2 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 3. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion3 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion3", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 4. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion4 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion4", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 5. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion5 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion5", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 6. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion6 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion6", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not available in C# 7. Please use language version {1} or greater..
/// </summary>
internal static string ERR_FeatureNotAvailableInVersion7 {
get {
return ResourceManager.GetString("ERR_FeatureNotAvailableInVersion7", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree may not contain '{0}'.
/// </summary>
internal static string ERR_FeatureNotValidInExpressionTree {
get {
return ResourceManager.GetString("ERR_FeatureNotValidInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field or property cannot be of type '{0}'.
/// </summary>
internal static string ERR_FieldCantBeRefAny {
get {
return ResourceManager.GetString("ERR_FieldCantBeRefAny", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field cannot have void type.
/// </summary>
internal static string ERR_FieldCantHaveVoidType {
get {
return ResourceManager.GetString("ERR_FieldCantHaveVoidType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The field has multiple distinct constant values..
/// </summary>
internal static string ERR_FieldHasMultipleDistinctConstantValues {
get {
return ResourceManager.GetString("ERR_FieldHasMultipleDistinctConstantValues", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot have instance property or field initializers in structs.
/// </summary>
internal static string ERR_FieldInitializerInStruct {
get {
return ResourceManager.GetString("ERR_FieldInitializerInStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A field initializer cannot reference the non-static field, method, or property '{0}'.
/// </summary>
internal static string ERR_FieldInitRefNonstatic {
get {
return ResourceManager.GetString("ERR_FieldInitRefNonstatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file '{0}' could not be found..
/// </summary>
internal static string ERR_FileNotFound {
get {
return ResourceManager.GetString("ERR_FileNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement..
/// </summary>
internal static string ERR_FixedBufferNotFixed {
get {
return ResourceManager.GetString("ERR_FixedBufferNotFixed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A fixed buffer may only have one dimension..
/// </summary>
internal static string ERR_FixedBufferTooManyDimensions {
get {
return ResourceManager.GetString("ERR_FixedBufferTooManyDimensions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A fixed size buffer field must have the array size specifier after the field name.
/// </summary>
internal static string ERR_FixedDimsRequired {
get {
return ResourceManager.GetString("ERR_FixedDimsRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use fixed local '{0}' inside an anonymous method, lambda expression, or query expression.
/// </summary>
internal static string ERR_FixedLocalInLambda {
get {
return ResourceManager.GetString("ERR_FixedLocalInLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You must provide an initializer in a fixed or using statement declaration.
/// </summary>
internal static string ERR_FixedMustInit {
get {
return ResourceManager.GetString("ERR_FixedMustInit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You can only take the address of an unfixed expression inside of a fixed statement initializer.
/// </summary>
internal static string ERR_FixedNeeded {
get {
return ResourceManager.GetString("ERR_FixedNeeded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fixed size buffers can only be accessed through locals or fields.
/// </summary>
internal static string ERR_FixedNeedsLvalue {
get {
return ResourceManager.GetString("ERR_FixedNeedsLvalue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fixed size buffer fields may only be members of structs.
/// </summary>
internal static string ERR_FixedNotInStruct {
get {
return ResourceManager.GetString("ERR_FixedNotInStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot use the fixed statement to take the address of an already fixed expression.
/// </summary>
internal static string ERR_FixedNotNeeded {
get {
return ResourceManager.GetString("ERR_FixedNotNeeded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fixed size buffer of length {0} and type '{1}' is too big.
/// </summary>
internal static string ERR_FixedOverflow {
get {
return ResourceManager.GetString("ERR_FixedOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Floating-point constant is outside the range of type '{0}'.
/// </summary>
internal static string ERR_FloatOverflow {
get {
return ResourceManager.GetString("ERR_FloatOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public definition for '{1}'.
/// </summary>
internal static string ERR_ForEachMissingMember {
get {
return ResourceManager.GetString("ERR_ForEachMissingMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Forwarded type '{0}' conflicts with type declared in primary module of this assembly..
/// </summary>
internal static string ERR_ForwardedTypeConflictsWithDeclaration {
get {
return ResourceManager.GetString("ERR_ForwardedTypeConflictsWithDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' exported from module '{3}'..
/// </summary>
internal static string ERR_ForwardedTypeConflictsWithExportedType {
get {
return ResourceManager.GetString("ERR_ForwardedTypeConflictsWithExportedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' is defined in this assembly, but a type forwarder is specified for it.
/// </summary>
internal static string ERR_ForwardedTypeInThisAssembly {
get {
return ResourceManager.GetString("ERR_ForwardedTypeInThisAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot forward type '{0}' because it is a nested type of '{1}'.
/// </summary>
internal static string ERR_ForwardedTypeIsNested {
get {
return ResourceManager.GetString("ERR_ForwardedTypeIsNested", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' forwarded to assembly '{3}'..
/// </summary>
internal static string ERR_ForwardedTypesConflict {
get {
return ResourceManager.GetString("ERR_ForwardedTypesConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Friend assembly reference '{0}' is invalid. InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified..
/// </summary>
internal static string ERR_FriendAssemblyBadArgs {
get {
return ResourceManager.GetString("ERR_FriendAssemblyBadArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Friend assembly reference '{0}' is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations..
/// </summary>
internal static string ERR_FriendAssemblySNReq {
get {
return ResourceManager.GetString("ERR_FriendAssemblySNReq", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Friend access was granted by '{0}', but the public key of the output assembly does not match that specified by the attribute in the granting assembly..
/// </summary>
internal static string ERR_FriendRefNotEqualToThis {
get {
return ResourceManager.GetString("ERR_FriendRefNotEqualToThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Friend access was granted by '{0}', but the strong name signing state of the output assembly does not match that of the granting assembly..
/// </summary>
internal static string ERR_FriendRefSigningMismatch {
get {
return ResourceManager.GetString("ERR_FriendRefSigningMismatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static types cannot be used as type arguments.
/// </summary>
internal static string ERR_GenericArgIsStaticClass {
get {
return ResourceManager.GetString("ERR_GenericArgIsStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'..
/// </summary>
internal static string ERR_GenericConstraintNotSatisfiedNullableEnum {
get {
return ResourceManager.GetString("ERR_GenericConstraintNotSatisfiedNullableEnum", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'. Nullable types can not satisfy any interface constraints..
/// </summary>
internal static string ERR_GenericConstraintNotSatisfiedNullableInterface {
get {
return ResourceManager.GetString("ERR_GenericConstraintNotSatisfiedNullableInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no implicit reference conversion from '{3}' to '{1}'..
/// </summary>
internal static string ERR_GenericConstraintNotSatisfiedRefType {
get {
return ResourceManager.GetString("ERR_GenericConstraintNotSatisfiedRefType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion or type parameter conversion from '{3}' to '{1}'..
/// </summary>
internal static string ERR_GenericConstraintNotSatisfiedTyVar {
get {
return ResourceManager.GetString("ERR_GenericConstraintNotSatisfiedTyVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'..
/// </summary>
internal static string ERR_GenericConstraintNotSatisfiedValType {
get {
return ResourceManager.GetString("ERR_GenericConstraintNotSatisfiedValType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A generic type cannot derive from '{0}' because it is an attribute class.
/// </summary>
internal static string ERR_GenericDerivingFromAttribute {
get {
return ResourceManager.GetString("ERR_GenericDerivingFromAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' from assembly '{1}' cannot be used across assembly boundaries because it has a generic type parameter that is an embedded interop type..
/// </summary>
internal static string ERR_GenericsUsedAcrossAssemblies {
get {
return ResourceManager.GetString("ERR_GenericsUsedAcrossAssemblies", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false..
/// </summary>
internal static string ERR_GenericsUsedInNoPIAType {
get {
return ResourceManager.GetString("ERR_GenericsUsedInNoPIAType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A get or set accessor expected.
/// </summary>
internal static string ERR_GetOrSetExpected {
get {
return ResourceManager.GetString("ERR_GetOrSetExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly and module attributes are not allowed in this context.
/// </summary>
internal static string ERR_GlobalAttributesNotAllowed {
get {
return ResourceManager.GetString("ERR_GlobalAttributesNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly and module attributes must precede all other elements defined in a file except using clauses and extern alias declarations.
/// </summary>
internal static string ERR_GlobalAttributesNotFirst {
get {
return ResourceManager.GetString("ERR_GlobalAttributesNotFirst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member definition, statement, or end-of-file expected.
/// </summary>
internal static string ERR_GlobalDefinitionOrStatementExpected {
get {
return ResourceManager.GetString("ERR_GlobalDefinitionOrStatementExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot redefine the global extern alias.
/// </summary>
internal static string ERR_GlobalExternAlias {
get {
return ResourceManager.GetString("ERR_GlobalExternAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type or namespace name '{0}' could not be found in the global namespace (are you missing an assembly reference?).
/// </summary>
internal static string ERR_GlobalSingleTypeNameNotFound {
get {
return ResourceManager.GetString("ERR_GlobalSingleTypeNameNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type name '{0}' could not be found in the global namespace. This type has been forwarded to assembly '{1}' Consider adding a reference to that assembly..
/// </summary>
internal static string ERR_GlobalSingleTypeNameNotFoundFwd {
get {
return ResourceManager.GetString("ERR_GlobalSingleTypeNameNotFoundFwd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expressions and statements can only occur in a method body.
/// </summary>
internal static string ERR_GlobalStatement {
get {
return ResourceManager.GetString("ERR_GlobalStatement", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The non-generic {1} '{0}' cannot be used with type arguments.
/// </summary>
internal static string ERR_HasNoTypeVars {
get {
return ResourceManager.GetString("ERR_HasNoTypeVars", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' hides inherited abstract member '{1}'.
/// </summary>
internal static string ERR_HidingAbstractMethod {
get {
return ResourceManager.GetString("ERR_HidingAbstractMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier expected.
/// </summary>
internal static string ERR_IdentifierExpected {
get {
return ResourceManager.GetString("ERR_IdentifierExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier expected; '{1}' is a keyword.
/// </summary>
internal static string ERR_IdentifierExpectedKW {
get {
return ResourceManager.GetString("ERR_IdentifierExpectedKW", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type.
/// </summary>
internal static string ERR_IdentityConversion {
get {
return ResourceManager.GetString("ERR_IdentityConversion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An __arglist expression may only appear inside of a call or new expression.
/// </summary>
internal static string ERR_IllegalArglist {
get {
return ResourceManager.GetString("ERR_IllegalArglist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unrecognized escape sequence.
/// </summary>
internal static string ERR_IllegalEscape {
get {
return ResourceManager.GetString("ERR_IllegalEscape", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fixed size buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double.
/// </summary>
internal static string ERR_IllegalFixedType {
get {
return ResourceManager.GetString("ERR_IllegalFixedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unsafe code may not appear in iterators.
/// </summary>
internal static string ERR_IllegalInnerUnsafe {
get {
return ResourceManager.GetString("ERR_IllegalInnerUnsafe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to params is not valid in this context.
/// </summary>
internal static string ERR_IllegalParams {
get {
return ResourceManager.GetString("ERR_IllegalParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ref and out are not valid in this context.
/// </summary>
internal static string ERR_IllegalRefParam {
get {
return ResourceManager.GetString("ERR_IllegalRefParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only assignment, call, increment, decrement, and new object expressions can be used as a statement.
/// </summary>
internal static string ERR_IllegalStatement {
get {
return ResourceManager.GetString("ERR_IllegalStatement", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unsafe code may only appear if compiling with /unsafe.
/// </summary>
internal static string ERR_IllegalUnsafe {
get {
return ResourceManager.GetString("ERR_IllegalUnsafe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to __arglist is not valid in this context.
/// </summary>
internal static string ERR_IllegalVarArgs {
get {
return ResourceManager.GetString("ERR_IllegalVarArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid variance modifier. Only interface and delegate type parameters can be specified as variant..
/// </summary>
internal static string ERR_IllegalVarianceSyntax {
get {
return ResourceManager.GetString("ERR_IllegalVarianceSyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The constraints for type parameter '{0}' of method '{1}' must match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead..
/// </summary>
internal static string ERR_ImplBadConstraints {
get {
return ResourceManager.GetString("ERR_ImplBadConstraints", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No best type found for implicitly-typed array.
/// </summary>
internal static string ERR_ImplicitlyTypedArrayNoBestType {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedArrayNoBestType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Implicitly-typed local variables cannot be fixed.
/// </summary>
internal static string ERR_ImplicitlyTypedLocalCannotBeFixed {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedLocalCannotBeFixed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reference to an implicitly-typed out variable '{0}' is not permitted in the same argument list..
/// </summary>
internal static string ERR_ImplicitlyTypedOutVariableUsedInTheSameArgumentList {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedOutVariableUsedInTheSameArgumentList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot initialize an implicitly-typed variable with an array initializer.
/// </summary>
internal static string ERR_ImplicitlyTypedVariableAssignedArrayInitializer {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedVariableAssignedArrayInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot assign {0} to an implicitly-typed variable.
/// </summary>
internal static string ERR_ImplicitlyTypedVariableAssignedBadValue {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedVariableAssignedBadValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Implicitly-typed variables cannot be constant.
/// </summary>
internal static string ERR_ImplicitlyTypedVariableCannotBeConst {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedVariableCannotBeConst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Implicitly-typed variables cannot have multiple declarators.
/// </summary>
internal static string ERR_ImplicitlyTypedVariableMultipleDeclarator {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedVariableMultipleDeclarator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Implicitly-typed variables must be initialized.
/// </summary>
internal static string ERR_ImplicitlyTypedVariableWithNoInitializer {
get {
return ResourceManager.GetString("ERR_ImplicitlyTypedVariableWithNoInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Imported type '{0}' is invalid. It contains a circular base class dependency..
/// </summary>
internal static string ERR_ImportedCircularBase {
get {
return ResourceManager.GetString("ERR_ImportedCircularBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The referenced file '{0}' is not an assembly.
/// </summary>
internal static string ERR_ImportNonAssembly {
get {
return ResourceManager.GetString("ERR_ImportNonAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The property or indexer '{0}' cannot be used in this context because the get accessor is inaccessible.
/// </summary>
internal static string ERR_InaccessibleGetter {
get {
return ResourceManager.GetString("ERR_InaccessibleGetter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The property or indexer '{0}' cannot be used in this context because the set accessor is inaccessible.
/// </summary>
internal static string ERR_InaccessibleSetter {
get {
return ResourceManager.GetString("ERR_InaccessibleSetter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An out parameter cannot have the In attribute.
/// </summary>
internal static string ERR_InAttrOnOutParam {
get {
return ResourceManager.GetString("ERR_InAttrOnOutParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type.
/// </summary>
internal static string ERR_InconsistentIndexerNames {
get {
return ResourceManager.GetString("ERR_InconsistentIndexerNames", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Inconsistent lambda parameter usage; parameter types must be all explicit or all implicit.
/// </summary>
internal static string ERR_InconsistentLambdaParameterUsage {
get {
return ResourceManager.GetString("ERR_InconsistentLambdaParameterUsage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The operand of an increment or decrement operator must be a variable, property or indexer.
/// </summary>
internal static string ERR_IncrementLvalueExpected {
get {
return ResourceManager.GetString("ERR_IncrementLvalueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexed property '{0}' must have all arguments optional.
/// </summary>
internal static string ERR_IndexedPropertyMustHaveAllOptionalParams {
get {
return ResourceManager.GetString("ERR_IndexedPropertyMustHaveAllOptionalParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexed property '{0}' has non-optional arguments which must be provided.
/// </summary>
internal static string ERR_IndexedPropertyRequiresParams {
get {
return ResourceManager.GetString("ERR_IndexedPropertyRequiresParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexers cannot have void type.
/// </summary>
internal static string ERR_IndexerCantHaveVoidType {
get {
return ResourceManager.GetString("ERR_IndexerCantHaveVoidType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot declare indexers in a static class.
/// </summary>
internal static string ERR_IndexerInStaticClass {
get {
return ResourceManager.GetString("ERR_IndexerInStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexers must have at least one parameter.
/// </summary>
internal static string ERR_IndexerNeedsParam {
get {
return ResourceManager.GetString("ERR_IndexerNeedsParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constructor '{0}' cannot call itself through another constructor.
/// </summary>
internal static string ERR_IndirectRecursiveConstructorCall {
get {
return ResourceManager.GetString("ERR_IndirectRecursiveConstructorCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'in' expected.
/// </summary>
internal static string ERR_InExpected {
get {
return ResourceManager.GetString("ERR_InExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot initialize a by-reference variable with a value.
/// </summary>
internal static string ERR_InitializeByReferenceVariableWithValue {
get {
return ResourceManager.GetString("ERR_InitializeByReferenceVariableWithValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot initialize a by-value variable with a reference.
/// </summary>
internal static string ERR_InitializeByValueVariableWithReference {
get {
return ResourceManager.GetString("ERR_InitializeByValueVariableWithReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters..
/// </summary>
internal static string ERR_InitializerAddHasParamModifiers {
get {
return ResourceManager.GetString("ERR_InitializerAddHasParamModifiers", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded method match for '{0}' has wrong signature for the initializer element. The initializable Add must be an accessible instance method..
/// </summary>
internal static string ERR_InitializerAddHasWrongSignature {
get {
return ResourceManager.GetString("ERR_InitializerAddHasWrongSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Structs without explicit constructors cannot contain members with initializers..
/// </summary>
internal static string ERR_InitializerInStructWithoutExplicitConstructor {
get {
return ResourceManager.GetString("ERR_InitializerInStructWithoutExplicitConstructor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only auto-implemented properties can have initializers..
/// </summary>
internal static string ERR_InitializerOnNonAutoProperty {
get {
return ResourceManager.GetString("ERR_InitializerOnNonAutoProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot declare instance members in a static class.
/// </summary>
internal static string ERR_InstanceMemberInStaticClass {
get {
return ResourceManager.GetString("ERR_InstanceMemberInStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create an instance of the static class '{0}'.
/// </summary>
internal static string ERR_InstantiatingStaticClass {
get {
return ResourceManager.GetString("ERR_InstantiatingStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression is too long or complex to compile.
/// </summary>
internal static string ERR_InsufficientStack {
get {
return ResourceManager.GetString("ERR_InsufficientStack", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Division by constant zero.
/// </summary>
internal static string ERR_IntDivByZero {
get {
return ResourceManager.GetString("ERR_IntDivByZero", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type byte, sbyte, short, ushort, int, uint, long, or ulong expected.
/// </summary>
internal static string ERR_IntegralTypeExpected {
get {
return ResourceManager.GetString("ERR_IntegralTypeExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A value of an integral type expected.
/// </summary>
internal static string ERR_IntegralTypeValueExpected {
get {
return ResourceManager.GetString("ERR_IntegralTypeValueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': event in interface cannot have initializer.
/// </summary>
internal static string ERR_InterfaceEventInitializer {
get {
return ResourceManager.GetString("ERR_InterfaceEventInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Conditional member '{0}' cannot implement interface member '{1}' in type '{2}'.
/// </summary>
internal static string ERR_InterfaceImplementedByConditional {
get {
return ResourceManager.GetString("ERR_InterfaceImplementedByConditional", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': interface members cannot have a definition.
/// </summary>
internal static string ERR_InterfaceMemberHasBody {
get {
return ResourceManager.GetString("ERR_InterfaceMemberHasBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' in explicit interface declaration is not a member of interface.
/// </summary>
internal static string ERR_InterfaceMemberNotFound {
get {
return ResourceManager.GetString("ERR_InterfaceMemberNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': interfaces cannot declare types.
/// </summary>
internal static string ERR_InterfacesCannotContainTypes {
get {
return ResourceManager.GetString("ERR_InterfacesCannotContainTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interfaces cannot contain constructors.
/// </summary>
internal static string ERR_InterfacesCantContainConstructors {
get {
return ResourceManager.GetString("ERR_InterfacesCantContainConstructors", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interfaces cannot contain fields.
/// </summary>
internal static string ERR_InterfacesCantContainFields {
get {
return ResourceManager.GetString("ERR_InterfacesCantContainFields", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interfaces cannot contain operators.
/// </summary>
internal static string ERR_InterfacesCantContainOperators {
get {
return ResourceManager.GetString("ERR_InterfacesCantContainOperators", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Embedded interop method '{0}' contains a body..
/// </summary>
internal static string ERR_InteropMethodWithBody {
get {
return ResourceManager.GetString("ERR_InteropMethodWithBody", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Embedded interop struct '{0}' can contain only public instance fields..
/// </summary>
internal static string ERR_InteropStructContainsMethods {
get {
return ResourceManager.GetString("ERR_InteropStructContainsMethods", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interop type '{0}' cannot be embedded because it is missing the required '{1}' attribute..
/// </summary>
internal static string ERR_InteropTypeMissingAttribute {
get {
return ResourceManager.GetString("ERR_InteropTypeMissingAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot embed interop type '{0}' found in both assembly '{1}' and '{2}'. Consider setting the 'Embed Interop Types' property to false..
/// </summary>
internal static string ERR_InteropTypesWithSameNameAndGuid {
get {
return ResourceManager.GetString("ERR_InteropTypesWithSameNameAndGuid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Integral constant is too large.
/// </summary>
internal static string ERR_IntOverflow {
get {
return ResourceManager.GetString("ERR_IntOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot take the address of the given expression.
/// </summary>
internal static string ERR_InvalidAddrOp {
get {
return ResourceManager.GetString("ERR_InvalidAddrOp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access..
/// </summary>
internal static string ERR_InvalidAnonymousTypeMemberDeclarator {
get {
return ResourceManager.GetString("ERR_InvalidAnonymousTypeMemberDeclarator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid rank specifier: expected ',' or ']'.
/// </summary>
internal static string ERR_InvalidArray {
get {
return ResourceManager.GetString("ERR_InvalidArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly culture strings may not contain embedded NUL characters..
/// </summary>
internal static string ERR_InvalidAssemblyCulture {
get {
return ResourceManager.GetString("ERR_InvalidAssemblyCulture", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Executables cannot be satellite assemblies; culture should always be empty.
/// </summary>
internal static string ERR_InvalidAssemblyCultureForExe {
get {
return ResourceManager.GetString("ERR_InvalidAssemblyCultureForExe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly reference '{0}' is invalid and cannot be resolved.
/// </summary>
internal static string ERR_InvalidAssemblyName {
get {
return ResourceManager.GetString("ERR_InvalidAssemblyName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value for argument to '{0}' attribute.
/// </summary>
internal static string ERR_InvalidAttributeArgument {
get {
return ResourceManager.GetString("ERR_InvalidAttributeArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is of type '{1}'. The type specified in a constant declaration must be sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, an enum-type, or a reference-type..
/// </summary>
internal static string ERR_InvalidConstantDeclarationType {
get {
return ResourceManager.GetString("ERR_InvalidConstantDeclarationType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid debug information format: {0}.
/// </summary>
internal static string ERR_InvalidDebugInformationFormat {
get {
return ResourceManager.GetString("ERR_InvalidDebugInformationFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delegate '{0}' has no invoke method or an invoke method with a return type or parameter types that are not supported..
/// </summary>
internal static string ERR_InvalidDelegateType {
get {
return ResourceManager.GetString("ERR_InvalidDelegateType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression must be implicitly convertible to Boolean or its type '{0}' must define operator '{1}'..
/// </summary>
internal static string ERR_InvalidDynamicCondition {
get {
return ResourceManager.GetString("ERR_InvalidDynamicCondition", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid expression term '{0}'.
/// </summary>
internal static string ERR_InvalidExprTerm {
get {
return ResourceManager.GetString("ERR_InvalidExprTerm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid file section alignment '{0}'.
/// </summary>
internal static string ERR_InvalidFileAlignment {
get {
return ResourceManager.GetString("ERR_InvalidFileAlignment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fixed size buffers must have a length greater than zero.
/// </summary>
internal static string ERR_InvalidFixedArraySize {
get {
return ResourceManager.GetString("ERR_InvalidFixedArraySize", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command-line syntax error: Invalid Guid format '{0}' for option '{1}'.
/// </summary>
internal static string ERR_InvalidFormatForGuidForOption {
get {
return ResourceManager.GetString("ERR_InvalidFormatForGuidForOption", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid type specified as an argument for TypeForwardedTo attribute.
/// </summary>
internal static string ERR_InvalidFwdType {
get {
return ResourceManager.GetString("ERR_InvalidFwdType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A goto case is only valid inside a switch statement.
/// </summary>
internal static string ERR_InvalidGotoCase {
get {
return ResourceManager.GetString("ERR_InvalidGotoCase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid initializer member declarator.
/// </summary>
internal static string ERR_InvalidInitializerElementInitializer {
get {
return ResourceManager.GetString("ERR_InvalidInitializerElementInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The line number specified for #line directive is missing or invalid.
/// </summary>
internal static string ERR_InvalidLineNumber {
get {
return ResourceManager.GetString("ERR_InvalidLineNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid token '{0}' in class, struct, or interface member declaration.
/// </summary>
internal static string ERR_InvalidMemberDecl {
get {
return ResourceManager.GetString("ERR_InvalidMemberDecl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value for named attribute argument '{0}'.
/// </summary>
internal static string ERR_InvalidNamedArgument {
get {
return ResourceManager.GetString("ERR_InvalidNamedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid number.
/// </summary>
internal static string ERR_InvalidNumber {
get {
return ResourceManager.GetString("ERR_InvalidNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid output name: {0}.
/// </summary>
internal static string ERR_InvalidOutputName {
get {
return ResourceManager.GetString("ERR_InvalidOutputName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The pathmap option was incorrectly formatted..
/// </summary>
internal static string ERR_InvalidPathMap {
get {
return ResourceManager.GetString("ERR_InvalidPathMap", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid preprocessor expression.
/// </summary>
internal static string ERR_InvalidPreprocExpr {
get {
return ResourceManager.GetString("ERR_InvalidPreprocExpr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The accessibility modifier of the '{0}' accessor must be more restrictive than the property or indexer '{1}'.
/// </summary>
internal static string ERR_InvalidPropertyAccessMod {
get {
return ResourceManager.GetString("ERR_InvalidPropertyAccessMod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type of conditional expression cannot be determined because there is no implicit conversion between '{0}' and '{1}'.
/// </summary>
internal static string ERR_InvalidQM {
get {
return ResourceManager.GetString("ERR_InvalidQM", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid real literal..
/// </summary>
internal static string ERR_InvalidReal {
get {
return ResourceManager.GetString("ERR_InvalidReal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid signature public key specified in AssemblySignatureKeyAttribute..
/// </summary>
internal static string ERR_InvalidSignaturePublicKey {
get {
return ResourceManager.GetString("ERR_InvalidSignaturePublicKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid format specifier.
/// </summary>
internal static string ERR_InvalidSpecifier {
get {
return ResourceManager.GetString("ERR_InvalidSpecifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid version {0} for /subsystemversion. The version must be 6.02 or greater for ARM or AppContainerExe, and 4.00 or greater otherwise.
/// </summary>
internal static string ERR_InvalidSubsystemVersion {
get {
return ResourceManager.GetString("ERR_InvalidSubsystemVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified version string does not conform to the required format - major[.minor[.build[.revision]]].
/// </summary>
internal static string ERR_InvalidVersionFormat {
get {
return ResourceManager.GetString("ERR_InvalidVersionFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified version string does not conform to the required format - major.minor.build.revision.
/// </summary>
internal static string ERR_InvalidVersionFormat2 {
get {
return ResourceManager.GetString("ERR_InvalidVersionFormat2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Yield statements may not appear at the top level in interactive code..
/// </summary>
internal static string ERR_IteratorInInteractive {
get {
return ResourceManager.GetString("ERR_IteratorInInteractive", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No such label '{0}' within the scope of the goto statement.
/// </summary>
internal static string ERR_LabelNotFound {
get {
return ResourceManager.GetString("ERR_LabelNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The label '{0}' shadows another label by the same name in a contained scope.
/// </summary>
internal static string ERR_LabelShadow {
get {
return ResourceManager.GetString("ERR_LabelShadow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group..
/// </summary>
internal static string ERR_LambdaInIsAs {
get {
return ResourceManager.GetString("ERR_LambdaInIsAs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to { expected.
/// </summary>
internal static string ERR_LbraceExpected {
get {
return ResourceManager.GetString("ERR_LbraceExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'id#' syntax is no longer supported. Use '$id' instead..
/// </summary>
internal static string ERR_LegacyObjectIdSyntax {
get {
return ResourceManager.GetString("ERR_LegacyObjectIdSyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Linked netmodule metadata must provide a full PE image: '{0}'..
/// </summary>
internal static string ERR_LinkedNetmoduleMetadataMustProvideFullPEImage {
get {
return ResourceManager.GetString("ERR_LinkedNetmoduleMetadataMustProvideFullPEImage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Literal of type double cannot be implicitly converted to type '{1}'; use an '{0}' suffix to create a literal of this type.
/// </summary>
internal static string ERR_LiteralDoubleCast {
get {
return ResourceManager.GetString("ERR_LiteralDoubleCast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #load is only allowed in scripts.
/// </summary>
internal static string ERR_LoadDirectiveOnlyAllowedInScripts {
get {
return ResourceManager.GetString("ERR_LoadDirectiveOnlyAllowedInScripts", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Local '{0}' or its members cannot have their address taken and be used inside an anonymous method or lambda expression.
/// </summary>
internal static string ERR_LocalCantBeFixedAndHoisted {
get {
return ResourceManager.GetString("ERR_LocalCantBeFixedAndHoisted", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A local variable named '{0}' is already defined in this scope.
/// </summary>
internal static string ERR_LocalDuplicate {
get {
return ResourceManager.GetString("ERR_LocalDuplicate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter.
/// </summary>
internal static string ERR_LocalIllegallyOverrides {
get {
return ResourceManager.GetString("ERR_LocalIllegallyOverrides", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a parameter or local variable cannot have the same name as a method type parameter.
/// </summary>
internal static string ERR_LocalSameNameAsTypeParam {
get {
return ResourceManager.GetString("ERR_LocalSameNameAsTypeParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Embedding the interop type '{0}' from assembly '{1}' causes a name clash in the current assembly. Consider setting the 'Embed Interop Types' property to false..
/// </summary>
internal static string ERR_LocalTypeNameClash {
get {
return ResourceManager.GetString("ERR_LocalTypeNameClash", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a reference type as required by the lock statement.
/// </summary>
internal static string ERR_LockNeedsReference {
get {
return ResourceManager.GetString("ERR_LockNeedsReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot do member lookup in '{0}' because it is a type parameter.
/// </summary>
internal static string ERR_LookupInTypeVariable {
get {
return ResourceManager.GetString("ERR_LookupInTypeVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': an entry point cannot be marked with the 'async' modifier.
/// </summary>
internal static string ERR_MainCantBeAsync {
get {
return ResourceManager.GetString("ERR_MainCantBeAsync", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use '{0}' for Main method because it is imported.
/// </summary>
internal static string ERR_MainClassIsImport {
get {
return ResourceManager.GetString("ERR_MainClassIsImport", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' specified for Main method must be a valid non-generic class or struct.
/// </summary>
internal static string ERR_MainClassNotClass {
get {
return ResourceManager.GetString("ERR_MainClassNotClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find '{0}' specified for Main method.
/// </summary>
internal static string ERR_MainClassNotFound {
get {
return ResourceManager.GetString("ERR_MainClassNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot take the address of, get the size of, or declare a pointer to a managed type ('{0}').
/// </summary>
internal static string ERR_ManagedAddr {
get {
return ResourceManager.GetString("ERR_ManagedAddr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unmanaged type '{0}' not valid for fields..
/// </summary>
internal static string ERR_MarshalUnmanagedTypeNotValidForFields {
get {
return ResourceManager.GetString("ERR_MarshalUnmanagedTypeNotValidForFields", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unmanaged type '{0}' is only valid for fields..
/// </summary>
internal static string ERR_MarshalUnmanagedTypeOnlyValidForFields {
get {
return ResourceManager.GetString("ERR_MarshalUnmanagedTypeOnlyValidForFields", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{1}' already defines a member called '{0}' with the same parameter types.
/// </summary>
internal static string ERR_MemberAlreadyExists {
get {
return ResourceManager.GetString("ERR_MemberAlreadyExists", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate initialization of member '{0}'.
/// </summary>
internal static string ERR_MemberAlreadyInitialized {
get {
return ResourceManager.GetString("ERR_MemberAlreadyInitialized", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' cannot be initialized. It is not a field or property..
/// </summary>
internal static string ERR_MemberCannotBeInitialized {
get {
return ResourceManager.GetString("ERR_MemberCannotBeInitialized", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': member names cannot be the same as their enclosing type.
/// </summary>
internal static string ERR_MemberNameSameAsType {
get {
return ResourceManager.GetString("ERR_MemberNameSameAsType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method must have a return type.
/// </summary>
internal static string ERR_MemberNeedsType {
get {
return ResourceManager.GetString("ERR_MemberNeedsType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{1}' already reserves a member called '{0}' with the same parameter types.
/// </summary>
internal static string ERR_MemberReserved {
get {
return ResourceManager.GetString("ERR_MemberReserved", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a method group.
/// </summary>
internal static string ERR_MemGroupInExpressionTree {
get {
return ResourceManager.GetString("ERR_MemGroupInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name '{0}' exceeds the maximum length allowed in metadata..
/// </summary>
internal static string ERR_MetadataNameTooLong {
get {
return ResourceManager.GetString("ERR_MetadataNameTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Metadata references are not supported..
/// </summary>
internal static string ERR_MetadataReferencesNotSupported {
get {
return ResourceManager.GetString("ERR_MetadataReferencesNotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No overload for '{0}' matches delegate '{1}'.
/// </summary>
internal static string ERR_MethDelegateMismatch {
get {
return ResourceManager.GetString("ERR_MethDelegateMismatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert method group '{0}' to non-delegate type '{1}'. Did you intend to invoke the method?.
/// </summary>
internal static string ERR_MethGrpToNonDel {
get {
return ResourceManager.GetString("ERR_MethGrpToNonDel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot make reference to variable of type '{0}'.
/// </summary>
internal static string ERR_MethodArgCantBeRefAny {
get {
return ResourceManager.GetString("ERR_MethodArgCantBeRefAny", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method '{0}' cannot implement interface accessor '{1}' for type '{2}'. Use an explicit interface implementation..
/// </summary>
internal static string ERR_MethodImplementingAccessor {
get {
return ResourceManager.GetString("ERR_MethodImplementingAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method name expected.
/// </summary>
internal static string ERR_MethodNameExpected {
get {
return ResourceManager.GetString("ERR_MethodNameExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method or delegate cannot return type '{0}'.
/// </summary>
internal static string ERR_MethodReturnCantBeRefAny {
get {
return ResourceManager.GetString("ERR_MethodReturnCantBeRefAny", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument missing.
/// </summary>
internal static string ERR_MissingArgument {
get {
return ResourceManager.GetString("ERR_MissingArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Array creation must have array size or array initializer.
/// </summary>
internal static string ERR_MissingArraySize {
get {
return ResourceManager.GetString("ERR_MissingArraySize", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The managed coclass wrapper class '{0}' for interface '{1}' cannot be found (are you missing an assembly reference?).
/// </summary>
internal static string ERR_MissingCoClass {
get {
return ResourceManager.GetString("ERR_MissingCoClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The /pdb option requires that the /debug option also be used.
/// </summary>
internal static string ERR_MissingDebugSwitch {
get {
return ResourceManager.GetString("ERR_MissingDebugSwitch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No Deconstruct instance or extension method was found for type '{0}', with {1} out parameters..
/// </summary>
internal static string ERR_MissingDeconstruct {
get {
return ResourceManager.GetString("ERR_MissingDeconstruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command-line syntax error: Missing Guid for option '{1}'.
/// </summary>
internal static string ERR_MissingGuidForOption {
get {
return ResourceManager.GetString("ERR_MissingGuidForOption", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source interface '{0}' is missing method '{1}' which is required to embed event '{2}'..
/// </summary>
internal static string ERR_MissingMethodOnSourceInterface {
get {
return ResourceManager.GetString("ERR_MissingMethodOnSourceInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reference to '{0}' netmodule missing..
/// </summary>
internal static string ERR_MissingNetModuleReference {
get {
return ResourceManager.GetString("ERR_MissingNetModuleReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing partial modifier on declaration of type '{0}'; another partial declaration of this type exists.
/// </summary>
internal static string ERR_MissingPartial {
get {
return ResourceManager.GetString("ERR_MissingPartial", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Quoted file name, single-line comment or end-of-line expected.
/// </summary>
internal static string ERR_MissingPPFile {
get {
return ResourceManager.GetString("ERR_MissingPPFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing compiler required member '{0}.{1}'.
/// </summary>
internal static string ERR_MissingPredefinedMember {
get {
return ResourceManager.GetString("ERR_MissingPredefinedMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interface '{0}' has an invalid source interface which is required to embed event '{1}'..
/// </summary>
internal static string ERR_MissingSourceInterface {
get {
return ResourceManager.GetString("ERR_MissingSourceInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
/// </summary>
internal static string ERR_MissingStructOffset {
get {
return ResourceManager.GetString("ERR_MissingStructOffset", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reference to type '{0}' claims it is defined in '{1}', but it could not be found.
/// </summary>
internal static string ERR_MissingTypeInAssembly {
get {
return ResourceManager.GetString("ERR_MissingTypeInAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reference to type '{0}' claims it is defined in this assembly, but it is not defined in source or any added modules.
/// </summary>
internal static string ERR_MissingTypeInSource {
get {
return ResourceManager.GetString("ERR_MissingTypeInSource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot implement '{1}' because '{2}' is a Windows Runtime event and '{3}' is a regular .NET event..
/// </summary>
internal static string ERR_MixingWinRTEventWithRegular {
get {
return ResourceManager.GetString("ERR_MixingWinRTEventWithRegular", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to emit module '{0}'..
/// </summary>
internal static string ERR_ModuleEmitFailure {
get {
return ResourceManager.GetString("ERR_ModuleEmitFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A parameter cannot have all the specified modifiers; there are too many modifiers on the parameter.
/// </summary>
internal static string ERR_MultiParamMod {
get {
return ResourceManager.GetString("ERR_MultiParamMod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point..
/// </summary>
internal static string ERR_MultipleEntryPoints {
get {
return ResourceManager.GetString("ERR_MultipleEntryPoints", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to foreach statement cannot operate on variables of type '{0}' because it implements multiple instantiations of '{1}'; try casting to a specific interface instantiation.
/// </summary>
internal static string ERR_MultipleIEnumOfT {
get {
return ResourceManager.GetString("ERR_MultipleIEnumOfT", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use more than one type in a for, using, fixed, or declaration statement.
/// </summary>
internal static string ERR_MultiTypeInDeclaration {
get {
return ResourceManager.GetString("ERR_MultiTypeInDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be assigned a reference because it is not a by-reference local.
/// </summary>
internal static string ERR_MustBeRefAssignable {
get {
return ResourceManager.GetString("ERR_MustBeRefAssignable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected a by-reference local.
/// </summary>
internal static string ERR_MustBeRefAssignableLocal {
get {
return ResourceManager.GetString("ERR_MustBeRefAssignableLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false.
/// </summary>
internal static string ERR_MustHaveOpTF {
get {
return ResourceManager.GetString("ERR_MustHaveOpTF", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to By-value returns may only be used in methods that return by value.
/// </summary>
internal static string ERR_MustHaveRefReturn {
get {
return ResourceManager.GetString("ERR_MustHaveRefReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to By-reference returns may only be used in methods that return by reference.
/// </summary>
internal static string ERR_MustNotHaveRefReturn {
get {
return ResourceManager.GetString("ERR_MustNotHaveRefReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Compilation options '{0}' and '{1}' can't both be specified at the same time..
/// </summary>
internal static string ERR_MutuallyExclusiveOptions {
get {
return ResourceManager.GetString("ERR_MutuallyExclusiveOptions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Named attribute argument expected.
/// </summary>
internal static string ERR_NamedArgumentExpected {
get {
return ResourceManager.GetString("ERR_NamedArgumentExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An array access may not have a named argument specifier.
/// </summary>
internal static string ERR_NamedArgumentForArray {
get {
return ResourceManager.GetString("ERR_NamedArgumentForArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Named argument specifications must appear after all fixed arguments have been specified.
/// </summary>
internal static string ERR_NamedArgumentSpecificationBeforeFixedArgument {
get {
return ResourceManager.GetString("ERR_NamedArgumentSpecificationBeforeFixedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Named argument '{0}' specifies a parameter for which a positional argument has already been given.
/// </summary>
internal static string ERR_NamedArgumentUsedInPositional {
get {
return ResourceManager.GetString("ERR_NamedArgumentUsedInPositional", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The name '{0}' does not exist in the current context.
/// </summary>
internal static string ERR_NameNotInContext {
get {
return ResourceManager.GetString("ERR_NameNotInContext", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The name '{0}' does not exist in the current context (are you missing a reference to assembly '{1}'?).
/// </summary>
internal static string ERR_NameNotInContextPossibleMissingReference {
get {
return ResourceManager.GetString("ERR_NameNotInContextPossibleMissingReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extension method groups are not allowed as an argument to 'nameof'..
/// </summary>
internal static string ERR_NameofExtensionMethod {
get {
return ResourceManager.GetString("ERR_NameofExtensionMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameters are not allowed on a method group as an argument to 'nameof'..
/// </summary>
internal static string ERR_NameofMethodGroupWithTypeParameters {
get {
return ResourceManager.GetString("ERR_NameofMethodGroupWithTypeParameters", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot declare namespace in script code.
/// </summary>
internal static string ERR_NamespaceNotAllowedInScript {
get {
return ResourceManager.GetString("ERR_NamespaceNotAllowedInScript", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A namespace cannot directly contain members such as fields or methods.
/// </summary>
internal static string ERR_NamespaceUnexpected {
get {
return ResourceManager.GetString("ERR_NamespaceUnexpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create an array with a negative size.
/// </summary>
internal static string ERR_NegativeArraySize {
get {
return ResourceManager.GetString("ERR_NegativeArraySize", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use a negative size with stackalloc.
/// </summary>
internal static string ERR_NegativeStackAllocSize {
get {
return ResourceManager.GetString("ERR_NegativeStackAllocSize", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Module name '{0}' stored in '{1}' must match its filename..
/// </summary>
internal static string ERR_NetModuleNameMismatch {
get {
return ResourceManager.GetString("ERR_NetModuleNameMismatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Module '{0}' is already defined in this assembly. Each module must have a unique filename..
/// </summary>
internal static string ERR_NetModuleNameMustBeUnique {
get {
return ResourceManager.GetString("ERR_NetModuleNameMustBeUnique", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The new() constraint must be the last constraint specified.
/// </summary>
internal static string ERR_NewBoundMustBeLast {
get {
return ResourceManager.GetString("ERR_NewBoundMustBeLast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'new()' constraint cannot be used with the 'struct' constraint.
/// </summary>
internal static string ERR_NewBoundWithVal {
get {
return ResourceManager.GetString("ERR_NewBoundWithVal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interop type '{0}' cannot be embedded. Use the applicable interface instead..
/// </summary>
internal static string ERR_NewCoClassOnLink {
get {
return ResourceManager.GetString("ERR_NewCoClassOnLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{2}' must be a non-abstract type with a public parameterless constructor in order to use it as parameter '{1}' in the generic type or method '{0}'.
/// </summary>
internal static string ERR_NewConstraintNotSatisfied {
get {
return ResourceManager.GetString("ERR_NewConstraintNotSatisfied", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Newline in constant.
/// </summary>
internal static string ERR_NewlineInConst {
get {
return ResourceManager.GetString("ERR_NewlineInConst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot provide arguments when creating an instance of a variable type.
/// </summary>
internal static string ERR_NewTyvarWithArgs {
get {
return ResourceManager.GetString("ERR_NewTyvarWithArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is a new virtual member in sealed class '{1}'.
/// </summary>
internal static string ERR_NewVirtualInSealed {
get {
return ResourceManager.GetString("ERR_NewVirtualInSealed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A 'using static' directive cannot be used to declare an alias.
/// </summary>
internal static string ERR_NoAliasHere {
get {
return ResourceManager.GetString("ERR_NoAliasHere", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A base class is required for a 'base' reference.
/// </summary>
internal static string ERR_NoBaseClass {
get {
return ResourceManager.GetString("ERR_NoBaseClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No enclosing loop out of which to break or continue.
/// </summary>
internal static string ERR_NoBreakOrCont {
get {
return ResourceManager.GetString("ERR_NoBreakOrCont", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot find the interop type that matches the embedded interop type '{0}'. Are you missing an assembly reference?.
/// </summary>
internal static string ERR_NoCanonicalView {
get {
return ResourceManager.GetString("ERR_NoCanonicalView", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' has no constructors defined.
/// </summary>
internal static string ERR_NoConstructors {
get {
return ResourceManager.GetString("ERR_NoConstructors", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CallerFilePathAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'.
/// </summary>
internal static string ERR_NoConversionForCallerFilePathParam {
get {
return ResourceManager.GetString("ERR_NoConversionForCallerFilePathParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CallerLineNumberAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'.
/// </summary>
internal static string ERR_NoConversionForCallerLineNumberParam {
get {
return ResourceManager.GetString("ERR_NoConversionForCallerLineNumberParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CallerMemberNameAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'.
/// </summary>
internal static string ERR_NoConversionForCallerMemberNameParam {
get {
return ResourceManager.GetString("ERR_NoConversionForCallerMemberNameParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A value of type '{0}' cannot be used as a default parameter because there are no standard conversions to type '{1}'.
/// </summary>
internal static string ERR_NoConversionForDefaultParam {
get {
return ResourceManager.GetString("ERR_NoConversionForDefaultParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A value of type '{0}' cannot be used as default parameter for nullable parameter '{1}' because '{0}' is not a simple type.
/// </summary>
internal static string ERR_NoConversionForNubDefaultParam {
get {
return ResourceManager.GetString("ERR_NoConversionForNubDefaultParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'.
/// </summary>
internal static string ERR_NoConvToIDisp {
get {
return ResourceManager.GetString("ERR_NoConvToIDisp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There is no argument given that corresponds to the required formal parameter '{0}' of '{1}'.
/// </summary>
internal static string ERR_NoCorrespondingArgument {
get {
return ResourceManager.GetString("ERR_NoCorrespondingArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The call to method '{0}' needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access..
/// </summary>
internal static string ERR_NoDynamicPhantomOnBase {
get {
return ResourceManager.GetString("ERR_NoDynamicPhantomOnBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The constructor call needs to be dynamically dispatched, but cannot be because it is part of a constructor initializer. Consider casting the dynamic arguments..
/// </summary>
internal static string ERR_NoDynamicPhantomOnBaseCtor {
get {
return ResourceManager.GetString("ERR_NoDynamicPhantomOnBaseCtor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The indexer access needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access..
/// </summary>
internal static string ERR_NoDynamicPhantomOnBaseIndexer {
get {
return ResourceManager.GetString("ERR_NoDynamicPhantomOnBaseIndexer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Program does not contain a static 'Main' method suitable for an entry point.
/// </summary>
internal static string ERR_NoEntryPoint {
get {
return ResourceManager.GetString("ERR_NoEntryPoint", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert type '{0}' to '{1}' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion.
/// </summary>
internal static string ERR_NoExplicitBuiltinConv {
get {
return ResourceManager.GetString("ERR_NoExplicitBuiltinConv", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert type '{0}' to '{1}'.
/// </summary>
internal static string ERR_NoExplicitConv {
get {
return ResourceManager.GetString("ERR_NoExplicitConv", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing file specification for '{0}' option.
/// </summary>
internal static string ERR_NoFileSpec {
get {
return ResourceManager.GetString("ERR_NoFileSpec", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override because '{1}' does not have an overridable get accessor.
/// </summary>
internal static string ERR_NoGetToOverride {
get {
return ResourceManager.GetString("ERR_NoGetToOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot implicitly convert type '{0}' to '{1}'.
/// </summary>
internal static string ERR_NoImplicitConv {
get {
return ResourceManager.GetString("ERR_NoImplicitConv", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot implicitly convert type '{0}' to '{1}'. An explicit conversion exists (are you missing a cast?).
/// </summary>
internal static string ERR_NoImplicitConvCast {
get {
return ResourceManager.GetString("ERR_NoImplicitConvCast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not have a suitable static Main method.
/// </summary>
internal static string ERR_NoMainInClass {
get {
return ResourceManager.GetString("ERR_NoMainInClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify /main if building a module or library.
/// </summary>
internal static string ERR_NoMainOnDLL {
get {
return ResourceManager.GetString("ERR_NoMainOnDLL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Metadata file '{0}' could not be found.
/// </summary>
internal static string ERR_NoMetadataFile {
get {
return ResourceManager.GetString("ERR_NoMetadataFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Modifiers cannot be placed on event accessor declarations.
/// </summary>
internal static string ERR_NoModifiersOnAccessor {
get {
return ResourceManager.GetString("ERR_NoModifiersOnAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Class '{0}' cannot have multiple base classes: '{1}' and '{2}'.
/// </summary>
internal static string ERR_NoMultipleInheritance {
get {
return ResourceManager.GetString("ERR_NoMultipleInheritance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Elements defined in a namespace cannot be explicitly declared as private, protected, or protected internal.
/// </summary>
internal static string ERR_NoNamespacePrivate {
get {
return ResourceManager.GetString("ERR_NoNamespacePrivate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create an instance of the abstract class or interface '{0}'.
/// </summary>
internal static string ERR_NoNewAbstract {
get {
return ResourceManager.GetString("ERR_NoNewAbstract", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create an instance of the variable type '{0}' because it does not have the new() constraint.
/// </summary>
internal static string ERR_NoNewTyvar {
get {
return ResourceManager.GetString("ERR_NoNewTyvar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' in interface list is not an interface.
/// </summary>
internal static string ERR_NonInterfaceInInterfaceList {
get {
return ResourceManager.GetString("ERR_NonInterfaceInInterfaceList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Non-invocable member '{0}' cannot be used like a method..
/// </summary>
internal static string ERR_NonInvocableMemberCalled {
get {
return ResourceManager.GetString("ERR_NonInvocableMemberCalled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot embed interop types from assembly '{0}' because it is missing the '{1}' attribute..
/// </summary>
internal static string ERR_NoPIAAssemblyMissingAttribute {
get {
return ResourceManager.GetString("ERR_NoPIAAssemblyMissingAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot embed interop types from assembly '{0}' because it is missing either the '{1}' attribute or the '{2}' attribute..
/// </summary>
internal static string ERR_NoPIAAssemblyMissingAttributes {
get {
return ResourceManager.GetString("ERR_NoPIAAssemblyMissingAttributes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type '{0}' cannot be embedded because it is a nested type. Consider setting the 'Embed Interop Types' property to false..
/// </summary>
internal static string ERR_NoPIANestedType {
get {
return ResourceManager.GetString("ERR_NoPIANestedType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot override because '{1}' does not have an overridable set accessor.
/// </summary>
internal static string ERR_NoSetToOverride {
get {
return ResourceManager.GetString("ERR_NoSetToOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file '{0}' could not be opened -- {1}.
/// </summary>
internal static string ERR_NoSourceFile {
get {
return ResourceManager.GetString("ERR_NoSourceFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a definition for '{1}'.
/// </summary>
internal static string ERR_NoSuchMember {
get {
return ResourceManager.GetString("ERR_NoSuchMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a definition for '{1}' and no extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive or an assembly reference?).
/// </summary>
internal static string ERR_NoSuchMemberOrExtension {
get {
return ResourceManager.GetString("ERR_NoSuchMemberOrExtension", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not contain a definition for '{1}' and no extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive for '{2}'?).
/// </summary>
internal static string ERR_NoSuchMemberOrExtensionNeedUsing {
get {
return ResourceManager.GetString("ERR_NoSuchMemberOrExtensionNeedUsing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not an attribute class.
/// </summary>
internal static string ERR_NotAnAttributeClass {
get {
return ResourceManager.GetString("ERR_NotAnAttributeClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The expression being assigned to '{0}' must be constant.
/// </summary>
internal static string ERR_NotConstantExpression {
get {
return ResourceManager.GetString("ERR_NotConstantExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is of type '{1}'. A const field of a reference type other than string can only be initialized with null..
/// </summary>
internal static string ERR_NotNullConstRefField {
get {
return ResourceManager.GetString("ERR_NotNullConstRefField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is of type '{1}'. A default parameter value of a reference type other than string can only be initialized with null.
/// </summary>
internal static string ERR_NotNullRefDefaultParameter {
get {
return ResourceManager.GetString("ERR_NotNullRefDefaultParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This language feature ('{0}') is not yet implemented..
/// </summary>
internal static string ERR_NotYetImplementedInRoslyn {
get {
return ResourceManager.GetString("ERR_NotYetImplementedInRoslyn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' is defined in an assembly that is not referenced. You must add a reference to assembly '{1}'..
/// </summary>
internal static string ERR_NoTypeDef {
get {
return ResourceManager.GetString("ERR_NoTypeDef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{0}' is defined in a module that has not been added. You must add the module '{1}'..
/// </summary>
internal static string ERR_NoTypeDefFromModule {
get {
return ResourceManager.GetString("ERR_NoTypeDefFromModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'void' cannot be used in this context.
/// </summary>
internal static string ERR_NoVoidHere {
get {
return ResourceManager.GetString("ERR_NoVoidHere", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid parameter type 'void'.
/// </summary>
internal static string ERR_NoVoidParameter {
get {
return ResourceManager.GetString("ERR_NoVoidParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of null is not valid in this context.
/// </summary>
internal static string ERR_NullNotValid {
get {
return ResourceManager.GetString("ERR_NullNotValid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a null propagating operator..
/// </summary>
internal static string ERR_NullPropagatingOpInExpressionTree {
get {
return ResourceManager.GetString("ERR_NullPropagatingOpInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' has no base class and cannot call a base constructor.
/// </summary>
internal static string ERR_ObjectCallingBaseConstructor {
get {
return ResourceManager.GetString("ERR_ObjectCallingBaseConstructor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The class System.Object cannot have a base class or implement an interface.
/// </summary>
internal static string ERR_ObjectCantHaveBases {
get {
return ResourceManager.GetString("ERR_ObjectCantHaveBases", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Object and collection initializer expressions may not be applied to a delegate creation expression.
/// </summary>
internal static string ERR_ObjectOrCollectionInitializerWithDelegateCreation {
get {
return ResourceManager.GetString("ERR_ObjectOrCollectionInitializerWithDelegateCreation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' cannot be accessed with an instance reference; qualify it with a type name instead.
/// </summary>
internal static string ERR_ObjectProhibited {
get {
return ResourceManager.GetString("ERR_ObjectProhibited", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An object reference is required for the non-static field, method, or property '{0}'.
/// </summary>
internal static string ERR_ObjectRequired {
get {
return ResourceManager.GetString("ERR_ObjectRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A /reference option that declares an extern alias can only have one filename. To specify multiple aliases or filenames, use multiple /reference options..
/// </summary>
internal static string ERR_OneAliasPerReference {
get {
return ResourceManager.GetString("ERR_OneAliasPerReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only class types can contain destructors.
/// </summary>
internal static string ERR_OnlyClassesCanContainDestructors {
get {
return ResourceManager.GetString("ERR_OnlyClassesCanContainDestructors", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to End-of-file found, '*/' expected.
/// </summary>
internal static string ERR_OpenEndedComment {
get {
return ResourceManager.GetString("ERR_OpenEndedComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error opening response file '{0}'.
/// </summary>
internal static string ERR_OpenResponseFile {
get {
return ResourceManager.GetString("ERR_OpenResponseFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User-defined operators cannot return void.
/// </summary>
internal static string ERR_OperatorCantReturnVoid {
get {
return ResourceManager.GetString("ERR_OperatorCantReturnVoid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static classes cannot contain user-defined operators.
/// </summary>
internal static string ERR_OperatorInStaticClass {
get {
return ResourceManager.GetString("ERR_OperatorInStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The operator '{0}' requires a matching operator '{1}' to also be defined.
/// </summary>
internal static string ERR_OperatorNeedsMatch {
get {
return ResourceManager.GetString("ERR_OperatorNeedsMatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User-defined operator '{0}' must be declared static and public.
/// </summary>
internal static string ERR_OperatorsMustBeStatic {
get {
return ResourceManager.GetString("ERR_OperatorsMustBeStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The return type of operator True or False must be bool.
/// </summary>
internal static string ERR_OpTFRetType {
get {
return ResourceManager.GetString("ERR_OpTFRetType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Option '{0}' must be an absolute path..
/// </summary>
internal static string ERR_OptionMustBeAbsolutePath {
get {
return ResourceManager.GetString("ERR_OptionMustBeAbsolutePath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot specify only Out attribute on a ref parameter. Use both In and Out attributes, or neither..
/// </summary>
internal static string ERR_OutAttrOnRefParam {
get {
return ResourceManager.GetString("ERR_OutAttrOnRefParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Outputs without source must have the /out option specified.
/// </summary>
internal static string ERR_OutputNeedsName {
get {
return ResourceManager.GetString("ERR_OutputNeedsName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not write to output file '{0}' -- '{1}'.
/// </summary>
internal static string ERR_OutputWriteFailed {
get {
return ResourceManager.GetString("ERR_OutputWriteFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot define overloaded methods that differ only on ref and out.
/// </summary>
internal static string ERR_OverloadRefOut {
get {
return ResourceManager.GetString("ERR_OverloadRefOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot define overloaded constructor '{0}' because it differs from another constructor only on ref and out.
/// </summary>
internal static string ERR_OverloadRefOutCtor {
get {
return ResourceManager.GetString("ERR_OverloadRefOutCtor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Do not override object.Finalize. Instead, provide a destructor..
/// </summary>
internal static string ERR_OverrideFinalizeDeprecated {
get {
return ResourceManager.GetString("ERR_OverrideFinalizeDeprecated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': no suitable method found to override.
/// </summary>
internal static string ERR_OverrideNotExpected {
get {
return ResourceManager.GetString("ERR_OverrideNotExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A member '{0}' marked as override cannot be marked as new or virtual.
/// </summary>
internal static string ERR_OverrideNotNew {
get {
return ResourceManager.GetString("ERR_OverrideNotNew", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly.
/// </summary>
internal static string ERR_OverrideWithConstraints {
get {
return ResourceManager.GetString("ERR_OverrideWithConstraints", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloadable binary operator expected.
/// </summary>
internal static string ERR_OvlBinaryOperatorExpected {
get {
return ResourceManager.GetString("ERR_OvlBinaryOperatorExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloadable operator expected.
/// </summary>
internal static string ERR_OvlOperatorExpected {
get {
return ResourceManager.GetString("ERR_OvlOperatorExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloadable unary operator expected.
/// </summary>
internal static string ERR_OvlUnaryOperatorExpected {
get {
return ResourceManager.GetString("ERR_OvlUnaryOperatorExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The parameter has multiple distinct default values..
/// </summary>
internal static string ERR_ParamDefaultValueDiffersFromAttribute {
get {
return ResourceManager.GetString("ERR_ParamDefaultValueDiffersFromAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static types cannot be used as parameters.
/// </summary>
internal static string ERR_ParameterIsStaticClass {
get {
return ResourceManager.GetString("ERR_ParameterIsStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter not valid for the specified unmanaged type..
/// </summary>
internal static string ERR_ParameterNotValidForType {
get {
return ResourceManager.GetString("ERR_ParameterNotValidForType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The params parameter cannot be declared as ref or out.
/// </summary>
internal static string ERR_ParamsCantBeRefOut {
get {
return ResourceManager.GetString("ERR_ParamsCantBeRefOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A params parameter must be the last parameter in a formal parameter list.
/// </summary>
internal static string ERR_ParamsLast {
get {
return ResourceManager.GetString("ERR_ParamsLast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The params parameter must be a single dimensional array.
/// </summary>
internal static string ERR_ParamsMustBeArray {
get {
return ResourceManager.GetString("ERR_ParamsMustBeArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The out parameter '{0}' must be assigned to before control leaves the current method.
/// </summary>
internal static string ERR_ParamUnassigned {
get {
return ResourceManager.GetString("ERR_ParamUnassigned", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method cannot have out parameters.
/// </summary>
internal static string ERR_PartialMethodCannotHaveOutParameters {
get {
return ResourceManager.GetString("ERR_PartialMethodCannotHaveOutParameters", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Both partial method declarations must be extension methods or neither may be an extension method.
/// </summary>
internal static string ERR_PartialMethodExtensionDifference {
get {
return ResourceManager.GetString("ERR_PartialMethodExtensionDifference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial method declarations of '{0}' have inconsistent type parameter constraints.
/// </summary>
internal static string ERR_PartialMethodInconsistentConstraints {
get {
return ResourceManager.GetString("ERR_PartialMethodInconsistentConstraints", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial methods with only a defining declaration or removed conditional methods cannot be used in expression trees.
/// </summary>
internal static string ERR_PartialMethodInExpressionTree {
get {
return ResourceManager.GetString("ERR_PartialMethodInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method cannot have access modifiers or the virtual, abstract, override, new, sealed, or extern modifiers.
/// </summary>
internal static string ERR_PartialMethodInvalidModifier {
get {
return ResourceManager.GetString("ERR_PartialMethodInvalidModifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No defining declaration found for implementing declaration of partial method '{0}'.
/// </summary>
internal static string ERR_PartialMethodMustHaveLatent {
get {
return ResourceManager.GetString("ERR_PartialMethodMustHaveLatent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial methods must have a void return type.
/// </summary>
internal static string ERR_PartialMethodMustReturnVoid {
get {
return ResourceManager.GetString("ERR_PartialMethodMustReturnVoid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method may not explicitly implement an interface method.
/// </summary>
internal static string ERR_PartialMethodNotExplicit {
get {
return ResourceManager.GetString("ERR_PartialMethodNotExplicit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method must be declared within a partial class or partial struct.
/// </summary>
internal static string ERR_PartialMethodOnlyInPartialClass {
get {
return ResourceManager.GetString("ERR_PartialMethodOnlyInPartialClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only methods, classes, structs, or interfaces may be partial.
/// </summary>
internal static string ERR_PartialMethodOnlyMethods {
get {
return ResourceManager.GetString("ERR_PartialMethodOnlyMethods", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method may not have multiple implementing declarations.
/// </summary>
internal static string ERR_PartialMethodOnlyOneActual {
get {
return ResourceManager.GetString("ERR_PartialMethodOnlyOneActual", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A partial method may not have multiple defining declarations.
/// </summary>
internal static string ERR_PartialMethodOnlyOneLatent {
get {
return ResourceManager.GetString("ERR_PartialMethodOnlyOneLatent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Both partial method declarations must use a params parameter or neither may use a params parameter.
/// </summary>
internal static string ERR_PartialMethodParamsDifference {
get {
return ResourceManager.GetString("ERR_PartialMethodParamsDifference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Both partial method declarations must be static or neither may be static.
/// </summary>
internal static string ERR_PartialMethodStaticDifference {
get {
return ResourceManager.GetString("ERR_PartialMethodStaticDifference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create delegate from method '{0}' because it is a partial method without an implementing declaration.
/// </summary>
internal static string ERR_PartialMethodToDelegate {
get {
return ResourceManager.GetString("ERR_PartialMethodToDelegate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Both partial method declarations must be unsafe or neither may be unsafe.
/// </summary>
internal static string ERR_PartialMethodUnsafeDifference {
get {
return ResourceManager.GetString("ERR_PartialMethodUnsafeDifference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'partial' modifier can only appear immediately before 'class', 'struct', 'interface', or 'void'.
/// </summary>
internal static string ERR_PartialMisplaced {
get {
return ResourceManager.GetString("ERR_PartialMisplaced", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' have conflicting accessibility modifiers.
/// </summary>
internal static string ERR_PartialModifierConflict {
get {
return ResourceManager.GetString("ERR_PartialModifierConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' must not specify different base classes.
/// </summary>
internal static string ERR_PartialMultipleBases {
get {
return ResourceManager.GetString("ERR_PartialMultipleBases", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' must be all classes, all structs, or all interfaces.
/// </summary>
internal static string ERR_PartialTypeKindConflict {
get {
return ResourceManager.GetString("ERR_PartialTypeKindConflict", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' have inconsistent constraints for type parameter '{1}'.
/// </summary>
internal static string ERR_PartialWrongConstraints {
get {
return ResourceManager.GetString("ERR_PartialWrongConstraints", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' must have the same type parameter names in the same order.
/// </summary>
internal static string ERR_PartialWrongTypeParams {
get {
return ResourceManager.GetString("ERR_PartialWrongTypeParams", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Partial declarations of '{0}' must have the same type parameter names and variance modifiers in the same order.
/// </summary>
internal static string ERR_PartialWrongTypeParamsVariance {
get {
return ResourceManager.GetString("ERR_PartialWrongTypeParamsVariance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The switch case has already been handled by a previous case..
/// </summary>
internal static string ERR_PatternIsSubsumed {
get {
return ResourceManager.GetString("ERR_PatternIsSubsumed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to It is not legal to use nullable type '{0}' in a pattern; use the underlying type '{1}' instead..
/// </summary>
internal static string ERR_PatternNullableType {
get {
return ResourceManager.GetString("ERR_PatternNullableType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The switch expression must be a value; found {0}..
/// </summary>
internal static string ERR_PatternValueExpected {
get {
return ResourceManager.GetString("ERR_PatternValueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression of type {0} cannot be handled by a pattern of type {1}..
/// </summary>
internal static string ERR_PatternWrongType {
get {
return ResourceManager.GetString("ERR_PatternWrongType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error reading file '{0}' specified for the named argument '{1}' for PermissionSet attribute: '{2}'.
/// </summary>
internal static string ERR_PermissionSetAttributeFileReadError {
get {
return ResourceManager.GetString("ERR_PermissionSetAttributeFileReadError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to resolve file path '{0}' specified for the named argument '{1}' for PermissionSet attribute.
/// </summary>
internal static string ERR_PermissionSetAttributeInvalidFile {
get {
return ResourceManager.GetString("ERR_PermissionSetAttributeInvalidFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An error occurred while writing the output file: {0}..
/// </summary>
internal static string ERR_PeWritingFailure {
get {
return ResourceManager.GetString("ERR_PeWritingFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Neither 'is' nor 'as' is valid on pointer types.
/// </summary>
internal static string ERR_PointerInAsOrIs {
get {
return ResourceManager.GetString("ERR_PointerInAsOrIs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot define/undefine preprocessor symbols after first token in file.
/// </summary>
internal static string ERR_PPDefFollowsToken {
get {
return ResourceManager.GetString("ERR_PPDefFollowsToken", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Preprocessor directive expected.
/// </summary>
internal static string ERR_PPDirectiveExpected {
get {
return ResourceManager.GetString("ERR_PPDirectiveExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use #load after first token in file.
/// </summary>
internal static string ERR_PPLoadFollowsToken {
get {
return ResourceManager.GetString("ERR_PPLoadFollowsToken", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use #r after first token in file.
/// </summary>
internal static string ERR_PPReferenceFollowsToken {
get {
return ResourceManager.GetString("ERR_PPReferenceFollowsToken", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' was not found on type '{1}' from assembly '{2}'..
/// </summary>
internal static string ERR_PredefinedTypeMemberNotFoundInAssembly {
get {
return ResourceManager.GetString("ERR_PredefinedTypeMemberNotFoundInAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Predefined type '{0}' is not defined or imported.
/// </summary>
internal static string ERR_PredefinedTypeNotFound {
get {
return ResourceManager.GetString("ERR_PredefinedTypeNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SecurityAction value '{0}' is invalid for PrincipalPermission attribute.
/// </summary>
internal static string ERR_PrincipalPermissionInvalidAction {
get {
return ResourceManager.GetString("ERR_PrincipalPermissionInvalidAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': abstract properties cannot have private accessors.
/// </summary>
internal static string ERR_PrivateAbstractAccessor {
get {
return ResourceManager.GetString("ERR_PrivateAbstractAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': accessibility modifiers may not be used on accessors in an interface.
/// </summary>
internal static string ERR_PropertyAccessModInInterface {
get {
return ResourceManager.GetString("ERR_PropertyAccessModInInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': property or indexer cannot have void type.
/// </summary>
internal static string ERR_PropertyCantHaveVoidType {
get {
return ResourceManager.GetString("ERR_PropertyCantHaveVoidType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The property or indexer '{0}' cannot be used in this context because it lacks the get accessor.
/// </summary>
internal static string ERR_PropertyLacksGet {
get {
return ResourceManager.GetString("ERR_PropertyLacksGet", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': property or indexer must have at least one accessor.
/// </summary>
internal static string ERR_PropertyWithNoAccessors {
get {
return ResourceManager.GetString("ERR_PropertyWithNoAccessors", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static classes cannot contain protected members.
/// </summary>
internal static string ERR_ProtectedInStatic {
get {
return ResourceManager.GetString("ERR_ProtectedInStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': new protected member declared in struct.
/// </summary>
internal static string ERR_ProtectedInStruct {
get {
return ResourceManager.GetString("ERR_ProtectedInStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The * or -> operator must be applied to a pointer.
/// </summary>
internal static string ERR_PtrExpected {
get {
return ResourceManager.GetString("ERR_PtrExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A pointer must be indexed by only one value.
/// </summary>
internal static string ERR_PtrIndexSingle {
get {
return ResourceManager.GetString("ERR_PtrIndexSingle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error signing output with public key from container '{0}' -- {1}.
/// </summary>
internal static string ERR_PublicKeyContainerFailure {
get {
return ResourceManager.GetString("ERR_PublicKeyContainerFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Error signing output with public key from file '{0}' -- {1}.
/// </summary>
internal static string ERR_PublicKeyFileFailure {
get {
return ResourceManager.GetString("ERR_PublicKeyFileFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Public signing was specified and requires a public key, but no public key was specified..
/// </summary>
internal static string ERR_PublicSignButNoKey {
get {
return ResourceManager.GetString("ERR_PublicSignButNoKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The range variable '{0}' has already been declared.
/// </summary>
internal static string ERR_QueryDuplicateRangeVariable {
get {
return ResourceManager.GetString("ERR_QueryDuplicateRangeVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The name '{0}' is not in scope on the right side of 'equals'. Consider swapping the expressions on either side of 'equals'..
/// </summary>
internal static string ERR_QueryInnerKey {
get {
return ResourceManager.GetString("ERR_QueryInnerKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Multiple implementations of the query pattern were found for source type '{0}'. Ambiguous call to '{1}'..
/// </summary>
internal static string ERR_QueryMultipleProviders {
get {
return ResourceManager.GetString("ERR_QueryMultipleProviders", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found..
/// </summary>
internal static string ERR_QueryNoProvider {
get {
return ResourceManager.GetString("ERR_QueryNoProvider", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Consider explicitly specifying the type of the range variable '{2}'..
/// </summary>
internal static string ERR_QueryNoProviderCastable {
get {
return ResourceManager.GetString("ERR_QueryNoProviderCastable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?.
/// </summary>
internal static string ERR_QueryNoProviderStandard {
get {
return ResourceManager.GetString("ERR_QueryNoProviderStandard", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The name '{0}' is not in scope on the left side of 'equals'. Consider swapping the expressions on either side of 'equals'..
/// </summary>
internal static string ERR_QueryOuterKey {
get {
return ResourceManager.GetString("ERR_QueryOuterKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot pass the range variable '{0}' as an out or ref parameter.
/// </summary>
internal static string ERR_QueryOutRefRangeVariable {
get {
return ResourceManager.GetString("ERR_QueryOutRefRangeVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot assign {0} to a range variable.
/// </summary>
internal static string ERR_QueryRangeVariableAssignedBadValue {
get {
return ResourceManager.GetString("ERR_QueryRangeVariableAssignedBadValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The range variable '{0}' conflicts with a previous declaration of '{0}'.
/// </summary>
internal static string ERR_QueryRangeVariableOverrides {
get {
return ResourceManager.GetString("ERR_QueryRangeVariableOverrides", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Range variable '{0}' cannot be assigned to -- it is read only.
/// </summary>
internal static string ERR_QueryRangeVariableReadOnly {
get {
return ResourceManager.GetString("ERR_QueryRangeVariableReadOnly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The range variable '{0}' cannot have the same name as a method type parameter.
/// </summary>
internal static string ERR_QueryRangeVariableSameAsTypeParam {
get {
return ResourceManager.GetString("ERR_QueryRangeVariableSameAsTypeParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type of the expression in the {0} clause is incorrect. Type inference failed in the call to '{1}'..
/// </summary>
internal static string ERR_QueryTypeInferenceFailed {
get {
return ResourceManager.GetString("ERR_QueryTypeInferenceFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type of one of the expressions in the {0} clause is incorrect. Type inference failed in the call to '{1}'..
/// </summary>
internal static string ERR_QueryTypeInferenceFailedMulti {
get {
return ResourceManager.GetString("ERR_QueryTypeInferenceFailedMulti", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression of type '{0}' is not allowed in a subsequent from clause in a query expression with source type '{1}'. Type inference failed in the call to '{2}'..
/// </summary>
internal static string ERR_QueryTypeInferenceFailedSelectMany {
get {
return ResourceManager.GetString("ERR_QueryTypeInferenceFailedSelectMany", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to } expected.
/// </summary>
internal static string ERR_RbraceExpected {
get {
return ResourceManager.GetString("ERR_RbraceExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Members of readonly field '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type.
/// </summary>
internal static string ERR_ReadonlyValueTypeInObjectInitializer {
get {
return ResourceManager.GetString("ERR_ReadonlyValueTypeInObjectInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constructor '{0}' cannot call itself.
/// </summary>
internal static string ERR_RecursiveConstructorCall {
get {
return ResourceManager.GetString("ERR_RecursiveConstructorCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type of '{0}' cannot be inferred since its initializer directly or indirectly refers to the definition..
/// </summary>
internal static string ERR_RecursivelyTypedVariable {
get {
return ResourceManager.GetString("ERR_RecursivelyTypedVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The expression must be of type '{0}' because it is being assigned by reference.
/// </summary>
internal static string ERR_RefAssignmentMustHaveIdentityConversion {
get {
return ResourceManager.GetString("ERR_RefAssignmentMustHaveIdentityConversion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'.
/// </summary>
internal static string ERR_RefConstraintNotSatisfied {
get {
return ResourceManager.GetString("ERR_RefConstraintNotSatisfied", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #r is only allowed in scripts.
/// </summary>
internal static string ERR_ReferenceDirectiveOnlyAllowedInScripts {
get {
return ResourceManager.GetString("ERR_ReferenceDirectiveOnlyAllowedInScripts", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A ref or out value must be an assignable variable.
/// </summary>
internal static string ERR_RefLvalueExpected {
get {
return ResourceManager.GetString("ERR_RefLvalueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A ref or out parameter cannot have a default value.
/// </summary>
internal static string ERR_RefOutDefaultValue {
get {
return ResourceManager.GetString("ERR_RefOutDefaultValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A property or indexer may not be passed as an out or ref parameter.
/// </summary>
internal static string ERR_RefProperty {
get {
return ResourceManager.GetString("ERR_RefProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Properties which return by reference cannot have set accessors.
/// </summary>
internal static string ERR_RefPropertyCannotHaveSetAccessor {
get {
return ResourceManager.GetString("ERR_RefPropertyCannotHaveSetAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Properties which return by reference must have a get accessor.
/// </summary>
internal static string ERR_RefPropertyMustHaveGetAccessor {
get {
return ResourceManager.GetString("ERR_RefPropertyMustHaveGetAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A readonly field cannot be used as a ref or out value (except in a constructor).
/// </summary>
internal static string ERR_RefReadonly {
get {
return ResourceManager.GetString("ERR_RefReadonly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Members of readonly field '{0}' cannot be used as a ref or out value (except in a constructor).
/// </summary>
internal static string ERR_RefReadonly2 {
get {
return ResourceManager.GetString("ERR_RefReadonly2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use '{0}' as a ref or out value because it is read-only.
/// </summary>
internal static string ERR_RefReadonlyLocal {
get {
return ResourceManager.GetString("ERR_RefReadonlyLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use fields of '{0}' as a ref or out value because it is a '{1}'.
/// </summary>
internal static string ERR_RefReadonlyLocal2Cause {
get {
return ResourceManager.GetString("ERR_RefReadonlyLocal2Cause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use '{0}' as a ref or out value because it is a '{1}'.
/// </summary>
internal static string ERR_RefReadonlyLocalCause {
get {
return ResourceManager.GetString("ERR_RefReadonlyLocalCause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A static readonly field cannot be used as a ref or out value (except in a static constructor).
/// </summary>
internal static string ERR_RefReadonlyStatic {
get {
return ResourceManager.GetString("ERR_RefReadonlyStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fields of static readonly field '{0}' cannot be used as a ref or out value (except in a static constructor).
/// </summary>
internal static string ERR_RefReadonlyStatic2 {
get {
return ResourceManager.GetString("ERR_RefReadonlyStatic2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return by reference a result of '{0}' because the argument passed to parameter '{1}' cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnCall {
get {
return ResourceManager.GetString("ERR_RefReturnCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return by reference a member of result of '{0}' because the argument passed to parameter '{1}' cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnCall2 {
get {
return ResourceManager.GetString("ERR_RefReturnCall2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'await' cannot be used in an expression containing a call to '{0}' because it returns by reference.
/// </summary>
internal static string ERR_RefReturningCallAndAwait {
get {
return ResourceManager.GetString("ERR_RefReturningCallAndAwait", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a call to a method, property, or indexer that returns by reference.
/// </summary>
internal static string ERR_RefReturningCallInExpressionTree {
get {
return ResourceManager.GetString("ERR_RefReturningCallInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return local '{0}' by reference because it is not a ref local.
/// </summary>
internal static string ERR_RefReturnLocal {
get {
return ResourceManager.GetString("ERR_RefReturnLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return a member of local '{0}' by reference because it is not a ref local.
/// </summary>
internal static string ERR_RefReturnLocal2 {
get {
return ResourceManager.GetString("ERR_RefReturnLocal2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression cannot be used in this context because it may not be returned by reference.
/// </summary>
internal static string ERR_RefReturnLvalueExpected {
get {
return ResourceManager.GetString("ERR_RefReturnLvalueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The return expression must be of type '{0}' because this method returns by reference.
/// </summary>
internal static string ERR_RefReturnMustHaveIdentityConversion {
get {
return ResourceManager.GetString("ERR_RefReturnMustHaveIdentityConversion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return '{0}' by reference because it was initialized to a value that cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnNonreturnableLocal {
get {
return ResourceManager.GetString("ERR_RefReturnNonreturnableLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return by reference a member of '{0}' because it was initialized to a value that cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnNonreturnableLocal2 {
get {
return ResourceManager.GetString("ERR_RefReturnNonreturnableLocal2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return a parameter by reference '{0}' because it is not a ref or out parameter.
/// </summary>
internal static string ERR_RefReturnParameter {
get {
return ResourceManager.GetString("ERR_RefReturnParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return or a member of parameter '{0}' by reference because it is not a ref or out parameter.
/// </summary>
internal static string ERR_RefReturnParameter2 {
get {
return ResourceManager.GetString("ERR_RefReturnParameter2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return the range variable '{0}' by reference.
/// </summary>
internal static string ERR_RefReturnRangeVariable {
get {
return ResourceManager.GetString("ERR_RefReturnRangeVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A readonly field cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnReadonly {
get {
return ResourceManager.GetString("ERR_RefReturnReadonly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Members of readonly field '{0}' cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnReadonly2 {
get {
return ResourceManager.GetString("ERR_RefReturnReadonly2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return '{0}' by reference because it is read-only.
/// </summary>
internal static string ERR_RefReturnReadonlyLocal {
get {
return ResourceManager.GetString("ERR_RefReturnReadonlyLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return fields of '{0}' by reference because it is a '{1}'.
/// </summary>
internal static string ERR_RefReturnReadonlyLocal2Cause {
get {
return ResourceManager.GetString("ERR_RefReturnReadonlyLocal2Cause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return '{0}' by reference because it is a '{1}'.
/// </summary>
internal static string ERR_RefReturnReadonlyLocalCause {
get {
return ResourceManager.GetString("ERR_RefReturnReadonlyLocalCause", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A static readonly field cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnReadonlyStatic {
get {
return ResourceManager.GetString("ERR_RefReturnReadonlyStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fields of static readonly field '{0}' cannot be returned by reference.
/// </summary>
internal static string ERR_RefReturnReadonlyStatic2 {
get {
return ResourceManager.GetString("ERR_RefReturnReadonlyStatic2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return '{0}' by reference because its receiver may not be returned by reference.
/// </summary>
internal static string ERR_RefReturnReceiver {
get {
return ResourceManager.GetString("ERR_RefReturnReceiver", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Struct members cannot return 'this' or other instance members by reference.
/// </summary>
internal static string ERR_RefReturnStructThis {
get {
return ResourceManager.GetString("ERR_RefReturnStructThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'class' or 'struct' constraint must come before any other constraints.
/// </summary>
internal static string ERR_RefValBoundMustBeFirst {
get {
return ResourceManager.GetString("ERR_RefValBoundMustBeFirst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': cannot specify both a constraint class and the 'class' or 'struct' constraint.
/// </summary>
internal static string ERR_RefValBoundWithClass {
get {
return ResourceManager.GetString("ERR_RefValBoundWithClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The assembly name '{0}' is reserved and cannot be used as a reference in an interactive session.
/// </summary>
internal static string ERR_ReservedAssemblyName {
get {
return ResourceManager.GetString("ERR_ReservedAssemblyName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The enumerator name '{0}' is reserved and cannot be used.
/// </summary>
internal static string ERR_ReservedEnumerator {
get {
return ResourceManager.GetString("ERR_ReservedEnumerator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Each linked resource and module must have a unique filename. Filename '{0}' is specified more than once in this assembly.
/// </summary>
internal static string ERR_ResourceFileNameNotUnique {
get {
return ResourceManager.GetString("ERR_ResourceFileNameNotUnique", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Resource identifier '{0}' has already been used in this assembly.
/// </summary>
internal static string ERR_ResourceNotUnique {
get {
return ResourceManager.GetString("ERR_ResourceNotUnique", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Since '{0}' returns void, a return keyword must not be followed by an object expression.
/// </summary>
internal static string ERR_RetNoObjectRequired {
get {
return ResourceManager.GetString("ERR_RetNoObjectRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Anonymous function converted to a void returning delegate cannot return a value.
/// </summary>
internal static string ERR_RetNoObjectRequiredLambda {
get {
return ResourceManager.GetString("ERR_RetNoObjectRequiredLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An object of a type convertible to '{0}' is required.
/// </summary>
internal static string ERR_RetObjectRequired {
get {
return ResourceManager.GetString("ERR_RetObjectRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': not all code paths return a value.
/// </summary>
internal static string ERR_ReturnExpected {
get {
return ResourceManager.GetString("ERR_ReturnExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot return a value from an iterator. Use the yield return statement to return a value, or yield break to end the iteration..
/// </summary>
internal static string ERR_ReturnInIterator {
get {
return ResourceManager.GetString("ERR_ReturnInIterator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot modify the return value of '{0}' because it is not a variable.
/// </summary>
internal static string ERR_ReturnNotLValue {
get {
return ResourceManager.GetString("ERR_ReturnNotLValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static types cannot be used as return types.
/// </summary>
internal static string ERR_ReturnTypeIsStaticClass {
get {
return ResourceManager.GetString("ERR_ReturnTypeIsStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{1}' exists in both '{0}' and '{2}'.
/// </summary>
internal static string ERR_SameFullNameAggAgg {
get {
return ResourceManager.GetString("ERR_SameFullNameAggAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The namespace '{1}' in '{0}' conflicts with the type '{3}' in '{2}'.
/// </summary>
internal static string ERR_SameFullNameNsAgg {
get {
return ResourceManager.GetString("ERR_SameFullNameNsAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{1}' in '{0}' conflicts with the namespace '{3}' in '{2}'.
/// </summary>
internal static string ERR_SameFullNameThisAggThisNs {
get {
return ResourceManager.GetString("ERR_SameFullNameThisAggThisNs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be sealed because it is not an override.
/// </summary>
internal static string ERR_SealedNonOverride {
get {
return ResourceManager.GetString("ERR_SealedNonOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a class cannot be both static and sealed.
/// </summary>
internal static string ERR_SealedStaticClass {
get {
return ResourceManager.GetString("ERR_SealedStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Security attribute '{0}' has an invalid SecurityAction value '{1}'.
/// </summary>
internal static string ERR_SecurityAttributeInvalidAction {
get {
return ResourceManager.GetString("ERR_SecurityAttributeInvalidAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SecurityAction value '{0}' is invalid for security attributes applied to an assembly.
/// </summary>
internal static string ERR_SecurityAttributeInvalidActionAssembly {
get {
return ResourceManager.GetString("ERR_SecurityAttributeInvalidActionAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SecurityAction value '{0}' is invalid for security attributes applied to a type or a method.
/// </summary>
internal static string ERR_SecurityAttributeInvalidActionTypeOrMethod {
get {
return ResourceManager.GetString("ERR_SecurityAttributeInvalidActionTypeOrMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Security attribute '{0}' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations..
/// </summary>
internal static string ERR_SecurityAttributeInvalidTarget {
get {
return ResourceManager.GetString("ERR_SecurityAttributeInvalidTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to First argument to a security attribute must be a valid SecurityAction.
/// </summary>
internal static string ERR_SecurityAttributeMissingAction {
get {
return ResourceManager.GetString("ERR_SecurityAttributeMissingAction", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Security attribute '{0}' cannot be applied to an Async method..
/// </summary>
internal static string ERR_SecurityCriticalOrSecuritySafeCriticalOnAsync {
get {
return ResourceManager.GetString("ERR_SecurityCriticalOrSecuritySafeCriticalOnAsync", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async methods are not allowed in an Interface, Class, or Structure which has the 'SecurityCritical' or 'SecuritySafeCritical' attribute..
/// </summary>
internal static string ERR_SecurityCriticalOrSecuritySafeCriticalOnAsyncInClassOrStruct {
get {
return ResourceManager.GetString("ERR_SecurityCriticalOrSecuritySafeCriticalOnAsyncInClassOrStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ; expected.
/// </summary>
internal static string ERR_SemicolonExpected {
get {
return ResourceManager.GetString("ERR_SemicolonExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to { or ; expected.
/// </summary>
internal static string ERR_SemiOrLBraceExpected {
get {
return ResourceManager.GetString("ERR_SemiOrLBraceExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Key file '{0}' is missing the private key needed for signing.
/// </summary>
internal static string ERR_SignButNoPrivateKey {
get {
return ResourceManager.GetString("ERR_SignButNoPrivateKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A single-line comment may not be used in an interpolated string..
/// </summary>
internal static string ERR_SingleLineCommentInExpressionHole {
get {
return ResourceManager.GetString("ERR_SingleLineCommentInExpressionHole", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?).
/// </summary>
internal static string ERR_SingleTypeNameNotFound {
get {
return ResourceManager.GetString("ERR_SingleTypeNameNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type name '{0}' could not be found. This type has been forwarded to assembly '{1}'. Consider adding a reference to that assembly..
/// </summary>
internal static string ERR_SingleTypeNameNotFoundFwd {
get {
return ResourceManager.GetString("ERR_SingleTypeNameNotFoundFwd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not have a predefined size, therefore sizeof can only be used in an unsafe context (consider using System.Runtime.InteropServices.Marshal.SizeOf).
/// </summary>
internal static string ERR_SizeofUnsafe {
get {
return ResourceManager.GetString("ERR_SizeofUnsafe", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file references are not supported..
/// </summary>
internal static string ERR_SourceFileReferencesNotSupported {
get {
return ResourceManager.GetString("ERR_SourceFileReferencesNotSupported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Instance of type '{0}' cannot be used inside an anonymous function, query expression, iterator block or async method.
/// </summary>
internal static string ERR_SpecialByRefInLambda {
get {
return ResourceManager.GetString("ERR_SpecialByRefInLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraint cannot be special class '{0}'.
/// </summary>
internal static string ERR_SpecialTypeAsBound {
get {
return ResourceManager.GetString("ERR_SpecialTypeAsBound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to stackalloc may not be used in a catch or finally block.
/// </summary>
internal static string ERR_StackallocInCatchFinally {
get {
return ResourceManager.GetString("ERR_StackallocInCatchFinally", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A lambda expression with a statement body cannot be converted to an expression tree.
/// </summary>
internal static string ERR_StatementLambdaToExpressionTree {
get {
return ResourceManager.GetString("ERR_StatementLambdaToExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{1}': cannot derive from static class '{0}'.
/// </summary>
internal static string ERR_StaticBaseClass {
get {
return ResourceManager.GetString("ERR_StaticBaseClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static classes cannot implement interfaces.
/// </summary>
internal static string ERR_StaticClassInterfaceImpl {
get {
return ResourceManager.GetString("ERR_StaticClassInterfaceImpl", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The constant '{0}' cannot be marked static.
/// </summary>
internal static string ERR_StaticConstant {
get {
return ResourceManager.GetString("ERR_StaticConstant", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a static constructor must be parameterless.
/// </summary>
internal static string ERR_StaticConstParam {
get {
return ResourceManager.GetString("ERR_StaticConstParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': access modifiers are not allowed on static constructors.
/// </summary>
internal static string ERR_StaticConstructorWithAccessModifiers {
get {
return ResourceManager.GetString("ERR_StaticConstructorWithAccessModifiers", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': static constructor cannot have an explicit 'this' or 'base' constructor call.
/// </summary>
internal static string ERR_StaticConstructorWithExplicitConstructorCall {
get {
return ResourceManager.GetString("ERR_StaticConstructorWithExplicitConstructorCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Static class '{0}' cannot derive from type '{1}'. Static classes must derive from object..
/// </summary>
internal static string ERR_StaticDerivedFromNonObject {
get {
return ResourceManager.GetString("ERR_StaticDerivedFromNonObject", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The second operand of an 'is' or 'as' operator may not be static type '{0}'.
/// </summary>
internal static string ERR_StaticInAsOrIs {
get {
return ResourceManager.GetString("ERR_StaticInAsOrIs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Static field or property '{0}' cannot be assigned in an object initializer.
/// </summary>
internal static string ERR_StaticMemberInObjectInitializer {
get {
return ResourceManager.GetString("ERR_StaticMemberInObjectInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A static member '{0}' cannot be marked as override, virtual, or abstract.
/// </summary>
internal static string ERR_StaticNotVirtual {
get {
return ResourceManager.GetString("ERR_StaticNotVirtual", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Struct member '{0}' of type '{1}' causes a cycle in the struct layout.
/// </summary>
internal static string ERR_StructLayoutCycle {
get {
return ResourceManager.GetString("ERR_StructLayoutCycle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The FieldOffset attribute is not allowed on static or const fields.
/// </summary>
internal static string ERR_StructOffsetOnBadField {
get {
return ResourceManager.GetString("ERR_StructOffsetOnBadField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit).
/// </summary>
internal static string ERR_StructOffsetOnBadStruct {
get {
return ResourceManager.GetString("ERR_StructOffsetOnBadStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Structs cannot contain explicit parameterless constructors.
/// </summary>
internal static string ERR_StructsCantContainDefaultConstructor {
get {
return ResourceManager.GetString("ERR_StructsCantContainDefaultConstructor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': structs cannot call base class constructors.
/// </summary>
internal static string ERR_StructWithBaseConstructorCall {
get {
return ResourceManager.GetString("ERR_StructWithBaseConstructorCall", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sub-expression cannot be used in an argument to nameof..
/// </summary>
internal static string ERR_SubexpressionNotInNameof {
get {
return ResourceManager.GetString("ERR_SubexpressionNotInNameof", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Control cannot fall out of switch from final case label ('{0}').
/// </summary>
internal static string ERR_SwitchFallOut {
get {
return ResourceManager.GetString("ERR_SwitchFallOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Control cannot fall through from one case label ('{0}') to another.
/// </summary>
internal static string ERR_SwitchFallThrough {
get {
return ResourceManager.GetString("ERR_SwitchFallThrough", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command-line syntax error: Missing ':<number>' for '{0}' option.
/// </summary>
internal static string ERR_SwitchNeedsNumber {
get {
return ResourceManager.GetString("ERR_SwitchNeedsNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command-line syntax error: Missing '{0}' for '{1}' option.
/// </summary>
internal static string ERR_SwitchNeedsString {
get {
return ResourceManager.GetString("ERR_SwitchNeedsString", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'MethodImplOptions.Synchronized' cannot be applied to an async method.
/// </summary>
internal static string ERR_SynchronizedAsyncMethod {
get {
return ResourceManager.GetString("ERR_SynchronizedAsyncMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax error, '{0}' expected.
/// </summary>
internal static string ERR_SyntaxError {
get {
return ResourceManager.GetString("ERR_SyntaxError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to System.Void cannot be used from C# -- use typeof(void) to get the void type object.
/// </summary>
internal static string ERR_SystemVoid {
get {
return ResourceManager.GetString("ERR_SystemVoid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Since '{0}' is an async method that returns 'Task', a return keyword must not be followed by an object expression. Did you intend to return 'Task<T>'?.
/// </summary>
internal static string ERR_TaskRetNoObjectRequired {
get {
return ResourceManager.GetString("ERR_TaskRetNoObjectRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async lambda expression converted to a 'Task' returning delegate cannot return a value. Did you intend to return 'Task<T>'?.
/// </summary>
internal static string ERR_TaskRetNoObjectRequiredLambda {
get {
return ResourceManager.GetString("ERR_TaskRetNoObjectRequiredLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'this' is not available in the current context.
/// </summary>
internal static string ERR_ThisInBadContext {
get {
return ResourceManager.GetString("ERR_ThisInBadContext", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'this' is not valid in a static property, static method, or static field initializer.
/// </summary>
internal static string ERR_ThisInStaticMeth {
get {
return ResourceManager.GetString("ERR_ThisInStaticMeth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Keyword 'this' or 'base' expected.
/// </summary>
internal static string ERR_ThisOrBaseExpected {
get {
return ResourceManager.GetString("ERR_ThisOrBaseExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Anonymous methods, lambda expressions, and query expressions inside structs cannot access instance members of 'this'. Consider copying 'this' to a local variable outside the anonymous method, lambda expression or query expression and using the local instead..
/// </summary>
internal static string ERR_ThisStructNotInAnonMeth {
get {
return ResourceManager.GetString("ERR_ThisStructNotInAnonMeth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Catch clauses cannot follow the general catch clause of a try statement.
/// </summary>
internal static string ERR_TooManyCatches {
get {
return ResourceManager.GetString("ERR_TooManyCatches", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Too many characters in character literal.
/// </summary>
internal static string ERR_TooManyCharsInConst {
get {
return ResourceManager.GetString("ERR_TooManyCharsInConst", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only 65534 locals, including those generated by the compiler, are allowed.
/// </summary>
internal static string ERR_TooManyLocals {
get {
return ResourceManager.GetString("ERR_TooManyLocals", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals..
/// </summary>
internal static string ERR_TooManyUserStrings {
get {
return ResourceManager.GetString("ERR_TooManyUserStrings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A format specifier may not contain trailing whitespace..
/// </summary>
internal static string ERR_TrailingWhitespaceInFormatSpecifier {
get {
return ResourceManager.GetString("ERR_TrailingWhitespaceInFormatSpecifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple member names must be unique..
/// </summary>
internal static string ERR_TupleDuplicateMemberName {
get {
return ResourceManager.GetString("ERR_TupleDuplicateMemberName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot define a class or member that utilizes tuples because the compiler required type '{0}' cannot be found. Are you missing a reference?.
/// </summary>
internal static string ERR_TupleElementNamesAttributeMissing {
get {
return ResourceManager.GetString("ERR_TupleElementNamesAttributeMissing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple member names must all be provided, if any one is provided..
/// </summary>
internal static string ERR_TupleExplicitNamesOnAllMembersOrNone {
get {
return ResourceManager.GetString("ERR_TupleExplicitNamesOnAllMembersOrNone", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple member name '{0}' is only allowed at position {1}..
/// </summary>
internal static string ERR_TupleReservedMemberName {
get {
return ResourceManager.GetString("ERR_TupleReservedMemberName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple membername '{0}' is disallowed at any position..
/// </summary>
internal static string ERR_TupleReservedMemberNameAnyPosition {
get {
return ResourceManager.GetString("ERR_TupleReservedMemberNameAnyPosition", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tuple must contain at least two elements..
/// </summary>
internal static string ERR_TupleTooFewElements {
get {
return ResourceManager.GetString("ERR_TupleTooFewElements", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The {1} '{0}' cannot be used with type arguments.
/// </summary>
internal static string ERR_TypeArgsNotAllowed {
get {
return ResourceManager.GetString("ERR_TypeArgsNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type expected.
/// </summary>
internal static string ERR_TypeExpected {
get {
return ResourceManager.GetString("ERR_TypeExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot infer the type of implicitly-typed out variable..
/// </summary>
internal static string ERR_TypeInferenceFailedForImplicitlyTypedOutVariable {
get {
return ResourceManager.GetString("ERR_TypeInferenceFailedForImplicitlyTypedOutVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter declaration must be an identifier not a type.
/// </summary>
internal static string ERR_TypeParamMustBeIdentifier {
get {
return ResourceManager.GetString("ERR_TypeParamMustBeIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert null to type parameter '{0}' because it could be a non-nullable value type. Consider using 'default({0})' instead..
/// </summary>
internal static string ERR_TypeVarCantBeNull {
get {
return ResourceManager.GetString("ERR_TypeVarCantBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter '{0}' has the same name as the containing type, or method.
/// </summary>
internal static string ERR_TypeVariableSameAsParent {
get {
return ResourceManager.GetString("ERR_TypeVariableSameAsParent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The contextual keyword 'var' may only appear within a local variable declaration or in script code.
/// </summary>
internal static string ERR_TypeVarNotFound {
get {
return ResourceManager.GetString("ERR_TypeVarNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The contextual keyword 'var' cannot be used in a range variable declaration.
/// </summary>
internal static string ERR_TypeVarNotFoundRangeVariable {
get {
return ResourceManager.GetString("ERR_TypeVarNotFoundRangeVariable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{1}' does not define type parameter '{0}'.
/// </summary>
internal static string ERR_TyVarNotFoundInConstraint {
get {
return ResourceManager.GetString("ERR_TyVarNotFoundInConstraint", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field '{0}' must be fully assigned before control is returned to the caller.
/// </summary>
internal static string ERR_UnassignedThis {
get {
return ResourceManager.GetString("ERR_UnassignedThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Auto-implemented property '{0}' must be fully assigned before control is returned to the caller..
/// </summary>
internal static string ERR_UnassignedThisAutoProperty {
get {
return ResourceManager.GetString("ERR_UnassignedThisAutoProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot modify the result of an unboxing conversion.
/// </summary>
internal static string ERR_UnboxNotLValue {
get {
return ResourceManager.GetString("ERR_UnboxNotLValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing close delimiter '}' for interpolated expression started with '{'..
/// </summary>
internal static string ERR_UnclosedExpressionHole {
get {
return ResourceManager.GetString("ERR_UnclosedExpressionHole", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A '{0}' character must be escaped (by doubling) in an interpolated string..
/// </summary>
internal static string ERR_UnescapedCurly {
get {
return ResourceManager.GetString("ERR_UnescapedCurly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected use of an aliased name.
/// </summary>
internal static string ERR_UnexpectedAliasedName {
get {
return ResourceManager.GetString("ERR_UnexpectedAliasedName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type arguments are not allowed in the nameof operator..
/// </summary>
internal static string ERR_UnexpectedBoundGenericName {
get {
return ResourceManager.GetString("ERR_UnexpectedBoundGenericName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected character '{0}'.
/// </summary>
internal static string ERR_UnexpectedCharacter {
get {
return ResourceManager.GetString("ERR_UnexpectedCharacter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected preprocessor directive.
/// </summary>
internal static string ERR_UnexpectedDirective {
get {
return ResourceManager.GetString("ERR_UnexpectedDirective", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected use of a generic name.
/// </summary>
internal static string ERR_UnexpectedGenericName {
get {
return ResourceManager.GetString("ERR_UnexpectedGenericName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Semicolon after method or accessor block is not valid.
/// </summary>
internal static string ERR_UnexpectedSemicolon {
get {
return ResourceManager.GetString("ERR_UnexpectedSemicolon", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected token '{0}'.
/// </summary>
internal static string ERR_UnexpectedToken {
get {
return ResourceManager.GetString("ERR_UnexpectedToken", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected use of an unbound generic name.
/// </summary>
internal static string ERR_UnexpectedUnboundGenericName {
get {
return ResourceManager.GetString("ERR_UnexpectedUnboundGenericName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid variance: The type parameter '{1}' must be {3} valid on '{0}'. '{1}' is {2}..
/// </summary>
internal static string ERR_UnexpectedVariance {
get {
return ResourceManager.GetString("ERR_UnexpectedVariance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot implement both '{1}' and '{2}' because they may unify for some type parameter substitutions.
/// </summary>
internal static string ERR_UnifyingInterfaceInstantiations {
get {
return ResourceManager.GetString("ERR_UnifyingInterfaceInstantiations", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement inherited abstract member '{1}'.
/// </summary>
internal static string ERR_UnimplementedAbstractMethod {
get {
return ResourceManager.GetString("ERR_UnimplementedAbstractMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'. '{2}' is not public..
/// </summary>
internal static string ERR_UnimplementedInterfaceAccessor {
get {
return ResourceManager.GetString("ERR_UnimplementedInterfaceAccessor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement interface member '{1}'.
/// </summary>
internal static string ERR_UnimplementedInterfaceMember {
get {
return ResourceManager.GetString("ERR_UnimplementedInterfaceMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A previous catch clause already catches all exceptions of this or of a super type ('{0}').
/// </summary>
internal static string ERR_UnreachableCatch {
get {
return ResourceManager.GetString("ERR_UnreachableCatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async methods cannot have unsafe parameters or return types.
/// </summary>
internal static string ERR_UnsafeAsyncArgType {
get {
return ResourceManager.GetString("ERR_UnsafeAsyncArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Iterators cannot have unsafe parameters or yield types.
/// </summary>
internal static string ERR_UnsafeIteratorArgType {
get {
return ResourceManager.GetString("ERR_UnsafeIteratorArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Pointers and fixed size buffers may only be used in an unsafe context.
/// </summary>
internal static string ERR_UnsafeNeeded {
get {
return ResourceManager.GetString("ERR_UnsafeNeeded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unsafe type '{0}' cannot be used in object creation.
/// </summary>
internal static string ERR_UnsafeTypeInObjectCreation {
get {
return ResourceManager.GetString("ERR_UnsafeTypeInObjectCreation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Transparent identifier member access failed for field '{0}' of '{1}'. Does the data being queried implement the query pattern?.
/// </summary>
internal static string ERR_UnsupportedTransparentIdentifierAccess {
get {
return ResourceManager.GetString("ERR_UnsupportedTransparentIdentifierAccess", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unterminated string literal.
/// </summary>
internal static string ERR_UnterminatedStringLit {
get {
return ResourceManager.GetString("ERR_UnterminatedStringLit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of unassigned local variable '{0}'.
/// </summary>
internal static string ERR_UseDefViolation {
get {
return ResourceManager.GetString("ERR_UseDefViolation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of possibly unassigned field '{0}'.
/// </summary>
internal static string ERR_UseDefViolationField {
get {
return ResourceManager.GetString("ERR_UseDefViolationField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of unassigned out parameter '{0}'.
/// </summary>
internal static string ERR_UseDefViolationOut {
get {
return ResourceManager.GetString("ERR_UseDefViolationOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use of possibly unassigned auto-implemented property '{0}'.
/// </summary>
internal static string ERR_UseDefViolationProperty {
get {
return ResourceManager.GetString("ERR_UseDefViolationProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'this' object cannot be used before all of its fields are assigned to.
/// </summary>
internal static string ERR_UseDefViolationThis {
get {
return ResourceManager.GetString("ERR_UseDefViolationThis", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A using clause must precede all other elements defined in the namespace except extern alias declarations.
/// </summary>
internal static string ERR_UsingAfterElements {
get {
return ResourceManager.GetString("ERR_UsingAfterElements", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier..
/// </summary>
internal static string ERR_V6SwitchGoverningTypeValueExpected {
get {
return ResourceManager.GetString("ERR_V6SwitchGoverningTypeValueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{2}' must be a non-nullable value type in order to use it as parameter '{1}' in the generic type or method '{0}'.
/// </summary>
internal static string ERR_ValConstraintNotSatisfied {
get {
return ResourceManager.GetString("ERR_ValConstraintNotSatisfied", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot convert null to '{0}' because it is a non-nullable value type.
/// </summary>
internal static string ERR_ValueCantBeNull {
get {
return ResourceManager.GetString("ERR_ValueCantBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax error; value expected.
/// </summary>
internal static string ERR_ValueExpected {
get {
return ResourceManager.GetString("ERR_ValueExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extension method '{0}' defined on value type '{1}' cannot be used to create delegates.
/// </summary>
internal static string ERR_ValueTypeExtDelegate {
get {
return ResourceManager.GetString("ERR_ValueTypeExtDelegate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Members of property '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type.
/// </summary>
internal static string ERR_ValueTypePropertyInObjectInitializer {
get {
return ResourceManager.GetString("ERR_ValueTypePropertyInObjectInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to __arglist is not allowed in the parameter list of async methods.
/// </summary>
internal static string ERR_VarargsAsync {
get {
return ResourceManager.GetString("ERR_VarargsAsync", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An expression tree lambda may not contain a method with variable arguments.
/// </summary>
internal static string ERR_VarArgsInExpressionTree {
get {
return ResourceManager.GetString("ERR_VarArgsInExpressionTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to __arglist is not allowed in the parameter list of iterators.
/// </summary>
internal static string ERR_VarargsIterator {
get {
return ResourceManager.GetString("ERR_VarargsIterator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An __arglist parameter must be the last parameter in a formal parameter list.
/// </summary>
internal static string ERR_VarargsLast {
get {
return ResourceManager.GetString("ERR_VarargsLast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot declare a variable of static type '{0}'.
/// </summary>
internal static string ERR_VarDeclIsStaticClass {
get {
return ResourceManager.GetString("ERR_VarDeclIsStaticClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use local variable '{0}' before it is declared.
/// </summary>
internal static string ERR_VariableUsedBeforeDeclaration {
get {
return ResourceManager.GetString("ERR_VariableUsedBeforeDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use local variable '{0}' before it is declared. The declaration of the local variable hides the field '{1}'..
/// </summary>
internal static string ERR_VariableUsedBeforeDeclarationAndHidesField {
get {
return ResourceManager.GetString("ERR_VariableUsedBeforeDeclarationAndHidesField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': virtual or abstract members cannot be private.
/// </summary>
internal static string ERR_VirtualPrivate {
get {
return ResourceManager.GetString("ERR_VirtualPrivate", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The operation in question is undefined on void pointers.
/// </summary>
internal static string ERR_VoidError {
get {
return ResourceManager.GetString("ERR_VoidError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Void-returning methods cannot return by reference.
/// </summary>
internal static string ERR_VoidReturningMethodCannotReturnByRef {
get {
return ResourceManager.GetString("ERR_VoidReturningMethodCannotReturnByRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a field cannot be both volatile and readonly.
/// </summary>
internal static string ERR_VolatileAndReadonly {
get {
return ResourceManager.GetString("ERR_VolatileAndReadonly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a volatile field cannot be of the type '{1}'.
/// </summary>
internal static string ERR_VolatileStruct {
get {
return ResourceManager.GetString("ERR_VolatileStruct", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A Windows Runtime event may not be passed as an out or ref parameter..
/// </summary>
internal static string ERR_WinRtEventPassedByRef {
get {
return ResourceManager.GetString("ERR_WinRtEventPassedByRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The yield statement cannot be used inside an anonymous method or lambda expression.
/// </summary>
internal static string ERR_YieldInAnonMeth {
get {
return ResourceManager.GetString("ERR_YieldInAnonMeth", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use 'yield' in top-level script code.
/// </summary>
internal static string ERR_YieldNotAllowedInScript {
get {
return ResourceManager.GetString("ERR_YieldNotAllowedInScript", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Algorithm '{0}' is not supported.
/// </summary>
internal static string FTL_BadChecksumAlgorithm {
get {
return ResourceManager.GetString("FTL_BadChecksumAlgorithm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Code page '{0}' is invalid or not installed.
/// </summary>
internal static string FTL_BadCodepage {
get {
return ResourceManager.GetString("FTL_BadCodepage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected error writing debug information -- '{0}'.
/// </summary>
internal static string FTL_DebugEmitFailure {
get {
return ResourceManager.GetString("FTL_DebugEmitFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File name '{0}' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long.
/// </summary>
internal static string FTL_InputFileNameTooLong {
get {
return ResourceManager.GetString("FTL_InputFileNameTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid target type for /target: must specify 'exe', 'winexe', 'library', or 'module'.
/// </summary>
internal static string FTL_InvalidTarget {
get {
return ResourceManager.GetString("FTL_InvalidTarget", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Metadata file '{0}' could not be opened -- {1}.
/// </summary>
internal static string FTL_MetadataCantOpenFile {
get {
return ResourceManager.GetString("FTL_MetadataCantOpenFile", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot create short filename '{0}' when a long filename with the same short filename already exists.
/// </summary>
internal static string FTL_OutputFileExists {
get {
return ResourceManager.GetString("FTL_OutputFileExists", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Generic parameter is definition when expected to be reference {0}.
/// </summary>
internal static string GenericParameterDefinition {
get {
return ResourceManager.GetString("GenericParameterDefinition", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unused extern alias..
/// </summary>
internal static string HDN_UnusedExternAlias {
get {
return ResourceManager.GetString("HDN_UnusedExternAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unused extern alias.
/// </summary>
internal static string HDN_UnusedExternAlias_Title {
get {
return ResourceManager.GetString("HDN_UnusedExternAlias_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unnecessary using directive..
/// </summary>
internal static string HDN_UnusedUsingDirective {
get {
return ResourceManager.GetString("HDN_UnusedUsingDirective", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unnecessary using directive.
/// </summary>
internal static string HDN_UnusedUsingDirective_Title {
get {
return ResourceManager.GetString("HDN_UnusedUsingDirective_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to anonymous method.
/// </summary>
internal static string IDS_AnonMethod {
get {
return ResourceManager.GetString("IDS_AnonMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to await in catch blocks and finally blocks.
/// </summary>
internal static string IDS_AwaitInCatchAndFinally {
get {
return ResourceManager.GetString("IDS_AwaitInCatchAndFinally", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to collection.
/// </summary>
internal static string IDS_Collection {
get {
return ResourceManager.GetString("IDS_Collection", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to contravariant.
/// </summary>
internal static string IDS_Contravariant {
get {
return ResourceManager.GetString("IDS_Contravariant", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to contravariantly.
/// </summary>
internal static string IDS_Contravariantly {
get {
return ResourceManager.GetString("IDS_Contravariantly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to covariant.
/// </summary>
internal static string IDS_Covariant {
get {
return ResourceManager.GetString("IDS_Covariant", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to covariantly.
/// </summary>
internal static string IDS_Covariantly {
get {
return ResourceManager.GetString("IDS_Covariantly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to
/// Visual C# Compiler Options
///
/// - OUTPUT FILES -
/// /out:<file> Specify output file name (default: base name of
/// file with main class or first file)
/// /target:exe Build a console executable (default) (Short
/// form: /t:exe)
/// /target:winexe Build a Windows executable (Short form:
/// /t:winexe)
/// /target:library [rest of string was truncated]";.
/// </summary>
internal static string IDS_CSCHelp {
get {
return ResourceManager.GetString("IDS_CSCHelp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to directory does not exist.
/// </summary>
internal static string IDS_DirectoryDoesNotExist {
get {
return ResourceManager.GetString("IDS_DirectoryDoesNotExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to path is too long or invalid.
/// </summary>
internal static string IDS_DirectoryHasInvalidPath {
get {
return ResourceManager.GetString("IDS_DirectoryHasInvalidPath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to anonymous methods.
/// </summary>
internal static string IDS_FeatureAnonDelegates {
get {
return ResourceManager.GetString("IDS_FeatureAnonDelegates", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to anonymous types.
/// </summary>
internal static string IDS_FeatureAnonymousTypes {
get {
return ResourceManager.GetString("IDS_FeatureAnonymousTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to async function.
/// </summary>
internal static string IDS_FeatureAsync {
get {
return ResourceManager.GetString("IDS_FeatureAsync", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to automatically implemented properties.
/// </summary>
internal static string IDS_FeatureAutoImplementedProperties {
get {
return ResourceManager.GetString("IDS_FeatureAutoImplementedProperties", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to auto property initializer.
/// </summary>
internal static string IDS_FeatureAutoPropertyInitializer {
get {
return ResourceManager.GetString("IDS_FeatureAutoPropertyInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to binary literals.
/// </summary>
internal static string IDS_FeatureBinaryLiteral {
get {
return ResourceManager.GetString("IDS_FeatureBinaryLiteral", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to collection initializer.
/// </summary>
internal static string IDS_FeatureCollectionInitializer {
get {
return ResourceManager.GetString("IDS_FeatureCollectionInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to declaration expression.
/// </summary>
internal static string IDS_FeatureDeclarationExpression {
get {
return ResourceManager.GetString("IDS_FeatureDeclarationExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to default operator.
/// </summary>
internal static string IDS_FeatureDefault {
get {
return ResourceManager.GetString("IDS_FeatureDefault", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to dictionary initializer.
/// </summary>
internal static string IDS_FeatureDictionaryInitializer {
get {
return ResourceManager.GetString("IDS_FeatureDictionaryInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to digit separators.
/// </summary>
internal static string IDS_FeatureDigitSeparator {
get {
return ResourceManager.GetString("IDS_FeatureDigitSeparator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to dynamic.
/// </summary>
internal static string IDS_FeatureDynamic {
get {
return ResourceManager.GetString("IDS_FeatureDynamic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to exception filter.
/// </summary>
internal static string IDS_FeatureExceptionFilter {
get {
return ResourceManager.GetString("IDS_FeatureExceptionFilter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to expression-bodied indexer.
/// </summary>
internal static string IDS_FeatureExpressionBodiedIndexer {
get {
return ResourceManager.GetString("IDS_FeatureExpressionBodiedIndexer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to expression-bodied method.
/// </summary>
internal static string IDS_FeatureExpressionBodiedMethod {
get {
return ResourceManager.GetString("IDS_FeatureExpressionBodiedMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to expression-bodied property.
/// </summary>
internal static string IDS_FeatureExpressionBodiedProperty {
get {
return ResourceManager.GetString("IDS_FeatureExpressionBodiedProperty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to extension method.
/// </summary>
internal static string IDS_FeatureExtensionMethod {
get {
return ResourceManager.GetString("IDS_FeatureExtensionMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to extern alias.
/// </summary>
internal static string IDS_FeatureExternAlias {
get {
return ResourceManager.GetString("IDS_FeatureExternAlias", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to fixed size buffers.
/// </summary>
internal static string IDS_FeatureFixedBuffer {
get {
return ResourceManager.GetString("IDS_FeatureFixedBuffer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to generics.
/// </summary>
internal static string IDS_FeatureGenerics {
get {
return ResourceManager.GetString("IDS_FeatureGenerics", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to namespace alias qualifier.
/// </summary>
internal static string IDS_FeatureGlobalNamespace {
get {
return ResourceManager.GetString("IDS_FeatureGlobalNamespace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to implicitly typed array.
/// </summary>
internal static string IDS_FeatureImplicitArray {
get {
return ResourceManager.GetString("IDS_FeatureImplicitArray", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to implicitly typed local variable.
/// </summary>
internal static string IDS_FeatureImplicitLocal {
get {
return ResourceManager.GetString("IDS_FeatureImplicitLocal", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to interpolated strings.
/// </summary>
internal static string IDS_FeatureInterpolatedStrings {
get {
return ResourceManager.GetString("IDS_FeatureInterpolatedStrings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to iterators.
/// </summary>
internal static string IDS_FeatureIterators {
get {
return ResourceManager.GetString("IDS_FeatureIterators", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to lambda expression.
/// </summary>
internal static string IDS_FeatureLambda {
get {
return ResourceManager.GetString("IDS_FeatureLambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to local functions.
/// </summary>
internal static string IDS_FeatureLocalFunctions {
get {
return ResourceManager.GetString("IDS_FeatureLocalFunctions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to module as an attribute target specifier.
/// </summary>
internal static string IDS_FeatureModuleAttrLoc {
get {
return ResourceManager.GetString("IDS_FeatureModuleAttrLoc", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to named argument.
/// </summary>
internal static string IDS_FeatureNamedArgument {
get {
return ResourceManager.GetString("IDS_FeatureNamedArgument", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to nameof operator.
/// </summary>
internal static string IDS_FeatureNameof {
get {
return ResourceManager.GetString("IDS_FeatureNameof", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to nullable types.
/// </summary>
internal static string IDS_FeatureNullable {
get {
return ResourceManager.GetString("IDS_FeatureNullable", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to null propagating operator.
/// </summary>
internal static string IDS_FeatureNullPropagatingOperator {
get {
return ResourceManager.GetString("IDS_FeatureNullPropagatingOperator", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to object initializer.
/// </summary>
internal static string IDS_FeatureObjectInitializer {
get {
return ResourceManager.GetString("IDS_FeatureObjectInitializer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to optional parameter.
/// </summary>
internal static string IDS_FeatureOptionalParameter {
get {
return ResourceManager.GetString("IDS_FeatureOptionalParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to out variable declaration.
/// </summary>
internal static string IDS_FeatureOutVar {
get {
return ResourceManager.GetString("IDS_FeatureOutVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to partial method.
/// </summary>
internal static string IDS_FeaturePartialMethod {
get {
return ResourceManager.GetString("IDS_FeaturePartialMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to partial types.
/// </summary>
internal static string IDS_FeaturePartialTypes {
get {
return ResourceManager.GetString("IDS_FeaturePartialTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to pattern matching.
/// </summary>
internal static string IDS_FeaturePatternMatching {
get {
return ResourceManager.GetString("IDS_FeaturePatternMatching", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #pragma.
/// </summary>
internal static string IDS_FeaturePragma {
get {
return ResourceManager.GetString("IDS_FeaturePragma", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to access modifiers on properties.
/// </summary>
internal static string IDS_FeaturePropertyAccessorMods {
get {
return ResourceManager.GetString("IDS_FeaturePropertyAccessorMods", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to query expression.
/// </summary>
internal static string IDS_FeatureQueryExpression {
get {
return ResourceManager.GetString("IDS_FeatureQueryExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to readonly automatically implemented properties.
/// </summary>
internal static string IDS_FeatureReadonlyAutoImplementedProperties {
get {
return ResourceManager.GetString("IDS_FeatureReadonlyAutoImplementedProperties", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to byref locals and returns.
/// </summary>
internal static string IDS_FeatureRefLocalsReturns {
get {
return ResourceManager.GetString("IDS_FeatureRefLocalsReturns", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to replaced members.
/// </summary>
internal static string IDS_FeatureReplace {
get {
return ResourceManager.GetString("IDS_FeatureReplace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to static classes.
/// </summary>
internal static string IDS_FeatureStaticClasses {
get {
return ResourceManager.GetString("IDS_FeatureStaticClasses", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to switch on boolean type.
/// </summary>
internal static string IDS_FeatureSwitchOnBool {
get {
return ResourceManager.GetString("IDS_FeatureSwitchOnBool", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to tuples.
/// </summary>
internal static string IDS_FeatureTuples {
get {
return ResourceManager.GetString("IDS_FeatureTuples", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to type variance.
/// </summary>
internal static string IDS_FeatureTypeVariance {
get {
return ResourceManager.GetString("IDS_FeatureTypeVariance", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to using static.
/// </summary>
internal static string IDS_FeatureUsingStatic {
get {
return ResourceManager.GetString("IDS_FeatureUsingStatic", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to fixed variable.
/// </summary>
internal static string IDS_FIXEDLOCAL {
get {
return ResourceManager.GetString("IDS_FIXEDLOCAL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to foreach iteration variable.
/// </summary>
internal static string IDS_FOREACHLOCAL {
get {
return ResourceManager.GetString("IDS_FOREACHLOCAL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <global namespace>.
/// </summary>
internal static string IDS_GlobalNamespace {
get {
return ResourceManager.GetString("IDS_GlobalNamespace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to invariantly.
/// </summary>
internal static string IDS_Invariantly {
get {
return ResourceManager.GetString("IDS_Invariantly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to lambda expression.
/// </summary>
internal static string IDS_Lambda {
get {
return ResourceManager.GetString("IDS_Lambda", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to LIB environment variable.
/// </summary>
internal static string IDS_LIB_ENV {
get {
return ResourceManager.GetString("IDS_LIB_ENV", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to /LIB option.
/// </summary>
internal static string IDS_LIB_OPTION {
get {
return ResourceManager.GetString("IDS_LIB_OPTION", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0} version {1}.
/// </summary>
internal static string IDS_LogoLine1 {
get {
return ResourceManager.GetString("IDS_LogoLine1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Copyright (C) Microsoft Corporation. All rights reserved..
/// </summary>
internal static string IDS_LogoLine2 {
get {
return ResourceManager.GetString("IDS_LogoLine2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to method group.
/// </summary>
internal static string IDS_MethodGroup {
get {
return ResourceManager.GetString("IDS_MethodGroup", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <namespace>.
/// </summary>
internal static string IDS_Namespace1 {
get {
return ResourceManager.GetString("IDS_Namespace1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <null>.
/// </summary>
internal static string IDS_NULL {
get {
return ResourceManager.GetString("IDS_NULL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Operation caused a stack overflow..
/// </summary>
internal static string IDS_OperationCausedStackOverflow {
get {
return ResourceManager.GetString("IDS_OperationCausedStackOverflow", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <path list>.
/// </summary>
internal static string IDS_PathList {
get {
return ResourceManager.GetString("IDS_PathList", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to /REFERENCEPATH option.
/// </summary>
internal static string IDS_REFERENCEPATH_OPTION {
get {
return ResourceManager.GetString("IDS_REFERENCEPATH_OPTION", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (Location of symbol related to previous error).
/// </summary>
internal static string IDS_RELATEDERROR {
get {
return ResourceManager.GetString("IDS_RELATEDERROR", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (Location of symbol related to previous warning).
/// </summary>
internal static string IDS_RELATEDWARNING {
get {
return ResourceManager.GetString("IDS_RELATEDWARNING", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to using alias.
/// </summary>
internal static string IDS_SK_ALIAS {
get {
return ResourceManager.GetString("IDS_SK_ALIAS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to event.
/// </summary>
internal static string IDS_SK_EVENT {
get {
return ResourceManager.GetString("IDS_SK_EVENT", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to extern alias.
/// </summary>
internal static string IDS_SK_EXTERNALIAS {
get {
return ResourceManager.GetString("IDS_SK_EXTERNALIAS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to field.
/// </summary>
internal static string IDS_SK_FIELD {
get {
return ResourceManager.GetString("IDS_SK_FIELD", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to label.
/// </summary>
internal static string IDS_SK_LABEL {
get {
return ResourceManager.GetString("IDS_SK_LABEL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to method.
/// </summary>
internal static string IDS_SK_METHOD {
get {
return ResourceManager.GetString("IDS_SK_METHOD", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to namespace.
/// </summary>
internal static string IDS_SK_NAMESPACE {
get {
return ResourceManager.GetString("IDS_SK_NAMESPACE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to property.
/// </summary>
internal static string IDS_SK_PROPERTY {
get {
return ResourceManager.GetString("IDS_SK_PROPERTY", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to type.
/// </summary>
internal static string IDS_SK_TYPE {
get {
return ResourceManager.GetString("IDS_SK_TYPE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to type parameter.
/// </summary>
internal static string IDS_SK_TYVAR {
get {
return ResourceManager.GetString("IDS_SK_TYVAR", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to element.
/// </summary>
internal static string IDS_SK_UNKNOWN {
get {
return ResourceManager.GetString("IDS_SK_UNKNOWN", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to variable.
/// </summary>
internal static string IDS_SK_VARIABLE {
get {
return ResourceManager.GetString("IDS_SK_VARIABLE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <text>.
/// </summary>
internal static string IDS_Text {
get {
return ResourceManager.GetString("IDS_Text", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <throw>.
/// </summary>
internal static string IDS_ThrowExpression {
get {
return ResourceManager.GetString("IDS_ThrowExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Microsoft (R) Visual C# Compiler.
/// </summary>
internal static string IDS_ToolName {
get {
return ResourceManager.GetString("IDS_ToolName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to using variable.
/// </summary>
internal static string IDS_USINGLOCAL {
get {
return ResourceManager.GetString("IDS_USINGLOCAL", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'experimental'.
/// </summary>
internal static string IDS_VersionExperimental {
get {
return ResourceManager.GetString("IDS_VersionExperimental", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Include tag is invalid .
/// </summary>
internal static string IDS_XMLBADINCLUDE {
get {
return ResourceManager.GetString("IDS_XMLBADINCLUDE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to insert some or all of included XML .
/// </summary>
internal static string IDS_XMLFAILEDINCLUDE {
get {
return ResourceManager.GetString("IDS_XMLFAILEDINCLUDE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to <!-- Badly formed XML comment ignored for member "{0}" -->.
/// </summary>
internal static string IDS_XMLIGNORED {
get {
return ResourceManager.GetString("IDS_XMLIGNORED", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Badly formed XML file "{0}" cannot be included .
/// </summary>
internal static string IDS_XMLIGNORED2 {
get {
return ResourceManager.GetString("IDS_XMLIGNORED2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing file attribute.
/// </summary>
internal static string IDS_XMLMISSINGINCLUDEFILE {
get {
return ResourceManager.GetString("IDS_XMLMISSINGINCLUDEFILE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing path attribute.
/// </summary>
internal static string IDS_XMLMISSINGINCLUDEPATH {
get {
return ResourceManager.GetString("IDS_XMLMISSINGINCLUDEPATH", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No matching elements were found for the following include tag .
/// </summary>
internal static string IDS_XMLNOINCLUDE {
get {
return ResourceManager.GetString("IDS_XMLNOINCLUDE", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Skipping some types in analyzer assembly {0} due to a ReflectionTypeLoadException : {1}..
/// </summary>
internal static string INF_UnableToLoadSomeTypesInAnalyzer {
get {
return ResourceManager.GetString("INF_UnableToLoadSomeTypesInAnalyzer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Skip loading types in analyzer assembly that fail due to a ReflectionTypeLoadException.
/// </summary>
internal static string INF_UnableToLoadSomeTypesInAnalyzer_Title {
get {
return ResourceManager.GetString("INF_UnableToLoadSomeTypesInAnalyzer_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Called GetDeclarationName for a declaration node that can possibly contain multiple variable declarators..
/// </summary>
internal static string InvalidGetDeclarationNameMultipleDeclarators {
get {
return ResourceManager.GetString("InvalidGetDeclarationNameMultipleDeclarators", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to items: must be non-empty.
/// </summary>
internal static string ItemsMustBeNonEmpty {
get {
return ResourceManager.GetString("ItemsMustBeNonEmpty", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Location must be provided in order to provide minimal type qualification..
/// </summary>
internal static string LocationMustBeProvided {
get {
return ResourceManager.GetString("LocationMustBeProvided", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to LookupOptions has an invalid combination of options.
/// </summary>
internal static string LookupOptionsHasInvalidCombo {
get {
return ResourceManager.GetString("LookupOptionsHasInvalidCombo", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name conflict for name {0}.
/// </summary>
internal static string NameConflictForName {
get {
return ResourceManager.GetString("NameConflictForName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SearchCriteria is expected..
/// </summary>
internal static string NoNoneSearchCriteria {
get {
return ResourceManager.GetString("NoNoneSearchCriteria", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Not a C# symbol..
/// </summary>
internal static string NotACSharpSymbol {
get {
return ResourceManager.GetString("NotACSharpSymbol", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Position is not within syntax tree with full span {0}.
/// </summary>
internal static string PositionIsNotWithinSyntax {
get {
return ResourceManager.GetString("PositionIsNotWithinSyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Position must be within span of the syntax tree..
/// </summary>
internal static string PositionNotWithinTree {
get {
return ResourceManager.GetString("PositionNotWithinTree", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to separator is expected.
/// </summary>
internal static string SeparatorIsExpected {
get {
return ResourceManager.GetString("SeparatorIsExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax node to be speculated cannot belong to a syntax tree from the current compilation..
/// </summary>
internal static string SpeculatedSyntaxNodeCannotBelongToCurrentCompilation {
get {
return ResourceManager.GetString("SpeculatedSyntaxNodeCannotBelongToCurrentCompilation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Submission can have at most one syntax tree..
/// </summary>
internal static string SubmissionCanHaveAtMostOne {
get {
return ResourceManager.GetString("SubmissionCanHaveAtMostOne", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Submission can only include script code..
/// </summary>
internal static string SubmissionCanOnlyInclude {
get {
return ResourceManager.GetString("SubmissionCanOnlyInclude", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax node is not within syntax tree.
/// </summary>
internal static string SyntaxNodeIsNotWithinSynt {
get {
return ResourceManager.GetString("SyntaxNodeIsNotWithinSynt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax tree already present.
/// </summary>
internal static string SyntaxTreeAlreadyPresent {
get {
return ResourceManager.GetString("SyntaxTreeAlreadyPresent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SyntaxTree '{0}' resulted from a #load directive and cannot be removed or replaced directly..
/// </summary>
internal static string SyntaxTreeFromLoadNoRemoveReplace {
get {
return ResourceManager.GetString("SyntaxTreeFromLoadNoRemoveReplace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Syntax tree should be created from a submission..
/// </summary>
internal static string SyntaxTreeIsNotASubmission {
get {
return ResourceManager.GetString("SyntaxTreeIsNotASubmission", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SyntaxTree '{0}' not found to remove.
/// </summary>
internal static string SyntaxTreeNotFoundTo {
get {
return ResourceManager.GetString("SyntaxTreeNotFoundTo", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to SyntaxTreeSemanticModel must be provided in order to provide minimal type qualification..
/// </summary>
internal static string SyntaxTreeSemanticModelMust {
get {
return ResourceManager.GetString("SyntaxTreeSemanticModelMust", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The stream cannot be read from..
/// </summary>
internal static string TheStreamCannotBeReadFrom {
get {
return ResourceManager.GetString("TheStreamCannotBeReadFrom", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The stream cannot be written to..
/// </summary>
internal static string TheStreamCannotBeWritten {
get {
return ResourceManager.GetString("TheStreamCannotBeWritten", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This method can only be used to create tokens - {0} is not a token kind..
/// </summary>
internal static string ThisMethodCanOnlyBeUsedToCreateTokens {
get {
return ResourceManager.GetString("ThisMethodCanOnlyBeUsedToCreateTokens", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to tree must have a root node with SyntaxKind.CompilationUnit.
/// </summary>
internal static string TreeMustHaveARootNodeWith {
get {
return ResourceManager.GetString("TreeMustHaveARootNodeWith", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to tree not part of compilation.
/// </summary>
internal static string TreeNotPartOfCompilation {
get {
return ResourceManager.GetString("TreeNotPartOfCompilation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type argument cannot be null.
/// </summary>
internal static string TypeArgumentCannotBeNull {
get {
return ResourceManager.GetString("TypeArgumentCannotBeNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type must be 'var'..
/// </summary>
internal static string TypeMustBeVar {
get {
return ResourceManager.GetString("TypeMustBeVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create numeric literal tokens..
/// </summary>
internal static string UseLiteralForNumeric {
get {
return ResourceManager.GetString("UseLiteralForNumeric", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create character literal tokens..
/// </summary>
internal static string UseLiteralForTokens {
get {
return ResourceManager.GetString("UseLiteralForTokens", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Identifier or Microsoft.CodeAnalysis.CSharp.SyntaxFactory.VerbatimIdentifier to create identifier tokens..
/// </summary>
internal static string UseVerbatimIdentifier {
get {
return ResourceManager.GetString("UseVerbatimIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alignment value {0} has a magnitude greater than {1} and may result in a large formatted string..
/// </summary>
internal static string WRN_AlignmentMagnitude {
get {
return ResourceManager.GetString("WRN_AlignmentMagnitude", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alignment value has a magnitude that may result in a large formatted string.
/// </summary>
internal static string WRN_AlignmentMagnitude_Title {
get {
return ResourceManager.GetString("WRN_AlignmentMagnitude_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always 'null' of type '{0}'.
/// </summary>
internal static string WRN_AlwaysNull {
get {
return ResourceManager.GetString("WRN_AlwaysNull", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always 'null'.
/// </summary>
internal static string WRN_AlwaysNull_Title {
get {
return ResourceManager.GetString("WRN_AlwaysNull_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ambiguous reference in cref attribute: '{0}'. Assuming '{1}', but could have also matched other overloads including '{2}'..
/// </summary>
internal static string WRN_AmbiguousXMLReference {
get {
return ResourceManager.GetString("WRN_AmbiguousXMLReference", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ambiguous reference in cref attribute.
/// </summary>
internal static string WRN_AmbiguousXMLReference_Title {
get {
return ResourceManager.GetString("WRN_AmbiguousXMLReference_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An instance of analyzer {0} cannot be created from {1} : {2}..
/// </summary>
internal static string WRN_AnalyzerCannotBeCreated {
get {
return ResourceManager.GetString("WRN_AnalyzerCannotBeCreated", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An analyzer instance cannot be created.
/// </summary>
internal static string WRN_AnalyzerCannotBeCreated_Title {
get {
return ResourceManager.GetString("WRN_AnalyzerCannotBeCreated_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' from module '{1}' will be ignored in favor of the instance appearing in source.
/// </summary>
internal static string WRN_AssemblyAttributeFromModuleIsOverridden {
get {
return ResourceManager.GetString("WRN_AssemblyAttributeFromModuleIsOverridden", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute will be ignored in favor of the instance appearing in source.
/// </summary>
internal static string WRN_AssemblyAttributeFromModuleIsOverridden_Title {
get {
return ResourceManager.GetString("WRN_AssemblyAttributeFromModuleIsOverridden_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possibly incorrect assignment to local '{0}' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local..
/// </summary>
internal static string WRN_AssignmentToLockOrDispose {
get {
return ResourceManager.GetString("WRN_AssignmentToLockOrDispose", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possibly incorrect assignment to local which is the argument to a using or lock statement.
/// </summary>
internal static string WRN_AssignmentToLockOrDispose_Title {
get {
return ResourceManager.GetString("WRN_AssignmentToLockOrDispose_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assignment made to same variable; did you mean to assign something else?.
/// </summary>
internal static string WRN_AssignmentToSelf {
get {
return ResourceManager.GetString("WRN_AssignmentToSelf", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assignment made to same variable.
/// </summary>
internal static string WRN_AssignmentToSelf_Title {
get {
return ResourceManager.GetString("WRN_AssignmentToSelf_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread..
/// </summary>
internal static string WRN_AsyncLacksAwaits {
get {
return ResourceManager.GetString("WRN_AsyncLacksAwaits", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Async method lacks 'await' operators and will run synchronously.
/// </summary>
internal static string WRN_AsyncLacksAwaits_Title {
get {
return ResourceManager.GetString("WRN_AsyncLacksAwaits_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute '{0}' is ignored when public signing is specified..
/// </summary>
internal static string WRN_AttributeIgnoredWhenPublicSigning {
get {
return ResourceManager.GetString("WRN_AttributeIgnoredWhenPublicSigning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Attribute is ignored when public signing is specified..
/// </summary>
internal static string WRN_AttributeIgnoredWhenPublicSigning_Title {
get {
return ResourceManager.GetString("WRN_AttributeIgnoredWhenPublicSigning_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored..
/// </summary>
internal static string WRN_AttributeLocationOnBadDeclaration {
get {
return ResourceManager.GetString("WRN_AttributeLocationOnBadDeclaration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Not a valid attribute location for this declaration.
/// </summary>
internal static string WRN_AttributeLocationOnBadDeclaration_Title {
get {
return ResourceManager.GetString("WRN_AttributeLocationOnBadDeclaration_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible unintended reference comparison; to get a value comparison, cast the left hand side to type '{0}'.
/// </summary>
internal static string WRN_BadRefCompareLeft {
get {
return ResourceManager.GetString("WRN_BadRefCompareLeft", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible unintended reference comparison; left hand side needs cast.
/// </summary>
internal static string WRN_BadRefCompareLeft_Title {
get {
return ResourceManager.GetString("WRN_BadRefCompareLeft_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible unintended reference comparison; to get a value comparison, cast the right hand side to type '{0}'.
/// </summary>
internal static string WRN_BadRefCompareRight {
get {
return ResourceManager.GetString("WRN_BadRefCompareRight", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible unintended reference comparison; right hand side needs cast.
/// </summary>
internal static string WRN_BadRefCompareRight_Title {
get {
return ResourceManager.GetString("WRN_BadRefCompareRight_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot restore warning 'CS{0}' because it was disabled globally.
/// </summary>
internal static string WRN_BadRestoreNumber {
get {
return ResourceManager.GetString("WRN_BadRestoreNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot restore warning because it was disabled globally.
/// </summary>
internal static string WRN_BadRestoreNumber_Title {
get {
return ResourceManager.GetString("WRN_BadRestoreNumber_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The language name '{0}' is invalid..
/// </summary>
internal static string WRN_BadUILang {
get {
return ResourceManager.GetString("WRN_BadUILang", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The language name is invalid.
/// </summary>
internal static string WRN_BadUILang_Title {
get {
return ResourceManager.GetString("WRN_BadUILang_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a valid warning number.
/// </summary>
internal static string WRN_BadWarningNumber {
get {
return ResourceManager.GetString("WRN_BadWarningNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A number that was passed to the #pragma warning preprocessor directive was not a valid warning number. Verify that the number represents a warning, not an error..
/// </summary>
internal static string WRN_BadWarningNumber_Description {
get {
return ResourceManager.GetString("WRN_BadWarningNumber_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Not a valid warning number.
/// </summary>
internal static string WRN_BadWarningNumber_Title {
get {
return ResourceManager.GetString("WRN_BadWarningNumber_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has cref attribute '{0}' that could not be resolved.
/// </summary>
internal static string WRN_BadXMLRef {
get {
return ResourceManager.GetString("WRN_BadXMLRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has cref attribute that could not be resolved.
/// </summary>
internal static string WRN_BadXMLRef_Title {
get {
return ResourceManager.GetString("WRN_BadXMLRef_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid type for parameter {0} in XML comment cref attribute: '{1}'.
/// </summary>
internal static string WRN_BadXMLRefParamType {
get {
return ResourceManager.GetString("WRN_BadXMLRefParamType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid type for parameter in XML comment cref attribute.
/// </summary>
internal static string WRN_BadXMLRefParamType_Title {
get {
return ResourceManager.GetString("WRN_BadXMLRefParamType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid return type in XML comment cref attribute.
/// </summary>
internal static string WRN_BadXMLRefReturnType {
get {
return ResourceManager.GetString("WRN_BadXMLRefReturnType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid return type in XML comment cref attribute.
/// </summary>
internal static string WRN_BadXMLRefReturnType_Title {
get {
return ResourceManager.GetString("WRN_BadXMLRefReturnType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has syntactically incorrect cref attribute '{0}'.
/// </summary>
internal static string WRN_BadXMLRefSyntax {
get {
return ResourceManager.GetString("WRN_BadXMLRefSyntax", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has syntactically incorrect cref attribute.
/// </summary>
internal static string WRN_BadXMLRefSyntax_Title {
get {
return ResourceManager.GetString("WRN_BadXMLRefSyntax_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has cref attribute '{0}' that refers to a type parameter.
/// </summary>
internal static string WRN_BadXMLRefTypeVar {
get {
return ResourceManager.GetString("WRN_BadXMLRefTypeVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has cref attribute that refers to a type parameter.
/// </summary>
internal static string WRN_BadXMLRefTypeVar_Title {
get {
return ResourceManager.GetString("WRN_BadXMLRefTypeVar_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first.
/// </summary>
internal static string WRN_BitwiseOrSignExtend {
get {
return ResourceManager.GetString("WRN_BitwiseOrSignExtend", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The compiler implicitly widened and sign-extended a variable, and then used the resulting value in a bitwise OR operation. This can result in unexpected behavior..
/// </summary>
internal static string WRN_BitwiseOrSignExtend_Description {
get {
return ResourceManager.GetString("WRN_BitwiseOrSignExtend_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Bitwise-or operator used on a sign-extended operand.
/// </summary>
internal static string WRN_BitwiseOrSignExtend_Title {
get {
return ResourceManager.GetString("WRN_BitwiseOrSignExtend_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using '{0}' as a ref or out value or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class.
/// </summary>
internal static string WRN_ByRefNonAgileField {
get {
return ResourceManager.GetString("WRN_ByRefNonAgileField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using a field of a marshal-by-reference class as a ref or out value or taking its address may cause a runtime exception.
/// </summary>
internal static string WRN_ByRefNonAgileField_Title {
get {
return ResourceManager.GetString("WRN_ByRefNonAgileField_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Call System.IDisposable.Dispose() on allocated instance of {0} before all references to it are out of scope..
/// </summary>
internal static string WRN_CA2000_DisposeObjectsBeforeLosingScope1 {
get {
return ResourceManager.GetString("WRN_CA2000_DisposeObjectsBeforeLosingScope1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Call System.IDisposable.Dispose() on allocated instance before all references to it are out of scope.
/// </summary>
internal static string WRN_CA2000_DisposeObjectsBeforeLosingScope1_Title {
get {
return ResourceManager.GetString("WRN_CA2000_DisposeObjectsBeforeLosingScope1_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allocated instance of {0} is not disposed along all exception paths. Call System.IDisposable.Dispose() before all references to it are out of scope..
/// </summary>
internal static string WRN_CA2000_DisposeObjectsBeforeLosingScope2 {
get {
return ResourceManager.GetString("WRN_CA2000_DisposeObjectsBeforeLosingScope2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allocated instance is not disposed along all exception paths.
/// </summary>
internal static string WRN_CA2000_DisposeObjectsBeforeLosingScope2_Title {
get {
return ResourceManager.GetString("WRN_CA2000_DisposeObjectsBeforeLosingScope2_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Object '{0}' can be disposed more than once..
/// </summary>
internal static string WRN_CA2202_DoNotDisposeObjectsMultipleTimes {
get {
return ResourceManager.GetString("WRN_CA2202_DoNotDisposeObjectsMultipleTimes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Object can be disposed more than once.
/// </summary>
internal static string WRN_CA2202_DoNotDisposeObjectsMultipleTimes_Title {
get {
return ResourceManager.GetString("WRN_CA2202_DoNotDisposeObjectsMultipleTimes_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerFilePathAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerFilePathParamForUnconsumedLocation {
get {
return ResourceManager.GetString("WRN_CallerFilePathParamForUnconsumedLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerFilePathAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerFilePathParamForUnconsumedLocation_Title {
get {
return ResourceManager.GetString("WRN_CallerFilePathParamForUnconsumedLocation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute..
/// </summary>
internal static string WRN_CallerFilePathPreferredOverCallerMemberName {
get {
return ResourceManager.GetString("WRN_CallerFilePathPreferredOverCallerMemberName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute will have no effect; it is overridden by the CallerFilePathAttribute.
/// </summary>
internal static string WRN_CallerFilePathPreferredOverCallerMemberName_Title {
get {
return ResourceManager.GetString("WRN_CallerFilePathPreferredOverCallerMemberName_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerLineNumberAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerLineNumberParamForUnconsumedLocation {
get {
return ResourceManager.GetString("WRN_CallerLineNumberParamForUnconsumedLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerLineNumberAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerLineNumberParamForUnconsumedLocation_Title {
get {
return ResourceManager.GetString("WRN_CallerLineNumberParamForUnconsumedLocation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerFilePathAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute..
/// </summary>
internal static string WRN_CallerLineNumberPreferredOverCallerFilePath {
get {
return ResourceManager.GetString("WRN_CallerLineNumberPreferredOverCallerFilePath", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerFilePathAttribute will have no effect; it is overridden by the CallerLineNumberAttribute.
/// </summary>
internal static string WRN_CallerLineNumberPreferredOverCallerFilePath_Title {
get {
return ResourceManager.GetString("WRN_CallerLineNumberPreferredOverCallerFilePath_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute..
/// </summary>
internal static string WRN_CallerLineNumberPreferredOverCallerMemberName {
get {
return ResourceManager.GetString("WRN_CallerLineNumberPreferredOverCallerMemberName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute will have no effect; it is overridden by the CallerLineNumberAttribute.
/// </summary>
internal static string WRN_CallerLineNumberPreferredOverCallerMemberName_Title {
get {
return ResourceManager.GetString("WRN_CallerLineNumberPreferredOverCallerMemberName_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerMemberNameParamForUnconsumedLocation {
get {
return ResourceManager.GetString("WRN_CallerMemberNameParamForUnconsumedLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The CallerMemberNameAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_CallerMemberNameParamForUnconsumedLocation_Title {
get {
return ResourceManager.GetString("WRN_CallerMemberNameParamForUnconsumedLocation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Accessing a member on '{0}' may cause a runtime exception because it is a field of a marshal-by-reference class.
/// </summary>
internal static string WRN_CallOnNonAgileField {
get {
return ResourceManager.GetString("WRN_CallOnNonAgileField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning occurs when you try to call a method, property, or indexer on a member of a class that derives from MarshalByRefObject, and the member is a value type. Objects that inherit from MarshalByRefObject are typically intended to be marshaled by reference across an application domain. If any code ever attempts to directly access the value-type member of such an object across an application domain, a runtime exception will occur. To resolve the warning, first copy the member into a local variable and c [rest of string was truncated]";.
/// </summary>
internal static string WRN_CallOnNonAgileField_Description {
get {
return ResourceManager.GetString("WRN_CallOnNonAgileField_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Accessing a member on a field of a marshal-by-reference class may cause a runtime exception.
/// </summary>
internal static string WRN_CallOnNonAgileField_Title {
get {
return ResourceManager.GetString("WRN_CallOnNonAgileField_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignoring /win32manifest for module because it only applies to assemblies.
/// </summary>
internal static string WRN_CantHaveManifestForModule {
get {
return ResourceManager.GetString("WRN_CantHaveManifestForModule", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignoring /win32manifest for module because it only applies to assemblies.
/// </summary>
internal static string WRN_CantHaveManifestForModule_Title {
get {
return ResourceManager.GetString("WRN_CantHaveManifestForModule_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Arrays as attribute arguments is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_ArrayArgumentToAttribute {
get {
return ResourceManager.GetString("WRN_CLS_ArrayArgumentToAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Arrays as attribute arguments is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_ArrayArgumentToAttribute_Title {
get {
return ResourceManager.GetString("WRN_CLS_ArrayArgumentToAttribute_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute.
/// </summary>
internal static string WRN_CLS_AssemblyNotCLS {
get {
return ResourceManager.GetString("WRN_CLS_AssemblyNotCLS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type or member cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute.
/// </summary>
internal static string WRN_CLS_AssemblyNotCLS_Title {
get {
return ResourceManager.GetString("WRN_CLS_AssemblyNotCLS_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute.
/// </summary>
internal static string WRN_CLS_AssemblyNotCLS2 {
get {
return ResourceManager.GetString("WRN_CLS_AssemblyNotCLS2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute.
/// </summary>
internal static string WRN_CLS_AssemblyNotCLS2_Title {
get {
return ResourceManager.GetString("WRN_CLS_AssemblyNotCLS2_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument type '{0}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadArgType {
get {
return ResourceManager.GetString("WRN_CLS_BadArgType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Argument type is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadArgType_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadArgType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' has no accessible constructors which use only CLS-compliant types.
/// </summary>
internal static string WRN_CLS_BadAttributeType {
get {
return ResourceManager.GetString("WRN_CLS_BadAttributeType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type has no accessible constructors which use only CLS-compliant types.
/// </summary>
internal static string WRN_CLS_BadAttributeType_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadAttributeType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': base type '{1}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadBase {
get {
return ResourceManager.GetString("WRN_CLS_BadBase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A base type was marked as not having to be compliant with the Common Language Specification (CLS) in an assembly that was marked as being CLS compliant. Either remove the attribute that specifies the assembly is CLS compliant or remove the attribute that indicates the type is not CLS compliant..
/// </summary>
internal static string WRN_CLS_BadBase_Description {
get {
return ResourceManager.GetString("WRN_CLS_BadBase_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Base type is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadBase_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadBase_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type of '{0}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadFieldPropType {
get {
return ResourceManager.GetString("WRN_CLS_BadFieldPropType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A public, protected, or protected internal variable must be of a type that is compliant with the Common Language Specification (CLS)..
/// </summary>
internal static string WRN_CLS_BadFieldPropType_Description {
get {
return ResourceManager.GetString("WRN_CLS_BadFieldPropType_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadFieldPropType_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadFieldPropType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier '{0}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadIdentifier {
get {
return ResourceManager.GetString("WRN_CLS_BadIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadIdentifier_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadIdentifier_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier '{0}' differing only in case is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadIdentifierCase {
get {
return ResourceManager.GetString("WRN_CLS_BadIdentifierCase", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Identifier differing only in case is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadIdentifierCase_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadIdentifierCase_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not CLS-compliant because base interface '{1}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadInterface {
get {
return ResourceManager.GetString("WRN_CLS_BadInterface", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type is not CLS-compliant because base interface is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadInterface_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadInterface_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': CLS-compliant interfaces must have only CLS-compliant members.
/// </summary>
internal static string WRN_CLS_BadInterfaceMember {
get {
return ResourceManager.GetString("WRN_CLS_BadInterfaceMember", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLS-compliant interfaces must have only CLS-compliant members.
/// </summary>
internal static string WRN_CLS_BadInterfaceMember_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadInterfaceMember_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Return type of '{0}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadReturnType {
get {
return ResourceManager.GetString("WRN_CLS_BadReturnType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Return type is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadReturnType_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadReturnType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraint type '{0}' is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadTypeVar {
get {
return ResourceManager.GetString("WRN_CLS_BadTypeVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constraint type is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_BadTypeVar_Title {
get {
return ResourceManager.GetString("WRN_CLS_BadTypeVar_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type '{1}'.
/// </summary>
internal static string WRN_CLS_IllegalTrueInFalse {
get {
return ResourceManager.GetString("WRN_CLS_IllegalTrueInFalse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type.
/// </summary>
internal static string WRN_CLS_IllegalTrueInFalse_Title {
get {
return ResourceManager.GetString("WRN_CLS_IllegalTrueInFalse_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLSCompliant attribute has no meaning when applied to parameters. Try putting it on the method instead..
/// </summary>
internal static string WRN_CLS_MeaninglessOnParam {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnParam", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLSCompliant attribute has no meaning when applied to parameters.
/// </summary>
internal static string WRN_CLS_MeaninglessOnParam_Title {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnParam_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLS compliance checking will not be performed on '{0}' because it is not visible from outside this assembly.
/// </summary>
internal static string WRN_CLS_MeaninglessOnPrivateType {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnPrivateType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLS compliance checking will not be performed because it is not visible from outside this assembly.
/// </summary>
internal static string WRN_CLS_MeaninglessOnPrivateType_Title {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnPrivateType_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead..
/// </summary>
internal static string WRN_CLS_MeaninglessOnReturn {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnReturn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLSCompliant attribute has no meaning when applied to return types.
/// </summary>
internal static string WRN_CLS_MeaninglessOnReturn_Title {
get {
return ResourceManager.GetString("WRN_CLS_MeaninglessOnReturn_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Added modules must be marked with the CLSCompliant attribute to match the assembly.
/// </summary>
internal static string WRN_CLS_ModuleMissingCLS {
get {
return ResourceManager.GetString("WRN_CLS_ModuleMissingCLS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Added modules must be marked with the CLSCompliant attribute to match the assembly.
/// </summary>
internal static string WRN_CLS_ModuleMissingCLS_Title {
get {
return ResourceManager.GetString("WRN_CLS_ModuleMissingCLS_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': only CLS-compliant members can be abstract.
/// </summary>
internal static string WRN_CLS_NoAbstractMembers {
get {
return ResourceManager.GetString("WRN_CLS_NoAbstractMembers", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only CLS-compliant members can be abstract.
/// </summary>
internal static string WRN_CLS_NoAbstractMembers_Title {
get {
return ResourceManager.GetString("WRN_CLS_NoAbstractMembers_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking.
/// </summary>
internal static string WRN_CLS_NotOnModules {
get {
return ResourceManager.GetString("WRN_CLS_NotOnModules", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking.
/// </summary>
internal static string WRN_CLS_NotOnModules_Title {
get {
return ResourceManager.GetString("WRN_CLS_NotOnModules_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly.
/// </summary>
internal static string WRN_CLS_NotOnModules2 {
get {
return ResourceManager.GetString("WRN_CLS_NotOnModules2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly.
/// </summary>
internal static string WRN_CLS_NotOnModules2_Title {
get {
return ResourceManager.GetString("WRN_CLS_NotOnModules2_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Methods with variable arguments are not CLS-compliant.
/// </summary>
internal static string WRN_CLS_NoVarArgs {
get {
return ResourceManager.GetString("WRN_CLS_NoVarArgs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Methods with variable arguments are not CLS-compliant.
/// </summary>
internal static string WRN_CLS_NoVarArgs_Title {
get {
return ResourceManager.GetString("WRN_CLS_NoVarArgs_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded method '{0}' differing only in ref or out, or in array rank, is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_OverloadRefOut {
get {
return ResourceManager.GetString("WRN_CLS_OverloadRefOut", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded method differing only in ref or out, or in array rank, is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_OverloadRefOut_Title {
get {
return ResourceManager.GetString("WRN_CLS_OverloadRefOut_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded method '{0}' differing only by unnamed array types is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_OverloadUnnamed {
get {
return ResourceManager.GetString("WRN_CLS_OverloadUnnamed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This error occurs if you have an overloaded method that takes a jagged array and the only difference between the method signatures is the element type of the array. To avoid this error, consider using a rectangular array rather than a jagged array; use an additional parameter to disambiguate the function call; rename one or more of the overloaded methods; or, if CLS Compliance is not needed, remove the CLSCompliantAttribute attribute..
/// </summary>
internal static string WRN_CLS_OverloadUnnamed_Description {
get {
return ResourceManager.GetString("WRN_CLS_OverloadUnnamed_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Overloaded method differing only by unnamed array types is not CLS-compliant.
/// </summary>
internal static string WRN_CLS_OverloadUnnamed_Title {
get {
return ResourceManager.GetString("WRN_CLS_OverloadUnnamed_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLS-compliant field '{0}' cannot be volatile.
/// </summary>
internal static string WRN_CLS_VolatileField {
get {
return ResourceManager.GetString("WRN_CLS_VolatileField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CLS-compliant field cannot be volatile.
/// </summary>
internal static string WRN_CLS_VolatileField_Title {
get {
return ResourceManager.GetString("WRN_CLS_VolatileField_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Option '{0}' overrides attribute '{1}' given in a source file or added module.
/// </summary>
internal static string WRN_CmdOptionConflictsSource {
get {
return ResourceManager.GetString("WRN_CmdOptionConflictsSource", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning occurs if the assembly attributes AssemblyKeyFileAttribute or AssemblyKeyNameAttribute found in source conflict with the /keyfile or /keycontainer command line option or key file name or key container specified in the Project Properties..
/// </summary>
internal static string WRN_CmdOptionConflictsSource_Description {
get {
return ResourceManager.GetString("WRN_CmdOptionConflictsSource_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Option overrides attribute given in a source file or added module.
/// </summary>
internal static string WRN_CmdOptionConflictsSource_Title {
get {
return ResourceManager.GetString("WRN_CmdOptionConflictsSource_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparing with null of type '{0}' always produces 'false'.
/// </summary>
internal static string WRN_CmpAlwaysFalse {
get {
return ResourceManager.GetString("WRN_CmpAlwaysFalse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparing with null of struct type always produces 'false'.
/// </summary>
internal static string WRN_CmpAlwaysFalse_Title {
get {
return ResourceManager.GetString("WRN_CmpAlwaysFalse_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'.
/// </summary>
internal static string WRN_CoClassWithoutComImport {
get {
return ResourceManager.GetString("WRN_CoClassWithoutComImport", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'.
/// </summary>
internal static string WRN_CoClassWithoutComImport_Title {
get {
return ResourceManager.GetString("WRN_CoClassWithoutComImport_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparison made to same variable; did you mean to compare something else?.
/// </summary>
internal static string WRN_ComparisonToSelf {
get {
return ResourceManager.GetString("WRN_ComparisonToSelf", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparison made to same variable.
/// </summary>
internal static string WRN_ComparisonToSelf_Title {
get {
return ResourceManager.GetString("WRN_ComparisonToSelf_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Different checksum values given for '{0}'.
/// </summary>
internal static string WRN_ConflictingChecksum {
get {
return ResourceManager.GetString("WRN_ConflictingChecksum", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Different #pragma checksum values given.
/// </summary>
internal static string WRN_ConflictingChecksum_Title {
get {
return ResourceManager.GetString("WRN_ConflictingChecksum_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly '{0}' targets a different processor..
/// </summary>
internal static string WRN_ConflictingMachineAssembly {
get {
return ResourceManager.GetString("WRN_ConflictingMachineAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly targets a different processor.
/// </summary>
internal static string WRN_ConflictingMachineAssembly_Title {
get {
return ResourceManager.GetString("WRN_ConflictingMachineAssembly_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The fully qualified name for '{0}' is too long for debug information. Compile without '/debug' option..
/// </summary>
internal static string WRN_DebugFullNameTooLong {
get {
return ResourceManager.GetString("WRN_DebugFullNameTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fully qualified name is too long for debug information.
/// </summary>
internal static string WRN_DebugFullNameTooLong_Title {
get {
return ResourceManager.GetString("WRN_DebugFullNameTooLong_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The default value specified for parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_DefaultValueForUnconsumedLocation {
get {
return ResourceManager.GetString("WRN_DefaultValueForUnconsumedLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The default value specified will have no effect because it applies to a member that is used in contexts that do not allow optional arguments.
/// </summary>
internal static string WRN_DefaultValueForUnconsumedLocation_Title {
get {
return ResourceManager.GetString("WRN_DefaultValueForUnconsumedLocation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value for '/define'; '{0}' is not a valid identifier.
/// </summary>
internal static string WRN_DefineIdentifierRequired {
get {
return ResourceManager.GetString("WRN_DefineIdentifierRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid value for '/define'; not a valid identifier.
/// </summary>
internal static string WRN_DefineIdentifierRequired_Title {
get {
return ResourceManager.GetString("WRN_DefineIdentifierRequired_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delay signing was specified and requires a public key, but no public key was specified.
/// </summary>
internal static string WRN_DelaySignButNoKey {
get {
return ResourceManager.GetString("WRN_DelaySignButNoKey", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delay signing was specified and requires a public key, but no public key was specified.
/// </summary>
internal static string WRN_DelaySignButNoKey_Title {
get {
return ResourceManager.GetString("WRN_DelaySignButNoKey_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method '{0}' for the collection initializer element is obsolete..
/// </summary>
internal static string WRN_DeprecatedCollectionInitAdd {
get {
return ResourceManager.GetString("WRN_DeprecatedCollectionInitAdd", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method for the collection initializer element is obsolete.
/// </summary>
internal static string WRN_DeprecatedCollectionInitAdd_Title {
get {
return ResourceManager.GetString("WRN_DeprecatedCollectionInitAdd_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}.
/// </summary>
internal static string WRN_DeprecatedCollectionInitAddStr {
get {
return ResourceManager.GetString("WRN_DeprecatedCollectionInitAddStr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The best overloaded Add method for the collection initializer element is obsolete.
/// </summary>
internal static string WRN_DeprecatedCollectionInitAddStr_Title {
get {
return ResourceManager.GetString("WRN_DeprecatedCollectionInitAddStr_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is obsolete.
/// </summary>
internal static string WRN_DeprecatedSymbol {
get {
return ResourceManager.GetString("WRN_DeprecatedSymbol", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type or member is obsolete.
/// </summary>
internal static string WRN_DeprecatedSymbol_Title {
get {
return ResourceManager.GetString("WRN_DeprecatedSymbol_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is obsolete: '{1}'.
/// </summary>
internal static string WRN_DeprecatedSymbolStr {
get {
return ResourceManager.GetString("WRN_DeprecatedSymbolStr", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type or member is obsolete.
/// </summary>
internal static string WRN_DeprecatedSymbolStr_Title {
get {
return ResourceManager.GetString("WRN_DeprecatedSymbolStr_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression will always cause a System.NullReferenceException because the default value of '{0}' is null.
/// </summary>
internal static string WRN_DotOnDefault {
get {
return ResourceManager.GetString("WRN_DotOnDefault", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expression will always cause a System.NullReferenceException because the type's default value is null.
/// </summary>
internal static string WRN_DotOnDefault_Title {
get {
return ResourceManager.GetString("WRN_DotOnDefault_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a duplicate param tag for '{0}'.
/// </summary>
internal static string WRN_DuplicateParamTag {
get {
return ResourceManager.GetString("WRN_DuplicateParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a duplicate param tag.
/// </summary>
internal static string WRN_DuplicateParamTag_Title {
get {
return ResourceManager.GetString("WRN_DuplicateParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a duplicate typeparam tag for '{0}'.
/// </summary>
internal static string WRN_DuplicateTypeParamTag {
get {
return ResourceManager.GetString("WRN_DuplicateTypeParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a duplicate typeparam tag.
/// </summary>
internal static string WRN_DuplicateTypeParamTag_Title {
get {
return ResourceManager.GetString("WRN_DuplicateTypeParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The using directive for '{0}' appeared previously in this namespace.
/// </summary>
internal static string WRN_DuplicateUsing {
get {
return ResourceManager.GetString("WRN_DuplicateUsing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using directive appeared previously in this namespace.
/// </summary>
internal static string WRN_DuplicateUsing_Title {
get {
return ResourceManager.GetString("WRN_DuplicateUsing_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The dynamically dispatched call to method '{0}' may fail at runtime because one or more applicable overloads are conditional methods..
/// </summary>
internal static string WRN_DynamicDispatchToConditionalMethod {
get {
return ResourceManager.GetString("WRN_DynamicDispatchToConditionalMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Dynamically dispatched call may fail at runtime because one or more applicable overloads are conditional methods.
/// </summary>
internal static string WRN_DynamicDispatchToConditionalMethod_Title {
get {
return ResourceManager.GetString("WRN_DynamicDispatchToConditionalMethod_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty switch block.
/// </summary>
internal static string WRN_EmptySwitch {
get {
return ResourceManager.GetString("WRN_EmptySwitch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Empty switch block.
/// </summary>
internal static string WRN_EmptySwitch_Title {
get {
return ResourceManager.GetString("WRN_EmptySwitch_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Single-line comment or end-of-line expected.
/// </summary>
internal static string WRN_EndOfPPLineExpected {
get {
return ResourceManager.GetString("WRN_EndOfPPLineExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Single-line comment or end-of-line expected after #pragma directive.
/// </summary>
internal static string WRN_EndOfPPLineExpected_Title {
get {
return ResourceManager.GetString("WRN_EndOfPPLineExpected_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' defines operator == or operator != but does not override Object.Equals(object o).
/// </summary>
internal static string WRN_EqualityOpWithoutEquals {
get {
return ResourceManager.GetString("WRN_EqualityOpWithoutEquals", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type defines operator == or operator != but does not override Object.Equals(object o).
/// </summary>
internal static string WRN_EqualityOpWithoutEquals_Title {
get {
return ResourceManager.GetString("WRN_EqualityOpWithoutEquals_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' defines operator == or operator != but does not override Object.GetHashCode().
/// </summary>
internal static string WRN_EqualityOpWithoutGetHashCode {
get {
return ResourceManager.GetString("WRN_EqualityOpWithoutGetHashCode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type defines operator == or operator != but does not override Object.GetHashCode().
/// </summary>
internal static string WRN_EqualityOpWithoutGetHashCode_Title {
get {
return ResourceManager.GetString("WRN_EqualityOpWithoutGetHashCode_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' overrides Object.Equals(object o) but does not override Object.GetHashCode().
/// </summary>
internal static string WRN_EqualsWithoutGetHashCode {
get {
return ResourceManager.GetString("WRN_EqualsWithoutGetHashCode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type overrides Object.Equals(object o) but does not override Object.GetHashCode().
/// </summary>
internal static string WRN_EqualsWithoutGetHashCode_Title {
get {
return ResourceManager.GetString("WRN_EqualsWithoutGetHashCode_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0}. See also error CS{1}..
/// </summary>
internal static string WRN_ErrorOverride {
get {
return ResourceManager.GetString("WRN_ErrorOverride", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The compiler emits this warning when it overrides an error with a warning. For information about the problem, search for the error code mentioned..
/// </summary>
internal static string WRN_ErrorOverride_Description {
get {
return ResourceManager.GetString("WRN_ErrorOverride_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Warning is overriding an error.
/// </summary>
internal static string WRN_ErrorOverride_Title {
get {
return ResourceManager.GetString("WRN_ErrorOverride_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Explicit interface implementation '{0}' matches more than one interface member. Which interface member is actually chosen is implementation-dependent. Consider using a non-explicit implementation instead..
/// </summary>
internal static string WRN_ExplicitImplCollision {
get {
return ResourceManager.GetString("WRN_ExplicitImplCollision", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Explicit interface implementation matches more than one interface member.
/// </summary>
internal static string WRN_ExplicitImplCollision_Title {
get {
return ResourceManager.GetString("WRN_ExplicitImplCollision_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constructor '{0}' is marked external.
/// </summary>
internal static string WRN_ExternCtorNoImplementation {
get {
return ResourceManager.GetString("WRN_ExternCtorNoImplementation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Constructor is marked external.
/// </summary>
internal static string WRN_ExternCtorNoImplementation_Title {
get {
return ResourceManager.GetString("WRN_ExternCtorNoImplementation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method, operator, or accessor '{0}' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation..
/// </summary>
internal static string WRN_ExternMethodNoImplementation {
get {
return ResourceManager.GetString("WRN_ExternMethodNoImplementation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method, operator, or accessor is marked external and has no attributes on it.
/// </summary>
internal static string WRN_ExternMethodNoImplementation_Title {
get {
return ResourceManager.GetString("WRN_ExternMethodNoImplementation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to include XML fragment '{1}' of file '{0}' -- {2}.
/// </summary>
internal static string WRN_FailedInclude {
get {
return ResourceManager.GetString("WRN_FailedInclude", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to include XML fragment.
/// </summary>
internal static string WRN_FailedInclude_Title {
get {
return ResourceManager.GetString("WRN_FailedInclude_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file '{0}' specified multiple times.
/// </summary>
internal static string WRN_FileAlreadyIncluded {
get {
return ResourceManager.GetString("WRN_FileAlreadyIncluded", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file specified multiple times.
/// </summary>
internal static string WRN_FileAlreadyIncluded_Title {
get {
return ResourceManager.GetString("WRN_FileAlreadyIncluded_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid filename specified for preprocessor directive. Filename is too long or not a valid filename..
/// </summary>
internal static string WRN_FileNameTooLong {
get {
return ResourceManager.GetString("WRN_FileNameTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid filename specified for preprocessor directive.
/// </summary>
internal static string WRN_FileNameTooLong_Title {
get {
return ResourceManager.GetString("WRN_FileNameTooLong_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Filter expression is a constant, consider removing the filter.
/// </summary>
internal static string WRN_FilterIsConstant {
get {
return ResourceManager.GetString("WRN_FilterIsConstant", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Filter expression is a constant.
/// </summary>
internal static string WRN_FilterIsConstant_Title {
get {
return ResourceManager.GetString("WRN_FilterIsConstant_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Introducing a 'Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?.
/// </summary>
internal static string WRN_FinalizeMethod {
get {
return ResourceManager.GetString("WRN_FinalizeMethod", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning occurs when you create a class with a method whose signature is public virtual void Finalize.
///
///If such a class is used as a base class and if the deriving class defines a destructor, the destructor will override the base class Finalize method, not Finalize..
/// </summary>
internal static string WRN_FinalizeMethod_Description {
get {
return ResourceManager.GetString("WRN_FinalizeMethod_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Introducing a 'Finalize' method can interfere with destructor invocation.
/// </summary>
internal static string WRN_FinalizeMethod_Title {
get {
return ResourceManager.GetString("WRN_FinalizeMethod_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Defining an alias named 'global' is ill-advised since 'global::' always references the global namespace and not an alias.
/// </summary>
internal static string WRN_GlobalAliasDefn {
get {
return ResourceManager.GetString("WRN_GlobalAliasDefn", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Defining an alias named 'global' is ill-advised.
/// </summary>
internal static string WRN_GlobalAliasDefn_Title {
get {
return ResourceManager.GetString("WRN_GlobalAliasDefn_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'goto case' value is not implicitly convertible to type '{0}'.
/// </summary>
internal static string WRN_GotoCaseShouldConvert {
get {
return ResourceManager.GetString("WRN_GotoCaseShouldConvert", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'goto case' value is not implicitly convertible to the switch type.
/// </summary>
internal static string WRN_GotoCaseShouldConvert_Title {
get {
return ResourceManager.GetString("WRN_GotoCaseShouldConvert_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected identifier or numeric literal..
/// </summary>
internal static string WRN_IdentifierOrNumericLiteralExpected {
get {
return ResourceManager.GetString("WRN_IdentifierOrNumericLiteralExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected identifier or numeric literal.
/// </summary>
internal static string WRN_IdentifierOrNumericLiteralExpected_Title {
get {
return ResourceManager.GetString("WRN_IdentifierOrNumericLiteralExpected_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid #pragma checksum syntax; should be #pragma checksum "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX...".
/// </summary>
internal static string WRN_IllegalPPChecksum {
get {
return ResourceManager.GetString("WRN_IllegalPPChecksum", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid #pragma checksum syntax.
/// </summary>
internal static string WRN_IllegalPPChecksum_Title {
get {
return ResourceManager.GetString("WRN_IllegalPPChecksum_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected disable or restore.
/// </summary>
internal static string WRN_IllegalPPWarning {
get {
return ResourceManager.GetString("WRN_IllegalPPWarning", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected disable or restore after #pragma warning.
/// </summary>
internal static string WRN_IllegalPPWarning_Title {
get {
return ResourceManager.GetString("WRN_IllegalPPWarning_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unrecognized #pragma directive.
/// </summary>
internal static string WRN_IllegalPragma {
get {
return ResourceManager.GetString("WRN_IllegalPragma", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unrecognized #pragma directive.
/// </summary>
internal static string WRN_IllegalPragma_Title {
get {
return ResourceManager.GetString("WRN_IllegalPragma_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assignment in conditional expression is always constant; did you mean to use == instead of = ?.
/// </summary>
internal static string WRN_IncorrectBooleanAssg {
get {
return ResourceManager.GetString("WRN_IncorrectBooleanAssg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assignment in conditional expression is always constant.
/// </summary>
internal static string WRN_IncorrectBooleanAssg_Title {
get {
return ResourceManager.GetString("WRN_IncorrectBooleanAssg_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly reference '{0}' is invalid and cannot be resolved.
/// </summary>
internal static string WRN_InvalidAssemblyName {
get {
return ResourceManager.GetString("WRN_InvalidAssemblyName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning indicates that an attribute, such as InternalsVisibleToAttribute, was not specified correctly..
/// </summary>
internal static string WRN_InvalidAssemblyName_Description {
get {
return ResourceManager.GetString("WRN_InvalidAssemblyName_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly reference is invalid and cannot be resolved.
/// </summary>
internal static string WRN_InvalidAssemblyName_Title {
get {
return ResourceManager.GetString("WRN_InvalidAssemblyName_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' is not a recognized attribute location. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored..
/// </summary>
internal static string WRN_InvalidAttributeLocation {
get {
return ResourceManager.GetString("WRN_InvalidAttributeLocation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Not a recognized attribute location.
/// </summary>
internal static string WRN_InvalidAttributeLocation_Title {
get {
return ResourceManager.GetString("WRN_InvalidAttributeLocation_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid XML include element -- {0}.
/// </summary>
internal static string WRN_InvalidInclude {
get {
return ResourceManager.GetString("WRN_InvalidInclude", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid XML include element.
/// </summary>
internal static string WRN_InvalidInclude_Title {
get {
return ResourceManager.GetString("WRN_InvalidInclude_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' has the wrong signature to be an entry point.
/// </summary>
internal static string WRN_InvalidMainSig {
get {
return ResourceManager.GetString("WRN_InvalidMainSig", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Method has the wrong signature to be an entry point.
/// </summary>
internal static string WRN_InvalidMainSig_Title {
get {
return ResourceManager.GetString("WRN_InvalidMainSig_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid number.
/// </summary>
internal static string WRN_InvalidNumber {
get {
return ResourceManager.GetString("WRN_InvalidNumber", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid number.
/// </summary>
internal static string WRN_InvalidNumber_Title {
get {
return ResourceManager.GetString("WRN_InvalidNumber_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid search path '{0}' specified in '{1}' -- '{2}'.
/// </summary>
internal static string WRN_InvalidSearchPathDir {
get {
return ResourceManager.GetString("WRN_InvalidSearchPathDir", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid search path specified.
/// </summary>
internal static string WRN_InvalidSearchPathDir_Title {
get {
return ResourceManager.GetString("WRN_InvalidSearchPathDir_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified version string does not conform to the recommended format - major.minor.build.revision.
/// </summary>
internal static string WRN_InvalidVersionFormat {
get {
return ResourceManager.GetString("WRN_InvalidVersionFormat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The specified version string does not conform to the recommended format - major.minor.build.revision.
/// </summary>
internal static string WRN_InvalidVersionFormat_Title {
get {
return ResourceManager.GetString("WRN_InvalidVersionFormat_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The given expression is never of the provided ('{0}') type.
/// </summary>
internal static string WRN_IsAlwaysFalse {
get {
return ResourceManager.GetString("WRN_IsAlwaysFalse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'is' expression's given expression is never of the provided type.
/// </summary>
internal static string WRN_IsAlwaysFalse_Title {
get {
return ResourceManager.GetString("WRN_IsAlwaysFalse_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The given expression is always of the provided ('{0}') type.
/// </summary>
internal static string WRN_IsAlwaysTrue {
get {
return ResourceManager.GetString("WRN_IsAlwaysTrue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 'is' expression's given expression is always of the provided type.
/// </summary>
internal static string WRN_IsAlwaysTrue_Title {
get {
return ResourceManager.GetString("WRN_IsAlwaysTrue_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using '{0}' to test compatibility with '{1}' is essentially identical to testing compatibility with '{2}' and will succeed for all non-null values.
/// </summary>
internal static string WRN_IsDynamicIsConfusing {
get {
return ResourceManager.GetString("WRN_IsDynamicIsConfusing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using 'is' to test compatibility with 'dynamic' is essentially identical to testing compatibility with 'Object'.
/// </summary>
internal static string WRN_IsDynamicIsConfusing_Title {
get {
return ResourceManager.GetString("WRN_IsDynamicIsConfusing_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity.
/// </summary>
internal static string WRN_LowercaseEllSuffix {
get {
return ResourceManager.GetString("WRN_LowercaseEllSuffix", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The 'l' suffix is easily confused with the digit '1'.
/// </summary>
internal static string WRN_LowercaseEllSuffix_Title {
get {
return ResourceManager.GetString("WRN_LowercaseEllSuffix_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': an entry point cannot be generic or in a generic type.
/// </summary>
internal static string WRN_MainCantBeGeneric {
get {
return ResourceManager.GetString("WRN_MainCantBeGeneric", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An entry point cannot be generic or in a generic type.
/// </summary>
internal static string WRN_MainCantBeGeneric_Title {
get {
return ResourceManager.GetString("WRN_MainCantBeGeneric_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The entry point of the program is global script code; ignoring '{0}' entry point..
/// </summary>
internal static string WRN_MainIgnored {
get {
return ResourceManager.GetString("WRN_MainIgnored", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The entry point of the program is global script code; ignoring entry point.
/// </summary>
internal static string WRN_MainIgnored_Title {
get {
return ResourceManager.GetString("WRN_MainIgnored_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter '{0}' has no matching param tag in the XML comment for '{1}' (but other parameters do).
/// </summary>
internal static string WRN_MissingParamTag {
get {
return ResourceManager.GetString("WRN_MissingParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parameter has no matching param tag in the XML comment (but other parameters do).
/// </summary>
internal static string WRN_MissingParamTag_Title {
get {
return ResourceManager.GetString("WRN_MissingParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter '{0}' has no matching typeparam tag in the XML comment on '{1}' (but other type parameters do).
/// </summary>
internal static string WRN_MissingTypeParamTag {
get {
return ResourceManager.GetString("WRN_MissingTypeParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter has no matching typeparam tag in the XML comment (but other type parameters do).
/// </summary>
internal static string WRN_MissingTypeParamTag_Title {
get {
return ResourceManager.GetString("WRN_MissingTypeParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing XML comment for publicly visible type or member '{0}'.
/// </summary>
internal static string WRN_MissingXMLComment {
get {
return ResourceManager.GetString("WRN_MissingXMLComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The /doc compiler option was specified, but one or more constructs did not have comments..
/// </summary>
internal static string WRN_MissingXMLComment_Description {
get {
return ResourceManager.GetString("WRN_MissingXMLComment_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing XML comment for publicly visible type or member.
/// </summary>
internal static string WRN_MissingXMLComment_Title {
get {
return ResourceManager.GetString("WRN_MissingXMLComment_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The predefined type '{0}' is defined in multiple assemblies in the global alias; using definition from '{1}'.
/// </summary>
internal static string WRN_MultiplePredefTypes {
get {
return ResourceManager.GetString("WRN_MultiplePredefTypes", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This error occurs when a predefined system type such as System.Int32 is found in two assemblies. One way this can happen is if you are referencing mscorlib or System.Runtime.dll from two different places, such as trying to run two versions of the .NET Framework side-by-side..
/// </summary>
internal static string WRN_MultiplePredefTypes_Description {
get {
return ResourceManager.GetString("WRN_MultiplePredefTypes_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Predefined type is defined in multiple assemblies in the global alias.
/// </summary>
internal static string WRN_MultiplePredefTypes_Title {
get {
return ResourceManager.GetString("WRN_MultiplePredefTypes_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' implements interface member '{1}' in type '{2}'. There are multiple matches for the interface member at run-time. It is implementation dependent which method will be called..
/// </summary>
internal static string WRN_MultipleRuntimeImplementationMatches {
get {
return ResourceManager.GetString("WRN_MultipleRuntimeImplementationMatches", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning can be generated when two interface methods are differentiated only by whether a particular parameter is marked with ref or with out. It is best to change your code to avoid this warning because it is not obvious or guaranteed which method is called at runtime.
///
///Although C# distinguishes between out and ref, the CLR sees them as the same. When deciding which method implements the interface, the CLR just picks one.
///
///Give the compiler some way to differentiate the methods. For example, you ca [rest of string was truncated]";.
/// </summary>
internal static string WRN_MultipleRuntimeImplementationMatches_Description {
get {
return ResourceManager.GetString("WRN_MultipleRuntimeImplementationMatches_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member implements interface member with multiple matches at run-time.
/// </summary>
internal static string WRN_MultipleRuntimeImplementationMatches_Title {
get {
return ResourceManager.GetString("WRN_MultipleRuntimeImplementationMatches_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{1}' overrides '{0}'. There are multiple override candidates at run-time. It is implementation dependent which method will be called..
/// </summary>
internal static string WRN_MultipleRuntimeOverrideMatches {
get {
return ResourceManager.GetString("WRN_MultipleRuntimeOverrideMatches", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member overrides base member with multiple override candidates at run-time.
/// </summary>
internal static string WRN_MultipleRuntimeOverrideMatches_Title {
get {
return ResourceManager.GetString("WRN_MultipleRuntimeOverrideMatches_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexing an array with a negative index (array indices always start at zero).
/// </summary>
internal static string WRN_NegativeArrayIndex {
get {
return ResourceManager.GetString("WRN_NegativeArrayIndex", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Indexing an array with a negative index.
/// </summary>
internal static string WRN_NegativeArrayIndex_Title {
get {
return ResourceManager.GetString("WRN_NegativeArrayIndex_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The member '{0}' does not hide an inherited member. The new keyword is not required..
/// </summary>
internal static string WRN_NewNotRequired {
get {
return ResourceManager.GetString("WRN_NewNotRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member does not hide an inherited member; new keyword is not required.
/// </summary>
internal static string WRN_NewNotRequired_Title {
get {
return ResourceManager.GetString("WRN_NewNotRequired_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' hides inherited member '{1}'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword..
/// </summary>
internal static string WRN_NewOrOverrideExpected {
get {
return ResourceManager.GetString("WRN_NewOrOverrideExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member hides inherited member; missing override keyword.
/// </summary>
internal static string WRN_NewOrOverrideExpected_Title {
get {
return ResourceManager.GetString("WRN_NewOrOverrideExpected_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' hides inherited member '{1}'. Use the new keyword if hiding was intended..
/// </summary>
internal static string WRN_NewRequired {
get {
return ResourceManager.GetString("WRN_NewRequired", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A variable was declared with the same name as a variable in a base class. However, the new keyword was not used. This warning informs you that you should use new; the variable is declared as if new had been used in the declaration..
/// </summary>
internal static string WRN_NewRequired_Description {
get {
return ResourceManager.GetString("WRN_NewRequired_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member hides inherited member; missing new keyword.
/// </summary>
internal static string WRN_NewRequired_Title {
get {
return ResourceManager.GetString("WRN_NewRequired_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The assembly {0} does not contain any analyzers..
/// </summary>
internal static string WRN_NoAnalyzerInAssembly {
get {
return ResourceManager.GetString("WRN_NoAnalyzerInAssembly", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assembly does not contain any analyzers.
/// </summary>
internal static string WRN_NoAnalyzerInAssembly_Title {
get {
return ResourceManager.GetString("WRN_NoAnalyzerInAssembly_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignoring /noconfig option because it was specified in a response file.
/// </summary>
internal static string WRN_NoConfigNotOnCommandLine {
get {
return ResourceManager.GetString("WRN_NoConfigNotOnCommandLine", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ignoring /noconfig option because it was specified in a response file.
/// </summary>
internal static string WRN_NoConfigNotOnCommandLine_Title {
get {
return ResourceManager.GetString("WRN_NoConfigNotOnCommandLine_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature '{0}' is not part of the standardized ISO C# language specification, and may not be accepted by other compilers.
/// </summary>
internal static string WRN_NonECMAFeature {
get {
return ResourceManager.GetString("WRN_NonECMAFeature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Feature is not part of the standardized ISO C# language specification, and may not be accepted by other compilers.
/// </summary>
internal static string WRN_NonECMAFeature_Title {
get {
return ResourceManager.GetString("WRN_NonECMAFeature_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member '{0}' overrides obsolete member '{1}'. Add the Obsolete attribute to '{0}'..
/// </summary>
internal static string WRN_NonObsoleteOverridingObsolete {
get {
return ResourceManager.GetString("WRN_NonObsoleteOverridingObsolete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Member overrides obsolete member.
/// </summary>
internal static string WRN_NonObsoleteOverridingObsolete_Title {
get {
return ResourceManager.GetString("WRN_NonObsoleteOverridingObsolete_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No value for RuntimeMetadataVersion found. No assembly containing System.Object was found nor was a value for RuntimeMetadataVersion specified through options..
/// </summary>
internal static string WRN_NoRuntimeMetadataVersion {
get {
return ResourceManager.GetString("WRN_NoRuntimeMetadataVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No value for RuntimeMetadataVersion found.
/// </summary>
internal static string WRN_NoRuntimeMetadataVersion_Title {
get {
return ResourceManager.GetString("WRN_NoRuntimeMetadataVersion_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No source files specified..
/// </summary>
internal static string WRN_NoSources {
get {
return ResourceManager.GetString("WRN_NoSources", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No source files specified.
/// </summary>
internal static string WRN_NoSources_Title {
get {
return ResourceManager.GetString("WRN_NoSources_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'.
/// </summary>
internal static string WRN_NubExprIsConstBool {
get {
return ResourceManager.GetString("WRN_NubExprIsConstBool", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always the same since a value of this type is never equal to 'null'.
/// </summary>
internal static string WRN_NubExprIsConstBool_Title {
get {
return ResourceManager.GetString("WRN_NubExprIsConstBool_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'.
/// </summary>
internal static string WRN_NubExprIsConstBool2 {
get {
return ResourceManager.GetString("WRN_NubExprIsConstBool2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The result of the expression is always the same since a value of this type is never equal to 'null'.
/// </summary>
internal static string WRN_NubExprIsConstBool2_Title {
get {
return ResourceManager.GetString("WRN_NubExprIsConstBool2_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Obsolete member '{0}' overrides non-obsolete member '{1}'.
/// </summary>
internal static string WRN_ObsoleteOverridingNonObsolete {
get {
return ResourceManager.GetString("WRN_ObsoleteOverridingNonObsolete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Obsolete member overrides non-obsolete member.
/// </summary>
internal static string WRN_ObsoleteOverridingNonObsolete_Title {
get {
return ResourceManager.GetString("WRN_ObsoleteOverridingNonObsolete_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement the '{1}' pattern. '{2}' has the wrong signature..
/// </summary>
internal static string WRN_PatternBadSignature {
get {
return ResourceManager.GetString("WRN_PatternBadSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type does not implement the collection pattern; member has the wrong signature.
/// </summary>
internal static string WRN_PatternBadSignature_Title {
get {
return ResourceManager.GetString("WRN_PatternBadSignature_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement the '{1}' pattern. '{2}' is ambiguous with '{3}'..
/// </summary>
internal static string WRN_PatternIsAmbiguous {
get {
return ResourceManager.GetString("WRN_PatternIsAmbiguous", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type does not implement the collection pattern; members are ambiguous.
/// </summary>
internal static string WRN_PatternIsAmbiguous_Title {
get {
return ResourceManager.GetString("WRN_PatternIsAmbiguous_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}' does not implement the '{1}' pattern. '{2}' is either static or not public..
/// </summary>
internal static string WRN_PatternStaticOrInaccessible {
get {
return ResourceManager.GetString("WRN_PatternStaticOrInaccessible", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type does not implement the collection pattern; member is either static or not public.
/// </summary>
internal static string WRN_PatternStaticOrInaccessible_Title {
get {
return ResourceManager.GetString("WRN_PatternStaticOrInaccessible_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Local name '{0}' is too long for PDB. Consider shortening or compiling without /debug..
/// </summary>
internal static string WRN_PdbLocalNameTooLong {
get {
return ResourceManager.GetString("WRN_PdbLocalNameTooLong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Local name is too long for PDB.
/// </summary>
internal static string WRN_PdbLocalNameTooLong_Title {
get {
return ResourceManager.GetString("WRN_PdbLocalNameTooLong_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible mistaken empty statement.
/// </summary>
internal static string WRN_PossibleMistakenNullStatement {
get {
return ResourceManager.GetString("WRN_PossibleMistakenNullStatement", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Possible mistaken empty statement.
/// </summary>
internal static string WRN_PossibleMistakenNullStatement_Title {
get {
return ResourceManager.GetString("WRN_PossibleMistakenNullStatement_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': new protected member declared in sealed class.
/// </summary>
internal static string WRN_ProtectedInSealed {
get {
return ResourceManager.GetString("WRN_ProtectedInSealed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New protected member declared in sealed class.
/// </summary>
internal static string WRN_ProtectedInSealed_Title {
get {
return ResourceManager.GetString("WRN_ProtectedInSealed_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly '{0}' has different culture setting of '{1}'..
/// </summary>
internal static string WRN_RefCultureMismatch {
get {
return ResourceManager.GetString("WRN_RefCultureMismatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly has different culture setting.
/// </summary>
internal static string WRN_RefCultureMismatch_Title {
get {
return ResourceManager.GetString("WRN_RefCultureMismatch_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly '{0}' does not have a strong name..
/// </summary>
internal static string WRN_ReferencedAssemblyDoesNotHaveStrongName {
get {
return ResourceManager.GetString("WRN_ReferencedAssemblyDoesNotHaveStrongName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Referenced assembly does not have a strong name.
/// </summary>
internal static string WRN_ReferencedAssemblyDoesNotHaveStrongName_Title {
get {
return ResourceManager.GetString("WRN_ReferencedAssemblyDoesNotHaveStrongName_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A reference was created to embedded interop assembly '{0}' because of an indirect reference to that assembly created by assembly '{1}'. Consider changing the 'Embed Interop Types' property on either assembly..
/// </summary>
internal static string WRN_ReferencedAssemblyReferencesLinkedPIA {
get {
return ResourceManager.GetString("WRN_ReferencedAssemblyReferencesLinkedPIA", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You have added a reference to an assembly using /link (Embed Interop Types property set to True). This instructs the compiler to embed interop type information from that assembly. However, the compiler cannot embed interop type information from that assembly because another assembly that you have referenced also references that assembly using /reference (Embed Interop Types property set to False).
///
///To embed interop type information for both assemblies, use /link for references to each assembly (set the Em [rest of string was truncated]";.
/// </summary>
internal static string WRN_ReferencedAssemblyReferencesLinkedPIA_Description {
get {
return ResourceManager.GetString("WRN_ReferencedAssemblyReferencesLinkedPIA_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A reference was created to embedded interop assembly because of an indirect assembly reference.
/// </summary>
internal static string WRN_ReferencedAssemblyReferencesLinkedPIA_Title {
get {
return ResourceManager.GetString("WRN_ReferencedAssemblyReferencesLinkedPIA_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the type defined in '{0}'..
/// </summary>
internal static string WRN_SameFullNameThisAggAgg {
get {
return ResourceManager.GetString("WRN_SameFullNameThisAggAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type conflicts with imported type.
/// </summary>
internal static string WRN_SameFullNameThisAggAgg_Title {
get {
return ResourceManager.GetString("WRN_SameFullNameThisAggAgg_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The type '{1}' in '{0}' conflicts with the imported namespace '{3}' in '{2}'. Using the type defined in '{0}'..
/// </summary>
internal static string WRN_SameFullNameThisAggNs {
get {
return ResourceManager.GetString("WRN_SameFullNameThisAggNs", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type conflicts with imported namespace.
/// </summary>
internal static string WRN_SameFullNameThisAggNs_Title {
get {
return ResourceManager.GetString("WRN_SameFullNameThisAggNs_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The namespace '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the namespace defined in '{0}'..
/// </summary>
internal static string WRN_SameFullNameThisNsAgg {
get {
return ResourceManager.GetString("WRN_SameFullNameThisNsAgg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Namespace conflicts with imported type.
/// </summary>
internal static string WRN_SameFullNameThisNsAgg_Title {
get {
return ResourceManager.GetString("WRN_SameFullNameThisNsAgg_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There is no defined ordering between fields in multiple declarations of partial struct '{0}'. To specify an ordering, all instance fields must be in the same declaration..
/// </summary>
internal static string WRN_SequentialOnPartialClass {
get {
return ResourceManager.GetString("WRN_SequentialOnPartialClass", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to There is no defined ordering between fields in multiple declarations of partial struct.
/// </summary>
internal static string WRN_SequentialOnPartialClass_Title {
get {
return ResourceManager.GetString("WRN_SequentialOnPartialClass_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect.
/// </summary>
internal static string WRN_TooManyLinesForDebugger {
get {
return ResourceManager.GetString("WRN_TooManyLinesForDebugger", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect.
/// </summary>
internal static string WRN_TooManyLinesForDebugger_Title {
get {
return ResourceManager.GetString("WRN_TooManyLinesForDebugger_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter '{0}' has the same name as the type parameter from outer type '{1}'.
/// </summary>
internal static string WRN_TypeParameterSameAsOuterTypeParameter {
get {
return ResourceManager.GetString("WRN_TypeParameterSameAsOuterTypeParameter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type parameter has the same name as the type parameter from outer type.
/// </summary>
internal static string WRN_TypeParameterSameAsOuterTypeParameter_Title {
get {
return ResourceManager.GetString("WRN_TypeParameterSameAsOuterTypeParameter_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to load Analyzer assembly {0} : {1}.
/// </summary>
internal static string WRN_UnableToLoadAnalyzer {
get {
return ResourceManager.GetString("WRN_UnableToLoadAnalyzer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to load Analyzer assembly.
/// </summary>
internal static string WRN_UnableToLoadAnalyzer_Title {
get {
return ResourceManager.GetString("WRN_UnableToLoadAnalyzer_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field '{0}' is never assigned to, and will always have its default value {1}.
/// </summary>
internal static string WRN_UnassignedInternalField {
get {
return ResourceManager.GetString("WRN_UnassignedInternalField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field is never assigned to, and will always have its default value.
/// </summary>
internal static string WRN_UnassignedInternalField_Title {
get {
return ResourceManager.GetString("WRN_UnassignedInternalField_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy.
/// </summary>
internal static string WRN_UnifyReferenceBldRev {
get {
return ResourceManager.GetString("WRN_UnifyReferenceBldRev", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly..
/// </summary>
internal static string WRN_UnifyReferenceBldRev_Description {
get {
return ResourceManager.GetString("WRN_UnifyReferenceBldRev_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assuming assembly reference matches identity.
/// </summary>
internal static string WRN_UnifyReferenceBldRev_Title {
get {
return ResourceManager.GetString("WRN_UnifyReferenceBldRev_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy.
/// </summary>
internal static string WRN_UnifyReferenceMajMin {
get {
return ResourceManager.GetString("WRN_UnifyReferenceMajMin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly..
/// </summary>
internal static string WRN_UnifyReferenceMajMin_Description {
get {
return ResourceManager.GetString("WRN_UnifyReferenceMajMin_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Assuming assembly reference matches identity.
/// </summary>
internal static string WRN_UnifyReferenceMajMin_Title {
get {
return ResourceManager.GetString("WRN_UnifyReferenceMajMin_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The command line switch '{0}' is not yet implemented and was ignored..
/// </summary>
internal static string WRN_UnimplementedCommandLineSwitch {
get {
return ResourceManager.GetString("WRN_UnimplementedCommandLineSwitch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Command line switch is not yet implemented.
/// </summary>
internal static string WRN_UnimplementedCommandLineSwitch_Title {
get {
return ResourceManager.GetString("WRN_UnimplementedCommandLineSwitch_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment on '{1}' has a paramref tag for '{0}', but there is no parameter by that name.
/// </summary>
internal static string WRN_UnmatchedParamRefTag {
get {
return ResourceManager.GetString("WRN_UnmatchedParamRefTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a paramref tag, but there is no parameter by that name.
/// </summary>
internal static string WRN_UnmatchedParamRefTag_Title {
get {
return ResourceManager.GetString("WRN_UnmatchedParamRefTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a param tag for '{0}', but there is no parameter by that name.
/// </summary>
internal static string WRN_UnmatchedParamTag {
get {
return ResourceManager.GetString("WRN_UnmatchedParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a param tag, but there is no parameter by that name.
/// </summary>
internal static string WRN_UnmatchedParamTag_Title {
get {
return ResourceManager.GetString("WRN_UnmatchedParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment on '{1}' has a typeparamref tag for '{0}', but there is no type parameter by that name.
/// </summary>
internal static string WRN_UnmatchedTypeParamRefTag {
get {
return ResourceManager.GetString("WRN_UnmatchedTypeParamRefTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a typeparamref tag, but there is no type parameter by that name.
/// </summary>
internal static string WRN_UnmatchedTypeParamRefTag_Title {
get {
return ResourceManager.GetString("WRN_UnmatchedTypeParamRefTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a typeparam tag for '{0}', but there is no type parameter by that name.
/// </summary>
internal static string WRN_UnmatchedTypeParamTag {
get {
return ResourceManager.GetString("WRN_UnmatchedTypeParamTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has a typeparam tag, but there is no type parameter by that name.
/// </summary>
internal static string WRN_UnmatchedTypeParamTag_Title {
get {
return ResourceManager.GetString("WRN_UnmatchedTypeParamTag_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call..
/// </summary>
internal static string WRN_UnobservedAwaitableExpression {
get {
return ResourceManager.GetString("WRN_UnobservedAwaitableExpression", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The current method calls an async method that returns a Task or a Task<TResult> and doesn't apply the await operator to the result. The call to the async method starts an asynchronous task. However, because no await operator is applied, the program continues without waiting for the task to complete. In most cases, that behavior isn't what you expect. Usually other aspects of the calling method depend on the results of the call or, minimally, the called method is expected to complete before you return from t [rest of string was truncated]";.
/// </summary>
internal static string WRN_UnobservedAwaitableExpression_Description {
get {
return ResourceManager.GetString("WRN_UnobservedAwaitableExpression_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Because this call is not awaited, execution of the current method continues before the call is completed.
/// </summary>
internal static string WRN_UnobservedAwaitableExpression_Title {
get {
return ResourceManager.GetString("WRN_UnobservedAwaitableExpression_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment is not placed on a valid language element.
/// </summary>
internal static string WRN_UnprocessedXMLComment {
get {
return ResourceManager.GetString("WRN_UnprocessedXMLComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment is not placed on a valid language element.
/// </summary>
internal static string WRN_UnprocessedXMLComment_Title {
get {
return ResourceManager.GetString("WRN_UnprocessedXMLComment_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Within cref attributes, nested types of generic types should be qualified..
/// </summary>
internal static string WRN_UnqualifiedNestedTypeInCref {
get {
return ResourceManager.GetString("WRN_UnqualifiedNestedTypeInCref", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Within cref attributes, nested types of generic types should be qualified.
/// </summary>
internal static string WRN_UnqualifiedNestedTypeInCref_Title {
get {
return ResourceManager.GetString("WRN_UnqualifiedNestedTypeInCref_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unreachable code detected.
/// </summary>
internal static string WRN_UnreachableCode {
get {
return ResourceManager.GetString("WRN_UnreachableCode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unreachable code detected.
/// </summary>
internal static string WRN_UnreachableCode_Title {
get {
return ResourceManager.GetString("WRN_UnreachableCode_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException..
/// </summary>
internal static string WRN_UnreachableGeneralCatch {
get {
return ResourceManager.GetString("WRN_UnreachableGeneralCatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This warning is caused when a catch() block has no specified exception type after a catch (System.Exception e) block. The warning advises that the catch() block will not catch any exceptions.
///
///A catch() block after a catch (System.Exception e) block can catch non-CLS exceptions if the RuntimeCompatibilityAttribute is set to false in the AssemblyInfo.cs file: [assembly: RuntimeCompatibilityAttribute(WrapNonExceptionThrows = false)]. If this attribute is not set explicitly to false, all thrown non-CLS excep [rest of string was truncated]";.
/// </summary>
internal static string WRN_UnreachableGeneralCatch_Description {
get {
return ResourceManager.GetString("WRN_UnreachableGeneralCatch_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A previous catch clause already catches all exceptions.
/// </summary>
internal static string WRN_UnreachableGeneralCatch_Title {
get {
return ResourceManager.GetString("WRN_UnreachableGeneralCatch_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The event '{0}' is never used.
/// </summary>
internal static string WRN_UnreferencedEvent {
get {
return ResourceManager.GetString("WRN_UnreferencedEvent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Event is never used.
/// </summary>
internal static string WRN_UnreferencedEvent_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedEvent_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The field '{0}' is never used.
/// </summary>
internal static string WRN_UnreferencedField {
get {
return ResourceManager.GetString("WRN_UnreferencedField", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field is never used.
/// </summary>
internal static string WRN_UnreferencedField_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedField_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The field '{0}' is assigned but its value is never used.
/// </summary>
internal static string WRN_UnreferencedFieldAssg {
get {
return ResourceManager.GetString("WRN_UnreferencedFieldAssg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Field is assigned but its value is never used.
/// </summary>
internal static string WRN_UnreferencedFieldAssg_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedFieldAssg_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This label has not been referenced.
/// </summary>
internal static string WRN_UnreferencedLabel {
get {
return ResourceManager.GetString("WRN_UnreferencedLabel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This label has not been referenced.
/// </summary>
internal static string WRN_UnreferencedLabel_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedLabel_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The variable '{0}' is declared but never used.
/// </summary>
internal static string WRN_UnreferencedVar {
get {
return ResourceManager.GetString("WRN_UnreferencedVar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Variable is declared but never used.
/// </summary>
internal static string WRN_UnreferencedVar_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedVar_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The variable '{0}' is assigned but its value is never used.
/// </summary>
internal static string WRN_UnreferencedVarAssg {
get {
return ResourceManager.GetString("WRN_UnreferencedVarAssg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Variable is assigned but its value is never used.
/// </summary>
internal static string WRN_UnreferencedVarAssg_Title {
get {
return ResourceManager.GetString("WRN_UnreferencedVarAssg_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparison to integral constant is useless; the constant is outside the range of type '{0}'.
/// </summary>
internal static string WRN_VacuousIntegralComp {
get {
return ResourceManager.GetString("WRN_VacuousIntegralComp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Comparison to integral constant is useless; the constant is outside the range of the type.
/// </summary>
internal static string WRN_VacuousIntegralComp_Title {
get {
return ResourceManager.GetString("WRN_VacuousIntegralComp_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to '{0}': a reference to a volatile field will not be treated as volatile.
/// </summary>
internal static string WRN_VolatileByRef {
get {
return ResourceManager.GetString("WRN_VolatileByRef", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A volatile field should not normally be used as a ref or out value, since it will not be treated as volatile. There are exceptions to this, such as when calling an interlocked API..
/// </summary>
internal static string WRN_VolatileByRef_Description {
get {
return ResourceManager.GetString("WRN_VolatileByRef_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A reference to a volatile field will not be treated as volatile.
/// </summary>
internal static string WRN_VolatileByRef_Title {
get {
return ResourceManager.GetString("WRN_VolatileByRef_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #warning: '{0}'.
/// </summary>
internal static string WRN_WarningDirective {
get {
return ResourceManager.GetString("WRN_WarningDirective", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to #warning directive.
/// </summary>
internal static string WRN_WarningDirective_Title {
get {
return ResourceManager.GetString("WRN_WarningDirective_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has badly formed XML -- '{0}'.
/// </summary>
internal static string WRN_XMLParseError {
get {
return ResourceManager.GetString("WRN_XMLParseError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XML comment has badly formed XML.
/// </summary>
internal static string WRN_XMLParseError_Title {
get {
return ResourceManager.GetString("WRN_XMLParseError_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Badly formed XML in included comments file -- '{0}'.
/// </summary>
internal static string WRN_XMLParseIncludeError {
get {
return ResourceManager.GetString("WRN_XMLParseIncludeError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Badly formed XML in included comments file.
/// </summary>
internal static string WRN_XMLParseIncludeError_Title {
get {
return ResourceManager.GetString("WRN_XMLParseIncludeError_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wrong number of type arguments.
/// </summary>
internal static string WrongNumberOfTypeArguments {
get {
return ResourceManager.GetString("WrongNumberOfTypeArguments", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected a {0} SemanticModel..
/// </summary>
internal static string WrongSemanticModelType {
get {
return ResourceManager.GetString("WrongSemanticModelType", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The literal string ']]>' is not allowed in element content..
/// </summary>
internal static string XML_CDataEndTagNotAllowed {
get {
return ResourceManager.GetString("XML_CDataEndTagNotAllowed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate '{0}' attribute.
/// </summary>
internal static string XML_DuplicateAttribute {
get {
return ResourceManager.GetString("XML_DuplicateAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to End tag '{0}' does not match the start tag '{1}'..
/// </summary>
internal static string XML_ElementTypeMatch {
get {
return ResourceManager.GetString("XML_ElementTypeMatch", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected an end tag for element '{0}'..
/// </summary>
internal static string XML_EndTagExpected {
get {
return ResourceManager.GetString("XML_EndTagExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to End tag was not expected at this location..
/// </summary>
internal static string XML_EndTagNotExpected {
get {
return ResourceManager.GetString("XML_EndTagNotExpected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Expected '>' or '/>' to close tag '{0}'..
/// </summary>
internal static string XML_ExpectedEndOfTag {
get {
return ResourceManager.GetString("XML_ExpectedEndOfTag", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected character at this location..
/// </summary>
internal static string XML_ExpectedEndOfXml {
get {
return ResourceManager.GetString("XML_ExpectedEndOfXml", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An identifier was expected..
/// </summary>
internal static string XML_ExpectedIdentifier {
get {
return ResourceManager.GetString("XML_ExpectedIdentifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Incorrect syntax was used in a comment..
/// </summary>
internal static string XML_IncorrectComment {
get {
return ResourceManager.GetString("XML_IncorrectComment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An invalid character was found inside an entity reference..
/// </summary>
internal static string XML_InvalidCharEntity {
get {
return ResourceManager.GetString("XML_InvalidCharEntity", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The character(s) '{0}' cannot be used at this location..
/// </summary>
internal static string XML_InvalidToken {
get {
return ResourceManager.GetString("XML_InvalidToken", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Invalid unicode character..
/// </summary>
internal static string XML_InvalidUnicodeChar {
get {
return ResourceManager.GetString("XML_InvalidUnicodeChar", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Whitespace is not allowed at this location..
/// </summary>
internal static string XML_InvalidWhitespace {
get {
return ResourceManager.GetString("XML_InvalidWhitespace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The character '<' cannot be used in an attribute value..
/// </summary>
internal static string XML_LessThanInAttributeValue {
get {
return ResourceManager.GetString("XML_LessThanInAttributeValue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing equals sign between attribute and attribute value..
/// </summary>
internal static string XML_MissingEqualsAttribute {
get {
return ResourceManager.GetString("XML_MissingEqualsAttribute", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reference to undefined entity '{0}'..
/// </summary>
internal static string XML_RefUndefinedEntity_1 {
get {
return ResourceManager.GetString("XML_RefUndefinedEntity_1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Missing closing quotation mark for string literal..
/// </summary>
internal static string XML_StringLiteralNoEndQuote {
get {
return ResourceManager.GetString("XML_StringLiteralNoEndQuote", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Non-ASCII quotations marks may not be used around string literals..
/// </summary>
internal static string XML_StringLiteralNonAsciiQuote {
get {
return ResourceManager.GetString("XML_StringLiteralNonAsciiQuote", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A string literal was expected, but no opening quotation mark was found..
/// </summary>
internal static string XML_StringLiteralNoStartQuote {
get {
return ResourceManager.GetString("XML_StringLiteralNoStartQuote", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Required white space was missing..
/// </summary>
internal static string XML_WhitespaceMissing {
get {
return ResourceManager.GetString("XML_WhitespaceMissing", resourceCulture);
}
}
}
}
| {
"content_hash": "efb2cf4456a57f3a74162d458806652a",
"timestamp": "",
"source": "github",
"line_count": 14043,
"max_line_length": 620,
"avg_line_length": 43.03247169408246,
"alnum_prop": 0.5849479981135354,
"repo_name": "budcribar/roslyn",
"id": "273f80877a784e4b6d6dd086035ccdf3d6744671",
"size": "604307",
"binary": false,
"copies": "2",
"ref": "refs/heads/master",
"path": "src/Compilers/CSharp/Portable/CSharpResources.Designer.cs",
"mode": "33188",
"license": "apache-2.0",
"language": [
{
"name": "1C Enterprise",
"bytes": "289100"
},
{
"name": "Batchfile",
"bytes": "16938"
},
{
"name": "C#",
"bytes": "82160100"
},
{
"name": "C++",
"bytes": "4865"
},
{
"name": "F#",
"bytes": "3632"
},
{
"name": "Groovy",
"bytes": "7564"
},
{
"name": "Makefile",
"bytes": "3606"
},
{
"name": "PowerShell",
"bytes": "54827"
},
{
"name": "Rich Text Format",
"bytes": "51314"
},
{
"name": "Shell",
"bytes": "7239"
},
{
"name": "Smalltalk",
"bytes": "731"
},
{
"name": "Visual Basic .NET",
"bytes": "60474806"
}
],
"symlink_target": ""
} |
'use strict';
var _ = require('lodash');
var async = require('async');
var Mustache = require('mustache');
var defaultRequest = require('request');
var MessageBroker = require('./messagebroker');
var Storage = require('./storage');
var fs = require('fs');
var path = require('path');
var Utils = require('./common/utils');
var Model = require('./model');
var sjcl = require('sjcl');
var log = require('npmlog');
log.debug = log.verbose;
var PUSHNOTIFICATIONS_TYPES = {
'NewCopayer': {
filename: 'new_copayer',
},
'WalletComplete': {
filename: 'wallet_complete',
},
'NewTxProposal': {
filename: 'new_tx_proposal',
},
'NewOutgoingTx': {
filename: 'new_outgoing_tx',
},
'NewIncomingTx': {
filename: 'new_incoming_tx',
},
'TxProposalFinallyRejected': {
filename: 'txp_finally_rejected',
},
};
function PushNotificationsService() {};
PushNotificationsService.prototype.start = function(opts, cb) {
var self = this;
opts = opts || {};
self.request = opts.request || defaultRequest;
function _readDirectories(basePath, cb) {
fs.readdir(basePath, function(err, files) {
if (err) return cb(err);
async.filter(files, function(file, next) {
fs.stat(path.join(basePath, file), function(err, stats) {
return next(!err && stats.isDirectory());
});
}, function(dirs) {
return cb(null, dirs);
});
});
};
self.templatePath = path.normalize((opts.pushNotificationsOpts.templatePath || (__dirname + '/templates')) + '/');
self.defaultLanguage = opts.pushNotificationsOpts.defaultLanguage || 'en';
self.defaultUnit = opts.pushNotificationsOpts.defaultUnit || 'btc';
self.subjectPrefix = opts.pushNotificationsOpts.subjectPrefix || '';
self.pushServerUrl = opts.pushNotificationsOpts.pushServerUrl;
async.parallel([
function(done) {
_readDirectories(self.templatePath, function(err, res) {
self.availableLanguages = res;
done(err);
});
},
function(done) {
if (opts.storage) {
self.storage = opts.storage;
done();
} else {
self.storage = new Storage();
self.storage.connect(opts.storageOpts, done);
}
},
function(done) {
self.messageBroker = opts.messageBroker || new MessageBroker(opts.messageBrokerOpts);
self.messageBroker.onMessage(_.bind(self._sendPushNotifications, self));
done();
},
], function(err) {
if (err) {
log.error(err);
}
return cb(err);
});
};
PushNotificationsService.prototype._sendPushNotifications = function(notification, cb) {
var self = this;
cb = cb || function() {};
var notifType = PUSHNOTIFICATIONS_TYPES[notification.type];
if (!notifType) return cb();
log.debug('Notification received: ' + notification.type);
log.debug(JSON.stringify(notification));
self._checkShouldSendNotif(notification, function(err, should) {
if (err) return cb(err);
log.debug('Should send notification: ', should);
if (!should) return cb();
self._getRecipientsList(notification, function(err, recipientsList) {
if (err) return cb(err);
async.waterfall([
function(next) {
self._readAndApplyTemplates(notification, notifType, recipientsList, next);
},
function(contents, next) {
async.map(recipientsList, function(recipient, next) {
var opts = {};
var content = contents[recipient.language];
opts.users = [notification.walletId + '$' + recipient.copayerId];
opts.android = {
"data": {
"title": content.plain.subject,
"message": content.plain.body,
"walletId": sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash(notification.walletId)),
"notId": Math.floor(Math.random() * 100000) + 1
}
};
opts.ios = {
"alert": {
"title": content.plain.subject,
"body": content.plain.body
},
"sound": "default",
"payload": {
"walletId": sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash(notification.walletId))
}
};
return next(err, opts);
}, next);
},
function(optsList, next) {
async.each(optsList,
function(opts, next) {
self._makeRequest(opts, function(err, response) {
if (err) log.error(err);
if (response) {
log.debug('Request status: ', response.statusCode);
log.debug('Request message: ', response.statusMessage);
log.debug('Request body: ', response.request.body);
}
next();
});
},
function(err) {
return next(err);
}
);
},
], function(err) {
if (err) {
log.error('An error ocurred generating notification', err);
}
return cb(err);
});
});
});
};
PushNotificationsService.prototype._checkShouldSendNotif = function(notification, cb) {
var self = this;
if (notification.type != 'NewTxProposal') return cb(null, true);
self.storage.fetchWallet(notification.walletId, function(err, wallet) {
return cb(err, wallet.m > 1);
});
};
PushNotificationsService.prototype._getRecipientsList = function(notification, cb) {
var self = this;
self.storage.fetchWallet(notification.walletId, function(err, wallet) {
if (err) return cb(err);
self.storage.fetchPreferences(notification.walletId, null, function(err, preferences) {
if (err) log.error(err);
if (_.isEmpty(preferences)) preferences = [];
var recipientPreferences = _.compact(_.map(preferences, function(p) {
if (!_.contains(self.availableLanguages, p.language)) {
if (p.language)
log.warn('Language for notifications "' + p.language + '" not available.');
p.language = self.defaultLanguage;
}
return {
copayerId: p.copayerId,
language: p.language,
unit: p.unit,
};
}));
recipientPreferences = _.indexBy(recipientPreferences, 'copayerId');
var recipientsList = _.reject(_.map(wallet.copayers, function(copayer) {
var p = recipientPreferences[copayer.id] || {};
return {
copayerId: copayer.id,
language: p.language || self.defaultLanguage,
unit: p.unit || self.defaultUnit,
}
}), {
copayerId: notification.creatorId
});
return cb(null, recipientsList);
});
});
};
PushNotificationsService.prototype._readAndApplyTemplates = function(notification, notifType, recipientsList, cb) {
var self = this;
async.map(recipientsList, function(recipient, next) {
async.waterfall([
function(next) {
self._getDataForTemplate(notification, recipient, next);
},
function(data, next) {
async.map(['plain', 'html'], function(type, next) {
self._loadTemplate(notifType, recipient, '.' + type, function(err, template) {
if (err && type == 'html') return next();
if (err) return next(err);
self._applyTemplate(template, data, function(err, res) {
return next(err, [type, res]);
});
});
}, function(err, res) {
return next(err, _.zipObject(res));
});
},
function(result, next) {
next(null, result);
},
], function(err, res) {
next(err, [recipient.language, res]);
});
}, function(err, res) {
return cb(err, _.zipObject(res));
});
};
PushNotificationsService.prototype._getDataForTemplate = function(notification, recipient, cb) {
var self = this;
var UNIT_LABELS = {
btc: 'BTC',
bit: 'bits'
};
var data = _.cloneDeep(notification.data);
data.subjectPrefix = _.trim(self.subjectPrefix + ' ');
if (data.amount) {
try {
var unit = recipient.unit.toLowerCase();
data.amount = Utils.formatAmount(+data.amount, unit) + ' ' + UNIT_LABELS[unit];
} catch (ex) {
return cb(new Error('Could not format amount', ex));
}
}
self.storage.fetchWallet(notification.walletId, function(err, wallet) {
if (err) return cb(err);
data.walletId = wallet.id;
data.walletName = wallet.name;
data.walletM = wallet.m;
data.walletN = wallet.n;
var copayer = _.find(wallet.copayers, {
id: notification.creatorId
});
if (copayer) {
data.copayerId = copayer.id;
data.copayerName = copayer.name;
}
if (notification.type == 'TxProposalFinallyRejected' && data.rejectedBy) {
var rejectors = _.map(data.rejectedBy, function(copayerId) {
return _.find(wallet.copayers, {
id: copayerId
}).name
});
data.rejectorsNames = rejectors.join(', ');
}
return cb(null, data);
});
};
PushNotificationsService.prototype._applyTemplate = function(template, data, cb) {
if (!data) return cb(new Error('Could not apply template to empty data'));
var error;
var result = _.mapValues(template, function(t) {
try {
return Mustache.render(t, data);
} catch (e) {
log.error('Could not apply data to template', e);
error = e;
}
});
if (error) return cb(error);
return cb(null, result);
};
PushNotificationsService.prototype._loadTemplate = function(notifType, recipient, extension, cb) {
var self = this;
self._readTemplateFile(recipient.language, notifType.filename + extension, function(err, template) {
if (err) return cb(err);
return cb(null, self._compileTemplate(template, extension));
});
};
PushNotificationsService.prototype._readTemplateFile = function(language, filename, cb) {
var self = this;
var fullFilename = path.join(self.templatePath, language, filename);
fs.readFile(fullFilename, 'utf8', function(err, template) {
if (err) {
return cb(new Error('Could not read template file ' + fullFilename, err));
}
return cb(null, template);
});
};
PushNotificationsService.prototype._compileTemplate = function(template, extension) {
var lines = template.split('\n');
if (extension == '.html') {
lines.unshift('');
}
return {
subject: lines[0],
body: _.rest(lines).join('\n'),
};
};
PushNotificationsService.prototype._makeRequest = function(opts, cb) {
var self = this;
self.request({
url: self.pushServerUrl + '/send',
method: 'POST',
json: true,
body: opts
}, function(err, response) {
return cb(err, response);
});
};
module.exports = PushNotificationsService;
| {
"content_hash": "4ce1711e639417142f79d0240e1ac316",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 116,
"avg_line_length": 29.200542005420054,
"alnum_prop": 0.6000928074245939,
"repo_name": "troggy/bitcore-wallet-service",
"id": "3c8990e1b668c02bd1012f21b73cfc94c5f185f1",
"size": "10775",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "lib/pushnotificationsservice.js",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "JavaScript",
"bytes": "607316"
},
{
"name": "Makefile",
"bytes": "147"
},
{
"name": "Shell",
"bytes": "1525"
}
],
"symlink_target": ""
} |
import os
import time
import glob
import logging
import socket
from binascii import hexlify
_log = logging.getLogger(__name__)
def _gethostname():
hostname = socket.gethostname()
return hostname.replace('/', '\\057').replace(':', '\\072')
def _getuid():
now = time.time()
sec, usec = int(now), int((now % 1) * 100000)
urandom = hexlify(os.urandom(5)).decode()
return '{}.M{}R{}P{}.{}'.format(sec, usec, urandom,
os.getpid(), _gethostname())
def deliver(maildir, lines):
os.chdir(maildir)
for retry in range(10):
uid = _getuid()
try:
os.stat('tmp/' + uid)
except FileNotFoundError:
break
except:
pass
time.sleep(2)
else:
raise OSError('cannot safely create a file on tmp/')
tmpfile, newfile = 'tmp/' + uid, 'new/' + uid
_log.debug("* New file: '%s'", newfile)
with open(tmpfile, 'wb') as fw:
for line in lines:
fw.write(line + b'\n')
os.link(tmpfile, newfile)
os.remove(tmpfile)
return uid
def cleanup(maildir):
os.chdir(maildir)
for path in glob.iglob('tmp/*'):
if not os.path.isfile(path):
continue
atime = os.path.getatime(path)
if (time.time() - atime) > 129600: # Not accessed in 36 hours
_log.debug("* Clean up: '%s'", path)
os.remove(path)
| {
"content_hash": "a31fa5283a9657114358be4ba9392110",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 70,
"avg_line_length": 23.080645161290324,
"alnum_prop": 0.5485674353598882,
"repo_name": "fujimotos/Eubin",
"id": "69d24023eb28d86cd8ce76ebff4354f44a893072",
"size": "1431",
"binary": false,
"copies": "1",
"ref": "refs/heads/master",
"path": "eubin/maildir.py",
"mode": "33188",
"license": "mit",
"language": [
{
"name": "Makefile",
"bytes": "421"
},
{
"name": "Python",
"bytes": "17846"
}
],
"symlink_target": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.