blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b22cc2737b047b519576b58498947b44857b7ee | bfaf6b0a6cf3eafebc383428fd8fa73d0e88f082 | /cpp_src/bwmesh.h | 56136c461731b8b86fc599d15891dc9b229b3a34 | [] | no_license | Wanghuaichen/addon-ngm | 5dc2e43ac6ac0ed3cc3883d04367bdf5a94b2bdc | ff753c466f7bfcf3d0b88711824958703c397dca | refs/heads/master | 2020-04-13T07:01:01.272900 | 2016-06-19T14:17:47 | 2016-06-19T14:17:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h | #ifndef BWMESH_H_
#define BWMESH_H_
#include <node/node.h>
#include <node/node_object_wrap.h>
#include "model/lwMesh.h"
namespace ngm {
using namespace v8;
class Ngm: public node::ObjectWrap {
public:
/* init v8 */
static void Init(Handle<Object> exports);
private:
Ngm();
~Ngm();
/* use in v8 */
static void New(const FunctionCallbackInfo<Value>& args);
/* static void PlusOne(const FunctionCallbackInfo<Value>& args); */
static void loadFile(const FunctionCallbackInfo<Value>& args);
static void setConfig(const FunctionCallbackInfo<Value>& args);
static Persistent<Function> constructor;
private:
lwMesh *m_mesh;
bool m_isSecondOrder;
bool m_isRefinement;
};
};
#endif
| [
"yongtao.fan@adleida.com"
] | yongtao.fan@adleida.com |
0edfc65f91e47f1ee73b250e517792301b78a4ce | f5444094cee12de7047dc02f924e36db80e20acd | /src/qt/addresstablemodel.cpp | 80dc08c98e9c159d8cd7940c7f338a8141438cba | [
"MIT"
] | permissive | Saci-de-bani/ro | bcfa9e3a5803aac5c3092ef7d8d3426fb3d6b759 | 0b7da803a88456ec3fee1e49ff5db60959cd61e0 | refs/heads/master | 2020-03-25T18:47:05.820251 | 2018-08-08T23:10:57 | 2018-08-08T23:10:57 | 144,048,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,421 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "base58.h"
#include "wallet/wallet.h"
#include <boost/foreach.hpp>
#include <QFont>
#include <QDebug>
const QString AddressTableModel::Send = "S";
const QString AddressTableModel::Receive = "R";
struct AddressTableEntry
{
enum Type {
Sending,
Receiving,
Hidden /* QSortFilterProxyModel will filter these out */
};
Type type;
QString label;
QString address;
AddressTableEntry() {}
AddressTableEntry(Type type, const QString &label, const QString &address):
type(type), label(label), address(address) {}
};
struct AddressTableEntryLessThan
{
bool operator()(const AddressTableEntry &a, const AddressTableEntry &b) const
{
return a.address < b.address;
}
bool operator()(const AddressTableEntry &a, const QString &b) const
{
return a.address < b;
}
bool operator()(const QString &a, const AddressTableEntry &b) const
{
return a < b.address;
}
};
/* Determine address type from address purpose */
static AddressTableEntry::Type translateTransactionType(const QString &strPurpose, bool isMine)
{
AddressTableEntry::Type addressType = AddressTableEntry::Hidden;
// "refund" addresses aren't shown, and change addresses aren't in mapAddressBook at all.
if (strPurpose == "send")
addressType = AddressTableEntry::Sending;
else if (strPurpose == "receive")
addressType = AddressTableEntry::Receiving;
else if (strPurpose == "unknown" || strPurpose == "") // if purpose not set, guess
addressType = (isMine ? AddressTableEntry::Receiving : AddressTableEntry::Sending);
return addressType;
}
// Private implementation
class AddressTablePriv
{
public:
CWallet *wallet;
QList<AddressTableEntry> cachedAddressTable;
AddressTableModel *parent;
AddressTablePriv(CWallet *wallet, AddressTableModel *parent):
wallet(wallet), parent(parent) {}
void refreshAddressTable()
{
cachedAddressTable.clear();
{
LOCK(wallet->cs_wallet);
BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& item, wallet->mapAddressBook)
{
const CBitcoinAddress& address = item.first;
bool fMine = IsMine(*wallet, address.Get());
AddressTableEntry::Type addressType = translateTransactionType(
QString::fromStdString(item.second.purpose), fMine);
const std::string& strName = item.second.name;
cachedAddressTable.append(AddressTableEntry(addressType,
QString::fromStdString(strName),
QString::fromStdString(address.ToString())));
}
}
// qLowerBound() and qUpperBound() require our cachedAddressTable list to be sorted in asc order
// Even though the map is already sorted this re-sorting step is needed because the originating map
// is sorted by binary address, not by base58() address.
qSort(cachedAddressTable.begin(), cachedAddressTable.end(), AddressTableEntryLessThan());
}
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
{
// Find address / label in model
QList<AddressTableEntry>::iterator lower = qLowerBound(
cachedAddressTable.begin(), cachedAddressTable.end(), address, AddressTableEntryLessThan());
QList<AddressTableEntry>::iterator upper = qUpperBound(
cachedAddressTable.begin(), cachedAddressTable.end(), address, AddressTableEntryLessThan());
int lowerIndex = (lower - cachedAddressTable.begin());
int upperIndex = (upper - cachedAddressTable.begin());
bool inModel = (lower != upper);
AddressTableEntry::Type newEntryType = translateTransactionType(purpose, isMine);
switch(status)
{
case CT_NEW:
if(inModel)
{
qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_NEW, but entry is already in model";
break;
}
parent->beginInsertRows(QModelIndex(), lowerIndex, lowerIndex);
cachedAddressTable.insert(lowerIndex, AddressTableEntry(newEntryType, label, address));
parent->endInsertRows();
break;
case CT_UPDATED:
if(!inModel)
{
qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_UPDATED, but entry is not in model";
break;
}
lower->type = newEntryType;
lower->label = label;
parent->emitDataChanged(lowerIndex);
break;
case CT_DELETED:
if(!inModel)
{
qWarning() << "AddressTablePriv::updateEntry: Warning: Got CT_DELETED, but entry is not in model";
break;
}
parent->beginRemoveRows(QModelIndex(), lowerIndex, upperIndex-1);
cachedAddressTable.erase(lower, upper);
parent->endRemoveRows();
break;
}
}
int size()
{
return cachedAddressTable.size();
}
AddressTableEntry *index(int idx)
{
if(idx >= 0 && idx < cachedAddressTable.size())
{
return &cachedAddressTable[idx];
}
else
{
return 0;
}
}
};
AddressTableModel::AddressTableModel(CWallet *wallet, WalletModel *parent) :
QAbstractTableModel(parent),walletModel(parent),wallet(wallet),priv(0)
{
columns << tr("Label") << tr("Address");
priv = new AddressTablePriv(wallet, this);
priv->refreshAddressTable();
}
AddressTableModel::~AddressTableModel()
{
delete priv;
}
int AddressTableModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return priv->size();
}
int AddressTableModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return columns.length();
}
QVariant AddressTableModel::data(const QModelIndex &index, int role) const
{
if(!index.isValid())
return QVariant();
AddressTableEntry *rec = static_cast<AddressTableEntry*>(index.internalPointer());
if(role == Qt::DisplayRole || role == Qt::EditRole)
{
switch(index.column())
{
case Label:
if(rec->label.isEmpty() && role == Qt::DisplayRole)
{
return tr("(no label)");
}
else
{
return rec->label;
}
case Address:
return rec->address;
}
}
else if (role == Qt::FontRole)
{
QFont font;
if(index.column() == Address)
{
font = GUIUtil::fixedPitchFont();
}
return font;
}
else if (role == TypeRole)
{
switch(rec->type)
{
case AddressTableEntry::Sending:
return Send;
case AddressTableEntry::Receiving:
return Receive;
default: break;
}
}
return QVariant();
}
bool AddressTableModel::setData(const QModelIndex &index, const QVariant &value, int role)
{
if(!index.isValid())
return false;
AddressTableEntry *rec = static_cast<AddressTableEntry*>(index.internalPointer());
std::string strPurpose = (rec->type == AddressTableEntry::Sending ? "send" : "receive");
editStatus = OK;
if(role == Qt::EditRole)
{
LOCK(wallet->cs_wallet); /* For SetAddressBook / DelAddressBook */
CTxDestination curAddress = CBitcoinAddress(rec->address.toStdString()).Get();
if(index.column() == Label)
{
// Do nothing, if old label == new label
if(rec->label == value.toString())
{
editStatus = NO_CHANGES;
return false;
}
wallet->SetAddressBook(curAddress, value.toString().toStdString(), strPurpose);
} else if(index.column() == Address) {
CTxDestination newAddress = CBitcoinAddress(value.toString().toStdString()).Get();
// Refuse to set invalid address, set error status and return false
if(boost::get<CNoDestination>(&newAddress))
{
editStatus = INVALID_ADDRESS;
return false;
}
// Do nothing, if old address == new address
else if(newAddress == curAddress)
{
editStatus = NO_CHANGES;
return false;
}
// Check for duplicate addresses to prevent accidental deletion of addresses, if you try
// to paste an existing address over another address (with a different label)
else if(wallet->mapAddressBook.count(newAddress))
{
editStatus = DUPLICATE_ADDRESS;
return false;
}
// Double-check that we're not overwriting a receiving address
else if(rec->type == AddressTableEntry::Sending)
{
// Remove old entry
wallet->DelAddressBook(curAddress);
// Add new entry with new address
wallet->SetAddressBook(newAddress, rec->label.toStdString(), strPurpose);
}
}
return true;
}
return false;
}
QVariant AddressTableModel::headerData(int section, Qt::Orientation orientation, int role) const
{
if(orientation == Qt::Horizontal)
{
if(role == Qt::DisplayRole && section < columns.size())
{
return columns[section];
}
}
return QVariant();
}
Qt::ItemFlags AddressTableModel::flags(const QModelIndex &index) const
{
if(!index.isValid())
return 0;
AddressTableEntry *rec = static_cast<AddressTableEntry*>(index.internalPointer());
Qt::ItemFlags retval = Qt::ItemIsSelectable | Qt::ItemIsEnabled;
// Can edit address and label for sending addresses,
// and only label for receiving addresses.
if(rec->type == AddressTableEntry::Sending ||
(rec->type == AddressTableEntry::Receiving && index.column()==Label))
{
retval |= Qt::ItemIsEditable;
}
return retval;
}
QModelIndex AddressTableModel::index(int row, int column, const QModelIndex &parent) const
{
Q_UNUSED(parent);
AddressTableEntry *data = priv->index(row);
if(data)
{
return createIndex(row, column, priv->index(row));
}
else
{
return QModelIndex();
}
}
void AddressTableModel::updateEntry(const QString &address,
const QString &label, bool isMine, const QString &purpose, int status)
{
// Update address book model from RIPO core
priv->updateEntry(address, label, isMine, purpose, status);
}
QString AddressTableModel::addRow(const QString &type, const QString &label, const QString &address)
{
std::string strLabel = label.toStdString();
std::string strAddress = address.toStdString();
editStatus = OK;
if(type == Send)
{
if(!walletModel->validateAddress(address))
{
editStatus = INVALID_ADDRESS;
return QString();
}
// Check for duplicate addresses
{
LOCK(wallet->cs_wallet);
if(wallet->mapAddressBook.count(CBitcoinAddress(strAddress).Get()))
{
editStatus = DUPLICATE_ADDRESS;
return QString();
}
}
}
else if(type == Receive)
{
// Generate a new address to associate with given label
CPubKey newKey;
if(!wallet->GetKeyFromPool(newKey, false))
{
WalletModel::UnlockContext ctx(walletModel->requestUnlock());
if(!ctx.isValid())
{
// Unlock wallet failed or was cancelled
editStatus = WALLET_UNLOCK_FAILURE;
return QString();
}
if(!wallet->GetKeyFromPool(newKey, false))
{
editStatus = KEY_GENERATION_FAILURE;
return QString();
}
}
strAddress = CBitcoinAddress(newKey.GetID()).ToString();
}
else
{
return QString();
}
// Add entry
{
LOCK(wallet->cs_wallet);
wallet->SetAddressBook(CBitcoinAddress(strAddress).Get(), strLabel,
(type == Send ? "send" : "receive"));
}
return QString::fromStdString(strAddress);
}
bool AddressTableModel::removeRows(int row, int count, const QModelIndex &parent)
{
Q_UNUSED(parent);
AddressTableEntry *rec = priv->index(row);
if(count != 1 || !rec || rec->type == AddressTableEntry::Receiving)
{
// Can only remove one row at a time, and cannot remove rows not in model.
// Also refuse to remove receiving addresses.
return false;
}
{
LOCK(wallet->cs_wallet);
wallet->DelAddressBook(CBitcoinAddress(rec->address.toStdString()).Get());
}
return true;
}
/* Look up label for address in address book, if not found return empty string.
*/
QString AddressTableModel::labelForAddress(const QString &address) const
{
{
LOCK(wallet->cs_wallet);
CBitcoinAddress address_parsed(address.toStdString());
std::map<CTxDestination, CAddressBookData>::iterator mi = wallet->mapAddressBook.find(address_parsed.Get());
if (mi != wallet->mapAddressBook.end())
{
return QString::fromStdString(mi->second.name);
}
}
return QString();
}
int AddressTableModel::lookupAddress(const QString &address) const
{
QModelIndexList lst = match(index(0, Address, QModelIndex()),
Qt::EditRole, address, 1, Qt::MatchExactly);
if(lst.isEmpty())
{
return -1;
}
else
{
return lst.at(0).row();
}
}
void AddressTableModel::emitDataChanged(int idx)
{
Q_EMIT dataChanged(index(idx, 0, QModelIndex()), index(idx, columns.length()-1, QModelIndex()));
}
| [
"you@email.com"
] | you@email.com |
fa9d5dc4efe236790b7de511b0fe9ce8d8f26eda | a6f7aed1cfab12eb0998109f3e861b4f86d2458c | /Solution.cpp | cbdde069360379494253340a04fa25599c8ee881 | [] | no_license | danielgribel/mtsp | dcd8e358fa84e18926aaba6f0fc8e01bd7391766 | fca40aed508868097a6a7d2acbc5608fd417d30c | refs/heads/master | 2021-01-21T14:16:06.129779 | 2017-06-30T00:44:51 | 2017-06-30T00:44:51 | 95,257,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,177 | cpp | #include "Solution.h"
using namespace std;
Solution::Solution() {
}
Solution::Solution(vector< vector<int> > assignedTools, vector<int> scheduling, PbData * pbData) {
this->assignedTools = assignedTools;
this->scheduling = scheduling;
this->pbData = pbData;
computeCost();
}
vector< vector<int> > Solution::getAssignedTools() {
return this->assignedTools;
}
vector<int> Solution::getAssignedTools(int i) {
return this->assignedTools[i];
}
vector<int> Solution::getScheduling() {
return this->scheduling;
}
int Solution::getCost() {
return this->cost;
}
void Solution::computeCost() {
vector<int> diff;
cost = 0;
for(int i = 0; i < pbData->N() - 1; i++) {
diff = toolsDiff(scheduling[i], scheduling[i+1]);
cost = cost + diff.size();
}
}
vector<int> Solution::toolsDiff(int i, int j) {
set<int> setI( assignedTools[i].begin(), assignedTools[i].end() );
set<int> setJ( assignedTools[j].begin(), assignedTools[j].end() );
vector<int> result;
set_difference( setI.begin(), setI.end(), setJ.begin(), setJ.end(),
back_inserter( result ) );
return result;
}
int Solution::switchCost(const vector<int> tools1, const vector<int> tools2) {
set<int> stools1( tools1.begin(), tools1.end() );
set<int> stools2( tools2.begin(), tools2.end() );
vector<int> result;
set_difference( stools1.begin(), stools1.end(), stools2.begin(), stools2.end(),
back_inserter( result ) );
return result.size();
}
// Get job nodes considering job j and column c of assigned tools
vector<Node*> Solution::jobNodes(int j, int c, int &nodeId) {
vector<int> optionalTools = pbData->getOptionalTools(j);
vector<int> baseTools (assignedTools[j].size() - 1);
vector<bool> prohibited (pbData->M(), false);
vector<Node*> nodes;
int q = 0;
for(int i = 0; i < assignedTools[j].size(); i++) {
if(i != c) {
baseTools[q] = assignedTools[j][i];
prohibited[assignedTools[j][i]] = true;
q++;
}
}
if(pbData->isToolRequired(j, assignedTools[j][c])) {
Node * node = new Node(assignedTools[j], j, nodeId);
nodes.push_back(node);
nodeId++;
} else {
for(int i = 0; i < optionalTools.size(); i++) {
if(!prohibited[optionalTools[i]]) {
vector<int> nd = baseTools;
nd.push_back(optionalTools[i]);
Node * node = new Node(nd, j, nodeId);
nodes.push_back(node);
nodeId++;
}
}
}
return nodes;
}
Graph * Solution::buildGraph(int col) {
vector< vector<Node*> > nodes (pbData->N());
// vector<Node*> idNodes ((pbData->M() - pbData->C() - 1)*pbData->N());
vector<Node*> idNodes;
int nodeId = 0;
for(int j = 0; j < pbData->N(); j++) {
nodes[j] = jobNodes(j, col, nodeId);
// cout << nodes[j].size() << endl;
// cout << "Job " << j << ": " << endl;
for(int i = 0; i < nodes[j].size(); i++) {
idNodes.push_back(nodes[j][i]);
// idNodes[nodes[j][i]->getId()] = nodes[j][i];
// cout << idNodes.size() - 1 << ": " << endl;
// for(int k = 0; k < pbData->C(); k++) {
// cout << nodes[j][i]->getTools()[k] << " ";
// }
// cout << endl;
}
// cout << "\n---------------" << endl;
}
// for(int i = 0; i < idNodes.size(); i++) {
// for(int j = 0; j < idNodes[i]->getTools().size(); j++) {
// cout << idNodes[i]->getTools()[j] << " ";
// } cout << endl;
// }
int edgeCost;
int totalNodes = idNodes.size();
// cout << totalNodes << endl;
// cout << "totalNodes: " << totalNodes << endl;
vector< vector<int> > graph (totalNodes, vector<int> (totalNodes));
for(int i = 0; i < totalNodes; i++) {
for(int j = i; j < totalNodes; j++) {
graph[i][j] = 99;
graph[j][i] = 99;
}
}
int j;
for(int j0 = 0; j0 < pbData->N() - 1; j0++) {
j = scheduling[j0];
for(int j1 = 0; j1 < nodes[j].size(); j1++) {
Node * node1 = nodes[j][j1];
for(int j2 = 0; j2 < nodes[scheduling[j0+1]].size(); j2++) {
Node * node2 = nodes[scheduling[j0+1]][j2];
edgeCost = switchCost(node1->getTools(), node2->getTools());
graph[node1->getId()][node2->getId()] = edgeCost;
graph[node2->getId()][node1->getId()] = edgeCost;
}
}
}
// for(int i = 0; i < graph[0].size(); i++) {
// for(int j = 0; j < graph[0].size(); j++) {
// cout << graph[i][j] << " ";
// } cout << "\n--------------" << endl;
// }
// printScheduling();
// cout << "\n--------------" << endl;
// printAssignedTools();
vector<int> sourceNodes;
vector<int> targetNodes;
int S = scheduling[0];
int T = scheduling[pbData->N() - 1];
for(int i = 0; i < nodes[S].size(); i++) {
sourceNodes.push_back(nodes[S][i]->getId());
}
for(int i = 0; i < nodes[T].size(); i++) {
targetNodes.push_back(nodes[T][i]->getId());
}
Graph * G = new Graph(graph, idNodes, sourceNodes, targetNodes, totalNodes);
return G;
}
void Solution::localSearch() {
int col = pbData->C()-1;
// localSearch(col);
for(int c = col; c > 0; c--) {
localSearch(c);
}
// Graph * graph = buildGraph(col);
// ShortestPath * path = dijkstra(graph, 7);
}
vector<int> shuffleN(size_t n) {
vector<int> myArray(n);
for(int i = 0; i < n; i++) {
myArray[i] = i;
}
if(n > 1) {
size_t i;
for (int i = 0; i < n - 1; i++) {
size_t j = i + rand() / (RAND_MAX / (n - i) + 1);
int t = myArray[j];
myArray[j] = myArray[i];
myArray[i] = t;
}
}
return myArray;
}
vector<int> shuffleV(vector<int> vec) {
size_t n = vec.size();
vector<int> myArray = shuffleN(n);
vector<int> vecShf(n);
for(int i = 0; i < n; i++) {
vecShf[i] = vec[myArray[i]];
}
return vecShf;
}
void Solution::localSearch(int col) {
Graph * graph = buildGraph(col);
vector<int> sourceNodes = graph->getSourceNodes();
// printScheduling();
int src;
vector<int> bestPath (pbData->N());
int bestCost = MAX_INT;
vector<int> sh = shuffleV(sourceNodes);
for(int i = 0; i < sourceNodes.size(); i++) {
src = sh[i];
ShortestPath * path = dijkstra(graph, src);
// cout << "path = ";
// for(int i = 0; i < path->getPath().size(); i++)
// cout << path->getPath()[i] << " ";
// cout << endl;
if(path->getCost() < bestCost) {
bestCost = path->getCost();
bestPath = path->getPath();
// for(int q = 0; q < pbData->N(); q++) {
// bestPath[q] = path->getPath()[q];
// }
}
delete path;
}
vector<Node*> idNodes = graph->getIdNodes();
// Update solution
for(int i = 0; i < bestPath.size(); i++) {
assignedTools[scheduling[i]] = idNodes[bestPath[i]]->getTools();
}
cost = bestCost;
// for(int i = 0; i < idNodes.size(); i++) {
// delete idNodes[i];
// }
delete graph;
}
void Solution::printCost() {
cout << cost << endl;
}
void Solution::printAssignedTools() {
for(int i = 0; i < pbData->N(); i++) {
for(int j = 0; j < pbData->C(); j++) {
cout << assignedTools[i][j] << " ";
}
cout << endl;
}
}
void Solution::printScheduling() {
for(int i = 0; i < pbData->N(); i++) {
cout << scheduling[i] << " ";
}
cout << endl;
}
int Solution::minDistance(vector<int> dist, vector<bool> sptSet, int V) {
// Initialize min value
int min = MAX_INT, min_index;
for (int v = 0; v < V; v++)
if (sptSet[v] == false && dist[v] <= min) {
min = dist[v];
min_index = v;
}
return min_index;
}
vector<int> Solution::getPath(vector<int> parent, int j, int src) {
// cout << "j = " << j << endl;
// cout << "src = " << src << endl;
// cout << "parent = ";
// for(int i = 0; i < parent.size(); i++)
// cout << parent[i] << " ";
// cout << endl;
const int n = pbData->N();
vector<int> path (n);
int p = j;
path[n-1] = j;
int q = n-2;
while(p != src) {
p = parent[p];
path[q] = p;
q--;
}
// cout << "path = ";
// for(int i = 0; i < path.size(); i++)
// cout << path[i] << " ";
// cout << endl;
return path;
}
ShortestPath * Solution::dijkstra(Graph * G, int src) {
const int V = G->getNbNodes();
vector< vector<int> > graph = G->getGraph();
vector<int> dist(V); // The output array. dist[i] will hold
// the shortest distance from src to i
// sptSet[i] will true if vertex i is included / in shortest
// path tree or shortest distance from src to i is finalized
vector<bool> sptSet(V);
// Parent array to store shortest path tree
vector<int> parent(V);
// Initialize all distances as INFINITE and stpSet[] as false
for (int i = 0; i < V; i++)
{
parent[src] = -1;
dist[i] = MAX_INT;
sptSet[i] = false;
}
// cout << "--- after Initialize" << endl;
// Distance of source vertex from itself is always 0
dist[src] = 0;
// Find shortest path for all vertices
for (int count = 0; count < V-1; count++)
{
// Pick the minimum distance vertex from the set of
// vertices not yet processed. u is always equal to src
// in first iteration.
int u = minDistance(dist, sptSet, V);
// Mark the picked vertex as processed
sptSet[u] = true;
// Update dist value of the adjacent vertices of the
// picked vertex.
for (int v = 0; v < V; v++)
// Update dist[v] only if is not in sptSet, there is
// an edge from u to v, and total weight of path from
// src to v through u is smaller than current value of
// dist[v]
if (!sptSet[v] /*&& graph[u][v]*/ &&
dist[u] + graph[u][v] < dist[v])
{
parent[v] = u;
dist[v] = dist[u] + graph[u][v];
}
}
// cout << "--- after COmputing shortest path" << endl;
int min = MAX_INT;
int minIdx = 0;
vector<int> targetNodes = G->getTargetNodes();
for (int i = 0; i < targetNodes.size(); i++) {
if(dist[targetNodes[i]] < min) {
min = dist[targetNodes[i]];
minIdx = targetNodes[i];
}
}
// cout << "--- after targetNodes" << endl;
vector<int> path = getPath(parent, minIdx, src);
ShortestPath * sp = new ShortestPath(path, min);
// cout << "--- after creating SP" << endl;
return sp;
} | [
"gribel.daniel@gmail.com"
] | gribel.daniel@gmail.com |
c0183be444025be07e8bb3f841e90b1292a0d474 | 78e2aa848f34bd5a68ad014b30bbf4d983769ba9 | /Till June 9th/Video Stitching.cpp | 605d9f7e6863139d02c984fb5159a8af566fc768 | [] | no_license | aquatiko/Leetcode-tracker | 781406e2908b973a76cc538905a375355a4a1ace | 83271943d4849c9cb4cc5efa3b4840b1d533eb3e | refs/heads/master | 2022-10-21T06:00:40.770436 | 2020-06-11T01:00:07 | 2020-06-11T01:00:07 | 256,263,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | static const int fastio = []() {
#define endl '\n'
std::ios::sync_with_stdio(false);
std::cin.tie(NULL);
std::cout.tie(NULL);
return 0;
}();
class Solution {
public:
int videoStitching(vector<vector<int>>& clips, int t) {
vector<vector<int>> dp(clips.size()+1, vector<int> (t+1, -1));
sort(clips.begin(), clips.end());
int ans = solve(clips, dp, clips.size()-1, t);
if(ans >200)
return -1;
else
return ans;
}
int solve(vector<vector<int>> &clips, vector<vector<int>> &dp, int pos, int t)
{
if(t<=0)
return 0;
if(pos<0)
return INT_MAX/2;
if(dp[pos][t]!=-1)
return dp[pos][t];
return dp[pos][t] = min(solve(clips, dp, pos-1, t), clips[pos][0]<=t && clips[pos][1]>=t ? 1 + solve(clips, dp, pos-1, clips[pos][0]) : INT_MAX);
}
};
// D.P O(n^2) Time and Space DFS based solution. Can be improved by a greedy approach.
| [
"rohit970819@gmail.com"
] | rohit970819@gmail.com |
5d974718b7035270e75b0d3f969cdac6439ac5d4 | 13094d3a0899ebc273d3fd0ca3192bd58c3b1fdd | /color_method/main.cpp | df2c2656b9a3622c1ca8cd6bda908775aafbcad8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | jsanchezperez/ica | 7532989a8df50ccc110ea4ae269a4a7606a7ef7e | 7b0b5b79cb64a3246e72f155dc15eb4274bd971e | refs/heads/master | 2021-01-11T09:03:44.406005 | 2016-12-29T13:47:58 | 2016-12-29T13:47:58 | 77,612,891 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,443 | cpp | // This program is free software: you can use, modify and/or redistribute it
// under the terms of the simplified BSD License. You should have received a
// copy of this license along this program. If not, see
// <http://www.opensource.org/licenses/bsd-license.html>.
//
// Copyright (C) 2015, Javier Sánchez Pérez <jsanchez@dis.ulpgc.es>
// All rights reserved.
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <algorithm>
#include "inverse_compositional_algorithm.h"
#include "file.h"
#define PAR_DEFAULT_NSCALES 5
#define PAR_DEFAULT_ZFACTOR 0.5
#define PAR_DEFAULT_TOL 0.001
#define PAR_DEFAULT_TYPE 8
#define PAR_DEFAULT_ROBUST 3
#define PAR_DEFAULT_LAMBDA 0.0
#define PAR_DEFAULT_VERBOSE 0
#define PAR_DEFAULT_OUTFILE "transform.mat"
/**
*
* Print a help message
*
*/
void print_help(char *name)
{
printf("\n<Usage>: %s image1 image2 [OPTIONS] \n\n", name);
printf("This program calculates the transformation between two images.\n");
printf("It implements the inverse compositional algorithm. \n");
printf("More information in http://www.ipol.im \n\n");
printf("OPTIONS:\n");
printf("--------\n");
printf(" -f name \t Name of the output filename that will contain the\n");
printf(" \t computed transformation\n");
printf(" \t Default value %s\n", PAR_DEFAULT_OUTFILE);
printf(" -n N \t Number of scales for the coarse-to-fine scheme\n");
printf(" \t Default value %d\n", PAR_DEFAULT_NSCALES);
printf(" -z F \t Zoom factor used in the coarse-to-fine scheme \n");
printf(" \t Values must be in the range (0,1)\n");
printf(" \t Default value %0.2f\n",
PAR_DEFAULT_ZFACTOR);
printf(" -e F \t Threshold for the convergence criterion \n");
printf(" \t Default value %0.4f\n", PAR_DEFAULT_TOL);
printf(" -t N \t Transformation type to be computed:\n");
printf(" \t 2-traslation; 3-Euclidean transform; 4-similarity\n");
printf(" \t 6-affinity; 8-homography\n");
printf(" \t Default value %d\n",
PAR_DEFAULT_TYPE);
printf(" -r N \t Use robust error functions: \n");
printf(" \t 0-Non robust (L2 norm); 1-truncated quadratic\n");
printf(" \t 2-German & McLure; 3-Lorentzian 4-Charbonnier \n");
printf(" \t Default value %d\n",
PAR_DEFAULT_ROBUST);
printf(" -l F \t Value of the parameter for the robust error function\n");
printf(" \t A value <=0 if it is automatically computed\n");
printf(" \t Default value %0.0f\n", PAR_DEFAULT_LAMBDA);
printf(" -v \t Switch on verbose mode. \n\n\n");
}
/**
*
* Read command line parameters
*
*/
int read_parameters(
int argc,
char *argv[],
char **image1,
char **image2,
char *outfile,
int &nscales,
double &zfactor,
double &TOL,
int &nparams,
int &robust,
double &lambda,
int &verbose
)
{
if (argc < 3){
print_help(argv[0]);
return 0;
}
else{
int i=1;
*image1=argv[i++];
*image2=argv[i++];
//assign default values to the parameters
strcpy(outfile,PAR_DEFAULT_OUTFILE);
nscales=PAR_DEFAULT_NSCALES;
zfactor=PAR_DEFAULT_ZFACTOR;
TOL =PAR_DEFAULT_TOL;
nparams=PAR_DEFAULT_TYPE;
robust =PAR_DEFAULT_ROBUST;
lambda =PAR_DEFAULT_LAMBDA;
verbose=PAR_DEFAULT_VERBOSE;
//read each parameter from the command line
while(i<argc)
{
if(strcmp(argv[i],"-f")==0)
if(i<argc-1)
strcpy(outfile,argv[++i]);
if(strcmp(argv[i],"-n")==0)
if(i<argc-1)
nscales=atoi(argv[++i]);
if(strcmp(argv[i],"-z")==0)
if(i<argc-1)
zfactor=atof(argv[++i]);
if(strcmp(argv[i],"-e")==0)
if(i<argc-1)
TOL=atof(argv[++i]);
if(strcmp(argv[i],"-t")==0)
if(i<argc-1)
nparams=atoi(argv[++i]);
if(strcmp(argv[i],"-r")==0)
if(i<argc-1)
robust=atoi(argv[++i]);
if(strcmp(argv[i],"-l")==0)
if(i<argc-1)
lambda=atof(argv[++i]);
if(strcmp(argv[i],"-v")==0)
verbose=1;
i++;
}
//check parameter values
if(nscales <= 0) nscales=PAR_DEFAULT_NSCALES;
if(zfactor<=0||zfactor>=1) zfactor=PAR_DEFAULT_ZFACTOR;
if(TOL<0) TOL =PAR_DEFAULT_TOL;
if(nparams!=2 && nparams!=3 && nparams!=4 &&
nparams!=6 && nparams!=8) nparams=PAR_DEFAULT_TYPE;
if(robust<0||robust>4) robust =PAR_DEFAULT_ROBUST;
if(lambda<0) lambda =PAR_DEFAULT_LAMBDA;
}
return 1;
}
/**
*
* Main program:
* This program reads the following parameters from the console and
* computes the corresponding parametric transformation:
* -I1 first image
* -I2 second image
* -out_file name of the output flow field
* -nscales number of scales for the pyramidal approach
* -zoom_factor reduction factor for creating the scales
* -TOL stopping criterion threshold for the iterative process
* -robust type of the robust error function
* -lambda parameter of the robust error function
* -type type of the parametric model (the number of parameters):
* Translation(2), Euclidean(3), Similarity(4), Affinity(6),
* Homography(8)
* -verbose switch on/off messages
*
*/
int main (int argc, char *argv[])
{
//parameters of the method
char *image1, *image2, outfile[200];
int nscales, nparams, robust, verbose;
double zfactor, TOL, lambda;
//read the parameters from the console
int result=read_parameters(
argc, argv, &image1, &image2, outfile, nscales,
zfactor, TOL, nparams, robust, lambda, verbose
);
if(result)
{
int nx, ny, nz, nx1, ny1, nz1;
double *I1, *I2;
//read the input images
bool correct1=read_image(image1, &I1, nx, ny, nz);
bool correct2=read_image(image2, &I2, nx1, ny1, nz1);
// if the images are correct, compute the optical flow
if (correct1 && correct2 && nx == nx1 && ny == ny1 && nz == nz1)
{
if(verbose)
printf(
"\nParameters: scales=%d, zoom=%f, TOL=%f, transform type=%d, "
"robust function=%d, lambda=%f, output file=%s\n",
nscales, zfactor, TOL, nparams, robust, lambda, outfile
);
//limit the number of scales according to image size (min 32x32)
const double N=1+log(std::min(nx, ny)/32.)/log(1./zfactor);
if ((int) N<nscales) nscales=(int) N;
//allocate memory for the parametric model
double *p=new double[nparams];
//compute the optic flow
const clock_t begin = clock();
pyramidal_inverse_compositional_algorithm(
I1, I2, p, nparams, nx, ny, nz,
nscales, zfactor, TOL, robust, lambda, verbose
);
// if(verbose)
printf("Time=%f\n", double(clock()-begin)/CLOCKS_PER_SEC);
//save the parametric model to disk
save(outfile, p, nparams);
//free memory
free (I1);
free (I2);
delete[]p;
}
else
{
printf("Cannot read the images or their sizes are not the same\n");
exit(EXIT_FAILURE);
}
}
exit(EXIT_SUCCESS);
}
| [
"jsanchez@ulpgc.es"
] | jsanchez@ulpgc.es |
a3cb8e40267ddac2a2ab3a8476918ceec6c2df62 | 31d4b6f0d533146c8b35a300c96bf0700983eea5 | /src/Boards/board.cpp | a0dd3d1ff48c5915277380ec415eb0c5f365d365 | [] | no_license | mwidya/Mutation_0.8.0 | bccc904e0776970e3b667102a1be1b4c99646e6b | 8c0dc1a1cbbe5984a652d1909769b3656318b0a5 | refs/heads/master | 2021-01-19T04:52:05.463148 | 2014-09-18T14:26:18 | 2014-09-18T14:26:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | //
// board.cpp
// Mutation
//
// Created by Martin Widyanata on 29.08.14.
//
//
#include "board.h"
void board::clear(){
ofSetColor(0, 0, 0, 5);
ofRect(0, 0, mFbo->getWidth(), mFbo->getHeight());
} | [
"mwidya@gmail.com"
] | mwidya@gmail.com |
110e482a1a141741864f62683690cf57cff93bd3 | 607a94d77bfce424e0491fe6be0773a70b7e7c00 | /objectsOnFreeStore.cpp | 6678170387d52975a569586d131e800145c3af89 | [] | no_license | Frijol/Learning-C-- | 2354e087c8d9af9c6772d7dde05953cb2f404b91 | 6fa9d8a21a4701deba9aa4e000fec4f32f5573b2 | refs/heads/master | 2020-06-02T01:45:08.358430 | 2014-03-04T18:20:02 | 2014-03-04T18:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | // Working with objects on the free store
// Destructor is called before deletion
// Frisky is on the stack
// *pRags is in the free store
#include <iostream>
class SimpleCat
{
public:
SimpleCat();
~SimpleCat();
private:
int itsAge;
};
SimpleCat::SimpleCat()
{
std::cout << "Constructor called.\n";
itsAge = 1;
}
SimpleCat::~SimpleCat()
{
std::cout << "Destructor called.\n";
}
int main ()
{
std::cout << "SimpleCat Frisky...\n";
SimpleCat Frisky;
std::cout << "SimpleCat *pRags = new SimpleCat...\n";
SimpleCat * pRags = new SimpleCat;
std::cout << "delete pRags...\n";
delete pRags;
std::cout << "Exiting...\n";
return 0;
} | [
"ifoundthemeaningoflife@gmail.com"
] | ifoundthemeaningoflife@gmail.com |
449a533a6d52a053c7aa28ec51a9a2b614564b0e | 8eebed194792ff0f24326b1852cd165f92b25f04 | /Classes/FKJsonParser.cpp | 37d0d838dd555f122eb5bec0f5bd4847eeee348e | [] | no_license | Crasader/childrenReadBook | dc17d556a0eb6863b27891d305ccb4c476b9215b | ee70e889c58923030e3accc1b82bbef09f92d1a0 | refs/heads/master | 2020-11-29T10:50:10.011773 | 2017-08-18T07:26:58 | 2017-08-18T07:26:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,121 | cpp | #include "FKJsonParser.h"
#include <string>
NS_FK_BEGIN
JsonParser::JsonParser()
{
}
JsonParser::~JsonParser()
{
}
void JsonParser::dealloc()
{
_subtitleData.clear();
_Event.clear();
_bookData.clear();
_pageData.clear();
_movieData.clear();
_spriteData.clear();
_keyPathData.clear();
_animationData.clear();
_gameSpriteData.clear();
_complexLineData.clear();
_normalPointData.clear();
_animationGroupData.clear();
_complexLineTagData.clear();
_particleSystemData.clear();
_animationGroupSetData.clear();
_animationGroupMemberDataKey.clear();
_animationGroupMemberDataValue.clear();
_vAnimationGroupMemberDataValue.clear();
_animationComboData.clear();
}
int JsonParser::parserBook(string sBookPath,float resourcesScale,float coordinateScale,Vec2 winSizeOffset)
{
int errCode = -1;
//判断bookPath是否存在
if (FileUtils::getInstance()->isDirectoryExist(sBookPath))
{
//将书名存入_bookData中
_bookData.setBookPath(sBookPath);
_bookData.setResourcesScale(resourcesScale);
_bookData.setCoordinateScale(coordinateScale);
_bookData.setWinSizeOffset(winSizeOffset);
log("find book");
//判断资源文件夹中是否包含json文件
auto filePath = sBookPath + "/json.txt";
if (FileUtils::getInstance()->isFileExist(filePath)) {
//获取json字符串
auto jsonStr = FileUtils::getInstance()->getStringFromFile(filePath);
if (jsonStr == "") {
errCode = -4;
}else
{
errCode = 0;
rapidjson::Document doc;
doc.Parse<0>(jsonStr.c_str());
// log("%s",jsonStr.c_str());
//解析book字段
const rapidjson::Value &book = doc["book"];
setPageDataToBookData(book);
}
}else
{
errCode = -3;
}
}else
{
errCode = -2;
}
return errCode;
}
int JsonParser::setPageDataToBookData(const rapidjson::Value &book)
{
int iRet = DATA_SUCCESS;
BookParser* bookParser = BookParser::getInstance();
//校验book数据
if (!book.IsArray()) {
log("bookData is wrong");
return iRet = DATA_ERROR;
}
_bookData.setPages((int)book.Size());
for (rapidjson::SizeType i = 0; i < book.Size(); i++) {
_pageData.clear();
const rapidjson::Value &bookValue = book[i];
const rapidjson::Value &pageDic = bookValue["page"];
const rapidjson::Value &soundId = pageDic["sound"];
const rapidjson::Value &interrupt = pageDic["interrupt"];
const rapidjson::Value &pageType = pageDic["pagetype"];
_pageData.setSoundId(soundId.GetString());
_pageData.setInterrupt(interrupt.GetString());
_pageData.setPageType(pageType.GetString());
//如果pagetype为standard
if (0 == strcmp(pageType.GetString(), "standard"))
{
iRet = setStandardPageDataToBookData(i, pageDic);
}
//如果pagetype为game
else if (0 == strcmp(pageType.GetString(), "game"))
{
iRet = setGamePageDataToBookData(i, pageDic);
}
if (pageDic.HasMember("subtitlesound")) {
const rapidjson::Value &subtitleSound = pageDic["subtitlesound"];
_pageData.setSubtitleSoundId(subtitleSound.GetString());
}
if (pageDic.HasMember("subtitleset")) {
const rapidjson::Value &subtitleSet = pageDic["subtitleset"];
setSubtitleDataToPageData(subtitleSet);
}
//animationgroup
if(pageDic.HasMember("animationgroupset"))
{
const rapidjson::Value &animationGroupSet = pageDic["animationgroupset"];
iRet = setAnimationGroupDataToPageData(animationGroupSet);
}
//movie
if(pageDic.HasMember("movieset"))
{
const rapidjson::Value &movieSet = pageDic["movieset"];
iRet = setMovieDataToPageData(movieSet);
}
//particle
if(pageDic.HasMember("particleset"))
{
const rapidjson::Value &particleSet = pageDic["particleset"];
iRet = setParticleSystemDataToPageData(particleSet);
}
_bookData.setPageData((int)i + 1, _pageData);
}
bookParser->setBookData(_bookData);
//内存释放
dealloc();
return iRet;
}
#pragma mark - Standard
int JsonParser::setStandardPageDataToBookData(int i, const rapidjson::Value &pageDic)
{
int iRet = DATA_SUCCESS;
const rapidjson::Value &spriteSet = pageDic["spriteset"];
iRet = setSpriteDataToStandard(spriteSet);
return iRet;
}
int JsonParser::setSpriteDataToStandard(const rapidjson::Value &spriteSet)
{
int iRet = DATA_SUCCESS;
if (!spriteSet.IsArray()) {
log("gameData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < spriteSet.Size(); i++) {
_spriteData.clear();
const rapidjson::Value &spDic = spriteSet[i];
const rapidjson::Value &sprite = spDic["sprite"];
setJsonToSpriteData(sprite);
_pageData.setSpriteData(_spriteData);
}
return iRet;
}
int JsonParser::setJsonToSpriteData(const rapidjson::Value &sprite)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &position = sprite["position"];
const rapidjson::Value &anchorPoint = sprite["anchorPoint"];
const rapidjson::Value &x = position["x"];
const rapidjson::Value &y = position["y"];
const rapidjson::Value &z = position["z"];
const rapidjson::Value &anchorPointX = anchorPoint["x"];
const rapidjson::Value &anchorPointY = anchorPoint["y"];
_spriteData.setImageId(sprite["image"].GetString());
_spriteData.setSoundId(sprite["sound"].GetString());
_spriteData.setCenterPoint(x.GetString(), y.GetString(), _bookData.getCoordinateScale(), _bookData.getWinSizeOffset());
_spriteData.setZOrder(z.GetString());
_spriteData.setAnchorPoint(anchorPointX.GetString(), anchorPointY.GetString());
_spriteData.setTag(sprite["tag"].GetString());
_spriteData.setOpacity(sprite["opacity"].GetString());
_spriteData.setScale(sprite["scale"].GetString(), _bookData.getResourcesScale());
_spriteData.setRotation(sprite["rotation"].GetString());
_spriteData.setTouchEnable(sprite["touchenable"].GetString());
//透明检测
if (sprite.HasMember("isalphadetection")) {
_spriteData.setIsAlpha(sprite["isalphadetection"].GetString());
}
//拖动
if (0 == strcmp(sprite["touchenable"].GetString(), "yes")) {
const rapidjson::Value &endPosition = sprite["endposition"];
const rapidjson::Value &endX = endPosition["x"];
const rapidjson::Value &endY = endPosition["y"];
_spriteData.setEndPosition(endX.GetString(), endY.GetString() ,_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
}
iRet = DATA_SUCCESS;
} catch (exception &error) {
log("error.%s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
#pragma mark - Game
int JsonParser::setGamePageDataToBookData(int i, const rapidjson::Value &pageDic)
{
int iRet = DATA_SUCCESS;
iRet = setGameDataToGame(pageDic);
return iRet;
}
int JsonParser::setGameDataToGame(const rapidjson::Value &pageDic)
{
int iRet = DATA_SUCCESS;
const rapidjson::Value &gameSet = pageDic["gameset"];
const rapidjson::Value &gameType = pageDic["gametype"];
_pageData.setGameType(gameType.GetString());
//拼图/顺序连线,判断是否有序
if (pageDic.HasMember("isorder")) {
const rapidjson::Value &isOrder = pageDic["isorder"];
_pageData.setIsOrder(isOrder.GetString());
}
//复杂连线游戏
if(pageDic.HasMember("lineset")){
const rapidjson::Value &lineSet = pageDic["lineset"];
for (unsigned int i = 0; i < lineSet.Size(); i++)
{
_complexLineData.clear();
const rapidjson::Value &lsDic = lineSet[i];
const rapidjson::Value &line= lsDic["line"];
iRet = setLineToComplexLineData(line);
_pageData.setComplexLineData(_complexLineData);
}
}
//画板游戏
if (pageDic.HasMember("renderrect")) {
const rapidjson::Value &renderRect = pageDic["renderrect"];
const rapidjson::Value &renderRectX = renderRect["x"];
const rapidjson::Value &renderRectY = renderRect["y"];
const rapidjson::Value &renderRectW = renderRect["w"];
const rapidjson::Value &renderRectH = renderRect["h"];
_pageData.setRenderRect(renderRectX.GetString(), renderRectY.GetString(), renderRectW.GetString(), renderRectH.GetString(), _bookData.getCoordinateScale(), _bookData.getWinSizeOffset());
}
//迷宫游戏
if (pageDic.HasMember("keypathset")) {
const rapidjson::Value &keyPathSet = pageDic["keypathset"];
for (unsigned int i = 0; i < keyPathSet.Size(); i++)
{
_keyPathData.clear();
const rapidjson::Value &kpDic = keyPathSet[i];
const rapidjson::Value &keyPath= kpDic["keypath"];
iRet = setKeyPathDataToGame(keyPath);
}
}
if (!gameSet.IsArray()) {
log("gameData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < gameSet.Size(); i++) {
_gameSpriteData.clear();
const rapidjson::Value &gsDic = gameSet[i];
const rapidjson::Value &sprite = gsDic["sprite"];
//设置基本精灵参数
setJsonToGameSpriteData(sprite);
//倒计时
if (sprite.HasMember("timer"))
{
_gameSpriteData.setTimer(sprite["timer"].GetString());
}
//次序ID,拼图/顺序连线
if (sprite.HasMember("orderid"))
{
const rapidjson::Value &orderId = sprite["orderid"];
_gameSpriteData.setOrderId(orderId.GetString());
}
//拼图游戏
if (sprite.HasMember("finishposition"))
{
const rapidjson::Value &finishPosition = sprite["finishposition"];
const rapidjson::Value &finishPositionX = finishPosition["x"];
const rapidjson::Value &finishPositionY = finishPosition["y"];
_gameSpriteData.setFinishPosition(finishPositionX.GetString(), finishPositionY.GetString(), _bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
const rapidjson::Value &startScale = sprite["startscale"];
const rapidjson::Value &endScale = sprite["endscale"];
_gameSpriteData.setStartScale(startScale.GetString(), _bookData.getResourcesScale());
_gameSpriteData.setEndScale(endScale.GetString(), _bookData.getResourcesScale());
}
//填色游戏
if (sprite.HasMember("isfilling"))
{
_gameSpriteData.setIsFilling(sprite["isfilling"].GetString());
}
if (sprite.HasMember("color"))
{
const rapidjson::Value &color = sprite["color"];
const rapidjson::Value &colorR = color["r"];
const rapidjson::Value &colorG = color["g"];
const rapidjson::Value &colorB = color["b"];
_gameSpriteData.setColor(colorR.GetString(), colorG.GetString(),colorB.GetString());
}
//连线游戏
if (sprite.HasMember("relation"))
{
_gameSpriteData.setRelation(sprite["relation"].GetString());
}
//顺序连线游戏
if (sprite.HasMember("imagetouched"))
{
_gameSpriteData.setImageTouched(sprite["imagetouched"].GetString());
}
if (sprite.HasMember("iswin"))
{
_gameSpriteData.setIsWin(sprite["iswin"].GetString());
}
//复杂连线游戏
if(sprite.HasMember("groupid"))
{
_gameSpriteData.setGroupId(sprite["groupid"].GetString());
}
//找不同游戏
if (sprite.HasMember("type"))
{
const rapidjson::Value &type = sprite["type"];
_gameSpriteData.setType(type.GetString());
}
//新找不同游戏
if (sprite.HasMember("relationid"))
{
const rapidjson::Value &relationId = sprite["relationid"];
_gameSpriteData.setRelationId(relationId.GetString());
}
//迷宫游戏角色
if (sprite.HasMember("role"))
{
_gameSpriteData.setRole(sprite["role"].GetString());
}
_pageData.setGameSpriteData(_gameSpriteData);
}
return iRet;
}
int JsonParser::setJsonToGameSpriteData(const rapidjson::Value &sprite)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &position = sprite["position"];
const rapidjson::Value &anchorPoint = sprite["anchorPoint"];
const rapidjson::Value &x = position["x"];
const rapidjson::Value &y = position["y"];
const rapidjson::Value &z = position["z"];
const rapidjson::Value &anchorPointX = anchorPoint["x"];
const rapidjson::Value &anchorPointY = anchorPoint["y"];
_gameSpriteData.setImageId(sprite["image"].GetString());
_gameSpriteData.setSoundId(sprite["sound"].GetString());
_gameSpriteData.setPosition(x.GetString(), y.GetString() ,_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
_gameSpriteData.setZOrder(z.GetString());
_gameSpriteData.setAnchorPoint(anchorPointX.GetString(), anchorPointY.GetString());
_gameSpriteData.setTag(sprite["tag"].GetString());
_gameSpriteData.setOpacity(sprite["opacity"].GetString());
_gameSpriteData.setScale(sprite["scale"].GetString() ,_bookData.getResourcesScale());
_gameSpriteData.setRotation(sprite["rotation"].GetString());
_gameSpriteData.setTouchEnable(sprite["touchenable"].GetString());
//透明检测
if (sprite.HasMember("isalphadetection")) {
_gameSpriteData.setIsAlpha(sprite["isalphadetection"].GetString());
}
//拖动
if (0 == strcmp(sprite["touchenable"].GetString(), "yes")) {
const rapidjson::Value &endPosition = sprite["endposition"];
const rapidjson::Value &endX = endPosition["x"];
const rapidjson::Value &endY = endPosition["y"];
_gameSpriteData.setEndPosition(endX.GetString(), endY.GetString() ,_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
}
iRet = DATA_SUCCESS;
} catch (exception &error) {
log("error.%s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
//复杂连线游戏
int JsonParser::setLineToComplexLineData(const rapidjson::Value &line)
{
int iRet = DATA_SUCCESS;
const rapidjson::Value &lineGroupId = line["linegroupid"];
const rapidjson::Value &lineMode = line["linemode"];
_complexLineData.setLineGroupId(lineGroupId.GetString());
_complexLineData.setLineMode(lineMode.GetString());
const rapidjson::Value &lineTagSet = line["linetagset"];
if (!lineTagSet.IsArray()) {
log("ComplexLineTagData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < lineTagSet.Size(); i++) {
_complexLineTagData.clear();
const rapidjson::Value <Dic = lineTagSet[i];
const rapidjson::Value &lineTag = ltDic["linetag"];
const rapidjson::Value &startTag = lineTag["starttag"];
const rapidjson::Value &endTag = lineTag["endtag"];
_complexLineTagData.setStartTag(startTag.GetString());
_complexLineTagData.setEndTag(endTag.GetString());
_complexLineData.setComplexLineTagData(_complexLineTagData);
}
return iRet;
}
//迷宫游戏额外属性
int JsonParser::setKeyPathDataToGame(const rapidjson::Value &keyPath)
{
int iRet = DATA_SUCCESS;
try{
//********起点**************
_startPointData.clear();
const rapidjson::Value &startPoint = keyPath["startpoint"];
const rapidjson::Value &startCategory = startPoint["category"];
const rapidjson::Value &startPosition = startPoint["position"];
const rapidjson::Value &startPositionX = startPosition["x"];
const rapidjson::Value &startPositionY = startPosition["y"];
//特殊点类型
if(startPoint.HasMember("pointtype"))
{
_startPointData.setPointType(startPoint["pointtype"].GetString());
}
_startPointData.setCategory(startCategory.GetString());
_startPointData.setPosition(startPositionX.GetString(), startPositionY.GetString() ,_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
_keyPathData.setStartPointData(_startPointData);
//***************************
//**********终点**************
_endPointData.clear();
const rapidjson::Value &endPoint = keyPath["endpoint"];
const rapidjson::Value &endCategory = endPoint["category"];
const rapidjson::Value &endPosition = endPoint["position"];
const rapidjson::Value &endPositionX = endPosition["x"];
const rapidjson::Value &endPositionY = endPosition["y"];
//特殊点类型
if(endPoint.HasMember("pointtype"))
{
_endPointData.setPointType(endPoint["pointtype"].GetString());
}
_endPointData.setCategory(endCategory.GetString());
_endPointData.setPosition(endPositionX.GetString(), endPositionY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
//终点动画
if (endPoint.HasMember("animationgroup"))
{
const rapidjson::Value &animationGroup = endPoint["animationgroup"];
const rapidjson::Value &animationSet = animationGroup["animationset"];
const rapidjson::Value &spriteTag = animationGroup["spritetag"];
const rapidjson::Value &animationType = animationGroup["animationtype"];
if (0 == strcmp(animationType.GetString(), "repeat")) {
const rapidjson::Value × = animationGroup["times"];
_endPointData.setTimes(times.GetString());
}
_endPointData.setSpriteTag(spriteTag.GetString());
_endPointData.setAnimationType(animationType.GetString());
for (unsigned int i = 0; i < animationSet.Size(); i++)
{
_animationData.clear();
const rapidjson::Value &animationData = animationSet[i];
setJsonToAnimationData(animationData,"no");
_endPointData.setAnimationData(_animationData);
}
}
_keyPathData.setEndPointData(_endPointData);
//********解析普通点************
if(keyPath.HasMember("normalpointset"))
{
_normalPointData.clear();
const rapidjson::Value &normalPointSet = keyPath["normalpointset"];
for (unsigned int i = 0; i < normalPointSet.Size(); i++)
{
const rapidjson::Value &npDic = normalPointSet[i];
const rapidjson::Value &normalPoint = npDic["normalpoint"];
iRet = setNormalPointToKeyPathData(normalPoint);
//解析普通点动画
if (normalPoint.HasMember("animationgroup"))
{
const rapidjson::Value &animationGroup = normalPoint["animationgroup"];
const rapidjson::Value &animationSet = animationGroup["animationset"];
const rapidjson::Value &spriteTag = animationGroup["spritetag"];
const rapidjson::Value &animationType = animationGroup["animationtype"];
if (0 == strcmp(animationType.GetString(), "repeat")) {
const rapidjson::Value × = animationGroup["times"];
_normalPointData.setTimes(times.GetString());
}
_normalPointData.setSpriteTag(spriteTag.GetString());
_normalPointData.setAnimationType(animationType.GetString());
for (unsigned int i = 0; i < animationSet.Size(); i++)
{
_animationData.clear();
const rapidjson::Value &animationData = animationSet[i];
setJsonToAnimationData(animationData,"no");
_normalPointData.setAnimationData(_animationData);
}
}
_keyPathData.setNormalePointData(_normalPointData);
}
}
_pageData.setKeyPathData(_keyPathData);
}catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
//迷宫游戏普通点
int JsonParser::setNormalPointToKeyPathData(const rapidjson::Value &normalPoint)
{
int iRet = DATA_SUCCESS;
try{
const rapidjson::Value &number = normalPoint["number"];
const rapidjson::Value &position = normalPoint["position"];
const rapidjson::Value &x = position["x"];
const rapidjson::Value &y = position["y"];
_normalPointData.setNumber(number.GetString());
_normalPointData.setPosition(x.GetString(), y.GetString(), _bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
}catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
#pragma mark - Subtitle
int JsonParser::setSubtitleDataToPageData(const rapidjson::Value &subtitleSet)
{
int iRet = DATA_SUCCESS;
if (!subtitleSet.IsArray()) {
log("subtitleData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < subtitleSet.Size(); i++) {
_subtitleData.clear();
const rapidjson::Value &subtitleDic = subtitleSet[i];
const rapidjson::Value &subtitle = subtitleDic["subtitle"];
setJsonToSubtitleData(subtitle);
_pageData.setSubtitleSet(_subtitleData);
}
return iRet;
}
int JsonParser::setJsonToSubtitleData(const rapidjson::Value &subtitle)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &image = subtitle["image"];
const rapidjson::Value &position = subtitle["position"];
const rapidjson::Value &positionX = position["x"];
const rapidjson::Value &positionY = position["y"];
const rapidjson::Value &zorder = position["z"];
const rapidjson::Value &startTime = subtitle["starttime"];
const rapidjson::Value &duration = subtitle["duration"];
const rapidjson::Value &animationeffect = subtitle["animationeffect"];
_subtitleData.setImageId(image.GetString());
_subtitleData.setPosition(positionX.GetString(), positionY.GetString(), _bookData.getCoordinateScale(), _bookData.getWinSizeOffset());
_subtitleData.setZOrder(zorder.GetString());
_subtitleData.setStartTime(startTime.GetString());
_subtitleData.setDuration(duration.GetString());
_subtitleData.setAnimationEffect(animationeffect.GetString());
} catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
#pragma mark - movie
int JsonParser::setMovieDataToPageData(const rapidjson::Value &movieSet)
{
int iRet = DATA_SUCCESS;
if (!movieSet.IsArray()) {
log("movieData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < movieSet.Size(); i++) {
_movieData.clear();
const rapidjson::Value &mvDic = movieSet[i];
const rapidjson::Value &movie = mvDic["movie"];
setJsonToMovieData(movie);
_pageData.setMovieData(_movieData);
}
return iRet;
}
int JsonParser::setJsonToMovieData(const rapidjson::Value &movie)
{
int iRet = DATA_SUCCESS;
try{
const rapidjson::Value &frame = movie["frame"];
const rapidjson::Value &positionX = frame["x"];
const rapidjson::Value &positionY = frame["y"];
const rapidjson::Value &width = frame["width"];
const rapidjson::Value &height = frame["height"];
_movieData.setMovieId(movie["movie"].GetString());
_movieData.setScalingMode(movie["scalingmode"].GetString());
_movieData.setControlStyle(movie["controlstyle"].GetString());
_movieData.setMovieSourceType(movie["moviesourcetype"].GetString());
_movieData.setFrame(positionX.GetString(),positionY.GetString(),width.GetString(),height.GetString(),_bookData.getCoordinateScale(),_bookData.getResourcesScale());
}catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
#pragma mark - Particle
int JsonParser::setParticleSystemDataToPageData(const rapidjson::Value &particleSet)
{
int iRet = DATA_SUCCESS;
if (!particleSet.IsArray()) {
log("particleData is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < particleSet.Size(); i++) {
_particleSystemData.clear();
const rapidjson::Value &ptDic = particleSet[i];
const rapidjson::Value &particle = ptDic["particle"];
setJsonToParticleSystemData(particle);
_pageData.setParticleSystemData(_particleSystemData);
}
return iRet;
}
int JsonParser::setJsonToParticleSystemData(const rapidjson::Value &particle)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &position = particle["position"];
const rapidjson::Value &positionX = position["x"];
const rapidjson::Value &positionY = position["y"];
const rapidjson::Value &zorder = position["z"];
_particleSystemData.setParticleStyle(particle["particle"].GetString());
_particleSystemData.setCategory(particle["category"].GetString());
_particleSystemData.setImageId(particle["image"].GetString());
_particleSystemData.setPosition(positionX.GetString(), positionY.GetString(), _bookData.getCoordinateScale());
_particleSystemData.setZorder(zorder.GetString());
} catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
#pragma mark - AnimationGroup
int JsonParser::setAnimationGroupDataToPageData(const rapidjson::Value &animationGroupSet)
{
int iRet = DATA_SUCCESS;
if (!animationGroupSet.IsArray()) {
log("animationGroupData is wrong");
return iRet = DATA_ERROR;
}
_animationGroupSetData.clear();
_pageData.setAnimationGroupSetClear();
for (unsigned int i = 0; i < animationGroupSet.Size(); i++) {
const rapidjson::Value &animationGroupDic = animationGroupSet[i];
const rapidjson::Value &animationGroup = animationGroupDic["animationgroup"];
iRet = setAnimationGroupMemberDataToAnimationGroupData(animationGroup);
_animationGroupSetData.setAnimationGroupData(_animationGroupData);
}
_pageData.setAnimationGroupSet(_animationGroupSetData);
return iRet;
}
int JsonParser::setAnimationGroupMemberDataToAnimationGroupData(const rapidjson::Value &animationGroup)
{
int iRet = DATA_SUCCESS;
if (!animationGroup.IsArray()) {
log("animationGroup is wrong");
return iRet = DATA_ERROR;
}
_animationGroupData.clear();
_vAnimationGroupMemberDataValue.clear();
for (unsigned int i = 0; i < animationGroup.Size(); i++) {
const rapidjson::Value &animationGroupMember = animationGroup[i];
iRet = setJsonToAnimationGroupMemberData(animationGroupMember);
}
_animationGroupData.setAnimationGroupMemberDataMap(_animationGroupMemberDataKey, _vAnimationGroupMemberDataValue);
return iRet;
}
int JsonParser::setJsonToAnimationGroupMemberData(const rapidjson::Value &animationGroupMember)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &animationSet = animationGroupMember["animationset"];
const rapidjson::Value &event = animationGroupMember["event"];
const rapidjson::Value &spriteTag = animationGroupMember["spritetag"];
const rapidjson::Value &animationType = animationGroupMember["animationtype"];
//如果event为send,则存入memberKey,如果为receive,则存入memberValue
if (0 == strcmp(event.GetString(), "send"))
{
_animationGroupMemberDataKey.clear();
if (animationGroupMember.HasMember("animationcomboset")) {
const rapidjson::Value &animationComboSet = animationGroupMember["animationcomboset"];
setAnimationComboSetDataToAnimationGroupMemberData(animationComboSet, event);
}
if (0 == strcmp(animationType.GetString(), "repeat")) {
const rapidjson::Value × = animationGroupMember["times"];
_animationGroupMemberDataKey.setTimes(times.GetString());
}
_animationGroupMemberDataKey.setEvent(event.GetString());
_animationGroupMemberDataKey.setSpriteTag(spriteTag.GetString());
_animationGroupMemberDataKey.setAnimationType(animationType.GetString());
setAnimationSetDataToAnimationGroupMemberData(animationSet,event);
}
else if (0 == strcmp(event.GetString(), "receive"))
{
_animationGroupMemberDataValue.clear();
if (animationGroupMember.HasMember("animationcomboset")) {
const rapidjson::Value &animationComboSet = animationGroupMember["animationcomboset"];
setAnimationComboSetDataToAnimationGroupMemberData(animationComboSet, event);
}
if (0 == strcmp(animationType.GetString(), "repeat")) {
const rapidjson::Value × = animationGroupMember["times"];
_animationGroupMemberDataValue.setTimes(times.GetString());
}
_animationGroupMemberDataValue.setEvent(event.GetString());
_animationGroupMemberDataValue.setSpriteTag(spriteTag.GetString());
_animationGroupMemberDataValue.setAnimationType(animationType.GetString());
setAnimationSetDataToAnimationGroupMemberData(animationSet,event);
_vAnimationGroupMemberDataValue.push_back(_animationGroupMemberDataValue);
}
iRet = DATA_SUCCESS;
} catch (exception &error) {
log("error = %s",error.what());
return iRet = DATA_ERROR;
}
return iRet;
}
int JsonParser::setAnimationSetDataToAnimationGroupMemberData(const rapidjson::Value &animationSet, const rapidjson::Value &event)
{
int iRet = DATA_SUCCESS;
if (!animationSet.IsArray()) {
log("animationSet is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < animationSet.Size(); i++) {
_animationData.clear();
const rapidjson::Value &animationData = animationSet[i];
setJsonToAnimationData(animationData,event.GetString());
if (0 == strcmp(event.GetString(), "send")) {
_animationGroupMemberDataKey.setAnimationData(_animationData);
}
else if (0 == strcmp(event.GetString(), "receive"))
{
_animationGroupMemberDataValue.setAnimationData(_animationData);
}
}
return iRet;
}
int JsonParser::setAnimationComboSetDataToAnimationGroupMemberData(const rapidjson::Value &animationComboSet, const rapidjson::Value &event)
{
int iRet = DATA_SUCCESS;
if (!animationComboSet.IsArray()) {
log("animationcomboset is wrong");
return iRet = DATA_ERROR;
}
for (unsigned int i = 0; i < animationComboSet.Size(); i++) {
_animationComboData.clear();
const rapidjson::Value &animationComboDataDic = animationComboSet[i];
const rapidjson::Value &animationComboData = animationComboDataDic["animationcombo"];
const rapidjson::Value &animationType = animationComboData["animationtype"];
const rapidjson::Value &animationIds = animationComboData["animationids"];
_animationComboData.setAnimationType(animationType.GetString());
_animationComboData.setAnimationIds(animationIds.GetString());
if (0 == strcmp(event.GetString(), "send")) {
_animationGroupMemberDataKey.setAnimationComboData(_animationComboData);
}else if (0 == strcmp(event.GetString(), "receive"))
{
_animationGroupMemberDataValue.setAnimationComboData(_animationComboData);
}
}
return iRet;
}
int JsonParser::setJsonToAnimationData(const rapidjson::Value &animationData, string event)
{
int iRet = DATA_SUCCESS;
try {
const rapidjson::Value &animation = animationData["animation"];
const rapidjson::Value &styleId = animation["style"];
const rapidjson::Value &categoryId = animation["category"];
_animationData.setStyleId(styleId.GetString());
_animationData.setCategoryId(categoryId.GetString());
if (animation.HasMember("animationid")) {
const rapidjson::Value &animationId = animation["animationid"];
_animationData.setAnimationId(animationId.GetString());
}
if (_pageData.getPageType() == "game") {
vector<GameSpriteData> vGameSpriteData = _pageData.getGameSpriteData();
for (unsigned int i = 0 ; i < vGameSpriteData.size(); i++) {
GameSpriteData gsData = vGameSpriteData[i];
if (event == "send") {
if (gsData.getTag() == _animationGroupMemberDataKey.getSpriteTag()) {
_animationData.setImageId(gsData.getImageId());
_animationData.setSoundId(gsData.getSoundId());
}
}else if (event == "receive")
{
if (gsData.getTag() == _animationGroupMemberDataValue.getSpriteTag())
{
_animationData.setImageId(gsData.getImageId());
_animationData.setSoundId(gsData.getSoundId());
}
}
}
}else if (_pageData.getPageType() == "standard")
{
map<int, SpriteData> mSpData = _pageData.getSpriteData();
for (map<int, SpriteData>::iterator it = mSpData.begin(); it != mSpData.end(); it++)
{
if (event == "send") {
if (it->first == _animationGroupMemberDataKey.getSpriteTag()) {
_animationData.setImageId(it->second.getImageId());
_animationData.setSoundId(it->second.getSoundId());
}
}else if (event == "receive")
{
if (it->first == _animationGroupMemberDataValue.getSpriteTag()) {
_animationData.setImageId(it->second.getImageId());
_animationData.setSoundId(it->second.getSoundId());
}
}
}
}
//string sImageId = _gameSpriteData.getImageId();
//移动
if (0 == strcmp(styleId.GetString(), "move") || 0 == strcmp(styleId.GetString(), "moveby"))
{
bool isRelative = false;
if (0 == strcmp(styleId.GetString(), "move")) {
isRelative = false;
}else
{
isRelative = true;
}
const rapidjson::Value &property = animation["property"];
const rapidjson::Value &endposition = property["endposition"];
const rapidjson::Value &endpositionX = endposition["x"];
const rapidjson::Value &endpositionY = endposition["y"];
_animationData.setEndPosition(endpositionX.GetString(),endpositionY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset(),isRelative);
_animationData.setDuration(property["duration"].GetString());
}
//旋转
else if (0 == strcmp(styleId.GetString(), "rotate") || 0 == strcmp(styleId.GetString(), "rotateby"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setAngle(property["angle"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//缩放
else if (0 == strcmp(styleId.GetString(), "scale") || 0 == strcmp(styleId.GetString(), "scaleby"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setScale(property["scale"].GetString(),_bookData.getResourcesScale());
_animationData.setDuration(property["duration"].GetString());
}
//跳跃
else if (0 == strcmp(styleId.GetString(), "jump") || 0 == strcmp(styleId.GetString(), "jumpby"))
{
bool isRelative = false;
if (0 == strcmp(styleId.GetString(), "jump")) {
isRelative = false;
}else
{
isRelative = true;
}
const rapidjson::Value &property = animation["property"];
const rapidjson::Value &endposition = property["endposition"];
const rapidjson::Value &endpositionX = endposition["x"];
const rapidjson::Value &endpositionY = endposition["y"];
_animationData.setEndPosition(endpositionX.GetString(),endpositionY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset(),isRelative);
_animationData.setHeight(property["height"].GetString(),_bookData.getCoordinateScale());
_animationData.setJumps(property["jumps"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//闪烁
else if (0 == strcmp(styleId.GetString(), "blink"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setBlinks(property["blinks"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//色调变化
else if (0 == strcmp(styleId.GetString(), "tint"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setRGBColor(property["red"].GetString(), property["green"].GetString
(), property["blue"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//渐变
else if (0 == strcmp(styleId.GetString(), "fade"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setOpacity(property["opacity"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//延迟时间
else if (0 == strcmp(styleId.GetString(), "delaytime"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setDelay(property["delay"].GetString());
}
//贝塞尔曲线
else if (0 == strcmp(styleId.GetString(), "bezier") || 0 == strcmp(styleId.GetString(), "bezierby"))
{
bool isRelative = false;
if (0 == strcmp(styleId.GetString(), "bezier")) {
isRelative = false;
}else
{
isRelative = true;
}
const rapidjson::Value &property = animation["property"];
const rapidjson::Value &controlPoint_1 = property["controlPoint_1"];
const rapidjson::Value &controlPoint_1X = controlPoint_1["x"];
const rapidjson::Value &controlPoint_1Y = controlPoint_1["y"];
const rapidjson::Value &controlPoint_2 = property["controlPoint_2"];
const rapidjson::Value &controlPoint_2X = controlPoint_2["x"];
const rapidjson::Value &controlPoint_2Y = controlPoint_2["y"];
const rapidjson::Value &endposition = property["endposition"];
const rapidjson::Value &endpositionX = endposition["x"];
const rapidjson::Value &endpositionY = endposition["y"];
_animationData.setEndPosition(endpositionX.GetString(),endpositionY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset(),isRelative);
_animationData.setBezierPoint(controlPoint_1X.GetString(),controlPoint_1Y.GetString(),controlPoint_2X.GetString(),controlPoint_2Y.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
_animationData.setDuration(property["duration"].GetString());
}
//帧动画
else if (0 == strcmp(styleId.GetString(), "animation"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setFramecount(property["framecount"].GetString());
_animationData.setDelay(property["delay"].GetString());
}
//放置动画
else if (0 == strcmp(styleId.GetString(), "place"))
{
const rapidjson::Value &property = animation["property"];
const rapidjson::Value &position = property["position"];
const rapidjson::Value &positionX = position["x"];
const rapidjson::Value &positionY = position["y"];
_animationData.setPosition(positionX.GetString(),positionY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
}
//对X轴\Y轴进行缩放(可以实现弹动)
else if (0 == strcmp(styleId.GetString(), "scaleXY"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setScaleXY(property["scaleX"].GetString(),property["scaleY"].GetString(),_bookData.getResourcesScale());
_animationData.setDuration(property["duration"].GetString());
}
//对X\Y轴进行旋转
else if (0 == strcmp(styleId.GetString(), "rotateXY"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setRotateXY(property["angleX"].GetString(),property["angleY"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//自定义修改锚点的圆周旋转
else if (0 == strcmp(styleId.GetString(), "diyrotateby"))
{
const rapidjson::Value &property = animation["property"];
const rapidjson::Value ¢er = property["center"];
const rapidjson::Value ¢erX = center["x"];
const rapidjson::Value ¢erY = center["y"];
_animationData.setCenter(centerX.GetString(),centerY.GetString(),_bookData.getCoordinateScale(),_bookData.getWinSizeOffset());
_animationData.setDegrees(property["degrees"].GetString());
_animationData.setRadius(property["radius"].GetString());
_animationData.setDuration(property["duration"].GetString());
}
//速度变化
/*else if (0 == strcmp(styleId.GetString(), "EaseIn") || 0 == strcmp(styleId.GetString(), "EaseOut"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setRate(property["rate"].GetString());
_animationData.setStyle(property["style"].GetString());
}*/
//切片替换
else if (0 == strcmp(styleId.GetString(),"imagereplace"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setCount(property["count"].GetString());
}
//点动预计X、Y轴的增常量
/*else if (styleId.HasMember("customaction"))
{
const rapidjson::Value &property = animation["property"];
_animationData.setCount(property["count"].GetString());
_animationData.setConstent(property["constentX"].GetString(),property["constentY"].GetString());
}*/
iRet = DATA_SUCCESS;
} catch (exception &error) {
log("error = %s",error.what());
iRet = DATA_ERROR;
}
return iRet;
}
NS_FK_END
| [
"operatium@163.com"
] | operatium@163.com |
1fb0c682b2eb230c073b671ece46d76fbdb3ad2b | a0cdfef4532ca405d0cef2b74d45282cb41198d0 | /377 (1).cpp | 1a0de2a22d06b673066247cb2a1f3ce5f2856d4c | [] | no_license | PeterXUYAOHAI/CityU_ACM | 4bd020c5bfb9335905a1d26b531a98367d9ffcf7 | 83b440c885484ca17817054b853b4768c4ff66d3 | refs/heads/master | 2021-01-10T16:01:21.555991 | 2016-04-21T14:15:22 | 2016-04-21T14:15:22 | 55,233,120 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include <iostream>
#include <string>
#include <queue>
#define INF 999999
using namespace std;
int cap[6000][6000];
int flow[6000][6000];
int n,m;
int source, sink;
void bfs(){
}
int main(){
cin>>n>>m;
source =0;
sink = n+1;
for (int i = 1; i <= n; ++i)
{
int weight;
cin>>weight;
weight>0?cap[source][i]=weight:cap[i][sink]=-weight;
}
while(m--){
int a,b;
cin>>a>>b;
cap[a][b]=INF;
cap[b][a]=INF;
}
} | [
"yaohaixupeter@gmail.com"
] | yaohaixupeter@gmail.com |
62324db55ccb7386e5f04f09368961ba813bad84 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/chrome/browser/ui/search/instant_search_prerenderer.cc | cbb80cd43e508b0fc09d799e4d4eb40e7594f5ea | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,621 | cc | // Copyright 2013 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.
#include "chrome/browser/ui/search/instant_search_prerenderer.h"
#include "chrome/browser/prerender/prerender_handle.h"
#include "chrome/browser/prerender/prerender_manager.h"
#include "chrome/browser/prerender/prerender_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search/instant_service.h"
#include "chrome/browser/search/instant_service_factory.h"
#include "chrome/browser/search/search.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/ui/browser_navigator_params.h"
#include "chrome/browser/ui/search/search_tab_helper.h"
#include "components/omnibox/browser/autocomplete_match.h"
#include "components/search/search.h"
#include "components/search_engines/template_url_service.h"
namespace {
// Returns true if the underlying page supports Instant search.
bool PageSupportsInstantSearch(content::WebContents* contents) {
// Search results page supports Instant search.
return SearchTabHelper::FromWebContents(contents)->IsSearchResultsPage();
}
// Returns true if |match| is associated with the default search provider.
bool MatchIsFromDefaultSearchProvider(const AutocompleteMatch& match,
Profile* profile) {
DCHECK(profile);
TemplateURLService* template_url_service =
TemplateURLServiceFactory::GetForProfile(profile);
return match.GetTemplateURL(template_url_service, false) ==
template_url_service->GetDefaultSearchProvider();
}
} // namespace
InstantSearchPrerenderer::InstantSearchPrerenderer(Profile* profile,
const GURL& url)
: profile_(profile),
prerender_url_(url) {
}
InstantSearchPrerenderer::~InstantSearchPrerenderer() {
if (prerender_handle_)
prerender_handle_->OnCancel();
}
// static
InstantSearchPrerenderer* InstantSearchPrerenderer::GetForProfile(
Profile* profile) {
DCHECK(profile);
InstantService* instant_service =
InstantServiceFactory::GetForProfile(profile);
return instant_service ? instant_service->instant_search_prerenderer() : NULL;
}
void InstantSearchPrerenderer::Init(
content::SessionStorageNamespace* session_storage_namespace,
const gfx::Size& size) {
// TODO(kmadhusu): Enable Instant for Incognito profile.
if (profile_->IsOffTheRecord())
return;
// Only cancel the old prerender after starting the new one, so if the URLs
// are the same, the underlying prerender will be reused.
std::unique_ptr<prerender::PrerenderHandle> old_prerender_handle(
prerender_handle_.release());
prerender::PrerenderManager* prerender_manager =
prerender::PrerenderManagerFactory::GetForProfile(profile_);
if (prerender_manager) {
prerender_handle_.reset(prerender_manager->AddPrerenderForInstant(
prerender_url_, session_storage_namespace, size));
}
if (old_prerender_handle)
old_prerender_handle->OnCancel();
}
void InstantSearchPrerenderer::Cancel() {
if (!prerender_handle_)
return;
last_instant_suggestion_ = InstantSuggestion();
prerender_handle_->OnCancel();
prerender_handle_.reset();
}
void InstantSearchPrerenderer::Prerender(const InstantSuggestion& suggestion) {
if (!prerender_handle_)
return;
if (last_instant_suggestion_.text == suggestion.text)
return;
if (last_instant_suggestion_.text.empty() &&
!prerender_handle_->IsFinishedLoading())
return;
if (!prerender_contents())
return;
last_instant_suggestion_ = suggestion;
SearchTabHelper::FromWebContents(prerender_contents())->
SetSuggestionToPrefetch(suggestion);
}
void InstantSearchPrerenderer::Commit(
const base::string16& query,
const EmbeddedSearchRequestParams& params) {
DCHECK(prerender_handle_);
DCHECK(prerender_contents());
SearchTabHelper::FromWebContents(prerender_contents())->Submit(query, params);
}
bool InstantSearchPrerenderer::CanCommitQuery(
content::WebContents* source,
const base::string16& query) const {
if (!source || query.empty() || !prerender_handle_ ||
!prerender_handle_->IsFinishedLoading() ||
!prerender_contents() || !QueryMatchesPrefetch(query)) {
return false;
}
// InstantSearchPrerenderer can commit query to the prerendered page only if
// the underlying |source| page doesn't support Instant search.
return !PageSupportsInstantSearch(source);
}
bool InstantSearchPrerenderer::UsePrerenderedPage(
const GURL& url,
chrome::NavigateParams* params) {
base::string16 search_terms =
search::ExtractSearchTermsFromURL(profile_, url);
prerender::PrerenderManager* prerender_manager =
prerender::PrerenderManagerFactory::GetForProfile(profile_);
if (search_terms.empty() || !params->target_contents ||
!prerender_contents() || !prerender_manager ||
!QueryMatchesPrefetch(search_terms) ||
params->disposition != CURRENT_TAB) {
Cancel();
return false;
}
// Do not use prerendered page for renderer initiated search requests.
if (params->is_renderer_initiated &&
params->transition == ui::PAGE_TRANSITION_LINK) {
Cancel();
return false;
}
bool success = prerender_manager->MaybeUsePrerenderedPage(
prerender_contents()->GetURL(), params);
prerender_handle_.reset();
return success;
}
bool InstantSearchPrerenderer::IsAllowed(const AutocompleteMatch& match,
content::WebContents* source) const {
// We block prerendering for anything but search-type matches associated with
// the default search provider.
//
// This is more restrictive than necessary. All that's really needed to be
// able to successfully prerender is that the |destination_url| of |match| be
// from the same origin and path as the default search engine, and the params
// to be sent to the server be a subset of the params we can pass to the
// prerenderer. So for example, if we normally prerender search URLs like
// https://google.com/search?q=foo&x=bar, then any match with a URL like that,
// potentially with the q and/or x params omitted, is prerenderable.
//
// However, if the URL has other params _not_ normally in the prerendered URL,
// there's no way to pass them to the prerendered page, and worse, if the URL
// does something like specifying params in both the query and ref sections of
// the URL (as Google URLs often do), it can quickly become impossible to
// figure out how to correctly tease out the right param names and values to
// send. Rather than try and write parsing code to deal with all these kinds
// of cases, for various different search engines, including accommodating
// changing behavior over time, we do the simple restriction described above.
// This handles the by-far-the-most-common cases while still being simple and
// maintainable.
return source && AutocompleteMatch::IsSearchType(match.type) &&
MatchIsFromDefaultSearchProvider(match, profile_) &&
!PageSupportsInstantSearch(source);
}
content::WebContents* InstantSearchPrerenderer::prerender_contents() const {
return (prerender_handle_ && prerender_handle_->contents()) ?
prerender_handle_->contents()->prerender_contents() : NULL;
}
bool InstantSearchPrerenderer::QueryMatchesPrefetch(
const base::string16& query) const {
if (search::ShouldReuseInstantSearchBasePage())
return true;
return last_instant_suggestion_.text == query;
}
| [
"dummas@163.com"
] | dummas@163.com |
9b9d382b77879cd180634f64e2b97c731debed6b | b0679024356500bcf99406c530dd89119acbdce7 | /assignments/program_3/stack.h | 3d23ae68f616aeb3040fd63e7cfb7664be42dab8 | [] | no_license | buddyjasmith/1063-DS-Smith | c55eadcecbc0a5320a765f2d8eb06057305b94d3 | e74f94abf8520079d70ee7ea8b77a45740ae6aa0 | refs/heads/master | 2021-01-19T02:14:01.847789 | 2019-03-19T03:09:42 | 2019-03-19T03:09:42 | 79,381,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | h | /*********************
*@AuthorName: Buddy Smith
*@DataStructures_1063
*@ClassName: Stack
*@Methods: Stack(int)
* Push(char)
* Pop()
* PrintStack()
* Empty()
* Full()
* CheckTop()
*@Data: char *S
* int top
* int size
*@Date: 3/19/2017
*/
#include <iostream>
using namespace std;
class Stack{
private:
char *S;
int top;
int size;
public:
Stack(int);
void push(char);
char pop();
void printStack();
bool Empty();
bool full();
char checkTop();
};
| [
"noreply@github.com"
] | noreply@github.com |
07c7ae5106fb1e4f92de2c3ab5406811b32ccfed | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/polygon/detail/polygon_arbitrary_formation.hpp | 92d1801748023a5174ede44e3147c31ae9e1b7b4 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121,839 | hpp | /*
Copyright 2008 Intel Corporation
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
*/
#ifndef BOOST_POLYGON_POLYGON_ARBITRARY_FORMATION_HPP
#define BOOST_POLYGON_POLYGON_ARBITRARY_FORMATION_HPP
namespace boost
{
namespace polygon
{
template <typename T, typename T2>
struct PolyLineArbitraryByConcept {};
template <typename T>
class poly_line_arbitrary_polygon_data;
template <typename T>
class poly_line_arbitrary_hole_data;
template <typename Unit>
struct scanline_base
{
typedef point_data<Unit> Point;
typedef std::pair<Point, Point> half_edge;
class less_point
{
public:
typedef Point first_argument_type;
typedef Point second_argument_type;
typedef bool result_type;
inline less_point() {}
inline bool operator () (const Point& pt1, const Point& pt2) const
{
if(pt1.get(HORIZONTAL) < pt2.get(HORIZONTAL)) return true;
if(pt1.get(HORIZONTAL) == pt2.get(HORIZONTAL))
{
if(pt1.get(VERTICAL) < pt2.get(VERTICAL)) return true;
}
return false;
}
};
static inline bool between(Point pt, Point pt1, Point pt2)
{
less_point lp;
if(lp(pt1, pt2))
return lp(pt, pt2) && lp(pt1, pt);
return lp(pt, pt1) && lp(pt2, pt);
}
template <typename area_type>
static inline Unit compute_intercept(const area_type& dy2,
const area_type& dx1,
const area_type& dx2)
{
//intercept = dy2 * dx1 / dx2
//return (Unit)(((area_type)dy2 * (area_type)dx1) / (area_type)dx2);
area_type dx1_q = dx1 / dx2;
area_type dx1_r = dx1 % dx2;
return dx1_q * dy2 + (dy2 * dx1_r)/dx2;
}
template <typename area_type>
static inline bool equal_slope(area_type dx1, area_type dy1, area_type dx2, area_type dy2)
{
typedef typename coordinate_traits<Unit>::unsigned_area_type unsigned_product_type;
unsigned_product_type cross_1 = (unsigned_product_type)(dx2 < 0 ? -dx2 :dx2) * (unsigned_product_type)(dy1 < 0 ? -dy1 : dy1);
unsigned_product_type cross_2 = (unsigned_product_type)(dx1 < 0 ? -dx1 :dx1) * (unsigned_product_type)(dy2 < 0 ? -dy2 : dy2);
int dx1_sign = dx1 < 0 ? -1 : 1;
int dx2_sign = dx2 < 0 ? -1 : 1;
int dy1_sign = dy1 < 0 ? -1 : 1;
int dy2_sign = dy2 < 0 ? -1 : 1;
int cross_1_sign = dx2_sign * dy1_sign;
int cross_2_sign = dx1_sign * dy2_sign;
return cross_1 == cross_2 && (cross_1_sign == cross_2_sign || cross_1 == 0);
}
template <typename T>
static inline bool equal_slope_hp(const T& dx1, const T& dy1, const T& dx2, const T& dy2)
{
return dx1 * dy2 == dx2 * dy1;
}
static inline bool equal_slope(const Unit& x, const Unit& y,
const Point& pt1, const Point& pt2)
{
const Point* pts[2] = {&pt1, &pt2};
typedef typename coordinate_traits<Unit>::manhattan_area_type at;
at dy2 = (at)pts[1]->get(VERTICAL) - (at)y;
at dy1 = (at)pts[0]->get(VERTICAL) - (at)y;
at dx2 = (at)pts[1]->get(HORIZONTAL) - (at)x;
at dx1 = (at)pts[0]->get(HORIZONTAL) - (at)x;
return equal_slope(dx1, dy1, dx2, dy2);
}
template <typename area_type>
static inline bool less_slope(area_type dx1, area_type dy1, area_type dx2, area_type dy2)
{
//reflext x and y slopes to right hand side half plane
if(dx1 < 0)
{
dy1 *= -1;
dx1 *= -1;
}
else if(dx1 == 0)
{
//if the first slope is vertical the first cannot be less
return false;
}
if(dx2 < 0)
{
dy2 *= -1;
dx2 *= -1;
}
else if(dx2 == 0)
{
//if the second slope is vertical the first is always less unless it is also vertical, in which case they are equal
return dx1 != 0;
}
typedef typename coordinate_traits<Unit>::unsigned_area_type unsigned_product_type;
unsigned_product_type cross_1 = (unsigned_product_type)(dx2 < 0 ? -dx2 :dx2) * (unsigned_product_type)(dy1 < 0 ? -dy1 : dy1);
unsigned_product_type cross_2 = (unsigned_product_type)(dx1 < 0 ? -dx1 :dx1) * (unsigned_product_type)(dy2 < 0 ? -dy2 : dy2);
int dx1_sign = dx1 < 0 ? -1 : 1;
int dx2_sign = dx2 < 0 ? -1 : 1;
int dy1_sign = dy1 < 0 ? -1 : 1;
int dy2_sign = dy2 < 0 ? -1 : 1;
int cross_1_sign = dx2_sign * dy1_sign;
int cross_2_sign = dx1_sign * dy2_sign;
if(cross_1_sign < cross_2_sign) return true;
if(cross_2_sign < cross_1_sign) return false;
if(cross_1_sign == -1) return cross_2 < cross_1;
return cross_1 < cross_2;
}
static inline bool less_slope(const Unit& x, const Unit& y,
const Point& pt1, const Point& pt2)
{
const Point* pts[2] = {&pt1, &pt2};
//compute y value on edge from pt_ to pts[1] at the x value of pts[0]
typedef typename coordinate_traits<Unit>::manhattan_area_type at;
at dy2 = (at)pts[1]->get(VERTICAL) - (at)y;
at dy1 = (at)pts[0]->get(VERTICAL) - (at)y;
at dx2 = (at)pts[1]->get(HORIZONTAL) - (at)x;
at dx1 = (at)pts[0]->get(HORIZONTAL) - (at)x;
return less_slope(dx1, dy1, dx2, dy2);
}
//return -1 below, 0 on and 1 above line
static inline int on_above_or_below(Point pt, const half_edge& he)
{
if(pt == he.first || pt == he.second) return 0;
if(equal_slope(pt.get(HORIZONTAL), pt.get(VERTICAL), he.first, he.second)) return 0;
bool less_result = less_slope(pt.get(HORIZONTAL), pt.get(VERTICAL), he.first, he.second);
int retval = less_result ? -1 : 1;
less_point lp;
if(lp(he.second, he.first)) retval *= -1;
if(!between(pt, he.first, he.second)) retval *= -1;
return retval;
}
//returns true is the segment intersects the integer grid square with lower
//left corner at point
static inline bool intersects_grid(Point pt, const half_edge& he)
{
if(pt == he.second) return true;
if(pt == he.first) return true;
rectangle_data<Unit> rect1;
set_points(rect1, he.first, he.second);
if(contains(rect1, pt, true))
{
if(is_vertical(he) || is_horizontal(he)) return true;
}
else
{
return false; //can't intersect a grid not within bounding box
}
Unit x = pt.get(HORIZONTAL);
Unit y = pt.get(VERTICAL);
if(equal_slope(x, y, he.first, he.second) &&
between(pt, he.first, he.second)) return true;
Point pt01(pt.get(HORIZONTAL), pt.get(VERTICAL) + 1);
Point pt10(pt.get(HORIZONTAL) + 1, pt.get(VERTICAL));
Point pt11(pt.get(HORIZONTAL) + 1, pt.get(VERTICAL) + 1);
// if(pt01 == he.first) return true;
// if(pt10 == he.first) return true;
// if(pt11 == he.first) return true;
// if(pt01 == he.second) return true;
// if(pt10 == he.second) return true;
// if(pt11 == he.second) return true;
//check non-integer intersections
half_edge widget1(pt, pt11);
//intersects but not just at pt11
if(intersects(widget1, he) && on_above_or_below(pt11, he)) return true;
half_edge widget2(pt01, pt10);
//intersects but not just at pt01 or 10
if(intersects(widget2, he) && on_above_or_below(pt01, he) && on_above_or_below(pt10, he)) return true;
return false;
}
static inline Unit evalAtXforYlazy(Unit xIn, Point pt, Point other_pt)
{
long double
evalAtXforYret, evalAtXforYxIn, evalAtXforYx1, evalAtXforYy1, evalAtXforYdx1, evalAtXforYdx,
evalAtXforYdy, evalAtXforYx2, evalAtXforYy2, evalAtXforY0;
//y = (x - x1)dy/dx + y1
//y = (xIn - pt.x)*(other_pt.y-pt.y)/(other_pt.x-pt.x) + pt.y
//assert pt.x != other_pt.x
if(pt.y() == other_pt.y())
return pt.y();
evalAtXforYxIn = xIn;
evalAtXforYx1 = pt.get(HORIZONTAL);
evalAtXforYy1 = pt.get(VERTICAL);
evalAtXforYdx1 = evalAtXforYxIn - evalAtXforYx1;
evalAtXforY0 = 0;
if(evalAtXforYdx1 == evalAtXforY0) return (Unit)evalAtXforYy1;
evalAtXforYx2 = other_pt.get(HORIZONTAL);
evalAtXforYy2 = other_pt.get(VERTICAL);
evalAtXforYdx = evalAtXforYx2 - evalAtXforYx1;
evalAtXforYdy = evalAtXforYy2 - evalAtXforYy1;
evalAtXforYret = ((evalAtXforYdx1) * evalAtXforYdy / evalAtXforYdx + evalAtXforYy1);
return (Unit)evalAtXforYret;
}
static inline typename high_precision_type<Unit>::type evalAtXforY(Unit xIn, Point pt, Point other_pt)
{
typename high_precision_type<Unit>::type
evalAtXforYret, evalAtXforYxIn, evalAtXforYx1, evalAtXforYy1, evalAtXforYdx1, evalAtXforYdx,
evalAtXforYdy, evalAtXforYx2, evalAtXforYy2, evalAtXforY0;
//y = (x - x1)dy/dx + y1
//y = (xIn - pt.x)*(other_pt.y-pt.y)/(other_pt.x-pt.x) + pt.y
//assert pt.x != other_pt.x
typedef typename high_precision_type<Unit>::type high_precision;
if(pt.y() == other_pt.y())
return (high_precision)pt.y();
evalAtXforYxIn = (high_precision)xIn;
evalAtXforYx1 = pt.get(HORIZONTAL);
evalAtXforYy1 = pt.get(VERTICAL);
evalAtXforYdx1 = evalAtXforYxIn - evalAtXforYx1;
evalAtXforY0 = high_precision(0);
if(evalAtXforYdx1 == evalAtXforY0) return evalAtXforYret = evalAtXforYy1;
evalAtXforYx2 = (high_precision)other_pt.get(HORIZONTAL);
evalAtXforYy2 = (high_precision)other_pt.get(VERTICAL);
evalAtXforYdx = evalAtXforYx2 - evalAtXforYx1;
evalAtXforYdy = evalAtXforYy2 - evalAtXforYy1;
evalAtXforYret = ((evalAtXforYdx1) * evalAtXforYdy / evalAtXforYdx + evalAtXforYy1);
return evalAtXforYret;
}
struct evalAtXforYPack
{
typename high_precision_type<Unit>::type
evalAtXforYret, evalAtXforYxIn, evalAtXforYx1, evalAtXforYy1, evalAtXforYdx1, evalAtXforYdx,
evalAtXforYdy, evalAtXforYx2, evalAtXforYy2, evalAtXforY0;
inline const typename high_precision_type<Unit>::type& evalAtXforY(Unit xIn, Point pt, Point other_pt)
{
//y = (x - x1)dy/dx + y1
//y = (xIn - pt.x)*(other_pt.y-pt.y)/(other_pt.x-pt.x) + pt.y
//assert pt.x != other_pt.x
typedef typename high_precision_type<Unit>::type high_precision;
if(pt.y() == other_pt.y())
{
evalAtXforYret = (high_precision)pt.y();
return evalAtXforYret;
}
evalAtXforYxIn = (high_precision)xIn;
evalAtXforYx1 = pt.get(HORIZONTAL);
evalAtXforYy1 = pt.get(VERTICAL);
evalAtXforYdx1 = evalAtXforYxIn - evalAtXforYx1;
evalAtXforY0 = high_precision(0);
if(evalAtXforYdx1 == evalAtXforY0) return evalAtXforYret = evalAtXforYy1;
evalAtXforYx2 = (high_precision)other_pt.get(HORIZONTAL);
evalAtXforYy2 = (high_precision)other_pt.get(VERTICAL);
evalAtXforYdx = evalAtXforYx2 - evalAtXforYx1;
evalAtXforYdy = evalAtXforYy2 - evalAtXforYy1;
evalAtXforYret = ((evalAtXforYdx1) * evalAtXforYdy / evalAtXforYdx + evalAtXforYy1);
return evalAtXforYret;
}
};
static inline bool is_vertical(const half_edge& he)
{
return he.first.get(HORIZONTAL) == he.second.get(HORIZONTAL);
}
static inline bool is_horizontal(const half_edge& he)
{
return he.first.get(VERTICAL) == he.second.get(VERTICAL);
}
static inline bool is_45_degree(const half_edge& he)
{
return euclidean_distance(he.first, he.second, HORIZONTAL) == euclidean_distance(he.first, he.second, VERTICAL);
}
//scanline comparator functor
class less_half_edge
{
private:
Unit *x_; //x value at which to apply comparison
int *justBefore_;
evalAtXforYPack * pack_;
public:
typedef half_edge first_argument_type;
typedef half_edge second_argument_type;
typedef bool result_type;
inline less_half_edge() : x_(0), justBefore_(0), pack_(0) {}
inline less_half_edge(Unit *x, int *justBefore, evalAtXforYPack * packIn) : x_(x), justBefore_(justBefore), pack_(packIn) {}
inline less_half_edge(const less_half_edge& that) : x_(that.x_), justBefore_(that.justBefore_),
pack_(that.pack_) {}
inline less_half_edge& operator=(const less_half_edge& that)
{
x_ = that.x_;
justBefore_ = that.justBefore_;
pack_ = that.pack_;
return *this;
}
inline bool operator () (const half_edge& elm1, const half_edge& elm2) const
{
if((std::max)(elm1.first.y(), elm1.second.y()) < (std::min)(elm2.first.y(), elm2.second.y()))
return true;
if((std::min)(elm1.first.y(), elm1.second.y()) > (std::max)(elm2.first.y(), elm2.second.y()))
return false;
//check if either x of elem1 is equal to x_
Unit localx = *x_;
Unit elm1y = 0;
bool elm1_at_x = false;
if(localx == elm1.first.get(HORIZONTAL))
{
elm1_at_x = true;
elm1y = elm1.first.get(VERTICAL);
}
else if(localx == elm1.second.get(HORIZONTAL))
{
elm1_at_x = true;
elm1y = elm1.second.get(VERTICAL);
}
Unit elm2y = 0;
bool elm2_at_x = false;
if(localx == elm2.first.get(HORIZONTAL))
{
elm2_at_x = true;
elm2y = elm2.first.get(VERTICAL);
}
else if(localx == elm2.second.get(HORIZONTAL))
{
elm2_at_x = true;
elm2y = elm2.second.get(VERTICAL);
}
bool retval = false;
if(!(elm1_at_x && elm2_at_x))
{
//at least one of the segments doesn't have an end point a the current x
//-1 below, 1 above
int pt1_oab = on_above_or_below(elm1.first, half_edge(elm2.first, elm2.second));
int pt2_oab = on_above_or_below(elm1.second, half_edge(elm2.first, elm2.second));
if(pt1_oab == pt2_oab)
{
if(pt1_oab == -1)
retval = true; //pt1 is below elm2 so elm1 is below elm2
}
else
{
//the segments can't cross so elm2 is on whatever side of elm1 that one of its ends is
int pt3_oab = on_above_or_below(elm2.first, half_edge(elm1.first, elm1.second));
if(pt3_oab == 1)
retval = true; //elm1's point is above elm1
}
}
else
{
if(elm1y < elm2y)
{
retval = true;
}
else if(elm1y == elm2y)
{
if(elm1 == elm2)
return false;
retval = less_slope(elm1.second.get(HORIZONTAL) - elm1.first.get(HORIZONTAL),
elm1.second.get(VERTICAL) - elm1.first.get(VERTICAL),
elm2.second.get(HORIZONTAL) - elm2.first.get(HORIZONTAL),
elm2.second.get(VERTICAL) - elm2.first.get(VERTICAL));
retval = ((*justBefore_) != 0) ^ retval;
}
}
return retval;
}
};
template <typename unsigned_product_type>
static inline void unsigned_add(unsigned_product_type& result, int& result_sign, unsigned_product_type a, int a_sign, unsigned_product_type b, int b_sign)
{
int switcher = 0;
if(a_sign < 0) switcher += 1;
if(b_sign < 0) switcher += 2;
if(a < b) switcher += 4;
switch (switcher)
{
case 0: //both positive
result = a + b;
result_sign = 1;
break;
case 1: //a is negative
result = a - b;
result_sign = -1;
break;
case 2: //b is negative
result = a - b;
result_sign = 1;
break;
case 3: //both negative
result = a + b;
result_sign = -1;
break;
case 4: //both positive
result = a + b;
result_sign = 1;
break;
case 5: //a is negative
result = b - a;
result_sign = 1;
break;
case 6: //b is negative
result = b - a;
result_sign = -1;
break;
case 7: //both negative
result = b + a;
result_sign = -1;
break;
};
}
struct compute_intersection_pack
{
typedef typename high_precision_type<Unit>::type high_precision;
high_precision y_high, dx1, dy1, dx2, dy2, x11, x21, y11, y21, x_num, y_num, x_den, y_den, x, y;
static inline bool compute_lazy_intersection(Point& intersection, const half_edge& he1, const half_edge& he2,
bool projected = false, bool round_closest = false)
{
long double y_high, dx1, dy1, dx2, dy2, x11, x21, y11, y21, x_num, y_num, x_den, y_den, x, y;
typedef rectangle_data<Unit> Rectangle;
Rectangle rect1, rect2;
set_points(rect1, he1.first, he1.second);
set_points(rect2, he2.first, he2.second);
if(!projected && !::boost::polygon::intersects(rect1, rect2, true)) return false;
if(is_vertical(he1))
{
if(is_vertical(he2)) return false;
y_high = evalAtXforYlazy(he1.first.get(HORIZONTAL), he2.first, he2.second);
Unit y_local = (Unit)y_high;
if(y_high < y_local) --y_local;
if(projected || contains(rect1.get(VERTICAL), y_local, true))
{
intersection = Point(he1.first.get(HORIZONTAL), y_local);
return true;
}
else
{
return false;
}
}
else if(is_vertical(he2))
{
y_high = evalAtXforYlazy(he2.first.get(HORIZONTAL), he1.first, he1.second);
Unit y_local = (Unit)y_high;
if(y_high < y_local) --y_local;
if(projected || contains(rect2.get(VERTICAL), y_local, true))
{
intersection = Point(he2.first.get(HORIZONTAL), y_local);
return true;
}
else
{
return false;
}
}
//the bounding boxes of the two line segments intersect, so we check closer to find the intersection point
dy2 = (he2.second.get(VERTICAL)) -
(he2.first.get(VERTICAL));
dy1 = (he1.second.get(VERTICAL)) -
(he1.first.get(VERTICAL));
dx2 = (he2.second.get(HORIZONTAL)) -
(he2.first.get(HORIZONTAL));
dx1 = (he1.second.get(HORIZONTAL)) -
(he1.first.get(HORIZONTAL));
if(equal_slope_hp(dx1, dy1, dx2, dy2)) return false;
//the line segments have different slopes
//we can assume that the line segments are not vertical because such an intersection is handled elsewhere
x11 = (he1.first.get(HORIZONTAL));
x21 = (he2.first.get(HORIZONTAL));
y11 = (he1.first.get(VERTICAL));
y21 = (he2.first.get(VERTICAL));
//Unit exp_x = ((at)x11 * (at)dy1 * (at)dx2 - (at)x21 * (at)dy2 * (at)dx1 + (at)y21 * (at)dx1 * (at)dx2 - (at)y11 * (at)dx1 * (at)dx2) / ((at)dy1 * (at)dx2 - (at)dy2 * (at)dx1);
//Unit exp_y = ((at)y11 * (at)dx1 * (at)dy2 - (at)y21 * (at)dx2 * (at)dy1 + (at)x21 * (at)dy1 * (at)dy2 - (at)x11 * (at)dy1 * (at)dy2) / ((at)dx1 * (at)dy2 - (at)dx2 * (at)dy1);
x_num = (x11 * dy1 * dx2 - x21 * dy2 * dx1 + y21 * dx1 * dx2 - y11 * dx1 * dx2);
x_den = (dy1 * dx2 - dy2 * dx1);
y_num = (y11 * dx1 * dy2 - y21 * dx2 * dy1 + x21 * dy1 * dy2 - x11 * dy1 * dy2);
y_den = (dx1 * dy2 - dx2 * dy1);
x = x_num / x_den;
y = y_num / y_den;
//std::cout << "cross1 " << dy1 << " " << dx2 << " " << dy1 * dx2 << "\n";
//std::cout << "cross2 " << dy2 << " " << dx1 << " " << dy2 * dx1 << "\n";
//Unit exp_x = compute_x_intercept<at>(x11, x21, y11, y21, dy1, dy2, dx1, dx2);
//Unit exp_y = compute_x_intercept<at>(y11, y21, x11, x21, dx1, dx2, dy1, dy2);
if(round_closest)
{
x = x + 0.5;
y = y + 0.5;
}
Unit x_unit = (Unit)(x);
Unit y_unit = (Unit)(y);
//truncate downward if it went up due to negative number
if(x < x_unit) --x_unit;
if(y < y_unit) --y_unit;
if(is_horizontal(he1))
y_unit = he1.first.y();
if(is_horizontal(he2))
y_unit = he2.first.y();
//if(x != exp_x || y != exp_y)
// std::cout << exp_x << " " << exp_y << " " << x << " " << y << "\n";
//Unit y1 = evalAtXforY(exp_x, he1.first, he1.second);
//Unit y2 = evalAtXforY(exp_x, he2.first, he2.second);
//std::cout << exp_x << " " << exp_y << " " << y1 << " " << y2 << "\n";
Point result(x_unit, y_unit);
if(!projected && !contains(rect1, result, true)) return false;
if(!projected && !contains(rect2, result, true)) return false;
if(projected)
{
rectangle_data<long double> inf_rect(-(long double)(std::numeric_limits<Unit>::max)(),
-(long double) (std::numeric_limits<Unit>::max)(),
(long double)(std::numeric_limits<Unit>::max)(),
(long double) (std::numeric_limits<Unit>::max)() );
if(contains(inf_rect, point_data<long double>(x, y), true))
{
intersection = result;
return true;
}
else
return false;
}
intersection = result;
return true;
}
inline bool compute_intersection(Point& intersection, const half_edge& he1, const half_edge& he2,
bool projected = false, bool round_closest = false)
{
if(!projected && !intersects(he1, he2))
return false;
bool lazy_success = compute_lazy_intersection(intersection, he1, he2, projected);
if(!projected)
{
if(lazy_success)
{
if(intersects_grid(intersection, he1) &&
intersects_grid(intersection, he2))
return true;
}
}
else
{
return lazy_success;
}
return compute_exact_intersection(intersection, he1, he2, projected, round_closest);
}
inline bool compute_exact_intersection(Point& intersection, const half_edge& he1, const half_edge& he2,
bool projected = false, bool round_closest = false)
{
if(!projected && !intersects(he1, he2))
return false;
typedef rectangle_data<Unit> Rectangle;
Rectangle rect1, rect2;
set_points(rect1, he1.first, he1.second);
set_points(rect2, he2.first, he2.second);
if(!::boost::polygon::intersects(rect1, rect2, true)) return false;
if(is_vertical(he1))
{
if(is_vertical(he2)) return false;
y_high = evalAtXforY(he1.first.get(HORIZONTAL), he2.first, he2.second);
Unit y = convert_high_precision_type<Unit>(y_high);
if(y_high < (high_precision)y) --y;
if(contains(rect1.get(VERTICAL), y, true))
{
intersection = Point(he1.first.get(HORIZONTAL), y);
return true;
}
else
{
return false;
}
}
else if(is_vertical(he2))
{
y_high = evalAtXforY(he2.first.get(HORIZONTAL), he1.first, he1.second);
Unit y = convert_high_precision_type<Unit>(y_high);
if(y_high < (high_precision)y) --y;
if(contains(rect2.get(VERTICAL), y, true))
{
intersection = Point(he2.first.get(HORIZONTAL), y);
return true;
}
else
{
return false;
}
}
//the bounding boxes of the two line segments intersect, so we check closer to find the intersection point
dy2 = (high_precision)(he2.second.get(VERTICAL)) -
(high_precision)(he2.first.get(VERTICAL));
dy1 = (high_precision)(he1.second.get(VERTICAL)) -
(high_precision)(he1.first.get(VERTICAL));
dx2 = (high_precision)(he2.second.get(HORIZONTAL)) -
(high_precision)(he2.first.get(HORIZONTAL));
dx1 = (high_precision)(he1.second.get(HORIZONTAL)) -
(high_precision)(he1.first.get(HORIZONTAL));
if(equal_slope_hp(dx1, dy1, dx2, dy2)) return false;
//the line segments have different slopes
//we can assume that the line segments are not vertical because such an intersection is handled elsewhere
x11 = (high_precision)(he1.first.get(HORIZONTAL));
x21 = (high_precision)(he2.first.get(HORIZONTAL));
y11 = (high_precision)(he1.first.get(VERTICAL));
y21 = (high_precision)(he2.first.get(VERTICAL));
//Unit exp_x = ((at)x11 * (at)dy1 * (at)dx2 - (at)x21 * (at)dy2 * (at)dx1 + (at)y21 * (at)dx1 * (at)dx2 - (at)y11 * (at)dx1 * (at)dx2) / ((at)dy1 * (at)dx2 - (at)dy2 * (at)dx1);
//Unit exp_y = ((at)y11 * (at)dx1 * (at)dy2 - (at)y21 * (at)dx2 * (at)dy1 + (at)x21 * (at)dy1 * (at)dy2 - (at)x11 * (at)dy1 * (at)dy2) / ((at)dx1 * (at)dy2 - (at)dx2 * (at)dy1);
x_num = (x11 * dy1 * dx2 - x21 * dy2 * dx1 + y21 * dx1 * dx2 - y11 * dx1 * dx2);
x_den = (dy1 * dx2 - dy2 * dx1);
y_num = (y11 * dx1 * dy2 - y21 * dx2 * dy1 + x21 * dy1 * dy2 - x11 * dy1 * dy2);
y_den = (dx1 * dy2 - dx2 * dy1);
x = x_num / x_den;
y = y_num / y_den;
//std::cout << x << " " << y << "\n";
//std::cout << "cross1 " << dy1 << " " << dx2 << " " << dy1 * dx2 << "\n";
//std::cout << "cross2 " << dy2 << " " << dx1 << " " << dy2 * dx1 << "\n";
//Unit exp_x = compute_x_intercept<at>(x11, x21, y11, y21, dy1, dy2, dx1, dx2);
//Unit exp_y = compute_x_intercept<at>(y11, y21, x11, x21, dx1, dx2, dy1, dy2);
if(round_closest)
{
x = x + (high_precision)0.5;
y = y + (high_precision)0.5;
}
Unit x_unit = convert_high_precision_type<Unit>(x);
Unit y_unit = convert_high_precision_type<Unit>(y);
//truncate downward if it went up due to negative number
if(x < (high_precision)x_unit) --x_unit;
if(y < (high_precision)y_unit) --y_unit;
if(is_horizontal(he1))
y_unit = he1.first.y();
if(is_horizontal(he2))
y_unit = he2.first.y();
//if(x != exp_x || y != exp_y)
// std::cout << exp_x << " " << exp_y << " " << x << " " << y << "\n";
//Unit y1 = evalAtXforY(exp_x, he1.first, he1.second);
//Unit y2 = evalAtXforY(exp_x, he2.first, he2.second);
//std::cout << exp_x << " " << exp_y << " " << y1 << " " << y2 << "\n";
Point result(x_unit, y_unit);
if(!contains(rect1, result, true)) return false;
if(!contains(rect2, result, true)) return false;
if(projected)
{
high_precision b1 = (high_precision) (std::numeric_limits<Unit>::min)();
high_precision b2 = (high_precision) (std::numeric_limits<Unit>::max)();
if(x > b2 || y > b2 || x < b1 || y < b1)
return false;
}
intersection = result;
return true;
}
};
static inline bool compute_intersection(Point& intersection, const half_edge& he1, const half_edge& he2)
{
typedef typename high_precision_type<Unit>::type high_precision;
typedef rectangle_data<Unit> Rectangle;
Rectangle rect1, rect2;
set_points(rect1, he1.first, he1.second);
set_points(rect2, he2.first, he2.second);
if(!::boost::polygon::intersects(rect1, rect2, true)) return false;
if(is_vertical(he1))
{
if(is_vertical(he2)) return false;
high_precision y_high = evalAtXforY(he1.first.get(HORIZONTAL), he2.first, he2.second);
Unit y = convert_high_precision_type<Unit>(y_high);
if(y_high < (high_precision)y) --y;
if(contains(rect1.get(VERTICAL), y, true))
{
intersection = Point(he1.first.get(HORIZONTAL), y);
return true;
}
else
{
return false;
}
}
else if(is_vertical(he2))
{
high_precision y_high = evalAtXforY(he2.first.get(HORIZONTAL), he1.first, he1.second);
Unit y = convert_high_precision_type<Unit>(y_high);
if(y_high < (high_precision)y) --y;
if(contains(rect2.get(VERTICAL), y, true))
{
intersection = Point(he2.first.get(HORIZONTAL), y);
return true;
}
else
{
return false;
}
}
//the bounding boxes of the two line segments intersect, so we check closer to find the intersection point
high_precision dy2 = (high_precision)(he2.second.get(VERTICAL)) -
(high_precision)(he2.first.get(VERTICAL));
high_precision dy1 = (high_precision)(he1.second.get(VERTICAL)) -
(high_precision)(he1.first.get(VERTICAL));
high_precision dx2 = (high_precision)(he2.second.get(HORIZONTAL)) -
(high_precision)(he2.first.get(HORIZONTAL));
high_precision dx1 = (high_precision)(he1.second.get(HORIZONTAL)) -
(high_precision)(he1.first.get(HORIZONTAL));
if(equal_slope_hp(dx1, dy1, dx2, dy2)) return false;
//the line segments have different slopes
//we can assume that the line segments are not vertical because such an intersection is handled elsewhere
high_precision x11 = (high_precision)(he1.first.get(HORIZONTAL));
high_precision x21 = (high_precision)(he2.first.get(HORIZONTAL));
high_precision y11 = (high_precision)(he1.first.get(VERTICAL));
high_precision y21 = (high_precision)(he2.first.get(VERTICAL));
//Unit exp_x = ((at)x11 * (at)dy1 * (at)dx2 - (at)x21 * (at)dy2 * (at)dx1 + (at)y21 * (at)dx1 * (at)dx2 - (at)y11 * (at)dx1 * (at)dx2) / ((at)dy1 * (at)dx2 - (at)dy2 * (at)dx1);
//Unit exp_y = ((at)y11 * (at)dx1 * (at)dy2 - (at)y21 * (at)dx2 * (at)dy1 + (at)x21 * (at)dy1 * (at)dy2 - (at)x11 * (at)dy1 * (at)dy2) / ((at)dx1 * (at)dy2 - (at)dx2 * (at)dy1);
high_precision x_num = (x11 * dy1 * dx2 - x21 * dy2 * dx1 + y21 * dx1 * dx2 - y11 * dx1 * dx2);
high_precision x_den = (dy1 * dx2 - dy2 * dx1);
high_precision y_num = (y11 * dx1 * dy2 - y21 * dx2 * dy1 + x21 * dy1 * dy2 - x11 * dy1 * dy2);
high_precision y_den = (dx1 * dy2 - dx2 * dy1);
high_precision x = x_num / x_den;
high_precision y = y_num / y_den;
//std::cout << "cross1 " << dy1 << " " << dx2 << " " << dy1 * dx2 << "\n";
//std::cout << "cross2 " << dy2 << " " << dx1 << " " << dy2 * dx1 << "\n";
//Unit exp_x = compute_x_intercept<at>(x11, x21, y11, y21, dy1, dy2, dx1, dx2);
//Unit exp_y = compute_x_intercept<at>(y11, y21, x11, x21, dx1, dx2, dy1, dy2);
Unit x_unit = convert_high_precision_type<Unit>(x);
Unit y_unit = convert_high_precision_type<Unit>(y);
//truncate downward if it went up due to negative number
if(x < (high_precision)x_unit) --x_unit;
if(y < (high_precision)y_unit) --y_unit;
if(is_horizontal(he1))
y_unit = he1.first.y();
if(is_horizontal(he2))
y_unit = he2.first.y();
//if(x != exp_x || y != exp_y)
// std::cout << exp_x << " " << exp_y << " " << x << " " << y << "\n";
//Unit y1 = evalAtXforY(exp_x, he1.first, he1.second);
//Unit y2 = evalAtXforY(exp_x, he2.first, he2.second);
//std::cout << exp_x << " " << exp_y << " " << y1 << " " << y2 << "\n";
Point result(x_unit, y_unit);
if(!contains(rect1, result, true)) return false;
if(!contains(rect2, result, true)) return false;
intersection = result;
return true;
}
static inline bool intersects(const half_edge& he1, const half_edge& he2)
{
typedef rectangle_data<Unit> Rectangle;
Rectangle rect1, rect2;
set_points(rect1, he1.first, he1.second);
set_points(rect2, he2.first, he2.second);
if(::boost::polygon::intersects(rect1, rect2, false))
{
if(he1.first == he2.first)
{
if(he1.second != he2.second && equal_slope(he1.first.get(HORIZONTAL), he1.first.get(VERTICAL),
he1.second, he2.second))
{
return true;
}
else
{
return false;
}
}
if(he1.first == he2.second)
{
if(he1.second != he2.first && equal_slope(he1.first.get(HORIZONTAL), he1.first.get(VERTICAL),
he1.second, he2.first))
{
return true;
}
else
{
return false;
}
}
if(he1.second == he2.first)
{
if(he1.first != he2.second && equal_slope(he1.second.get(HORIZONTAL), he1.second.get(VERTICAL),
he1.first, he2.second))
{
return true;
}
else
{
return false;
}
}
if(he1.second == he2.second)
{
if(he1.first != he2.first && equal_slope(he1.second.get(HORIZONTAL), he1.second.get(VERTICAL),
he1.first, he2.first))
{
return true;
}
else
{
return false;
}
}
int oab1 = on_above_or_below(he1.first, he2);
if(oab1 == 0 && between(he1.first, he2.first, he2.second)) return true;
int oab2 = on_above_or_below(he1.second, he2);
if(oab2 == 0 && between(he1.second, he2.first, he2.second)) return true;
if(oab1 == oab2 && oab1 != 0) return false; //both points of he1 are on same side of he2
int oab3 = on_above_or_below(he2.first, he1);
if(oab3 == 0 && between(he2.first, he1.first, he1.second)) return true;
int oab4 = on_above_or_below(he2.second, he1);
if(oab4 == 0 && between(he2.second, he1.first, he1.second)) return true;
if(oab3 == oab4) return false; //both points of he2 are on same side of he1
return true; //they must cross
}
if(is_vertical(he1) && is_vertical(he2) && he1.first.get(HORIZONTAL) == he2.first.get(HORIZONTAL))
return ::boost::polygon::intersects(rect1.get(VERTICAL), rect2.get(VERTICAL), false) &&
rect1.get(VERTICAL) != rect2.get(VERTICAL);
if(is_horizontal(he1) && is_horizontal(he2) && he1.first.get(VERTICAL) == he2.first.get(VERTICAL))
return ::boost::polygon::intersects(rect1.get(HORIZONTAL), rect2.get(HORIZONTAL), false) &&
rect1.get(HORIZONTAL) != rect2.get(HORIZONTAL);
return false;
}
class vertex_half_edge
{
public:
typedef typename high_precision_type<Unit>::type high_precision;
Point pt;
Point other_pt; // 1, 0 or -1
int count; //dxdydTheta
inline vertex_half_edge() : pt(), other_pt(), count() {}
inline vertex_half_edge(const Point& point, const Point& other_point, int countIn) : pt(point), other_pt(other_point), count(countIn) {}
inline vertex_half_edge(const vertex_half_edge& vertex) : pt(vertex.pt), other_pt(vertex.other_pt), count(vertex.count) {}
inline vertex_half_edge& operator=(const vertex_half_edge& vertex)
{
pt = vertex.pt;
other_pt = vertex.other_pt;
count = vertex.count;
return *this;
}
inline bool operator==(const vertex_half_edge& vertex) const
{
return pt == vertex.pt && other_pt == vertex.other_pt && count == vertex.count;
}
inline bool operator!=(const vertex_half_edge& vertex) const
{
return !((*this) == vertex);
}
inline bool operator<(const vertex_half_edge& vertex) const
{
if(pt.get(HORIZONTAL) < vertex.pt.get(HORIZONTAL)) return true;
if(pt.get(HORIZONTAL) == vertex.pt.get(HORIZONTAL))
{
if(pt.get(VERTICAL) < vertex.pt.get(VERTICAL)) return true;
if(pt.get(VERTICAL) == vertex.pt.get(VERTICAL))
{
return less_slope(pt.get(HORIZONTAL), pt.get(VERTICAL),
other_pt, vertex.other_pt);
}
}
return false;
}
inline bool operator>(const vertex_half_edge& vertex) const
{
return vertex < (*this);
}
inline bool operator<=(const vertex_half_edge& vertex) const
{
return !((*this) > vertex);
}
inline bool operator>=(const vertex_half_edge& vertex) const
{
return !((*this) < vertex);
}
inline high_precision evalAtX(Unit xIn) const
{
return evalAtXforYlazy(xIn, pt, other_pt);
}
inline bool is_vertical() const
{
return pt.get(HORIZONTAL) == other_pt.get(HORIZONTAL);
}
inline bool is_begin() const
{
return pt.get(HORIZONTAL) < other_pt.get(HORIZONTAL) ||
(pt.get(HORIZONTAL) == other_pt.get(HORIZONTAL) &&
(pt.get(VERTICAL) < other_pt.get(VERTICAL)));
}
};
//when scanning Vertex45 for polygon formation we need a scanline comparator functor
class less_vertex_half_edge
{
private:
Unit *x_; //x value at which to apply comparison
int *justBefore_;
public:
typedef vertex_half_edge first_argument_type;
typedef vertex_half_edge second_argument_type;
typedef bool result_type;
inline less_vertex_half_edge() : x_(0), justBefore_(0) {}
inline less_vertex_half_edge(Unit *x, int *justBefore) : x_(x), justBefore_(justBefore) {}
inline less_vertex_half_edge(const less_vertex_half_edge& that) : x_(that.x_), justBefore_(that.justBefore_) {}
inline less_vertex_half_edge& operator=(const less_vertex_half_edge& that)
{
x_ = that.x_;
justBefore_ = that.justBefore_;
return *this;
}
inline bool operator () (const vertex_half_edge& elm1, const vertex_half_edge& elm2) const
{
if((std::max)(elm1.pt.y(), elm1.other_pt.y()) < (std::min)(elm2.pt.y(), elm2.other_pt.y()))
return true;
if((std::min)(elm1.pt.y(), elm1.other_pt.y()) > (std::max)(elm2.pt.y(), elm2.other_pt.y()))
return false;
//check if either x of elem1 is equal to x_
Unit localx = *x_;
Unit elm1y = 0;
bool elm1_at_x = false;
if(localx == elm1.pt.get(HORIZONTAL))
{
elm1_at_x = true;
elm1y = elm1.pt.get(VERTICAL);
}
else if(localx == elm1.other_pt.get(HORIZONTAL))
{
elm1_at_x = true;
elm1y = elm1.other_pt.get(VERTICAL);
}
Unit elm2y = 0;
bool elm2_at_x = false;
if(localx == elm2.pt.get(HORIZONTAL))
{
elm2_at_x = true;
elm2y = elm2.pt.get(VERTICAL);
}
else if(localx == elm2.other_pt.get(HORIZONTAL))
{
elm2_at_x = true;
elm2y = elm2.other_pt.get(VERTICAL);
}
bool retval = false;
if(!(elm1_at_x && elm2_at_x))
{
//at least one of the segments doesn't have an end point a the current x
//-1 below, 1 above
int pt1_oab = on_above_or_below(elm1.pt, half_edge(elm2.pt, elm2.other_pt));
int pt2_oab = on_above_or_below(elm1.other_pt, half_edge(elm2.pt, elm2.other_pt));
if(pt1_oab == pt2_oab)
{
if(pt1_oab == -1)
retval = true; //pt1 is below elm2 so elm1 is below elm2
}
else
{
//the segments can't cross so elm2 is on whatever side of elm1 that one of its ends is
int pt3_oab = on_above_or_below(elm2.pt, half_edge(elm1.pt, elm1.other_pt));
if(pt3_oab == 1)
retval = true; //elm1's point is above elm1
}
}
else
{
if(elm1y < elm2y)
{
retval = true;
}
else if(elm1y == elm2y)
{
if(elm1.pt == elm2.pt && elm1.other_pt == elm2.other_pt)
return false;
retval = less_slope(elm1.other_pt.get(HORIZONTAL) - elm1.pt.get(HORIZONTAL),
elm1.other_pt.get(VERTICAL) - elm1.pt.get(VERTICAL),
elm2.other_pt.get(HORIZONTAL) - elm2.pt.get(HORIZONTAL),
elm2.other_pt.get(VERTICAL) - elm2.pt.get(VERTICAL));
retval = ((*justBefore_) != 0) ^ retval;
}
}
return retval;
}
};
};
template <typename Unit>
class polygon_arbitrary_formation : public scanline_base<Unit>
{
public:
typedef typename scanline_base<Unit>::Point Point;
typedef typename scanline_base<Unit>::half_edge half_edge;
typedef typename scanline_base<Unit>::vertex_half_edge vertex_half_edge;
typedef typename scanline_base<Unit>::less_vertex_half_edge less_vertex_half_edge;
class poly_line_arbitrary
{
public:
typedef typename std::list<Point>::const_iterator iterator;
// default constructor of point does not initialize x and y
inline poly_line_arbitrary() : points() {} //do nothing default constructor
// initialize a polygon from x,y values, it is assumed that the first is an x
// and that the input is a well behaved polygon
template<class iT>
inline poly_line_arbitrary& set(iT inputBegin, iT inputEnd)
{
points.clear(); //just in case there was some old data there
while(inputBegin != inputEnd)
{
points.insert(points.end(), *inputBegin);
++inputBegin;
}
return *this;
}
// copy constructor (since we have dynamic memory)
inline poly_line_arbitrary(const poly_line_arbitrary& that) : points(that.points) {}
// assignment operator (since we have dynamic memory do a deep copy)
inline poly_line_arbitrary& operator=(const poly_line_arbitrary& that)
{
points = that.points;
return *this;
}
// get begin iterator, returns a pointer to a const Unit
inline iterator begin() const
{
return points.begin();
}
// get end iterator, returns a pointer to a const Unit
inline iterator end() const
{
return points.end();
}
inline std::size_t size() const
{
return points.size();
}
//public data member
std::list<Point> points;
};
class active_tail_arbitrary
{
protected:
//data
poly_line_arbitrary* tailp_;
active_tail_arbitrary *otherTailp_;
std::list<active_tail_arbitrary*> holesList_;
bool head_;
public:
/**
* @brief iterator over coordinates of the figure
*/
typedef typename poly_line_arbitrary::iterator iterator;
/**
* @brief iterator over holes contained within the figure
*/
typedef typename std::list<active_tail_arbitrary*>::const_iterator iteratorHoles;
//default constructor
inline active_tail_arbitrary() : tailp_(), otherTailp_(), holesList_(), head_() {}
//constructor
inline active_tail_arbitrary(const vertex_half_edge& vertex, active_tail_arbitrary* otherTailp = 0) : tailp_(), otherTailp_(), holesList_(), head_()
{
tailp_ = new poly_line_arbitrary;
tailp_->points.push_back(vertex.pt);
//bool headArray[4] = {false, true, true, true};
bool inverted = vertex.count == -1;
head_ = (!vertex.is_vertical) ^ inverted;
otherTailp_ = otherTailp;
}
inline active_tail_arbitrary(Point point, active_tail_arbitrary* otherTailp, bool head = true) :
tailp_(), otherTailp_(), holesList_(), head_()
{
tailp_ = new poly_line_arbitrary;
tailp_->points.push_back(point);
head_ = head;
otherTailp_ = otherTailp;
}
inline active_tail_arbitrary(active_tail_arbitrary* otherTailp) :
tailp_(), otherTailp_(), holesList_(), head_()
{
tailp_ = otherTailp->tailp_;
otherTailp_ = otherTailp;
}
//copy constructor
inline active_tail_arbitrary(const active_tail_arbitrary& that) :
tailp_(), otherTailp_(), holesList_(), head_()
{
(*this) = that;
}
//destructor
inline ~active_tail_arbitrary()
{
destroyContents();
}
//assignment operator
inline active_tail_arbitrary& operator=(const active_tail_arbitrary& that)
{
tailp_ = new poly_line_arbitrary(*(that.tailp_));
head_ = that.head_;
otherTailp_ = that.otherTailp_;
holesList_ = that.holesList_;
return *this;
}
//equivalence operator
inline bool operator==(const active_tail_arbitrary& b) const
{
return tailp_ == b.tailp_ && head_ == b.head_;
}
/**
* @brief get the pointer to the polyline that this is an active tail of
*/
inline poly_line_arbitrary* getTail() const
{
return tailp_;
}
/**
* @brief get the pointer to the polyline at the other end of the chain
*/
inline poly_line_arbitrary* getOtherTail() const
{
return otherTailp_->tailp_;
}
/**
* @brief get the pointer to the activetail at the other end of the chain
*/
inline active_tail_arbitrary* getOtherActiveTail() const
{
return otherTailp_;
}
/**
* @brief test if another active tail is the other end of the chain
*/
inline bool isOtherTail(const active_tail_arbitrary& b) const
{
return &b == otherTailp_;
}
/**
* @brief update this end of chain pointer to new polyline
*/
inline active_tail_arbitrary& updateTail(poly_line_arbitrary* newTail)
{
tailp_ = newTail;
return *this;
}
inline bool join(active_tail_arbitrary* tail)
{
if(tail == otherTailp_)
{
//std::cout << "joining to other tail!\n";
return false;
}
if(tail->head_ == head_)
{
//std::cout << "joining head to head!\n";
return false;
}
if(!tailp_)
{
//std::cout << "joining empty tail!\n";
return false;
}
if(!(otherTailp_->head_))
{
otherTailp_->copyHoles(*tail);
otherTailp_->copyHoles(*this);
}
else
{
tail->otherTailp_->copyHoles(*this);
tail->otherTailp_->copyHoles(*tail);
}
poly_line_arbitrary* tail1 = tailp_;
poly_line_arbitrary* tail2 = tail->tailp_;
if(head_) std::swap(tail1, tail2);
typename std::list<point_data<Unit> >::reverse_iterator riter = tail1->points.rbegin();
typename std::list<point_data<Unit> >::iterator iter = tail2->points.begin();
if(*riter == *iter)
{
tail1->points.pop_back(); //remove duplicate point
}
tail1->points.splice(tail1->points.end(), tail2->points);
delete tail2;
otherTailp_->tailp_ = tail1;
tail->otherTailp_->tailp_ = tail1;
otherTailp_->otherTailp_ = tail->otherTailp_;
tail->otherTailp_->otherTailp_ = otherTailp_;
tailp_ = 0;
tail->tailp_ = 0;
tail->otherTailp_ = 0;
otherTailp_ = 0;
return true;
}
/**
* @brief associate a hole to this active tail by the specified policy
*/
inline active_tail_arbitrary* addHole(active_tail_arbitrary* hole)
{
holesList_.push_back(hole);
copyHoles(*hole);
copyHoles(*(hole->otherTailp_));
return this;
}
/**
* @brief get the list of holes
*/
inline const std::list<active_tail_arbitrary*>& getHoles() const
{
return holesList_;
}
/**
* @brief copy holes from that to this
*/
inline void copyHoles(active_tail_arbitrary& that)
{
holesList_.splice(holesList_.end(), that.holesList_);
}
/**
* @brief find out if solid to right
*/
inline bool solidToRight() const
{
return !head_;
}
inline bool solidToLeft() const
{
return head_;
}
/**
* @brief get vertex
*/
inline Point getPoint() const
{
if(head_) return tailp_->points.front();
return tailp_->points.back();
}
/**
* @brief add a coordinate to the polygon at this active tail end, properly handle degenerate edges by removing redundant coordinate
*/
inline void pushPoint(Point point)
{
if(head_)
{
//if(tailp_->points.size() < 2) {
// tailp_->points.push_front(point);
// return;
//}
typename std::list<Point>::iterator iter = tailp_->points.begin();
if(iter == tailp_->points.end())
{
tailp_->points.push_front(point);
return;
}
++iter;
if(iter == tailp_->points.end())
{
tailp_->points.push_front(point);
return;
}
--iter;
if(*iter != point)
{
tailp_->points.push_front(point);
}
return;
}
//if(tailp_->points.size() < 2) {
// tailp_->points.push_back(point);
// return;
//}
typename std::list<Point>::reverse_iterator iter = tailp_->points.rbegin();
if(iter == tailp_->points.rend())
{
tailp_->points.push_back(point);
return;
}
++iter;
if(iter == tailp_->points.rend())
{
tailp_->points.push_back(point);
return;
}
--iter;
if(*iter != point)
{
tailp_->points.push_back(point);
}
}
/**
* @brief joins the two chains that the two active tail tails are ends of
* checks for closure of figure and writes out polygons appropriately
* returns a handle to a hole if one is closed
*/
template <class cT>
static inline active_tail_arbitrary* joinChains(Point point, active_tail_arbitrary* at1, active_tail_arbitrary* at2, bool solid,
cT& output)
{
if(at1->otherTailp_ == at2)
{
//if(at2->otherTailp_ != at1) std::cout << "half closed error\n";
//we are closing a figure
at1->pushPoint(point);
at2->pushPoint(point);
if(solid)
{
//we are closing a solid figure, write to output
//std::cout << "test1\n";
at1->copyHoles(*(at1->otherTailp_));
typename PolyLineArbitraryByConcept<Unit, typename geometry_concept<typename cT::value_type>::type>::type polyData(at1);
//poly_line_arbitrary_polygon_data polyData(at1);
//std::cout << "test2\n";
//std::cout << poly << "\n";
//std::cout << "test3\n";
typedef typename cT::value_type result_type;
output.push_back(result_type());
assign(output.back(), polyData);
//std::cout << "test4\n";
//std::cout << "delete " << at1->otherTailp_ << "\n";
//at1->print();
//at1->otherTailp_->print();
delete at1->otherTailp_;
//at1->print();
//at1->otherTailp_->print();
//std::cout << "test5\n";
//std::cout << "delete " << at1 << "\n";
delete at1;
//std::cout << "test6\n";
return 0;
}
else
{
//we are closing a hole, return the tail end active tail of the figure
return at1;
}
}
//we are not closing a figure
at1->pushPoint(point);
at1->join(at2);
delete at1;
delete at2;
return 0;
}
inline void destroyContents()
{
if(otherTailp_)
{
//std::cout << "delete p " << tailp_ << "\n";
if(tailp_) delete tailp_;
tailp_ = 0;
otherTailp_->otherTailp_ = 0;
otherTailp_->tailp_ = 0;
otherTailp_ = 0;
}
for(typename std::list<active_tail_arbitrary*>::iterator itr = holesList_.begin(); itr != holesList_.end(); ++itr)
{
//std::cout << "delete p " << (*itr) << "\n";
if(*itr)
{
if((*itr)->otherTailp_)
{
delete (*itr)->otherTailp_;
(*itr)->otherTailp_ = 0;
}
delete (*itr);
}
(*itr) = 0;
}
holesList_.clear();
}
inline void print()
{
//std::cout << this << " " << tailp_ << " " << otherTailp_ << " " << holesList_.size() << " " << head_ << "\n";
}
static inline std::pair<active_tail_arbitrary*, active_tail_arbitrary*> createActiveTailsAsPair(Point point, bool solid,
active_tail_arbitrary* phole, bool fractureHoles)
{
active_tail_arbitrary* at1 = 0;
active_tail_arbitrary* at2 = 0;
if(phole && fractureHoles)
{
//std::cout << "adding hole\n";
at1 = phole;
//assert solid == false, we should be creating a corner with solid below and to the left if there was a hole
at2 = at1->getOtherActiveTail();
at2->pushPoint(point);
at1->pushPoint(point);
}
else
{
at1 = new active_tail_arbitrary(point, at2, solid);
at2 = new active_tail_arbitrary(at1);
at1->otherTailp_ = at2;
at2->head_ = !solid;
if(phole)
at2->addHole(phole); //assert fractureHoles == false
}
return std::pair<active_tail_arbitrary*, active_tail_arbitrary*>(at1, at2);
}
};
typedef std::vector<std::pair<Point, int> > vertex_arbitrary_count;
class less_half_edge_count
{
private:
Point pt_;
public:
typedef vertex_half_edge first_argument_type;
typedef vertex_half_edge second_argument_type;
typedef bool result_type;
inline less_half_edge_count() : pt_() {}
inline less_half_edge_count(Point point) : pt_(point) {}
inline bool operator () (const std::pair<Point, int>& elm1, const std::pair<Point, int>& elm2) const
{
return scanline_base<Unit>::less_slope(pt_.get(HORIZONTAL), pt_.get(VERTICAL), elm1.first, elm2.first);
}
};
static inline void sort_vertex_arbitrary_count(vertex_arbitrary_count& count, const Point& pt)
{
less_half_edge_count lfec(pt);
polygon_sort(count.begin(), count.end(), lfec);
}
typedef std::vector<std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*> > incoming_count;
class less_incoming_count
{
private:
Point pt_;
public:
typedef std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*> first_argument_type;
typedef std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*> second_argument_type;
typedef bool result_type;
inline less_incoming_count() : pt_() {}
inline less_incoming_count(Point point) : pt_(point) {}
inline bool operator () (const std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>& elm1,
const std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>& elm2) const
{
Unit dx1 = elm1.first.first.first.get(HORIZONTAL) - elm1.first.first.second.get(HORIZONTAL);
Unit dx2 = elm2.first.first.first.get(HORIZONTAL) - elm2.first.first.second.get(HORIZONTAL);
Unit dy1 = elm1.first.first.first.get(VERTICAL) - elm1.first.first.second.get(VERTICAL);
Unit dy2 = elm2.first.first.first.get(VERTICAL) - elm2.first.first.second.get(VERTICAL);
return scanline_base<Unit>::less_slope(dx1, dy1, dx2, dy2);
}
};
static inline void sort_incoming_count(incoming_count& count, const Point& pt)
{
less_incoming_count lfec(pt);
polygon_sort(count.begin(), count.end(), lfec);
}
static inline void compact_vertex_arbitrary_count(const Point& pt, vertex_arbitrary_count &count)
{
if(count.empty()) return;
vertex_arbitrary_count tmp;
tmp.reserve(count.size());
tmp.push_back(count[0]);
//merge duplicates
for(std::size_t i = 1; i < count.size(); ++i)
{
if(!equal_slope(pt.get(HORIZONTAL), pt.get(VERTICAL), tmp[i-1].first, count[i].first))
{
tmp.push_back(count[i]);
}
else
{
tmp.back().second += count[i].second;
}
}
count.clear();
count.swap(tmp);
}
// inline std::ostream& operator<< (std::ostream& o, const vertex_arbitrary_count& c) {
// for(unsinged int i = 0; i < c.size(); ++i) {
// o << c[i].first << " " << c[i].second << " ";
// }
// return o;
// }
class vertex_arbitrary_compact
{
public:
Point pt;
vertex_arbitrary_count count;
inline vertex_arbitrary_compact() : pt(), count() {}
inline vertex_arbitrary_compact(const Point& point, const Point& other_point, int countIn) : pt(point), count()
{
count.push_back(std::pair<Point, int>(other_point, countIn));
}
inline vertex_arbitrary_compact(const vertex_half_edge& vertex) : pt(vertex.pt), count()
{
count.push_back(std::pair<Point, int>(vertex.other_pt, vertex.count));
}
inline vertex_arbitrary_compact(const vertex_arbitrary_compact& vertex) : pt(vertex.pt), count(vertex.count) {}
inline vertex_arbitrary_compact& operator=(const vertex_arbitrary_compact& vertex)
{
pt = vertex.pt;
count = vertex.count;
return *this;
}
inline bool operator==(const vertex_arbitrary_compact& vertex) const
{
return pt == vertex.pt && count == vertex.count;
}
inline bool operator!=(const vertex_arbitrary_compact& vertex) const
{
return !((*this) == vertex);
}
inline bool operator<(const vertex_arbitrary_compact& vertex) const
{
if(pt.get(HORIZONTAL) < vertex.pt.get(HORIZONTAL)) return true;
if(pt.get(HORIZONTAL) == vertex.pt.get(HORIZONTAL))
{
return pt.get(VERTICAL) < vertex.pt.get(VERTICAL);
}
return false;
}
inline bool operator>(const vertex_arbitrary_compact& vertex) const
{
return vertex < (*this);
}
inline bool operator<=(const vertex_arbitrary_compact& vertex) const
{
return !((*this) > vertex);
}
inline bool operator>=(const vertex_arbitrary_compact& vertex) const
{
return !((*this) < vertex);
}
inline bool have_vertex_half_edge(int index) const
{
return count[index];
}
inline vertex_half_edge operator[](int index) const
{
return vertex_half_edge(pt, count[index]);
}
};
// inline std::ostream& operator<< (std::ostream& o, const vertex_arbitrary_compact& c) {
// o << c.pt << ", " << c.count;
// return o;
// }
protected:
//definitions
typedef std::map<vertex_half_edge, active_tail_arbitrary*, less_vertex_half_edge> scanline_data;
typedef typename scanline_data::iterator iterator;
typedef typename scanline_data::const_iterator const_iterator;
//data
scanline_data scanData_;
Unit x_;
int justBefore_;
int fractureHoles_;
public:
inline polygon_arbitrary_formation() :
scanData_(), x_((std::numeric_limits<Unit>::min)()), justBefore_(false), fractureHoles_(0)
{
less_vertex_half_edge lessElm(&x_, &justBefore_);
scanData_ = scanline_data(lessElm);
}
inline polygon_arbitrary_formation(bool fractureHoles) :
scanData_(), x_((std::numeric_limits<Unit>::min)()), justBefore_(false), fractureHoles_(fractureHoles)
{
less_vertex_half_edge lessElm(&x_, &justBefore_);
scanData_ = scanline_data(lessElm);
}
inline polygon_arbitrary_formation(const polygon_arbitrary_formation& that) :
scanData_(), x_((std::numeric_limits<Unit>::min)()), justBefore_(false), fractureHoles_(0)
{
(*this) = that;
}
inline polygon_arbitrary_formation& operator=(const polygon_arbitrary_formation& that)
{
x_ = that.x_;
justBefore_ = that.justBefore_;
fractureHoles_ = that.fractureHoles_;
less_vertex_half_edge lessElm(&x_, &justBefore_);
scanData_ = scanline_data(lessElm);
for(const_iterator itr = that.scanData_.begin(); itr != that.scanData_.end(); ++itr)
{
scanData_.insert(scanData_.end(), *itr);
}
return *this;
}
//cT is an output container of Polygon45 or Polygon45WithHoles
//iT is an iterator over vertex_half_edge elements
//inputBegin - inputEnd is a range of sorted iT that represents
//one or more scanline stops worth of data
template <class cT, class iT>
void scan(cT& output, iT inputBegin, iT inputEnd)
{
//std::cout << "1\n";
while(inputBegin != inputEnd)
{
//std::cout << "2\n";
x_ = (*inputBegin).pt.get(HORIZONTAL);
//std::cout << "SCAN FORMATION " << x_ << "\n";
//std::cout << "x_ = " << x_ << "\n";
//std::cout << "scan line size: " << scanData_.size() << "\n";
inputBegin = processEvent_(output, inputBegin, inputEnd);
}
//std::cout << "scan line size: " << scanData_.size() << "\n";
}
protected:
//functions
template <class cT, class cT2>
inline std::pair<std::pair<Point, int>, active_tail_arbitrary*> processPoint_(cT& output, cT2& elements, Point point,
incoming_count& counts_from_scanline, vertex_arbitrary_count& incoming_count)
{
//std::cout << "\nAT POINT: " << point << "\n";
//join any closing solid corners
std::vector<int> counts;
std::vector<int> incoming;
std::vector<active_tail_arbitrary*> tails;
counts.reserve(counts_from_scanline.size());
tails.reserve(counts_from_scanline.size());
incoming.reserve(incoming_count.size());
for(std::size_t i = 0; i < counts_from_scanline.size(); ++i)
{
counts.push_back(counts_from_scanline[i].first.second);
tails.push_back(counts_from_scanline[i].second);
}
for(std::size_t i = 0; i < incoming_count.size(); ++i)
{
incoming.push_back(incoming_count[i].second);
if(incoming_count[i].first < point)
{
incoming.back() = 0;
}
}
active_tail_arbitrary* returnValue = 0;
std::pair<Point, int> returnCount(Point(0, 0), 0);
int i_size_less_1 = (int)(incoming.size()) -1;
int c_size_less_1 = (int)(counts.size()) -1;
int i_size = incoming.size();
int c_size = counts.size();
bool have_vertical_tail_from_below = false;
if(c_size &&
scanline_base<Unit>::is_vertical(counts_from_scanline.back().first.first))
{
have_vertical_tail_from_below = true;
}
//assert size = size_less_1 + 1
//std::cout << tails.size() << " " << incoming.size() << " " << counts_from_scanline.size() << " " << incoming_count.size() << "\n";
// for(std::size_t i = 0; i < counts.size(); ++i) {
// std::cout << counts_from_scanline[i].first.first.first.get(HORIZONTAL) << ",";
// std::cout << counts_from_scanline[i].first.first.first.get(VERTICAL) << " ";
// std::cout << counts_from_scanline[i].first.first.second.get(HORIZONTAL) << ",";
// std::cout << counts_from_scanline[i].first.first.second.get(VERTICAL) << ":";
// std::cout << counts_from_scanline[i].first.second << " ";
// } std::cout << "\n";
// print(incoming_count);
{
for(int i = 0; i < c_size_less_1; ++i)
{
//std::cout << i << "\n";
if(counts[i] == -1)
{
//std::cout << "fixed i\n";
for(int j = i + 1; j < c_size; ++j)
{
//std::cout << j << "\n";
if(counts[j])
{
if(counts[j] == 1)
{
//std::cout << "case1: " << i << " " << j << "\n";
//if a figure is closed it will be written out by this function to output
active_tail_arbitrary::joinChains(point, tails[i], tails[j], true, output);
counts[i] = 0;
counts[j] = 0;
tails[i] = 0;
tails[j] = 0;
}
break;
}
}
}
}
}
//find any pairs of incoming edges that need to create pair for leading solid
//std::cout << "checking case2\n";
{
for(int i = 0; i < i_size_less_1; ++i)
{
//std::cout << i << "\n";
if(incoming[i] == 1)
{
//std::cout << "fixed i\n";
for(int j = i + 1; j < i_size; ++j)
{
//std::cout << j << "\n";
if(incoming[j])
{
//std::cout << incoming[j] << "\n";
if(incoming[j] == -1)
{
//std::cout << "case2: " << i << " " << j << "\n";
//std::cout << "creating active tail pair\n";
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(point, true, 0, fractureHoles_ != 0);
//tailPair.first->print();
//tailPair.second->print();
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
//vertical active tail becomes return value
returnValue = tailPair.first;
returnCount.first = point;
returnCount.second = 1;
}
else
{
//std::cout << "new element " << j-1 << " " << -1 << "\n";
//std::cout << point << " " << incoming_count[j].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, -1), tailPair.first));
}
//std::cout << "new element " << i-1 << " " << 1 << "\n";
//std::cout << point << " " << incoming_count[i].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[i].first, 1), tailPair.second));
incoming[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
}
}
//find any active tail that needs to pass through to an incoming edge
//we expect to find no more than two pass through
//find pass through with solid on top
{
//std::cout << "checking case 3\n";
for(int i = 0; i < c_size; ++i)
{
//std::cout << i << "\n";
if(counts[i] != 0)
{
if(counts[i] == 1)
{
//std::cout << "fixed i\n";
for(int j = i_size_less_1; j >= 0; --j)
{
if(incoming[j] != 0)
{
if(incoming[j] == 1)
{
//std::cout << "case3: " << i << " " << j << "\n";
//tails[i]->print();
//pass through solid on top
tails[i]->pushPoint(point);
//std::cout << "after push\n";
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
returnValue = tails[i];
returnCount.first = point;
returnCount.second = -1;
}
else
{
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tails[i]));
}
tails[i] = 0;
counts[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
break;
}
}
}
//std::cout << "checking case 4\n";
//find pass through with solid on bottom
{
for(int i = c_size_less_1; i >= 0; --i)
{
//std::cout << "i = " << i << " with count " << counts[i] << "\n";
if(counts[i] != 0)
{
if(counts[i] == -1)
{
for(int j = 0; j < i_size; ++j)
{
if(incoming[j] != 0)
{
if(incoming[j] == -1)
{
//std::cout << "case4: " << i << " " << j << "\n";
//pass through solid on bottom
tails[i]->pushPoint(point);
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
returnValue = tails[i];
returnCount.first = point;
returnCount.second = 1;
}
else
{
//std::cout << "new element " << j-1 << " " << incoming[j] << "\n";
//std::cout << point << " " << incoming_count[j].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tails[i]));
}
tails[i] = 0;
counts[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
break;
}
}
}
//find the end of a hole or the beginning of a hole
//find end of a hole
{
for(int i = 0; i < c_size_less_1; ++i)
{
if(counts[i] != 0)
{
for(int j = i+1; j < c_size; ++j)
{
if(counts[j] != 0)
{
//std::cout << "case5: " << i << " " << j << "\n";
//we are ending a hole and may potentially close a figure and have to handle the hole
returnValue = active_tail_arbitrary::joinChains(point, tails[i], tails[j], false, output);
if(returnValue) returnCount.first = point;
//std::cout << returnValue << "\n";
tails[i] = 0;
tails[j] = 0;
counts[i] = 0;
counts[j] = 0;
break;
}
}
break;
}
}
}
//find beginning of a hole
{
for(int i = 0; i < i_size_less_1; ++i)
{
if(incoming[i] != 0)
{
for(int j = i+1; j < i_size; ++j)
{
if(incoming[j] != 0)
{
//std::cout << "case6: " << i << " " << j << "\n";
//we are beginning a empty space
active_tail_arbitrary* holep = 0;
//if(c_size && counts[c_size_less_1] == 0 &&
// counts_from_scanline[c_size_less_1].first.first.first.get(HORIZONTAL) == point.get(HORIZONTAL))
if(have_vertical_tail_from_below)
{
holep = tails[c_size_less_1];
tails[c_size_less_1] = 0;
have_vertical_tail_from_below = false;
}
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(point, false, holep, fractureHoles_ != 0);
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
//std::cout << "vertical element " << point << "\n";
returnValue = tailPair.first;
returnCount.first = point;
//returnCount = incoming_count[j];
returnCount.second = -1;
}
else
{
//std::cout << "new element " << j-1 << " " << incoming[j] << "\n";
//std::cout << point << " " << incoming_count[j].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tailPair.first));
}
//std::cout << "new element " << i-1 << " " << incoming[i] << "\n";
//std::cout << point << " " << incoming_count[i].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[i].first, incoming[i]), tailPair.second));
incoming[i] = 0;
incoming[j] = 0;
break;
}
}
break;
}
}
}
if(have_vertical_tail_from_below)
{
if(tails.back())
{
tails.back()->pushPoint(point);
returnValue = tails.back();
returnCount.first = point;
returnCount.second = counts.back();
}
}
//assert that tails, counts and incoming are all null
return std::pair<std::pair<Point, int>, active_tail_arbitrary*>(returnCount, returnValue);
}
static inline void print(const vertex_arbitrary_count& count)
{
for(unsigned i = 0; i < count.size(); ++i)
{
//std::cout << count[i].first.get(HORIZONTAL) << ",";
//std::cout << count[i].first.get(VERTICAL) << ":";
//std::cout << count[i].second << " ";
} //std::cout << "\n";
}
static inline void print(const scanline_data& data)
{
for(typename scanline_data::const_iterator itr = data.begin(); itr != data.end(); ++itr)
{
//std::cout << itr->first.pt << ", " << itr->first.other_pt << "; ";
} //std::cout << "\n";
}
template <class cT, class iT>
inline iT processEvent_(cT& output, iT inputBegin, iT inputEnd)
{
typedef typename high_precision_type<Unit>::type high_precision;
//std::cout << "processEvent_\n";
justBefore_ = true;
//collect up all elements from the tree that are at the y
//values of events in the input queue
//create vector of new elements to add into tree
active_tail_arbitrary* verticalTail = 0;
std::pair<Point, int> verticalCount(Point(0, 0), 0);
iT currentIter = inputBegin;
std::vector<iterator> elementIters;
std::vector<std::pair<vertex_half_edge, active_tail_arbitrary*> > elements;
while(currentIter != inputEnd && currentIter->pt.get(HORIZONTAL) == x_)
{
//std::cout << "loop\n";
Unit currentY = (*currentIter).pt.get(VERTICAL);
//std::cout << "current Y " << currentY << "\n";
//std::cout << "scanline size " << scanData_.size() << "\n";
//print(scanData_);
iterator iter = lookUp_(currentY);
//std::cout << "found element in scanline " << (iter != scanData_.end()) << "\n";
//int counts[4] = {0, 0, 0, 0};
incoming_count counts_from_scanline;
//std::cout << "finding elements in tree\n";
//if(iter != scanData_.end())
// std::cout << "first iter y is " << iter->first.evalAtX(x_) << "\n";
while(iter != scanData_.end() &&
((iter->first.pt.x() == x_ && iter->first.pt.y() == currentY) ||
(iter->first.other_pt.x() == x_ && iter->first.other_pt.y() == currentY)))
{
//iter->first.evalAtX(x_) == (high_precision)currentY) {
//std::cout << "loop2\n";
elementIters.push_back(iter);
counts_from_scanline.push_back(std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>
(std::pair<std::pair<Point, Point>, int>(std::pair<Point, Point>(iter->first.pt,
iter->first.other_pt),
iter->first.count),
iter->second));
++iter;
}
Point currentPoint(x_, currentY);
//std::cout << "counts_from_scanline size " << counts_from_scanline.size() << "\n";
sort_incoming_count(counts_from_scanline, currentPoint);
vertex_arbitrary_count incoming;
//std::cout << "aggregating\n";
do
{
//std::cout << "loop3\n";
const vertex_half_edge& elem = *currentIter;
incoming.push_back(std::pair<Point, int>(elem.other_pt, elem.count));
++currentIter;
}
while(currentIter != inputEnd && currentIter->pt.get(VERTICAL) == currentY &&
currentIter->pt.get(HORIZONTAL) == x_);
//print(incoming);
sort_vertex_arbitrary_count(incoming, currentPoint);
//std::cout << currentPoint.get(HORIZONTAL) << "," << currentPoint.get(VERTICAL) << "\n";
//print(incoming);
//std::cout << "incoming counts from input size " << incoming.size() << "\n";
//compact_vertex_arbitrary_count(currentPoint, incoming);
vertex_arbitrary_count tmp;
tmp.reserve(incoming.size());
for(std::size_t i = 0; i < incoming.size(); ++i)
{
if(currentPoint < incoming[i].first)
{
tmp.push_back(incoming[i]);
}
}
incoming.swap(tmp);
//std::cout << "incoming counts from input size " << incoming.size() << "\n";
//now counts_from_scanline has the data from the left and
//incoming has the data from the right at this point
//cancel out any end points
if(verticalTail)
{
//std::cout << "adding vertical tail to counts from scanline\n";
//std::cout << -verticalCount.second << "\n";
counts_from_scanline.push_back(std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>
(std::pair<std::pair<Point, Point>, int>(std::pair<Point, Point>(verticalCount.first,
currentPoint),
-verticalCount.second),
verticalTail));
}
if(!incoming.empty() && incoming.back().first.get(HORIZONTAL) == x_)
{
//std::cout << "inverted vertical event\n";
incoming.back().second *= -1;
}
//std::cout << "calling processPoint_\n";
std::pair<std::pair<Point, int>, active_tail_arbitrary*> result = processPoint_(output, elements, Point(x_, currentY), counts_from_scanline, incoming);
verticalCount = result.first;
verticalTail = result.second;
//if(verticalTail) {
// std::cout << "have vertical tail\n";
// std::cout << verticalCount.second << "\n";
//}
if(verticalTail && !(verticalCount.second))
{
//we got a hole out of the point we just processed
//iter is still at the next y element above the current y value in the tree
//std::cout << "checking whether ot handle hole\n";
if(currentIter == inputEnd ||
currentIter->pt.get(HORIZONTAL) != x_ ||
scanline_base<Unit>::on_above_or_below(currentIter->pt, half_edge(iter->first.pt, iter->first.other_pt)) != -1)
{
//(high_precision)(currentIter->pt.get(VERTICAL)) >= iter->first.evalAtX(x_)) {
//std::cout << "handle hole here\n";
if(fractureHoles_)
{
//std::cout << "fracture hole here\n";
//we need to handle the hole now and not at the next input vertex
active_tail_arbitrary* at = iter->second;
high_precision precise_y = iter->first.evalAtX(x_);
Unit fracture_y = convert_high_precision_type<Unit>(precise_y);
if(precise_y < fracture_y) --fracture_y;
Point point(x_, fracture_y);
verticalTail->getOtherActiveTail()->pushPoint(point);
iter->second = verticalTail->getOtherActiveTail();
at->pushPoint(point);
verticalTail->join(at);
delete at;
delete verticalTail;
verticalTail = 0;
}
else
{
//std::cout << "push hole onto list\n";
iter->second->addHole(verticalTail);
verticalTail = 0;
}
}
}
}
//std::cout << "erasing\n";
//erase all elements from the tree
for(typename std::vector<iterator>::iterator iter = elementIters.begin();
iter != elementIters.end(); ++iter)
{
//std::cout << "erasing loop\n";
scanData_.erase(*iter);
}
//switch comparison tie breaking policy
justBefore_ = false;
//add new elements into tree
//std::cout << "inserting\n";
for(typename std::vector<std::pair<vertex_half_edge, active_tail_arbitrary*> >::iterator iter = elements.begin();
iter != elements.end(); ++iter)
{
//std::cout << "inserting loop\n";
scanData_.insert(scanData_.end(), *iter);
}
//std::cout << "end processEvent\n";
return currentIter;
}
inline iterator lookUp_(Unit y)
{
//if just before then we need to look from 1 not -1
//std::cout << "just before " << justBefore_ << "\n";
return scanData_.lower_bound(vertex_half_edge(Point(x_, y), Point(x_, y+1), 0));
}
public: //test functions
template <typename stream_type>
static inline bool testPolygonArbitraryFormationRect(stream_type& stdcout)
{
stdcout << "testing polygon formation\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(10, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 10), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 10), Point(0, 10), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationP1(stream_type& stdcout)
{
stdcout << "testing polygon formation P1\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(10, 20), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 20), -1));
data.push_back(vertex_half_edge(Point(10, 20), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 20), Point(0, 10), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationP2(stream_type& stdcout)
{
stdcout << "testing polygon formation P2\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(-3, 1), Point(2, -4), 1));
data.push_back(vertex_half_edge(Point(-3, 1), Point(-2, 2), -1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(2, 4), -1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(-3, 1), 1));
data.push_back(vertex_half_edge(Point(2, -4), Point(-3, 1), -1));
data.push_back(vertex_half_edge(Point(2, -4), Point(2, 4), -1));
data.push_back(vertex_half_edge(Point(2, 4), Point(-2, 2), 1));
data.push_back(vertex_half_edge(Point(2, 4), Point(2, -4), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationPolys(stream_type& stdcout)
{
stdcout << "testing polygon formation polys\n";
polygon_arbitrary_formation pf(false);
std::vector<polygon_with_holes_data<Unit> > polys;
polygon_arbitrary_formation pf2(true);
std::vector<polygon_with_holes_data<Unit> > polys2;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(100, 1), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(1, 100), -1));
data.push_back(vertex_half_edge(Point(1, 100), Point(0, 0), 1));
data.push_back(vertex_half_edge(Point(1, 100), Point(101, 101), -1));
data.push_back(vertex_half_edge(Point(100, 1), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(100, 1), Point(101, 101), 1));
data.push_back(vertex_half_edge(Point(101, 101), Point(100, 1), -1));
data.push_back(vertex_half_edge(Point(101, 101), Point(1, 100), 1));
data.push_back(vertex_half_edge(Point(2, 2), Point(10, 2), -1));
data.push_back(vertex_half_edge(Point(2, 2), Point(2, 10), -1));
data.push_back(vertex_half_edge(Point(2, 10), Point(2, 2), 1));
data.push_back(vertex_half_edge(Point(2, 10), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 2), Point(2, 2), 1));
data.push_back(vertex_half_edge(Point(10, 2), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 2), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(2, 10), -1));
data.push_back(vertex_half_edge(Point(2, 12), Point(10, 12), -1));
data.push_back(vertex_half_edge(Point(2, 12), Point(2, 22), -1));
data.push_back(vertex_half_edge(Point(2, 22), Point(2, 12), 1));
data.push_back(vertex_half_edge(Point(2, 22), Point(10, 22), 1));
data.push_back(vertex_half_edge(Point(10, 12), Point(2, 12), 1));
data.push_back(vertex_half_edge(Point(10, 12), Point(10, 22), 1));
data.push_back(vertex_half_edge(Point(10, 22), Point(10, 12), -1));
data.push_back(vertex_half_edge(Point(10, 22), Point(2, 22), -1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
pf2.scan(polys2, data.begin(), data.end());
stdcout << "result size: " << polys2.size() << "\n";
for(std::size_t i = 0; i < polys2.size(); ++i)
{
stdcout << polys2[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationSelfTouch1(stream_type& stdcout)
{
stdcout << "testing polygon formation self touch 1\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(5, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(10, 5), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 5), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(5, 10), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(5, 10), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(5, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(5, 2), Point(7, 2), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(5, 10), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(5, 2), 1));
data.push_back(vertex_half_edge(Point(5, 5), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(7, 2), 1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 2), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationSelfTouch2(stream_type& stdcout)
{
stdcout << "testing polygon formation self touch 2\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(5, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(10, 5), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 5), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(5, 10), Point(4, 1), -1));
data.push_back(vertex_half_edge(Point(5, 10), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(4, 1), Point(5, 10), 1));
data.push_back(vertex_half_edge(Point(4, 1), Point(7, 2), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(7, 2), 1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(7, 2), Point(4, 1), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationSelfTouch3(stream_type& stdcout)
{
stdcout << "testing polygon formation self touch 3\n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(6, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(10, 5), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 5), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(6, 10), Point(4, 1), -1));
data.push_back(vertex_half_edge(Point(6, 10), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(4, 1), Point(6, 10), 1));
data.push_back(vertex_half_edge(Point(4, 1), Point(7, 2), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(7, 2), 1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(7, 2), Point(4, 1), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testPolygonArbitraryFormationColinear(stream_type& stdcout)
{
stdcout << "testing polygon formation colinear 3\n";
stdcout << "Polygon Set Data { <-3 2, -2 2>:1 <-3 2, -1 4>:-1 <-2 2, 0 2>:1 <-1 4, 0 2>:-1 } \n";
polygon_arbitrary_formation pf(true);
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(-3, 2), Point(-2, 2), 1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(-3, 2), -1));
data.push_back(vertex_half_edge(Point(-3, 2), Point(-1, 4), -1));
data.push_back(vertex_half_edge(Point(-1, 4), Point(-3, 2), 1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(0, 2), 1));
data.push_back(vertex_half_edge(Point(0, 2), Point(-2, 2), -1));
data.push_back(vertex_half_edge(Point(-1, 4), Point(0, 2), -1));
data.push_back(vertex_half_edge(Point(0, 2), Point(-1, 4), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing polygon formation\n";
return true;
}
template <typename stream_type>
static inline bool testSegmentIntersection(stream_type& stdcout)
{
stdcout << "testing segment intersection\n";
half_edge he1, he2;
he1.first = Point(0, 0);
he1.second = Point(10, 10);
he2.first = Point(0, 0);
he2.second = Point(10, 20);
Point result;
bool b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(0, 0)) return false;
he1.first = Point(0, 10);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(5, 10)) return false;
he1.first = Point(0, 11);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(5, 10)) return false;
he1.first = Point(0, 0);
he1.second = Point(1, 9);
he2.first = Point(0, 9);
he2.second = Point(1, 0);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(0, 4)) return false;
he1.first = Point(0, -10);
he1.second = Point(1, -1);
he2.first = Point(0, -1);
he2.second = Point(1, -10);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(0, -5)) return false;
he1.first = Point((std::numeric_limits<int>::max)(), (std::numeric_limits<int>::max)()-1);
he1.second = Point((std::numeric_limits<int>::min)(), (std::numeric_limits<int>::max)());
//he1.second = Point(0, (std::numeric_limits<int>::max)());
he2.first = Point((std::numeric_limits<int>::max)()-1, (std::numeric_limits<int>::max)());
he2.second = Point((std::numeric_limits<int>::max)(), (std::numeric_limits<int>::min)());
//he2.second = Point((std::numeric_limits<int>::max)(), 0);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
//b is false because of overflow error
he1.first = Point(1000, 2000);
he1.second = Point(1010, 2010);
he2.first = Point(1000, 2000);
he2.second = Point(1010, 2020);
b = scanline_base<Unit>::compute_intersection(result, he1, he2);
if(!b || result != Point(1000, 2000)) return false;
return b;
}
};
template <typename Unit>
class poly_line_arbitrary_hole_data
{
private:
typedef typename polygon_arbitrary_formation<Unit>::active_tail_arbitrary active_tail_arbitrary;
active_tail_arbitrary* p_;
public:
typedef point_data<Unit> Point;
typedef Point point_type;
typedef Unit coordinate_type;
typedef typename active_tail_arbitrary::iterator iterator_type;
//typedef iterator_points_to_compact<iterator_type, Point> compact_iterator_type;
typedef iterator_type iterator;
inline poly_line_arbitrary_hole_data() : p_(0) {}
inline poly_line_arbitrary_hole_data(active_tail_arbitrary* p) : p_(p) {}
//use default copy and assign
inline iterator begin() const
{
return p_->getTail()->begin();
}
inline iterator end() const
{
return p_->getTail()->end();
}
inline std::size_t size() const
{
return 0;
}
};
template <typename Unit>
class poly_line_arbitrary_polygon_data
{
private:
typedef typename polygon_arbitrary_formation<Unit>::active_tail_arbitrary active_tail_arbitrary;
active_tail_arbitrary* p_;
public:
typedef point_data<Unit> Point;
typedef Point point_type;
typedef Unit coordinate_type;
typedef typename active_tail_arbitrary::iterator iterator_type;
//typedef iterator_points_to_compact<iterator_type, Point> compact_iterator_type;
typedef typename coordinate_traits<Unit>::coordinate_distance area_type;
class iterator_holes_type
{
private:
typedef poly_line_arbitrary_hole_data<Unit> holeType;
mutable holeType hole_;
typename active_tail_arbitrary::iteratorHoles itr_;
public:
typedef std::forward_iterator_tag iterator_category;
typedef holeType value_type;
typedef std::ptrdiff_t difference_type;
typedef const holeType* pointer; //immutable
typedef const holeType& reference; //immutable
inline iterator_holes_type() : hole_(), itr_() {}
inline iterator_holes_type(typename active_tail_arbitrary::iteratorHoles itr) : hole_(), itr_(itr) {}
inline iterator_holes_type(const iterator_holes_type& that) : hole_(that.hole_), itr_(that.itr_) {}
inline iterator_holes_type& operator=(const iterator_holes_type& that)
{
itr_ = that.itr_;
return *this;
}
inline bool operator==(const iterator_holes_type& that)
{
return itr_ == that.itr_;
}
inline bool operator!=(const iterator_holes_type& that)
{
return itr_ != that.itr_;
}
inline iterator_holes_type& operator++()
{
++itr_;
return *this;
}
inline const iterator_holes_type operator++(int)
{
iterator_holes_type tmp = *this;
++(*this);
return tmp;
}
inline reference operator*()
{
hole_ = holeType(*itr_);
return hole_;
}
};
typedef poly_line_arbitrary_hole_data<Unit> hole_type;
inline poly_line_arbitrary_polygon_data() : p_(0) {}
inline poly_line_arbitrary_polygon_data(active_tail_arbitrary* p) : p_(p) {}
//use default copy and assign
inline iterator_type begin() const
{
return p_->getTail()->begin();
}
inline iterator_type end() const
{
return p_->getTail()->end();
}
//inline compact_iterator_type begin_compact() const { return p_->getTail()->begin(); }
//inline compact_iterator_type end_compact() const { return p_->getTail()->end(); }
inline iterator_holes_type begin_holes() const
{
return iterator_holes_type(p_->getHoles().begin());
}
inline iterator_holes_type end_holes() const
{
return iterator_holes_type(p_->getHoles().end());
}
inline active_tail_arbitrary* yield()
{
return p_;
}
//stub out these four required functions that will not be used but are needed for the interface
inline std::size_t size_holes() const
{
return 0;
}
inline std::size_t size() const
{
return 0;
}
};
template <typename Unit>
class trapezoid_arbitrary_formation : public polygon_arbitrary_formation<Unit>
{
private:
typedef typename scanline_base<Unit>::Point Point;
typedef typename scanline_base<Unit>::half_edge half_edge;
typedef typename scanline_base<Unit>::vertex_half_edge vertex_half_edge;
typedef typename scanline_base<Unit>::less_vertex_half_edge less_vertex_half_edge;
typedef typename polygon_arbitrary_formation<Unit>::poly_line_arbitrary poly_line_arbitrary;
typedef typename polygon_arbitrary_formation<Unit>::active_tail_arbitrary active_tail_arbitrary;
typedef std::vector<std::pair<Point, int> > vertex_arbitrary_count;
typedef typename polygon_arbitrary_formation<Unit>::less_half_edge_count less_half_edge_count;
typedef std::vector<std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*> > incoming_count;
typedef typename polygon_arbitrary_formation<Unit>::less_incoming_count less_incoming_count;
typedef typename polygon_arbitrary_formation<Unit>::vertex_arbitrary_compact vertex_arbitrary_compact;
private:
//definitions
typedef std::map<vertex_half_edge, active_tail_arbitrary*, less_vertex_half_edge> scanline_data;
typedef typename scanline_data::iterator iterator;
typedef typename scanline_data::const_iterator const_iterator;
//data
public:
inline trapezoid_arbitrary_formation() : polygon_arbitrary_formation<Unit>() {}
inline trapezoid_arbitrary_formation(const trapezoid_arbitrary_formation& that) : polygon_arbitrary_formation<Unit>(that) {}
inline trapezoid_arbitrary_formation& operator=(const trapezoid_arbitrary_formation& that)
{
* static_cast<polygon_arbitrary_formation<Unit>*>(this) = * static_cast<polygon_arbitrary_formation<Unit>*>(&that);
return *this;
}
//cT is an output container of Polygon45 or Polygon45WithHoles
//iT is an iterator over vertex_half_edge elements
//inputBegin - inputEnd is a range of sorted iT that represents
//one or more scanline stops worth of data
template <class cT, class iT>
void scan(cT& output, iT inputBegin, iT inputEnd)
{
//std::cout << "1\n";
while(inputBegin != inputEnd)
{
//std::cout << "2\n";
polygon_arbitrary_formation<Unit>::x_ = (*inputBegin).pt.get(HORIZONTAL);
//std::cout << "SCAN FORMATION " << x_ << "\n";
//std::cout << "x_ = " << x_ << "\n";
//std::cout << "scan line size: " << scanData_.size() << "\n";
inputBegin = processEvent_(output, inputBegin, inputEnd);
}
//std::cout << "scan line size: " << scanData_.size() << "\n";
}
private:
//functions
inline void getVerticalPair_(std::pair<active_tail_arbitrary*,
active_tail_arbitrary*>& verticalPair,
iterator previter)
{
active_tail_arbitrary* iterTail = (*previter).second;
Point prevPoint(polygon_arbitrary_formation<Unit>::x_,
convert_high_precision_type<Unit>(previter->first.evalAtX(polygon_arbitrary_formation<Unit>::x_)));
iterTail->pushPoint(prevPoint);
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(prevPoint, true, 0, false);
verticalPair.first = iterTail;
verticalPair.second = tailPair.first;
(*previter).second = tailPair.second;
}
template <class cT, class cT2>
inline std::pair<std::pair<Point, int>, active_tail_arbitrary*>
processPoint_(cT& output, cT2& elements,
std::pair<active_tail_arbitrary*, active_tail_arbitrary*>& verticalPair,
iterator previter, Point point, incoming_count& counts_from_scanline,
vertex_arbitrary_count& incoming_count)
{
//std::cout << "\nAT POINT: " << point << "\n";
//join any closing solid corners
std::vector<int> counts;
std::vector<int> incoming;
std::vector<active_tail_arbitrary*> tails;
counts.reserve(counts_from_scanline.size());
tails.reserve(counts_from_scanline.size());
incoming.reserve(incoming_count.size());
for(std::size_t i = 0; i < counts_from_scanline.size(); ++i)
{
counts.push_back(counts_from_scanline[i].first.second);
tails.push_back(counts_from_scanline[i].second);
}
for(std::size_t i = 0; i < incoming_count.size(); ++i)
{
incoming.push_back(incoming_count[i].second);
if(incoming_count[i].first < point)
{
incoming.back() = 0;
}
}
active_tail_arbitrary* returnValue = 0;
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> verticalPairOut;
verticalPairOut.first = 0;
verticalPairOut.second = 0;
std::pair<Point, int> returnCount(Point(0, 0), 0);
int i_size_less_1 = (int)(incoming.size()) -1;
int c_size_less_1 = (int)(counts.size()) -1;
int i_size = incoming.size();
int c_size = counts.size();
bool have_vertical_tail_from_below = false;
if(c_size &&
scanline_base<Unit>::is_vertical(counts_from_scanline.back().first.first))
{
have_vertical_tail_from_below = true;
}
//assert size = size_less_1 + 1
//std::cout << tails.size() << " " << incoming.size() << " " << counts_from_scanline.size() << " " << incoming_count.size() << "\n";
// for(std::size_t i = 0; i < counts.size(); ++i) {
// std::cout << counts_from_scanline[i].first.first.first.get(HORIZONTAL) << ",";
// std::cout << counts_from_scanline[i].first.first.first.get(VERTICAL) << " ";
// std::cout << counts_from_scanline[i].first.first.second.get(HORIZONTAL) << ",";
// std::cout << counts_from_scanline[i].first.first.second.get(VERTICAL) << ":";
// std::cout << counts_from_scanline[i].first.second << " ";
// } std::cout << "\n";
// print(incoming_count);
{
for(int i = 0; i < c_size_less_1; ++i)
{
//std::cout << i << "\n";
if(counts[i] == -1)
{
//std::cout << "fixed i\n";
for(int j = i + 1; j < c_size; ++j)
{
//std::cout << j << "\n";
if(counts[j])
{
if(counts[j] == 1)
{
//std::cout << "case1: " << i << " " << j << "\n";
//if a figure is closed it will be written out by this function to output
active_tail_arbitrary::joinChains(point, tails[i], tails[j], true, output);
counts[i] = 0;
counts[j] = 0;
tails[i] = 0;
tails[j] = 0;
}
break;
}
}
}
}
}
//find any pairs of incoming edges that need to create pair for leading solid
//std::cout << "checking case2\n";
{
for(int i = 0; i < i_size_less_1; ++i)
{
//std::cout << i << "\n";
if(incoming[i] == 1)
{
//std::cout << "fixed i\n";
for(int j = i + 1; j < i_size; ++j)
{
//std::cout << j << "\n";
if(incoming[j])
{
//std::cout << incoming[j] << "\n";
if(incoming[j] == -1)
{
//std::cout << "case2: " << i << " " << j << "\n";
//std::cout << "creating active tail pair\n";
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(point, true, 0, polygon_arbitrary_formation<Unit>::fractureHoles_ != 0);
//tailPair.first->print();
//tailPair.second->print();
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
//vertical active tail becomes return value
returnValue = tailPair.first;
returnCount.first = point;
returnCount.second = 1;
}
else
{
//std::cout << "new element " << j-1 << " " << -1 << "\n";
//std::cout << point << " " << incoming_count[j].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, -1), tailPair.first));
}
//std::cout << "new element " << i-1 << " " << 1 << "\n";
//std::cout << point << " " << incoming_count[i].first << "\n";
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[i].first, 1), tailPair.second));
incoming[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
}
}
//find any active tail that needs to pass through to an incoming edge
//we expect to find no more than two pass through
//find pass through with solid on top
{
//std::cout << "checking case 3\n";
for(int i = 0; i < c_size; ++i)
{
//std::cout << i << "\n";
if(counts[i] != 0)
{
if(counts[i] == 1)
{
//std::cout << "fixed i\n";
for(int j = i_size_less_1; j >= 0; --j)
{
if(incoming[j] != 0)
{
if(incoming[j] == 1)
{
//std::cout << "case3: " << i << " " << j << "\n";
//tails[i]->print();
//pass through solid on top
tails[i]->pushPoint(point);
//std::cout << "after push\n";
if(j == i_size_less_1 && incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
returnValue = tails[i];
returnCount.first = point;
returnCount.second = -1;
}
else
{
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(point, true, 0, false);
verticalPairOut.first = tails[i];
verticalPairOut.second = tailPair.first;
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tailPair.second));
}
tails[i] = 0;
counts[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
break;
}
}
}
//std::cout << "checking case 4\n";
//find pass through with solid on bottom
{
for(int i = c_size_less_1; i >= 0; --i)
{
//std::cout << "i = " << i << " with count " << counts[i] << "\n";
if(counts[i] != 0)
{
if(counts[i] == -1)
{
for(int j = 0; j < i_size; ++j)
{
if(incoming[j] != 0)
{
if(incoming[j] == -1)
{
//std::cout << "case4: " << i << " " << j << "\n";
//pass through solid on bottom
//if count from scanline is vertical
if(i == c_size_less_1 &&
counts_from_scanline[i].first.first.first.get(HORIZONTAL) ==
point.get(HORIZONTAL))
{
//if incoming count is vertical
if(j == i_size_less_1 &&
incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
returnValue = tails[i];
returnCount.first = point;
returnCount.second = 1;
}
else
{
tails[i]->pushPoint(point);
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tails[i]));
}
}
else if(j == i_size_less_1 &&
incoming_count[j].first.get(HORIZONTAL) ==
point.get(HORIZONTAL))
{
if(verticalPair.first == 0)
{
getVerticalPair_(verticalPair, previter);
}
active_tail_arbitrary::joinChains(point, tails[i], verticalPair.first, true, output);
returnValue = verticalPair.second;
returnCount.first = point;
returnCount.second = 1;
}
else
{
//neither is vertical
if(verticalPair.first == 0)
{
getVerticalPair_(verticalPair, previter);
}
active_tail_arbitrary::joinChains(point, tails[i], verticalPair.first, true, output);
verticalPair.second->pushPoint(point);
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), verticalPair.second));
}
tails[i] = 0;
counts[i] = 0;
incoming[j] = 0;
}
break;
}
}
}
break;
}
}
}
//find the end of a hole or the beginning of a hole
//find end of a hole
{
for(int i = 0; i < c_size_less_1; ++i)
{
if(counts[i] != 0)
{
for(int j = i+1; j < c_size; ++j)
{
if(counts[j] != 0)
{
//std::cout << "case5: " << i << " " << j << "\n";
//we are ending a hole and may potentially close a figure and have to handle the hole
tails[i]->pushPoint(point);
verticalPairOut.first = tails[i];
if(j == c_size_less_1 &&
counts_from_scanline[j].first.first.first.get(HORIZONTAL) ==
point.get(HORIZONTAL))
{
verticalPairOut.second = tails[j];
}
else
{
//need to close a trapezoid below
if(verticalPair.first == 0)
{
getVerticalPair_(verticalPair, previter);
}
active_tail_arbitrary::joinChains(point, tails[j], verticalPair.first, true, output);
verticalPairOut.second = verticalPair.second;
}
tails[i] = 0;
tails[j] = 0;
counts[i] = 0;
counts[j] = 0;
break;
}
}
break;
}
}
}
//find beginning of a hole
{
for(int i = 0; i < i_size_less_1; ++i)
{
if(incoming[i] != 0)
{
for(int j = i+1; j < i_size; ++j)
{
if(incoming[j] != 0)
{
//std::cout << "case6: " << i << " " << j << "\n";
//we are beginning a empty space
if(verticalPair.first == 0)
{
getVerticalPair_(verticalPair, previter);
}
verticalPair.second->pushPoint(point);
if(j == i_size_less_1 &&
incoming_count[j].first.get(HORIZONTAL) == point.get(HORIZONTAL))
{
returnValue = verticalPair.first;
returnCount.first = point;
returnCount.second = -1;
}
else
{
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> tailPair =
active_tail_arbitrary::createActiveTailsAsPair(point, false, 0, false);
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[j].first, incoming[j]), tailPair.second));
verticalPairOut.second = tailPair.first;
verticalPairOut.first = verticalPair.first;
}
elements.push_back(std::pair<vertex_half_edge,
active_tail_arbitrary*>(vertex_half_edge(point,
incoming_count[i].first, incoming[i]), verticalPair.second));
incoming[i] = 0;
incoming[j] = 0;
break;
}
}
break;
}
}
}
if(have_vertical_tail_from_below)
{
if(tails.back())
{
tails.back()->pushPoint(point);
returnValue = tails.back();
returnCount.first = point;
returnCount.second = counts.back();
}
}
verticalPair = verticalPairOut;
//assert that tails, counts and incoming are all null
return std::pair<std::pair<Point, int>, active_tail_arbitrary*>(returnCount, returnValue);
}
static inline void print(const vertex_arbitrary_count& count)
{
for(unsigned i = 0; i < count.size(); ++i)
{
//std::cout << count[i].first.get(HORIZONTAL) << ",";
//std::cout << count[i].first.get(VERTICAL) << ":";
//std::cout << count[i].second << " ";
} //std::cout << "\n";
}
static inline void print(const scanline_data& data)
{
for(typename scanline_data::const_iterator itr = data.begin(); itr != data.end(); ++itr)
{
//std::cout << itr->first.pt << ", " << itr->first.other_pt << "; ";
} //std::cout << "\n";
}
template <class cT, class iT>
inline iT processEvent_(cT& output, iT inputBegin, iT inputEnd)
{
//typedef typename high_precision_type<Unit>::type high_precision;
//std::cout << "processEvent_\n";
polygon_arbitrary_formation<Unit>::justBefore_ = true;
//collect up all elements from the tree that are at the y
//values of events in the input queue
//create vector of new elements to add into tree
active_tail_arbitrary* verticalTail = 0;
std::pair<active_tail_arbitrary*, active_tail_arbitrary*> verticalPair;
std::pair<Point, int> verticalCount(Point(0, 0), 0);
iT currentIter = inputBegin;
std::vector<iterator> elementIters;
std::vector<std::pair<vertex_half_edge, active_tail_arbitrary*> > elements;
while(currentIter != inputEnd && currentIter->pt.get(HORIZONTAL) == polygon_arbitrary_formation<Unit>::x_)
{
//std::cout << "loop\n";
Unit currentY = (*currentIter).pt.get(VERTICAL);
//std::cout << "current Y " << currentY << "\n";
//std::cout << "scanline size " << scanData_.size() << "\n";
//print(scanData_);
iterator iter = this->lookUp_(currentY);
//std::cout << "found element in scanline " << (iter != scanData_.end()) << "\n";
//int counts[4] = {0, 0, 0, 0};
incoming_count counts_from_scanline;
//std::cout << "finding elements in tree\n";
//if(iter != scanData_.end())
// std::cout << "first iter y is " << iter->first.evalAtX(x_) << "\n";
iterator previter = iter;
if(previter != polygon_arbitrary_formation<Unit>::scanData_.end() &&
previter->first.evalAtX(polygon_arbitrary_formation<Unit>::x_) >= currentY &&
previter != polygon_arbitrary_formation<Unit>::scanData_.begin())
--previter;
while(iter != polygon_arbitrary_formation<Unit>::scanData_.end() &&
((iter->first.pt.x() == polygon_arbitrary_formation<Unit>::x_ && iter->first.pt.y() == currentY) ||
(iter->first.other_pt.x() == polygon_arbitrary_formation<Unit>::x_ && iter->first.other_pt.y() == currentY)))
{
//iter->first.evalAtX(polygon_arbitrary_formation<Unit>::x_) == (high_precision)currentY) {
//std::cout << "loop2\n";
elementIters.push_back(iter);
counts_from_scanline.push_back(std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>
(std::pair<std::pair<Point, Point>, int>(std::pair<Point, Point>(iter->first.pt,
iter->first.other_pt),
iter->first.count),
iter->second));
++iter;
}
Point currentPoint(polygon_arbitrary_formation<Unit>::x_, currentY);
//std::cout << "counts_from_scanline size " << counts_from_scanline.size() << "\n";
this->sort_incoming_count(counts_from_scanline, currentPoint);
vertex_arbitrary_count incoming;
//std::cout << "aggregating\n";
do
{
//std::cout << "loop3\n";
const vertex_half_edge& elem = *currentIter;
incoming.push_back(std::pair<Point, int>(elem.other_pt, elem.count));
++currentIter;
}
while(currentIter != inputEnd && currentIter->pt.get(VERTICAL) == currentY &&
currentIter->pt.get(HORIZONTAL) == polygon_arbitrary_formation<Unit>::x_);
//print(incoming);
this->sort_vertex_arbitrary_count(incoming, currentPoint);
//std::cout << currentPoint.get(HORIZONTAL) << "," << currentPoint.get(VERTICAL) << "\n";
//print(incoming);
//std::cout << "incoming counts from input size " << incoming.size() << "\n";
//compact_vertex_arbitrary_count(currentPoint, incoming);
vertex_arbitrary_count tmp;
tmp.reserve(incoming.size());
for(std::size_t i = 0; i < incoming.size(); ++i)
{
if(currentPoint < incoming[i].first)
{
tmp.push_back(incoming[i]);
}
}
incoming.swap(tmp);
//std::cout << "incoming counts from input size " << incoming.size() << "\n";
//now counts_from_scanline has the data from the left and
//incoming has the data from the right at this point
//cancel out any end points
if(verticalTail)
{
//std::cout << "adding vertical tail to counts from scanline\n";
//std::cout << -verticalCount.second << "\n";
counts_from_scanline.push_back(std::pair<std::pair<std::pair<Point, Point>, int>, active_tail_arbitrary*>
(std::pair<std::pair<Point, Point>, int>(std::pair<Point, Point>(verticalCount.first,
currentPoint),
-verticalCount.second),
verticalTail));
}
if(!incoming.empty() && incoming.back().first.get(HORIZONTAL) == polygon_arbitrary_formation<Unit>::x_)
{
//std::cout << "inverted vertical event\n";
incoming.back().second *= -1;
}
//std::cout << "calling processPoint_\n";
std::pair<std::pair<Point, int>, active_tail_arbitrary*> result = processPoint_(output, elements, verticalPair, previter, Point(polygon_arbitrary_formation<Unit>::x_, currentY), counts_from_scanline, incoming);
verticalCount = result.first;
verticalTail = result.second;
if(verticalPair.first != 0 && iter != polygon_arbitrary_formation<Unit>::scanData_.end() &&
(currentIter == inputEnd || currentIter->pt.x() != polygon_arbitrary_formation<Unit>::x_ ||
currentIter->pt.y() > (*iter).first.evalAtX(polygon_arbitrary_formation<Unit>::x_)))
{
//splice vertical pair into edge above
active_tail_arbitrary* tailabove = (*iter).second;
Point point(polygon_arbitrary_formation<Unit>::x_,
convert_high_precision_type<Unit>((*iter).first.evalAtX(polygon_arbitrary_formation<Unit>::x_)));
verticalPair.second->pushPoint(point);
active_tail_arbitrary::joinChains(point, tailabove, verticalPair.first, true, output);
(*iter).second = verticalPair.second;
verticalPair.first = 0;
verticalPair.second = 0;
}
}
//std::cout << "erasing\n";
//erase all elements from the tree
for(typename std::vector<iterator>::iterator iter = elementIters.begin();
iter != elementIters.end(); ++iter)
{
//std::cout << "erasing loop\n";
polygon_arbitrary_formation<Unit>::scanData_.erase(*iter);
}
//switch comparison tie breaking policy
polygon_arbitrary_formation<Unit>::justBefore_ = false;
//add new elements into tree
//std::cout << "inserting\n";
for(typename std::vector<std::pair<vertex_half_edge, active_tail_arbitrary*> >::iterator iter = elements.begin();
iter != elements.end(); ++iter)
{
//std::cout << "inserting loop\n";
polygon_arbitrary_formation<Unit>::scanData_.insert(polygon_arbitrary_formation<Unit>::scanData_.end(), *iter);
}
//std::cout << "end processEvent\n";
return currentIter;
}
public:
template <typename stream_type>
static inline bool testTrapezoidArbitraryFormationRect(stream_type& stdcout)
{
stdcout << "testing trapezoid formation\n";
trapezoid_arbitrary_formation pf;
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(10, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 10), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 10), Point(0, 10), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing trapezoid formation\n";
return true;
}
template <typename stream_type>
static inline bool testTrapezoidArbitraryFormationP1(stream_type& stdcout)
{
stdcout << "testing trapezoid formation P1\n";
trapezoid_arbitrary_formation pf;
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(10, 20), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 20), -1));
data.push_back(vertex_half_edge(Point(10, 20), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 20), Point(0, 10), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing trapezoid formation\n";
return true;
}
template <typename stream_type>
static inline bool testTrapezoidArbitraryFormationP2(stream_type& stdcout)
{
stdcout << "testing trapezoid formation P2\n";
trapezoid_arbitrary_formation pf;
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(-3, 1), Point(2, -4), 1));
data.push_back(vertex_half_edge(Point(-3, 1), Point(-2, 2), -1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(2, 4), -1));
data.push_back(vertex_half_edge(Point(-2, 2), Point(-3, 1), 1));
data.push_back(vertex_half_edge(Point(2, -4), Point(-3, 1), -1));
data.push_back(vertex_half_edge(Point(2, -4), Point(2, 4), -1));
data.push_back(vertex_half_edge(Point(2, 4), Point(-2, 2), 1));
data.push_back(vertex_half_edge(Point(2, 4), Point(2, -4), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing trapezoid formation\n";
return true;
}
template <typename stream_type>
static inline bool testTrapezoidArbitraryFormationPolys(stream_type& stdcout)
{
stdcout << "testing trapezoid formation polys\n";
trapezoid_arbitrary_formation pf;
std::vector<polygon_with_holes_data<Unit> > polys;
//trapezoid_arbitrary_formation pf2(true);
//std::vector<polygon_with_holes_data<Unit> > polys2;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(100, 1), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(1, 100), -1));
data.push_back(vertex_half_edge(Point(1, 100), Point(0, 0), 1));
data.push_back(vertex_half_edge(Point(1, 100), Point(101, 101), -1));
data.push_back(vertex_half_edge(Point(100, 1), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(100, 1), Point(101, 101), 1));
data.push_back(vertex_half_edge(Point(101, 101), Point(100, 1), -1));
data.push_back(vertex_half_edge(Point(101, 101), Point(1, 100), 1));
data.push_back(vertex_half_edge(Point(2, 2), Point(10, 2), -1));
data.push_back(vertex_half_edge(Point(2, 2), Point(2, 10), -1));
data.push_back(vertex_half_edge(Point(2, 10), Point(2, 2), 1));
data.push_back(vertex_half_edge(Point(2, 10), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 2), Point(2, 2), 1));
data.push_back(vertex_half_edge(Point(10, 2), Point(10, 10), 1));
data.push_back(vertex_half_edge(Point(10, 10), Point(10, 2), -1));
data.push_back(vertex_half_edge(Point(10, 10), Point(2, 10), -1));
data.push_back(vertex_half_edge(Point(2, 12), Point(10, 12), -1));
data.push_back(vertex_half_edge(Point(2, 12), Point(2, 22), -1));
data.push_back(vertex_half_edge(Point(2, 22), Point(2, 12), 1));
data.push_back(vertex_half_edge(Point(2, 22), Point(10, 22), 1));
data.push_back(vertex_half_edge(Point(10, 12), Point(2, 12), 1));
data.push_back(vertex_half_edge(Point(10, 12), Point(10, 22), 1));
data.push_back(vertex_half_edge(Point(10, 22), Point(10, 12), -1));
data.push_back(vertex_half_edge(Point(10, 22), Point(2, 22), -1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
//pf2.scan(polys2, data.begin(), data.end());
//stdcout << "result size: " << polys2.size() << "\n";
//for(std::size_t i = 0; i < polys2.size(); ++i) {
// stdcout << polys2[i] << "\n";
//}
stdcout << "done testing trapezoid formation\n";
return true;
}
template <typename stream_type>
static inline bool testTrapezoidArbitraryFormationSelfTouch1(stream_type& stdcout)
{
stdcout << "testing trapezoid formation self touch 1\n";
trapezoid_arbitrary_formation pf;
std::vector<polygon_data<Unit> > polys;
std::vector<vertex_half_edge> data;
data.push_back(vertex_half_edge(Point(0, 0), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(0, 0), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(0, 10), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(0, 10), Point(5, 10), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(0, 0), -1));
data.push_back(vertex_half_edge(Point(10, 0), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(10, 5), Point(10, 0), 1));
data.push_back(vertex_half_edge(Point(10, 5), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(5, 10), Point(5, 5), 1));
data.push_back(vertex_half_edge(Point(5, 10), Point(0, 10), 1));
data.push_back(vertex_half_edge(Point(5, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(5, 2), Point(7, 2), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(5, 10), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(5, 2), 1));
data.push_back(vertex_half_edge(Point(5, 5), Point(10, 5), -1));
data.push_back(vertex_half_edge(Point(5, 5), Point(7, 2), 1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 5), -1));
data.push_back(vertex_half_edge(Point(7, 2), Point(5, 2), 1));
polygon_sort(data.begin(), data.end());
pf.scan(polys, data.begin(), data.end());
stdcout << "result size: " << polys.size() << "\n";
for(std::size_t i = 0; i < polys.size(); ++i)
{
stdcout << polys[i] << "\n";
}
stdcout << "done testing trapezoid formation\n";
return true;
}
};
template <typename T>
struct PolyLineArbitraryByConcept<T, polygon_with_holes_concept>
{
typedef poly_line_arbitrary_polygon_data<T> type;
};
template <typename T>
struct PolyLineArbitraryByConcept<T, polygon_concept>
{
typedef poly_line_arbitrary_hole_data<T> type;
};
template <typename T>
struct geometry_concept<poly_line_arbitrary_polygon_data<T> >
{
typedef polygon_45_with_holes_concept type;
};
template <typename T>
struct geometry_concept<poly_line_arbitrary_hole_data<T> >
{
typedef polygon_45_concept type;
};
}
}
#endif
| [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
dd99d2bf911756c57acc24b0f7396a4d00ed1dc6 | 1942ccf6113b31bd87051b8b5e3541bc08b48895 | /src/L4Project/Temp/il2cppOutput/il2cppOutput/mscorlib19.cpp | 26908ee4ed6c0695adf67bb10af13ea893771ca1 | [] | no_license | hangiri1008/L4_individual_project | 7b7d164463b8f7146f80ac351a49abd57cd160fb | 916b44cfbc9f34286e8ea173f514919c5d62fca7 | refs/heads/master | 2020-07-31T16:31:54.591296 | 2020-01-26T01:12:12 | 2020-01-26T01:12:12 | 210,668,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,112,668 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System.Threading/Thread.h"
#include "mono/ThreadPool/threadpool-ms.h"
#include "icalls/mscorlib/System.Threading/Timer.h"
#include "icalls/mscorlib/System.Threading/WaitHandle.h"
#include "il2cpp-object-internals.h"
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
struct VirtFuncInvoker6
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, T6, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, p6, invokeData.method);
}
};
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct VirtFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct VirtFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
struct GenericVirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct GenericVirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct GenericVirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename T1>
struct InterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct InterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct InterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
struct GenericInterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct GenericInterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct GenericInterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj, T1 p1, T2 p2)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
// Microsoft.Win32.IRegistryApi
struct IRegistryApi_tD6EA3EAD2B604666CD1DDB76B16F6B440F2D84E3;
// Microsoft.Win32.RegistryKey
struct RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574;
// Microsoft.Win32.SafeHandles.SafeFileHandle
struct SafeFileHandle_tE1B31BE63CD11BBF2B9B6A205A72735F32EB1BCB;
// Microsoft.Win32.SafeHandles.SafeRegistryHandle
struct SafeRegistryHandle_t804966262ED9CC53B8783D431090F6F96BD041B1;
// Microsoft.Win32.SafeHandles.SafeWaitHandle
struct SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2;
// System.Action
struct Action_t591D2A86165F896B4B800BB5C25CE18672A55579;
// System.Action`1<System.Object>
struct Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0;
// System.Action`1<System.Threading.Tasks.Task>
struct Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827;
// System.Action`2<System.Threading.Tasks.Task,System.Object>
struct Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8;
// System.AggregateException
struct AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E;
// System.AppDomain
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8;
// System.ApplicationException
struct ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74;
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1;
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA;
// System.AssemblyLoadEventHandler
struct AssemblyLoadEventHandler_t53F8340027F9EE67E8A22E7D8C1A3770345153C9;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Byte[]
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,System.String>[]
struct EntryU5BU5D_t69CCD9E4E7050700879917C9CB7E5E88F89235B1;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,System.Threading.Tasks.Task>[]
struct EntryU5BU5D_t4E4624ADB0382647D3DDD5ABEA46B237F202D148;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,System.TimeType>[]
struct EntryU5BU5D_tE10945BABF6C8713BFFE8B1BE29C42BFEBCC0A23;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.String>
struct KeyCollection_t2F25BAF319A40DA5241F076B74BB90B72F16822F;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Threading.Tasks.Task>
struct KeyCollection_t7C4B7E5B90C7341BB00324E95C0FF0EDDD9D23FB;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.TimeType>
struct KeyCollection_tB25B793043188B05B5EDA66FE436CA860742E601;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.String>
struct ValueCollection_tEDEE983AB5C1AD1832785DBAED94462C85312A6F;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.Threading.Tasks.Task>
struct ValueCollection_tD508C2F8A039CFD77B270500C1C5D723B78FE10C;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.TimeType>
struct ValueCollection_t8FDF62D6CA4259E5733AB7ABFC11F082D955414B;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo>
struct Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884;
// System.Collections.Generic.Dictionary`2<System.Int32,System.String>
struct Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>
struct Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F;
// System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>
struct Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2;
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo>
struct Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_tD6E204872BA9FD506A0287EF68E285BEB9EC0DFB;
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA;
// System.Collections.Generic.Dictionary`2<System.Threading.IAsyncLocal,System.Object>
struct Dictionary_2_t46E74B8986EB45A18D8623D1C9307E035EB0D03A;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2F75FCBEC68AFE08982DA43985F9D04056E2BE73;
// System.Collections.Generic.IEnumerable`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct IEnumerable_1_t37B4D1EEBA6E5098A0F018A779067097451BAD2C;
// System.Collections.Generic.IEnumerable`1<System.TimeZoneInfo/AdjustmentRule>
struct IEnumerable_1_t08BBCB0F5490C907D82E2E1A3DF11B60E03A7126;
// System.Collections.Generic.IEnumerable`1<System.TimeZoneInfo>
struct IEnumerable_1_t719DA0EAA92968410FA620518660D4C63B652A4E;
// System.Collections.Generic.IEnumerator`1<System.Exception>
struct IEnumerator_1_t2281FCF251CD51C1F13587450034F0E08EBFAD0E;
// System.Collections.Generic.IEnumerator`1<System.Object>
struct IEnumerator_1_tDDB69E91697CCB64C7993B651487CEEC287DB7E8;
// System.Collections.Generic.IEnumerator`1<System.TimeZoneInfo>
struct IEnumerator_1_t06E561A91115B283FAF267723103A4A703276008;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_t7B82AA0F8B96BAAA21E36DDF7A1FE4348BDDBE95;
// System.Collections.Generic.IList`1<System.Exception>
struct IList_1_t79A79A556E69BA20A09771D2D61B0440B6F4EFBA;
// System.Collections.Generic.IList`1<System.Object>
struct IList_1_tE09735A322C3B17000EF4E4BC8026FEDEB7B0D9B;
// System.Collections.Generic.IList`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct IList_1_t1D32293C65F49E1B7D7E3344057FED3589CD8F1F;
// System.Collections.Generic.IList`1<System.Threading.Tasks.Task>
struct IList_1_t93C6282CDBF781012E10B912A9AD946F53099551;
// System.Collections.Generic.IList`1<System.TimeZoneInfo>
struct IList_1_tA7DBDA6C0478B95C8DC7343A9E90D677B7919F14;
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>[]
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F;
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>[]
struct KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C;
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1;
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>
struct List_1_tD2FC74CFEE011F74F31183756A690154468817E9;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D;
// System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct List_1_tCD04260AE1254C438132446F1E6892AB86D18743;
// System.Collections.Generic.List`1<System.Runtime.Remoting.Contexts.IContextProperty>
struct List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D;
// System.Collections.Generic.List`1<System.String>
struct List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3;
// System.Collections.Generic.List`1<System.Threading.IAsyncLocal>
struct List_1_t1ADF451D4F388C3376F9A7121B54405D616DC6EB;
// System.Collections.Generic.List`1<System.Threading.Tasks.Task>
struct List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E;
// System.Collections.Generic.List`1<System.Threading.Timer>
struct List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116;
// System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>
struct List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E;
// System.Collections.Generic.List`1<System.TimeZoneInfo>
struct List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD;
// System.Collections.Hashtable
struct Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9;
// System.Collections.IComparer
struct IComparer_t6A5E1BC727C7FF28888E407A797CE1ED92DA8E95;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Exception>
struct ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8;
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Object>
struct ReadOnlyCollection_1_t5D996E967221C71E4EC5CC11210C3076432D5A50;
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1;
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo>
struct ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0;
// System.Collections.SortedList
struct SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E;
// System.Collections.SortedList/ValueList
struct ValueList_t1BBC0BAD9C26EB4899C4AB1509C3890E805D2EFE;
// System.Comparison`1<System.Object>
struct Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4;
// System.Comparison`1<System.TimeZoneInfo/AdjustmentRule>
struct Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.EventArgs
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E;
// System.EventHandler
struct EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C;
// System.EventHandler`1<System.Object>
struct EventHandler_1_t10245A26B14DDE8DDFD5B263BDE0641F17DCFDC3;
// System.EventHandler`1<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs>
struct EventHandler_1_t1E35ED2E29145994C6C03E57601C6D48C61083FF;
// System.EventHandler`1<System.Threading.Tasks.UnobservedTaskExceptionEventArgs>
struct EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC;
// System.Exception
struct Exception_t;
// System.Exception[]
struct ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209;
// System.Func`1<System.Object>
struct Func_1_t59BE545225A69AFD7B2056D169D0083051F6D386;
// System.Func`1<System.Threading.Tasks.Task/ContingentProperties>
struct Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F;
// System.Func`2<System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>,System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>>
struct Func_2_t9183BE7C6FB5EAED091785FC3E1D3D41DB3497F7;
// System.Func`2<System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>,System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>>
struct Func_2_t9FE43757FE22F96D0EA4E7945B6D146812F2671F;
// System.Globalization.Calendar
struct Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5;
// System.Globalization.CodePageDataItem
struct CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB;
// System.Globalization.CompareInfo
struct CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1;
// System.Globalization.CultureData
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD;
// System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F;
// System.Globalization.DateTimeFormatInfo
struct DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F;
// System.Globalization.NumberFormatInfo
struct NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8;
// System.Globalization.TextInfo
struct TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.IFormatProvider
struct IFormatProvider_t4247E13AE2D97A079B88D594B7ABABF313259901;
// System.IO.FileStream
struct FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418;
// System.IO.Stream
struct Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7;
// System.IO.Stream/ReadWriteTask
struct ReadWriteTask_tFA17EEE8BC5C4C83EAEFCC3662A30DE351ABAA80;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.Int64[]
struct Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.InvalidOperationException
struct InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1;
// System.InvalidTimeZoneException
struct InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25;
// System.LocalDataStoreHolder
struct LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304;
// System.LocalDataStoreMgr
struct LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9;
// System.MarshalByRefObject
struct MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF;
// System.MulticastDelegate
struct MulticastDelegate_t;
// System.NotSupportedException
struct NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010;
// System.ObjectDisposedException
struct ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.OperatingSystem
struct OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83;
// System.OperationCanceledException
struct OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90;
// System.OverflowException
struct OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D;
// System.Predicate`1<System.Object>
struct Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979;
// System.Predicate`1<System.Threading.Tasks.Task>
struct Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335;
// System.Random
struct Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F;
// System.Reflection.Binder
struct Binder_t4D5CB06963501D32847C057B57157D6DC49CA759;
// System.Reflection.MemberFilter
struct MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.ResolveEventHandler
struct ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5;
// System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Object>
struct ConditionalWeakTable_2_tAD6736E4C6A9AF930D360966499D999E3CE45BF3;
// System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Threading.Tasks.TaskScheduler,System.Object>
struct ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C;
// System.Runtime.CompilerServices.Ephemeron[]
struct EphemeronU5BU5D_t575534899E3EE9D8B85CAF11342BA22D164C7C10;
// System.Runtime.ConstrainedExecution.CriticalFinalizerObject
struct CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9;
// System.Runtime.ExceptionServices.ExceptionDispatchInfo
struct ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A;
// System.Runtime.ExceptionServices.ExceptionDispatchInfo[]
struct ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF;
// System.Runtime.InteropServices.SafeHandle
struct SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383;
// System.Runtime.Remoting.Contexts.Context
struct Context_tE86AB6B3D9759C8E715184808579EFE761683724;
// System.Runtime.Remoting.Contexts.ContextCallbackObject
struct ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0;
// System.Runtime.Remoting.Contexts.DynamicPropertyCollection
struct DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C;
// System.Runtime.Remoting.Messaging.IMessageSink
struct IMessageSink_tB1CED1C3E8A2782C843D48468DB443B7940FC76C;
// System.Runtime.Remoting.Messaging.IllogicalCallContext
struct IllogicalCallContext_t86AF2EA64B3A9BB99C979A1C2EC3578C5D7EB179;
// System.Runtime.Remoting.Messaging.LogicalCallContext
struct LogicalCallContext_t3A9A7C02A28577F0879F6E950E46EEC595731D7E;
// System.Runtime.Serialization.IFormatterConverter
struct IFormatterConverter_tC3280D64D358F47EA4DAF1A65609BA0FC081888A;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770;
// System.Runtime.Serialization.SerializationException
struct SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26;
// System.Security.Principal.IPrincipal
struct IPrincipal_t63FD7F58FBBE134C8FE4D31710AAEA00B000F0BF;
// System.String
struct String_t;
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
// System.SystemException
struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782;
// System.Text.DecoderFallback
struct DecoderFallback_t128445EB7676870485230893338EF044F6B72F60;
// System.Text.EncoderFallback
struct EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63;
// System.Text.Encoding
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Threading.AbandonedMutexException
struct AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo>
struct AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A;
// System.Threading.CancellationCallbackInfo
struct CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36;
// System.Threading.CancellationTokenSource
struct CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE;
// System.Threading.ContextCallback
struct ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676;
// System.Threading.EventWaitHandle
struct EventWaitHandle_t7603BF1D3D30FE42DD07A450C8D09E2684DC4D98;
// System.Threading.ExecutionContext
struct ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70;
// System.Threading.IThreadPoolWorkItem
struct IThreadPoolWorkItem_t2EF44881BFB1A9C021606D5B0C03B31B62B6C38D;
// System.Threading.IThreadPoolWorkItem[]
struct IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154;
// System.Threading.InternalThread
struct InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192;
// System.Threading.ManualResetEvent
struct ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408;
// System.Threading.ManualResetEventSlim
struct ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445;
// System.Threading.Mutex
struct Mutex_tEFA4BCB29AF9E8B7BD6F0973C6AFFA072744AB5C;
// System.Threading.ParameterizedThreadStart
struct ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F;
// System.Threading.QueueUserWorkItemCallback
struct QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8;
// System.Threading.RegisteredWaitHandle
struct RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0;
// System.Threading.SemaphoreSlim
struct SemaphoreSlim_t2E2888D1C0C8FAB80823C76F1602E4434B8FA048;
// System.Threading.SendOrPostCallback
struct SendOrPostCallback_t3F9C0164860E4AA5138DF8B4488DFB0D33147F01;
// System.Threading.SparselyPopulatedArrayFragment`1<System.Threading.CancellationCallbackInfo>
struct SparselyPopulatedArrayFragment_1_tA54224D01E2FDC03AC2867CDDC8C53E17FA933D7;
// System.Threading.SynchronizationContext
struct SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7;
// System.Threading.Tasks.AwaitTaskContinuation
struct AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F;
// System.Threading.Tasks.CompletionActionInvoker
struct CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C;
// System.Threading.Tasks.ContinuationTaskFromTask
struct ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F;
// System.Threading.Tasks.ITaskCompletionAction
struct ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978;
// System.Threading.Tasks.Shared`1<System.Threading.CancellationTokenRegistration>
struct Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2;
// System.Threading.Tasks.StackGuard
struct StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9;
// System.Threading.Tasks.StandardTaskContinuation
struct StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC;
// System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation
struct SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE;
// System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c
struct U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4;
// System.Threading.Tasks.Task
struct Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2;
// System.Threading.Tasks.Task/<>c
struct U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3;
// System.Threading.Tasks.Task/<>c__DisplayClass178_0
struct U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E;
// System.Threading.Tasks.Task/ContingentProperties
struct ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08;
// System.Threading.Tasks.Task/DelayPromise
struct DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2;
// System.Threading.Tasks.Task/SetOnInvokeMres
struct SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9;
// System.Threading.Tasks.TaskCanceledException
struct TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48;
// System.Threading.Tasks.TaskContinuation
struct TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9;
// System.Threading.Tasks.TaskExceptionHolder
struct TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811;
// System.Threading.Tasks.TaskFactory
struct TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155;
// System.Threading.Tasks.TaskFactory/CompleteOnInvokePromise
struct CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86;
// System.Threading.Tasks.TaskFactory`1<System.Threading.Tasks.Task>
struct TaskFactory_1_t58FE324C5DC18B5ED9A0E49CA8543DEEA65B4462;
// System.Threading.Tasks.TaskFactory`1<System.Threading.Tasks.VoidTaskResult>
struct TaskFactory_1_t3C0D0DC20C0FC00DE4F8740B351BE642467AB03D;
// System.Threading.Tasks.TaskScheduler
struct TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114;
// System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation
struct TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6;
// System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation/<>c
struct U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439;
// System.Threading.Tasks.TaskSchedulerException
struct TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24;
// System.Threading.Tasks.TaskToApm/<>c__DisplayClass3_0
struct U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86;
// System.Threading.Tasks.TaskToApm/TaskWrapperAsyncResult
struct TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE;
// System.Threading.Tasks.Task[]
struct TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE;
// System.Threading.Tasks.Task`1<System.Object>
struct Task_1_tA56001ED5270173CA1432EDFCD84EABB1024BC09;
// System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>
struct Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138;
// System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>
struct Task_1_t1359D75350E9D976BFA28AD96E417450DE277673;
// System.Threading.Tasks.ThreadPoolTaskScheduler
struct ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD;
// System.Threading.Tasks.UnobservedTaskExceptionEventArgs
struct UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7;
// System.Threading.Thread
struct Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7;
// System.Threading.ThreadAbortException
struct ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468;
// System.Threading.ThreadHelper
struct ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13;
// System.Threading.ThreadInterruptedException
struct ThreadInterruptedException_t40D8296AA9D9E8B74E29BFAE1089CFACC5F03751;
// System.Threading.ThreadPoolWorkQueue
struct ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011;
// System.Threading.ThreadPoolWorkQueue/QueueSegment
struct QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE;
// System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Object>
struct SparseArray_1_t3343BC28ED7AB6481D2C9C24AC382CCEFD5148F1;
// System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Threading.ThreadPoolWorkQueue/WorkStealingQueue>
struct SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB;
// System.Threading.ThreadPoolWorkQueue/WorkStealingQueue
struct WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB;
// System.Threading.ThreadPoolWorkQueue/WorkStealingQueue[]
struct WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9;
// System.Threading.ThreadPoolWorkQueueThreadLocals
struct ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B;
// System.Threading.ThreadStart
struct ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF;
// System.Threading.ThreadStateException
struct ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE;
// System.Threading.Timer
struct Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553;
// System.Threading.Timer/Scheduler
struct Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9;
// System.Threading.Timer/TimerComparer
struct TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015;
// System.Threading.TimerCallback
struct TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219;
// System.Threading.Timer[]
struct TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A;
// System.Threading.WaitCallback
struct WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC;
// System.Threading.WaitHandle
struct WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6;
// System.Threading.WaitHandleCannotBeOpenedException
struct WaitHandleCannotBeOpenedException_t869CD999EE7B918C5546E2007AF7C4557281B65B;
// System.Threading.WaitHandle[]
struct WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC;
// System.Threading.WaitOrTimerCallback
struct WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF;
// System.TimeType
struct TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9;
// System.TimeZone
struct TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454;
// System.TimeZoneInfo
struct TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777;
// System.TimeZoneInfo/AdjustmentRule
struct AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204;
// System.TimeZoneInfo/AdjustmentRule[]
struct AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD;
// System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F;
// System.TimeZoneInfo/TIME_ZONE_INFORMATION
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811;
// System.TimeZoneInfo[]
struct TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94;
// System.TimeZoneNotFoundException
struct TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388;
// System.Tuple`3<System.Object,System.Object,System.Object>
struct Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9;
// System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>
struct Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F;
// System.UnhandledExceptionEventHandler
struct UnhandledExceptionEventHandler_tB0DFF05ABF7A3A234C87D4F7A71F98E9AB2D91DE;
// System.Version
struct Version_tDBE6876C59B6F56D4F8CAA03851177ABC6FE0DFD;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
IL2CPP_EXTERN_C RuntimeClass* AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debugger_t3DB04278A3AA5DF846CC56744D05F18B7037C22E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Delegate_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DllNotFoundException_tED90B6A78D4CF5AA565288E0BA88A990062A7F76_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EntryPointNotFoundException_tCF689617164B79AD85A41DADB38D27BD1E10B279_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ICollection_1_t39808D274D411213DCFE09BAE8F3041B974A1A4E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_t37B4D1EEBA6E5098A0F018A779067097451BAD2C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_t6B3D33CE5B4DC884E5267C7B8CBC12380D09B3F1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t06E561A91115B283FAF267723103A4A703276008_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t2281FCF251CD51C1F13587450034F0E08EBFAD0E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IList_1_t93C6282CDBF781012E10B912A9AD946F53099551_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IThreadPoolWorkItem_t2EF44881BFB1A9C021606D5B0C03B31B62B6C38D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Il2CppComObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tCD04260AE1254C438132446F1E6892AB86D18743_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tD2FC74CFEE011F74F31183756A690154468817E9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Registry_t241E9489A52A385888DBC941B714B48401DBB28E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Task_1_t1359D75350E9D976BFA28AD96E417450DE277673_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeSpanFormat_t90CBC39FE99AC515E1F68FE55DBA3D8515F19B51_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral00E0E5FB4D410F50F71DEFD00084F261F9921ED2;
IL2CPP_EXTERN_C String_t* _stringLiteral00F33FC530D3E011EE6AB56F206622E221888971;
IL2CPP_EXTERN_C String_t* _stringLiteral02DD17A342AB600AEB759AEBC9C5D0DBAAFD8FDE;
IL2CPP_EXTERN_C String_t* _stringLiteral0446EADE62BBE35D165AAAD965949803B6521089;
IL2CPP_EXTERN_C String_t* _stringLiteral04C41D8EF73FED844DA0ECFAA6DFF090063F2B1D;
IL2CPP_EXTERN_C String_t* _stringLiteral061A02C15C4ADACD1235EC1D4913C179A22A3751;
IL2CPP_EXTERN_C String_t* _stringLiteral063F5BA07B9A8319201C127A47193BF92C67599A;
IL2CPP_EXTERN_C String_t* _stringLiteral080C19955B2E8EB7F96E8B1CC1CC77410D38399F;
IL2CPP_EXTERN_C String_t* _stringLiteral0A5D3E6700373C9EF26EC5782D72D97AE5D7CF3C;
IL2CPP_EXTERN_C String_t* _stringLiteral0AF70E9C0D57B35CCD56C4069FC8D171CB59AF5E;
IL2CPP_EXTERN_C String_t* _stringLiteral0BE186D40CC51422D8F602B64FE0068673C79138;
IL2CPP_EXTERN_C String_t* _stringLiteral0F6182802153D24EEA849ECD8B3CDAA0F9B47E59;
IL2CPP_EXTERN_C String_t* _stringLiteral1038345ECC525CA37383914C8D7839E94CCF5448;
IL2CPP_EXTERN_C String_t* _stringLiteral1350F100109D4CF9E61BDE17537ED0553C4C674D;
IL2CPP_EXTERN_C String_t* _stringLiteral13F7B4FA7CBA65EC1811F8A5C085117CD3DF5506;
IL2CPP_EXTERN_C String_t* _stringLiteral142F817C3EC0586DE0F960C1C0483043B61A0D06;
IL2CPP_EXTERN_C String_t* _stringLiteral15E66556F3FB947D9C6C37859A45CC4C92C6CAA7;
IL2CPP_EXTERN_C String_t* _stringLiteral168E598D868A0CC9140604911551C2FC496E3A05;
IL2CPP_EXTERN_C String_t* _stringLiteral171112507722F18531ACD11A635F712DADCEBE6E;
IL2CPP_EXTERN_C String_t* _stringLiteral18134C3172E2C551F0F862780D5C8A01A31AECFF;
IL2CPP_EXTERN_C String_t* _stringLiteral1821AE443912F325AB2E97DF532D1DACF7161739;
IL2CPP_EXTERN_C String_t* _stringLiteral1896FE3101E00E003E0A21778DA6F57A86DEA7BC;
IL2CPP_EXTERN_C String_t* _stringLiteral19EDC1210777BA4D45049C29280D9CC5E1064C25;
IL2CPP_EXTERN_C String_t* _stringLiteral1AD0E9342E3C33991ED3887D6306B249546F0C7B;
IL2CPP_EXTERN_C String_t* _stringLiteral1B08DBA6C41309ED4513414011188E6B4CA2403F;
IL2CPP_EXTERN_C String_t* _stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60;
IL2CPP_EXTERN_C String_t* _stringLiteral1C2EBE0E70C4B03074D33C64120CD29EA385AA71;
IL2CPP_EXTERN_C String_t* _stringLiteral1C58A3FE6DCE8C4663334496A6CC60DFDF3BB4EE;
IL2CPP_EXTERN_C String_t* _stringLiteral1D35114B8F34BF6224A46DAC8D98B4ED3594B7F5;
IL2CPP_EXTERN_C String_t* _stringLiteral1F81AFFE48C2C2B337815693830EBEE586D9A96C;
IL2CPP_EXTERN_C String_t* _stringLiteral1F96F0958DF8CB4296C7EFE494DF309346DE6CBA;
IL2CPP_EXTERN_C String_t* _stringLiteral2037DE437C80264CCBCE8A8B61D0BF9F593D2322;
IL2CPP_EXTERN_C String_t* _stringLiteral21F20DF4A4C08E5DABA82DB1839C69CA515E1B33;
IL2CPP_EXTERN_C String_t* _stringLiteral222A297D18FF1387F7919DAD802CF73BA68A5B9C;
IL2CPP_EXTERN_C String_t* _stringLiteral25F82570C8A4E0BBF33D841DA7020C5961D4B0F7;
IL2CPP_EXTERN_C String_t* _stringLiteral26B5A99C75CDB00D6145F11A983C91ACADFFFFF1;
IL2CPP_EXTERN_C String_t* _stringLiteral2AE9006AA79BCA491D17932D2580DBE509CC1BD7;
IL2CPP_EXTERN_C String_t* _stringLiteral2B020927D3C6EB407223A1BAA3D6CE3597A3F88D;
IL2CPP_EXTERN_C String_t* _stringLiteral2C3199988097E4BB3103E8C34B8DFE8796545D8F;
IL2CPP_EXTERN_C String_t* _stringLiteral2D77BE6D598A0A9376398980E66D10E319F1B52A;
IL2CPP_EXTERN_C String_t* _stringLiteral314A883D61C1D386E61BE443EB9D3B50BA3FF07D;
IL2CPP_EXTERN_C String_t* _stringLiteral32368864574CE30745E6A3A112FCB36F083BFB0C;
IL2CPP_EXTERN_C String_t* _stringLiteral32D4D0CD69E4FCD0E4B1749FED4FE485D5B17F9C;
IL2CPP_EXTERN_C String_t* _stringLiteral34530CDFC92A51FCD4964DF30BAE93C4C3CFACF8;
IL2CPP_EXTERN_C String_t* _stringLiteral349507E41DD8C71C10C9DF6D2444B5E64A285691;
IL2CPP_EXTERN_C String_t* _stringLiteral34EB4C4EF005207E8B8F916B9F1FFFACCCD6945E;
IL2CPP_EXTERN_C String_t* _stringLiteral37497AA5A2272C49714AEE1B07E8EDF973A95F59;
IL2CPP_EXTERN_C String_t* _stringLiteral37C3F47C38A5EBF7F5BAFAA6AA4ED8778E9A2C87;
IL2CPP_EXTERN_C String_t* _stringLiteral38B62BE4BDDAA5661C7D6B8E36E28159314DF5C7;
IL2CPP_EXTERN_C String_t* _stringLiteral394CD1DBEAFE1BD9574666651BCC66D1298EA18F;
IL2CPP_EXTERN_C String_t* _stringLiteral3A7D9767B1233601EBF8B67495C6DC2CE8B8C2AF;
IL2CPP_EXTERN_C String_t* _stringLiteral3ABDF740E9FD3F66165C9843BF151FCB36E52262;
IL2CPP_EXTERN_C String_t* _stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B;
IL2CPP_EXTERN_C String_t* _stringLiteral3F1100B2ABF8FFBAD088B793AAF302D5435DBE3F;
IL2CPP_EXTERN_C String_t* _stringLiteral41937B20FBE8C71D9C6C3346AFF43C001AA25E33;
IL2CPP_EXTERN_C String_t* _stringLiteral4502F52BE77394F4C0ECBD9DEA423CB819129CE0;
IL2CPP_EXTERN_C String_t* _stringLiteral463C9ACFFA099CA60B83F74DD23B2E4DE31E298B;
IL2CPP_EXTERN_C String_t* _stringLiteral474AE52625B87D7628AE7B20A499329A99E07119;
IL2CPP_EXTERN_C String_t* _stringLiteral4A9B136550890770D29DF6A00FAA574C173789AD;
IL2CPP_EXTERN_C String_t* _stringLiteral4B7A2452FBAAF02487F5667BCA2E7D64B9707EDC;
IL2CPP_EXTERN_C String_t* _stringLiteral4BCCDABF897E38A4B92A38BE1212932A6B9649C0;
IL2CPP_EXTERN_C String_t* _stringLiteral4DDC7DDA06EC167A4193D5F00C1F56AF6DF241EC;
IL2CPP_EXTERN_C String_t* _stringLiteral50DB91C54DC6A6F5B481F31D2A1DA1FD5AA487E7;
IL2CPP_EXTERN_C String_t* _stringLiteral513F8DE9259FE7658FE14D1352C54CCF070E911F;
IL2CPP_EXTERN_C String_t* _stringLiteral521CE61A24760AEEB4B2129999AC818B48FC7D14;
IL2CPP_EXTERN_C String_t* _stringLiteral53F7F9602724F5C9D2B64C05462A6DA2F44E2BD0;
IL2CPP_EXTERN_C String_t* _stringLiteral54235B8B0E980EBB3355126954C130A816A21AFB;
IL2CPP_EXTERN_C String_t* _stringLiteral55D8727A05EB80B0788AF57A5317F3E0A1F4AA55;
IL2CPP_EXTERN_C String_t* _stringLiteral5673FDDE0249844B4A82C15CA2BD6584D7C308E4;
IL2CPP_EXTERN_C String_t* _stringLiteral56D3C9490BE2608AC36F5A4805BFEC2F21F7F982;
IL2CPP_EXTERN_C String_t* _stringLiteral574FF9B0C49CDEB5F5508548AE0CAB44FECEE038;
IL2CPP_EXTERN_C String_t* _stringLiteral576347EC826F38428D8C8A6F8EC4ACB2BCEAB911;
IL2CPP_EXTERN_C String_t* _stringLiteral5825EBA52D444C4CF3772B7FE2D74FB2186DA93F;
IL2CPP_EXTERN_C String_t* _stringLiteral59BD0A3FF43B32849B319E645D4798D8A5D1E889;
IL2CPP_EXTERN_C String_t* _stringLiteral5BBAA9B8E272D7D609370B56FB4A1DC199FB1DA5;
IL2CPP_EXTERN_C String_t* _stringLiteral5EE6EC49CF3A25DADF191E62C4851F860A7900C3;
IL2CPP_EXTERN_C String_t* _stringLiteral607A669D68C57749AE1E59F1737A7C47B41E00A6;
IL2CPP_EXTERN_C String_t* _stringLiteral61AD634E557CA4E72090257EF5F68EA067B4226A;
IL2CPP_EXTERN_C String_t* _stringLiteral672E8F4CE93C075F32B4FD6C0D0EDAC1BDDB9469;
IL2CPP_EXTERN_C String_t* _stringLiteral699B142A794903652E588B3D75019329F77A9209;
IL2CPP_EXTERN_C String_t* _stringLiteral6AE999552A0D2DCA14D62E2BC8B764D377B1DD6C;
IL2CPP_EXTERN_C String_t* _stringLiteral6BA2E7E7FF3BE0A9B4029B8A6169677870AE9E21;
IL2CPP_EXTERN_C String_t* _stringLiteral6CB021F4DE5A59C914CE2FD45BD52E5CA6A397FC;
IL2CPP_EXTERN_C String_t* _stringLiteral700336D6AF60425DC8D362092DE4C0FFB8576432;
IL2CPP_EXTERN_C String_t* _stringLiteral704E89153833A67B5C6F82E1207A4D09B77B49D2;
IL2CPP_EXTERN_C String_t* _stringLiteral708136672D3E2B5A654FB9C34A7F207747885825;
IL2CPP_EXTERN_C String_t* _stringLiteral73EBEA013EB4C5C11E9834291F0D8CBBC4992FB1;
IL2CPP_EXTERN_C String_t* _stringLiteral796C6F906CD9AFED4B6DCF5573E528AD627CA46C;
IL2CPP_EXTERN_C String_t* _stringLiteral7B40CAEE6DF9BFEF9B5A66F65F70C99ADC496807;
IL2CPP_EXTERN_C String_t* _stringLiteral7B9E91548E399930C3935F7EC5D98D85C3F78739;
IL2CPP_EXTERN_C String_t* _stringLiteral7C9E4CE229BAFB966C53CA8676C5BAD2046C9B62;
IL2CPP_EXTERN_C String_t* _stringLiteral7CB1F56D3FBE09E809244FC8E13671CD876E3860;
IL2CPP_EXTERN_C String_t* _stringLiteral7E2E7C38B817DB77D6B12E99B9738E18BDDF9B28;
IL2CPP_EXTERN_C String_t* _stringLiteral87EA5DFC8B8E384D848979496E706390B497E547;
IL2CPP_EXTERN_C String_t* _stringLiteral8858D34A5DF81344D5F1195DDACDFB8E8448C5E6;
IL2CPP_EXTERN_C String_t* _stringLiteral885F50DCFD6542D03A37B7DE40CFBAEB00164500;
IL2CPP_EXTERN_C String_t* _stringLiteral88EE3CEA20D96E9852D213E90BDCE53DB921ADBB;
IL2CPP_EXTERN_C String_t* _stringLiteral8972561214BDFD4779823E480036EAF0853E3C56;
IL2CPP_EXTERN_C String_t* _stringLiteral8AAFD7F540EB518494415D8EE7E0F78305B294C7;
IL2CPP_EXTERN_C String_t* _stringLiteral8D35B56BCE74A9F8AC3CB4260050F19B572F5AC7;
IL2CPP_EXTERN_C String_t* _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78;
IL2CPP_EXTERN_C String_t* _stringLiteral8F3A07543988E4673DCAE5E59C35323C5791F370;
IL2CPP_EXTERN_C String_t* _stringLiteral8F3F5E0527993BEB4010B7A1444A093EDA2F42EF;
IL2CPP_EXTERN_C String_t* _stringLiteral8F6474296A2391DE11EB639CEE391F6735046792;
IL2CPP_EXTERN_C String_t* _stringLiteral8F8AE9544C800C5645217FBE5AA94B8E526C7E98;
IL2CPP_EXTERN_C String_t* _stringLiteral9071A4CB8E2F99F81D5B117DAE3211B994971FFA;
IL2CPP_EXTERN_C String_t* _stringLiteral914839398AEE2A272ECAF21A6C5522C0D1378DFA;
IL2CPP_EXTERN_C String_t* _stringLiteral91B84E8687F2D082DB7BCB05E1B3B2123A1D8366;
IL2CPP_EXTERN_C String_t* _stringLiteral9280A89163CCC6C8BEC940F5E045F6A6B5B08681;
IL2CPP_EXTERN_C String_t* _stringLiteral93DEC40AB1B5EF19C715C0EAE5164CC3C700BCAF;
IL2CPP_EXTERN_C String_t* _stringLiteral9527141004011DE14AE7F1E3643C59B23A00BC38;
IL2CPP_EXTERN_C String_t* _stringLiteral971DF08BCC359B15F724471A4DEB2F0A6002B6CD;
IL2CPP_EXTERN_C String_t* _stringLiteral986D5F863A276DE3CA7FDCEEC5606C2C44E03800;
IL2CPP_EXTERN_C String_t* _stringLiteral9956E10D0235BEF9C63D0B1D2107F77CF985D4B2;
IL2CPP_EXTERN_C String_t* _stringLiteral9B5C0B859FABA061DD60FD8070FCE74FCEE29D0B;
IL2CPP_EXTERN_C String_t* _stringLiteral9D9BED981884AC3D4D16BF22ED725A5686CEF15B;
IL2CPP_EXTERN_C String_t* _stringLiteralA151302157444AA3F3EF5AC23116EA226D29C972;
IL2CPP_EXTERN_C String_t* _stringLiteralA173E725607D0F98C78EBAC0B31138D8D136AA84;
IL2CPP_EXTERN_C String_t* _stringLiteralA1E290BAB556CC85CB72A2CB75BB9A0ABA45B447;
IL2CPP_EXTERN_C String_t* _stringLiteralA2D9E3AC892A8FEA3180CFBA1F1C9D0F8716EA95;
IL2CPP_EXTERN_C String_t* _stringLiteralA2FE0B065EA50F6641CB120F487D334AC723A859;
IL2CPP_EXTERN_C String_t* _stringLiteralA5303371A1DD00CB948B4C58C88CC7779A494241;
IL2CPP_EXTERN_C String_t* _stringLiteralA62F2225BF70BFACCBC7F1EF2A397836717377DE;
IL2CPP_EXTERN_C String_t* _stringLiteralA70F1BF46F12CF5517DAB14A442D77DB24FDDC26;
IL2CPP_EXTERN_C String_t* _stringLiteralA7CA3604B3B7A0733239DF9F41348D06245AC357;
IL2CPP_EXTERN_C String_t* _stringLiteralA8214B71D397C96E383069DCF0102B0014B989F9;
IL2CPP_EXTERN_C String_t* _stringLiteralA82BB634B61B228343B0708E674AB898AC53AC23;
IL2CPP_EXTERN_C String_t* _stringLiteralAA3093554472FD113135BED5B63E12F84C2E9FE8;
IL2CPP_EXTERN_C String_t* _stringLiteralAA37CB5B40E647E124F23CC3C27C68F09181CE0D;
IL2CPP_EXTERN_C String_t* _stringLiteralAC167A22531E815F8207EF03791DE1EBF88780DE;
IL2CPP_EXTERN_C String_t* _stringLiteralB016278EAF5A66B124AA177BADC28CD1550C586F;
IL2CPP_EXTERN_C String_t* _stringLiteralB26DC72D261A92C1CFD1E643717E450A84CF2122;
IL2CPP_EXTERN_C String_t* _stringLiteralB4D5B37BF7A986C138EDE89E0806F366B5CB1830;
IL2CPP_EXTERN_C String_t* _stringLiteralB6488C506558D7B3542A1D40D4A9AFD557DCC4FD;
IL2CPP_EXTERN_C String_t* _stringLiteralB7A59C1214B081A2AF0561DFF2E17294228556D4;
IL2CPP_EXTERN_C String_t* _stringLiteralBA7B76F7CEFAFC945D4F1E46E2C21A2894A4FD10;
IL2CPP_EXTERN_C String_t* _stringLiteralBAF34A2547265FEEA14708F8A1A89708432452A6;
IL2CPP_EXTERN_C String_t* _stringLiteralBB80988865A7C2136B3ADE9C2EB5EAE119955268;
IL2CPP_EXTERN_C String_t* _stringLiteralBC80A496F1C479B70F6EE2BF2F0C3C05463301B8;
IL2CPP_EXTERN_C String_t* _stringLiteralBCA799238FFD9062EADADF1671BF7042DB42CF92;
IL2CPP_EXTERN_C String_t* _stringLiteralBDFD4D8D6952777C39403B2D2E2F8A2A52BF255F;
IL2CPP_EXTERN_C String_t* _stringLiteralBEE73CA6E75A8894DD7A547768926EDAEDCD5C1A;
IL2CPP_EXTERN_C String_t* _stringLiteralC24595E6A7BC6D5DB68BC6759DD5BBA5D834B6DB;
IL2CPP_EXTERN_C String_t* _stringLiteralC2761A6512E7A91307A0DE721A3CA321DC4704D8;
IL2CPP_EXTERN_C String_t* _stringLiteralC2FE37F547603E5070979129624113F1C6F9D844;
IL2CPP_EXTERN_C String_t* _stringLiteralC345D79431223595C0658582F663D5FE489CE4EA;
IL2CPP_EXTERN_C String_t* _stringLiteralC34859D7F446AA18DD9260227F587FBA6EB4DB1D;
IL2CPP_EXTERN_C String_t* _stringLiteralC363992023785AF013BBCF2E20C19D9835184F82;
IL2CPP_EXTERN_C String_t* _stringLiteralC44D4E6C6AF3517A1CC72EDF7D1A5FFD7E3368F1;
IL2CPP_EXTERN_C String_t* _stringLiteralC45B18C0F0F4B3CF24DA66312054A56CCF27D9C5;
IL2CPP_EXTERN_C String_t* _stringLiteralC499D2FE766B2B37D326CC48A70E7DFFCE14E67E;
IL2CPP_EXTERN_C String_t* _stringLiteralC66F297D9CFBA91552616C44CE043096BDC566A6;
IL2CPP_EXTERN_C String_t* _stringLiteralC7CEDF5531BF0EE471FAF3F68BF9D5FCE0C45607;
IL2CPP_EXTERN_C String_t* _stringLiteralC8DFBF5C8D6E2ABCBCD997023A30E88DCEDF08DA;
IL2CPP_EXTERN_C String_t* _stringLiteralCD6A7B8768528485A0DBCD459185091E80DC28AD;
IL2CPP_EXTERN_C String_t* _stringLiteralCDD3E50B9E706702A4996E0BC1E08259AF9C1950;
IL2CPP_EXTERN_C String_t* _stringLiteralCEAFB51E2B0783D53DD620019DFF3AA66708A26F;
IL2CPP_EXTERN_C String_t* _stringLiteralCF76F3CD38A366E96CB2BED7C1D82F777242B6AA;
IL2CPP_EXTERN_C String_t* _stringLiteralD0941E68DA8F38151FF86A61FC59F7C5CF9FCAA2;
IL2CPP_EXTERN_C String_t* _stringLiteralD25FC308E967C0107DD8D8FCA45D38FEC31F5CF1;
IL2CPP_EXTERN_C String_t* _stringLiteralD416C225B5075E134E29DFBF7B48B6B0F77F834D;
IL2CPP_EXTERN_C String_t* _stringLiteralD6D1BC79DD62E9F1FB9A49A8F76F4BA8AB71AECD;
IL2CPP_EXTERN_C String_t* _stringLiteralD70E053DA23EA4B83C24F6829CA81D7ADEB19D59;
IL2CPP_EXTERN_C String_t* _stringLiteralD7304202578FF38AEE73020102C7456D4FA76D3C;
IL2CPP_EXTERN_C String_t* _stringLiteralD7938D08865974650DE95B633047523C268290B9;
IL2CPP_EXTERN_C String_t* _stringLiteralDC6963166E9D5E488CF23C5F20C1BCD34C9C9B72;
IL2CPP_EXTERN_C String_t* _stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630;
IL2CPP_EXTERN_C String_t* _stringLiteralDCBF19BC29354184B31ADAB7FE37B301685FF550;
IL2CPP_EXTERN_C String_t* _stringLiteralDDB0D01193ED435B77174CFA9313A4E94E2B4FD5;
IL2CPP_EXTERN_C String_t* _stringLiteralE06B0DE168F97FA3ED2ADE13FDB940C9BFE62E87;
IL2CPP_EXTERN_C String_t* _stringLiteralE073E7170308FE19487AF6EF1807C8056BC91116;
IL2CPP_EXTERN_C String_t* _stringLiteralE0A94664599D16AD9C195801B466CE3D0756C40B;
IL2CPP_EXTERN_C String_t* _stringLiteralE15B6A0A1108C9AC320286F96690841664ACD678;
IL2CPP_EXTERN_C String_t* _stringLiteralE540CDD1328B2B21E29A95405C301B9313B7C346;
IL2CPP_EXTERN_C String_t* _stringLiteralE78FE7049341B36116D8054F5A3E00D01F245FCC;
IL2CPP_EXTERN_C String_t* _stringLiteralE7C8B6C9A3407F1CFA5D484A50D6659DB304A143;
IL2CPP_EXTERN_C String_t* _stringLiteralE87A29FAFA6BDE5DB2F2ED78580BDB62061933A0;
IL2CPP_EXTERN_C String_t* _stringLiteralEAEF99A09E561A86004BAEB87A80BB4CFCE8CE67;
IL2CPP_EXTERN_C String_t* _stringLiteralEBA8B69763EB43A139DEA3B8C4A58E9CEDCA4968;
IL2CPP_EXTERN_C String_t* _stringLiteralECD044A1043B44632AC8663CA77996470922BCAD;
IL2CPP_EXTERN_C String_t* _stringLiteralED9428DBFB0B1BF45F637DBEABF0DB8879D90E82;
IL2CPP_EXTERN_C String_t* _stringLiteralEE9F38E186BA06F57B7B74D7E626B94E13CE2556;
IL2CPP_EXTERN_C String_t* _stringLiteralEF5C844EAB88BCACA779BD2F3AD67B573BBBBFCA;
IL2CPP_EXTERN_C String_t* _stringLiteralEF9A26B1AEA755741D0AC956EF8DC9AFB09E7B01;
IL2CPP_EXTERN_C String_t* _stringLiteralF18BFB74E613AFB11F36BDD80CF05CD5DFAD98D6;
IL2CPP_EXTERN_C String_t* _stringLiteralF20EDA68133DFCF8EA3FB9069F3237610643A8F0;
IL2CPP_EXTERN_C String_t* _stringLiteralF25BCCD744FAB3255BB82BAC88C618963868A33F;
IL2CPP_EXTERN_C String_t* _stringLiteralF32B67C7E26342AF42EFABC674D441DCA0A281C5;
IL2CPP_EXTERN_C String_t* _stringLiteralF410B3794614F4946761EA1E8C628608639839C6;
IL2CPP_EXTERN_C String_t* _stringLiteralF632347943CA4E8CC8339626FD5E7D507C6E5C81;
IL2CPP_EXTERN_C String_t* _stringLiteralF7F24D49529641003F57A1A7C43CFCCA3D29BD73;
IL2CPP_EXTERN_C String_t* _stringLiteralFA5342C4F12AD1A860B71DA5AD002761768999C3;
IL2CPP_EXTERN_C String_t* _stringLiteralFAD66767010E09AA6ADD07FA89C43A7F43F44049;
IL2CPP_EXTERN_C String_t* _stringLiteralFB89F8D393DA096100BFDC1D5649D094EFF15377;
IL2CPP_EXTERN_C String_t* _stringLiteralFC6AE05A55888138AD5ED7FDF85E0CFAF96F0CB1;
IL2CPP_EXTERN_C String_t* _stringLiteralFCB3CCC25D66B2BCEB3459994F52E74675D4A7D4;
IL2CPP_EXTERN_C String_t* _stringLiteralFD9D0C913A99959CCA8988A4605411D970AF3F59;
IL2CPP_EXTERN_C String_t* _stringLiteralFF69C2D636503743B153CA52D647A5C19B17092C;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Comparison_1__ctor_mE0538E25387B755D53C0B704CB16ED1F23AD18E0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ConditionalWeakTable_2_Add_m5066B6CF71B4388CE9668A469B274DA1F1CE8267_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ConditionalWeakTable_2__ctor_m532318C6B13DB33AB8E1A63999A30FBE81BE2FCC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m1CF588B67718D0CF03E628AEB7A822E58F1F5517_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Remove_m8A775DC3DA045DBE29E44D8FA98E57FEA20B9368_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m2D8C7B37F04BBE07E0D052A019C914E9AE6815D8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m6C6B59C12BD62E890CCF5AF0366E3DA0F29ADE6C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m9E5909F2240E8B4B0B9CA7DDA4075EF6C3B7BCA5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m832206501573309C2C9C1E4F96AAC39AACE24906_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m55755723565BE6B8A0576434B1D1E5AFF5BC9E4A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m60AD9FD2AC64440B5E23B200EAE9B55F366379AB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m83CB993D2CC4222537751945D972767270313F45_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m5A9F52ABE68EC7C100DB7A788C4B6BBB48358FFD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mDBF08ABE6CCFA1D4FCF82C5D409C18615C300000_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m2EA6C5DB454F479076AF2C9098A477B943F7CF71_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m7225F86A35D26BD382863FC6FE84CAF3DA11CF9F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* EventHandler_1_Invoke_m5A2B682142BD5C458A2C93E0300172955DBBCEA6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_1__ctor_mE9C2E3D8D0214538F8B9ABE57AA858D03EB20169_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2__ctor_m69CD5926C1F3E83585430B234312999946C55C53_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Key_m86B2C62B2D71E058541AD44447FFE99B23E906AE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Value_m53E2812960EF279EE483985E7F647EA7958B61C5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* LazyInitializer_EnsureInitialized_TisContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_m2F2E8D86C1C1F146E43AA9AA5572B95F333C0EAF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m3D1C9DA1E2012F97E0097903E50DED0F25776C57_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m931E984DEC4E3137C263958DE8354032E8784003_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m76DF40E97717AE8F7F5CD0D1965BB34D12BE0C75_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mAC067166AEB86D01BCC2364DAC32CF05E89AF135_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB5A8963C62BC566BF95512C93EA0B5ED6D04B8E9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mACBCDAD884AD8F4AB0A67F8E8626D5FD0C8C6A79_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mE27BF65BB76485B01C35B9F6A1D44C4560BF5370_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mFF8F45C64E3BA8B5E05FE814FC09A80F81903598_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAll_mC4FEA0EA2929D9530115A00BFA5AF6C1BBAB74A8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_mF3B9CA9E20C7542FAAD6C966B548492F2C7CD5DD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Sort_m3B256FB508DAF70D63EBA562343E275EC0308919_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m5D913FDA1B5B3FFD94223C59B5A70B418F569213_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m7C148B97DC87A9125BDE2F8876642459D8A30954_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC06B02C45D781C1EBF33F5D2380FF522713EF33B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC454D22A181DBFE033123BA60EB7503279A2E624_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_m4E6CC6EB68ACB4009E66AE14C2969F02B644FAE7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mEAB0A1E6130424B195D6DBFD71FAB35A51BA5337_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m6C76B0438807DFB527E73E6166D012198028ACBE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8A44B7C37BB53CF3C22046AE0A17B58B0925A7A1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Capacity_m0DA623E0A9843F83E643A5E032D775F990F3863E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Predicate_1__ctor_m1481B0BA718AF9DAD320321A0CF4E8FB952E1E23_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlyCollection_1_GetEnumerator_m99D19158C39B54528C9227F6F986B66D499C0B42_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlyCollection_1_GetEnumerator_mB3A1708B473BA7EE3CED5959613B2AA11A4920BA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlyCollection_1__ctor_m2669B26D5BD4E1D7DA650B32D5C8C5D4C6F82FE4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RegisteredWaitHandle_Wait_m0F3673BDD8989B937D7EAF2DDCE685C158192A12_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Scheduler_SchedulerThread_m9D548ED1E24E29E6CB64A3C7F1FF42FA25054CF1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Scheduler_TimerCB_m2EB04474CB0C68B572FDDDBC2641CE749CB3BFB1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* SparseArray_1_Add_mE48A7F17E902019686E15A72766DD0AB4CE80971_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* SparseArray_1_Remove_mEBA9CD59097C8D0C153E48328C21554B81E68414_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* SparseArray_1__ctor_m0B0CCA1B07E8D3958BD83EFE5CBC7C40A0A9131A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* SparseArray_1_get_Current_m3B12A0B7ED161127D23F62CC10EDCE7F8ED79051_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskExceptionHolder_AppDomainUnloadCallback_mAC27C1E4D2719B110D952A915FCC2B763C0FDBAA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskExceptionHolder_Finalize_mDB06081495D64A2708A09991B67929EDF79EF3FA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_1_TrySetResult_m8370C01E1E5614744D78DCC74E06F8FCAFDA11C8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_1__ctor_m4008D170A16EFA60DD6E4D059D75FAAC9D57AD85_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_Delay_mE765C93596171D57A356BCCCEFE49392CA925AFA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_Dispose_m4DC74A584F1834D9BC586CAA5721CA9D23579ABF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_ExecutionContextCallback_mBF57BB299B4B1FC4E76F5394FDA527B0BD99A4B4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_System_IAsyncResult_get_AsyncWaitHandle_mA71710AFB5344BE5442434E14095D5B3930859FB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_TaskCancelCallback_m871E63C611277708EB9BCD3A584958CF427429CF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Task__ctor_m398A0A6E97121F1D54B3A5CE76D0D16D1BE311DC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadHelper_ThreadStart_Context_mE293651E7B7060DAC2F7FA75B354BF206DA774A6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadHelper_ThreadStart_m21D0954583D43BCACDABE0E2ABB694FC4A0D43A3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadHelper_ThreadStart_m8CB657ADE8F96ED7949120D441D40F2A23EECBD2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadPoolTaskScheduler_LongRunningThreadWork_m961ED397785555AF2C24A4C8723246BA355CE21D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread_Sleep_m2CD320EAB7BE02CC1F395EAFE9970D53A5F9EAEF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowInvalidOperationException_m5FC21125115DA5A3A78175937F96B30333FF2454_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowNotSupportedException_mDE950AAFA2110B5EB15127AAD48E54ADF9C180FC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeSpan_op_UnaryNegation_mE162391DEAE6790EAD1844A11220F4378811E948_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m5091B256A2E8EDD09B7350EA38038D51A2D8FE89_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_System_Runtime_Serialization_ISerializable_GetObjectData_mAE47C204DEBA80A40CE6BB6D8645CBE68E07E843_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo__ctor_m208C00B56C7C1002819A1B940AD02AFD1848886D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo__ctor_mC41FD818CE40C6CAAA58613C79F3F7063FD7AE8F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Tuple_3__ctor_mEBEB26F33E2A9546F44BE417D96B1419B7F2EFE9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Tuple_3_get_Item1_mB0C8437E786459C80B0F2CB57ADC3A643F6C4CE2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Tuple_3_get_Item2_m64FB7459CA4971DEC4FBC22F9E3BD918557B9BCB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Tuple_3_get_Item3_m4361144F0F8FBFA32334368B1C2EAFB8158461F0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CCreateLocalUnityU3Eb__19_0_m55743CD9DA788A9D4D21F215C405D7EF527EDF15_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CDelayU3Eb__276_0_m5AB12E46C061368D100FF6C69F9D056E65A6AE2C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CDelayU3Eb__276_1_m54F939B4DD3A17936C0D754419E2A01555DB8D6A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CRunU3Eb__2_0_m09230CC3C4A5FF796AD9270851A6F374D8FC23BE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__295_0_mDCF5EBEFFB333327107E40BF44507418FE7BBFDD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__295_1_m44A2EA1ECE75C2BBF322DB9FC58C4D292B857963_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3C_cctorU3Eb__295_2_mE59AFDA5091AFFCF6A8D7C9F147A2EB2534B4F3C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass178_0_U3CExecuteSelfReplicatingU3Eb__0_mAF07405204F1F6B3977A5E367931D33F38CAB548_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass3_0_U3CInvokeCallbackWhenTaskCompletesU3Eb__0_m4C9A107F12D2BC7B54398E44A44D45AB3F8B6D18_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_WaitAny_mB3F8C574D50E2EC2D056A731B86BC2284D1B85CB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WaitHandle_WaitOne_m0E8BFEEF95DC452E7C5A17DCA57D24F38FF7C467_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* AppDomainUnloadedException_t8DFC322660E43B2A11853B62BF43078F42496A35_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* Boolean_tB53F6830F670160873277339AA58F15CAED4399C_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* String_t_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_0_0_0_var;
IL2CPP_EXTERN_C const uint32_t CompleteOnInvokePromise_Invoke_mAA9922CF17CC5F9186EEE5672444AC40BA0ACC3A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t CompleteOnInvokePromise__ctor_mFA5EA438CE61E8FDEB375E5CA2D7D5D1FFE0F175_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DelayPromise__ctor_m3A76D411C11904928F0FF700384FFA1668669B15_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8Emscorlib19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_FindByDueTime_m2B255CEF6EC7B56CD41F4FD299E09CAAE062D5FB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_SchedulerThread_m9D548ED1E24E29E6CB64A3C7F1FF42FA25054CF1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_ShrinkIfNeeded_m1DDE9B9B4FECA8D16C922391413085ABCB2B60E4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_TimerCB_m2EB04474CB0C68B572FDDDBC2641CE749CB3BFB1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler__cctor_mF399300AD4750C3FA6E8BFE5DDF32162B6F1AB9B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler__ctor_mA11657BA808AF374E216FDAAA472E18F00B84FEB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4Cmscorlib19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t SetOnInvokeMres__ctor_m5687AFB1292311BE5361EDDC64D893359D4DA8BD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskCanceledException__ctor_m050669D6A0AFCADF5E7EE761F1E32860C187D2D4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskCanceledException__ctor_m45DC90A53B1AF6B996D2B1BEA655A8D2C08C6AE7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskContinuation_InlineIfPossibleOrElseQueue_m7CCFD190C3F783A343C1103BF27BFE4D19C66FEF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_AppDomainUnloadCallback_mAC27C1E4D2719B110D952A915FCC2B763C0FDBAA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_EnsureADUnloadCallbackRegistered_m9143F763B1A627B480F5E1B9993FF68DE28BD080_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_Finalize_mDB06081495D64A2708A09991B67929EDF79EF3FA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_GetExceptionDispatchInfos_m22C52A36D4F57DA10A82F4193B5DB26C2761C40E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_MarkAsUnhandled_mD22F977332D7F3EAE91FE0665BAEE1873B342301_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder_SetCancellationException_m98201054DD08F08C9DABEDA502FFDC926412EB35_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder__cctor_mC036402D0A2253FCC9204F39FEF446B74DD69CEE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskExceptionHolder__ctor_m9DFCF5C093112C5273718737871BB34B2677A842_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskSchedulerAwaitTaskContinuation_Run_m12898EF0B89FD0CA5D26DC91995257B334E937BA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskSchedulerException__ctor_m54DE71B0C4FFC10BE930F776BE82782F4384D469_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskSchedulerException__ctor_m63156F8498549786866AEA93F820A250BE5B691E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_AddToActiveTaskSchedulers_m7BFCDD58D6FCD18D27017C309E8D683D642A7F06_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_PublishUnobservedTaskException_mA2CFE30AA160C2A0FEDAB216CEF09B86AD16ECA4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler__cctor_m6A38803AE79B8830C4324685C554D545EB68C14E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler__ctor_mD337C4A20B49427C777B496030923E94CA7BC5EF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_get_Current_m650D09DC411D00985B24BEF41984F4FDEE0D91D7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87mscorlib19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_get_Id_mF6A6B32C47D838C93694AAD06998F85B61F71DA7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskToApm_Begin_m42DFEB73E3BB1B51E0E8D115AFD215F9F2BF4175_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskToApm_End_m1BCAAEC9A8AED75C16537F0D568BE8AE8670FD1A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskToApm_InvokeCallbackWhenTaskCompletes_m46DC53C5C7C58E9F10B0EE7AE711C90A4B1CE494_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TaskWrapperAsyncResult_System_IAsyncResult_get_AsyncWaitHandle_m2F6AA2661CF059788F85AE7C1B3BB1E3E126200A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AddExceptionsFromChildren_mC22CD99033D0071A1CB17FD39752202CE3E31E26_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AddTaskContinuationComplex_mA7A1D0E407A59EC369D7879BB76F406CF1B5E848_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ContinueWith_mC71D3CE9DF20879884F2D08D363BA6E47EF87638_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_CreateReplicaTask_m7B9111C70A1BF8BA1270121EAF548859CFD48B17_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Delay_mE765C93596171D57A356BCCCEFE49392CA925AFA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Dispose_m3AA92D9D01DCD7403745E720B87C677D3A1AE7EA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Dispose_m4DC74A584F1834D9BC586CAA5721CA9D23579ABF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_EnsureContingentPropertiesInitializedCore_mEBABC8AA0C0C53B08D71CC3233E7F9487A645709_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ExecuteSelfReplicating_m04E29BA5B131FD16387C89CACB5B989BE675C1F4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ExecuteWithThreadLocal_mFF23F3F9C0796B0EE2AC70CB51AD7D2A2867D733_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ExecutionContextCallback_mBF57BB299B4B1FC4E76F5394FDA527B0BD99A4B4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_FromException_m8D8A19D1CF4B424A3B48F49C7150496075038E54_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_GetExceptionDispatchInfos_m2658FC327172C934AF3149E49345FF3319E92AFB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_InnerInvoke_m6FFFFD064498002E4FA34012E770F1C71FCCF98A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_InternalCurrentIfAttached_mA6A2C11F69612C4A960BC1FC6BD4E4D181D26A3B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_InternalWait_m7F1436A365C066C8D9BDEB6740118206B0EFAD45_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_NewId_m2FA62609A08BE3C277416032922008B5F0870B7F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_PossiblyCaptureContext_m0DB8D1ADD84B044BEBC0A692E45577D2B7ADFDA8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ProcessChildCompletion_mC85680C81FB2CC825B8525B112630786F41C3B3B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_RecordInternalCancellationRequest_m4FA35104DF2C193AC71BD6B1AD951684B9F5E8C3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Run_m201E4C04F97BCF541633AF913DF20C6FF7872E44_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_SetContinuationForAwait_m61A00AF4A1112055BAC121B40C9B357B953EEB94_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_SpinThenBlockingWait_mBAB3ADF8D2F624A0DC70F6BE0D7C2B0E291E635F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_System_IAsyncResult_get_AsyncWaitHandle_mA71710AFB5344BE5442434E14095D5B3930859FB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_TaskCancelCallback_m871E63C611277708EB9BCD3A584958CF427429CF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_UpdateExceptionObservedStatus_m1B934C758DC3C80A3B26410F4A246767EEEBE05A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task__cctor_m7AFA29A4CA3EA811384CCCB500558E02711767B7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task__ctor_m398A0A6E97121F1D54B3A5CE76D0D16D1BE311DC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_CompletedEvent_mE8A47E33273E4C45D6D818F4308903D34C5683DD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_CompletedTask_mBB0764E7FDE04E900FFBE5B1BE6B815193681E86_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_CurrentStackGuard_m74FB437E43F89B8BDCB272A7257024F586421F11_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892mscorlib19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadAbortException__ctor_m35D7B5B282C1E7366DDEA8AD89D8B78E30D76C8C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadHelper_ThreadStart_Context_mE293651E7B7060DAC2F7FA75B354BF206DA774A6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadHelper_ThreadStart_m21D0954583D43BCACDABE0E2ABB694FC4A0D43A3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadHelper_ThreadStart_m8CB657ADE8F96ED7949120D441D40F2A23EECBD2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadHelper__cctor_mCE60860371B3C99D4CF548A8B1B6F2B9E6542602_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadInterruptedException__ctor_m7D7CD66D20D7E9C12C3FD88B9DC0AF9F6EFB22A5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolGlobals__cctor_mDE5EB5AAA8F84828FE2CBEEEE1301322CD263AA1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolTaskScheduler_LongRunningThreadWork_m961ED397785555AF2C24A4C8723246BA355CE21D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolTaskScheduler_QueueTask_mE9B3A295B7D2E31848AF3DECA7A89CC814F3F20A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolTaskScheduler__cctor_mC425D1140B5A638568A6350B38102E68BFFE263B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolTaskScheduler__ctor_mC0B9F37DBA25F766F01EE56C8460330C3708FF1D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueueThreadLocals_CleanUp_m2557E74F088EB8EC68E1DAB43458EDAF62F30C04_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueueThreadLocals__ctor_mD46EF22D8EE15E0585EAC6F9DBF3063D14526362_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_Dequeue_mC9B6B85A78A962AC577C6474DBF53E2BCE238767_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_Dispatch_mCDF7415E4C9D02B34761CAE8EA15CD33DDF85ADF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_EnsureCurrentThreadHasQueue_m554E036E163A749F37BEBCE4F6020E145779758A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue_LocalFindAndPop_m9BE567E92E0DC532DFEE011D236A1159F63E6434_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue__cctor_m4B8371BEBC112C1C29BFF0AA32296B5BABE4CB6E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPoolWorkQueue__ctor_mDAE229D4F94CACC0E1FF97CBDC78F1034C0AF86D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_NotifyWorkItemProgress_mD041D082A87EAE7A34E6AE21CB7AF8819422B40A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThreadStateException__ctor_m45CB0F9C9BFBAE82CD65CB8AEDB9EE9C1A2027FA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_GetCurrentCultureNoAppX_mCD2B90A28EFEFFDB4B5855B71ADF1337C6E36843_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_GetCurrentUICultureNoAppX_m3443520354B118E074F79BF5D5BDBB5B6E31B5AB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_GetMutableExecutionContext_mD22CBCEAD2B95B779612C42D8B634B8B5163BA72_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_GetProcessDefaultStackSize_m876EFB49B410ED044DBFA47B7EE2D4F16D7731EC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_Sleep_m2CD320EAB7BE02CC1F395EAFE9970D53A5F9EAEF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_CreateArgumentNullException_m73D3C5638F0A69939498020AA3AE650DAA0178FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowInvalidOperationException_m5FC21125115DA5A3A78175937F96B30333FF2454_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowNotSupportedException_mDE950AAFA2110B5EB15127AAD48E54ADF9C180FC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_FromDays_m99DCC655C53C2898FF0C41D1DDFE17A749081DDB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_FromHours_m90C3C400E2561055C063148CF7B6D71EE5E52D5F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_FromMilliseconds_mED351BDAFE79A7C08A3F115FB4B5E000CF73900D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_FromMinutes_m3038BAC5BAB62262567D7BB3AE6DD845FC985BC2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_FromSeconds_mB18CB94089B3DA3B1B059BBE90367A9928AEE5CA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8mscorlib19_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan__cctor_m4277FE003AF4295BD502DDC59770B07A497C1CBE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_get_LegacyMode_mB9C63B017249E99A978D2977C6172848EFBA30F8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeSpan_op_UnaryNegation_mE162391DEAE6790EAD1844A11220F4378811E948_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeType_ToString_m038596EE0936A7854ECC6E84EE9BF236B3DA2BA4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_CreateLocal_m15C54141FB316F34FA44CA5B96CC02E2CB2F0638_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_Equals_m550F10113123069F27625140666EE2C67A901AE6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_FindSystemTimeZoneByIdCore_m62ECDFA5D89CE3B68C56D1B72B2CF5FB709DF322_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetAdjustmentRules_m5ECAA03E2351067B577D5E4EAE036014FCE291DE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetLocalTimeZoneInfoWinRTFallback_mAC4FAB77907E048A003EDB46ACA0A2B3665AAC15_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetLocalTimeZoneKeyNameWin32Fallback_m135325753C0EB2FFA39439FCAFF86BC41D8DC1A3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetSystemTimeZonesWinRTFallback_m6A927CC8A8AC235866DC2399C990A32C6BF846D0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetSystemTimeZones_mEA58988461DB651BAAEFE60B72EBCC2403FCDC3A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ParseAbbreviations_mF9E2B864DA8DDDA370DD9D43D5A7E3D8B7FBA76A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ParseTimesTypes_mDE8026755AF2207FFD76312DB22A472EE850BBA6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ParseTransitions_mDF9E7750AF2BFA9992708A02AE9429EFC4CF00FE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m5091B256A2E8EDD09B7350EA38038D51A2D8FE89_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_System_Runtime_Serialization_ISerializable_GetObjectData_mAE47C204DEBA80A40CE6BB6D8645CBE68E07E843_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TrimSpecial_m8904FED0584050DFA61E0BD573BDDF2D2E24DD64_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TryGetNameFromPath_m030B7AF03FD88B0FCAF5374F33D9E2B22ECCFD42_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_TryGetTransitionOffset_mE81815E31B2FD48D83635AE3FAADF622DDE6B5D6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ValidTZFile_mDBAA295AA83624116C0BA67C78FDD8521866A8ED_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo__ctor_m208C00B56C7C1002819A1B940AD02AFD1848886D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo__ctor_mC41FD818CE40C6CAAA58613C79F3F7063FD7AE8F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZoneInfo_readlink_m36675E5C86E478A8F522061E1AE5DD3F441F1413_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimeZone__cctor_mF4FC3AB8D82A4A380D166F0F60CE193D51FA07D8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Timeout__cctor_m9C4BFE11D3494ED5DB59176974B66055093F26D9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TimerComparer_Compare_mA323B05AE75107BF3D65BCFB43976A29155A4659_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Timer_Dispose_mAD09E4EAC3D4A4732B55911919A60CACCF8173D9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Timer__cctor_m0A46AD4FB7C3B912E23811F586FED0391767A2EF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec_U3CDelayU3Eb__276_0_m5AB12E46C061368D100FF6C69F9D056E65A6AE2C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec_U3CDelayU3Eb__276_1_m54F939B4DD3A17936C0D754419E2A01555DB8D6A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec_U3CRunU3Eb__2_0_m09230CC3C4A5FF796AD9270851A6F374D8FC23BE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec_U3C_cctorU3Eb__295_0_mDCF5EBEFFB333327107E40BF44507418FE7BBFDD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec_U3C_cctorU3Eb__7_0_m8D4421278962DBF67E7164884D652DB516D390FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec__DisplayClass178_0_U3CExecuteSelfReplicatingU3Eb__0_mAF07405204F1F6B3977A5E367931D33F38CAB548_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec__cctor_m14A2B19DAD1F9934C7714F31E34E70544869F269_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec__cctor_m46015CEDA36D3948DEC9E120338956ECA01C907E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec__cctor_mD421A18D7B3D53CD889B2E9FB6B14A042E480477_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t UnobservedTaskExceptionEventArgs__ctor_mD866CEFA881E8B9F5C7FB00C62B3575E97BFEED3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandleCannotBeOpenedException__ctor_m7A3521D80FAFFDEE0AA1DAE1C9CE3D643AEA0C6D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_Close_m40287CC581A72F1CB4882656D4F91ADDCF5C5434_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_Dispose_m47D6F15A6D36EFBF147D238B794AE6436FD5159C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_Init_m63320FFB796EB59BF6217787185DD0B9BCE7C6FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitAny_mB3F8C574D50E2EC2D056A731B86BC2284D1B85CB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitOneNative_mC25327F2B99DBB404B62FD48CFCBDB3244F82434_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitOne_m0E8BFEEF95DC452E7C5A17DCA57D24F38FF7C467_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_WaitOne_m6283DC18BCD374B579549B156DD30AAA74E64C89_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle__cctor_m007CFC1D3AC126BF18F2000C962A2C73EB73D671_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_set_Handle_m174F142FBE3A6EBEF358B389AE825BF2569C2389_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_set_SafeWaitHandle_m79F648641723174F50E517BA350953B45F09952E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_com_FromNativeMethodDefinition_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_pinvoke_FromNativeMethodDefinition_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WaitOrTimerCallback_BeginInvoke_m86C8EC9E231C1076272729D07B6331A3253150CF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WorkStealingQueue_LocalPush_mF4807971CDD7F6089AADF28173FEDDDFF4E96455_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t WorkStealingQueue__ctor_m5A30B12A759E1174AB423856CECBF73B5A5FA91A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t _ThreadPoolWaitCallback_PerformWaitCallback_mD77C78004E606A2556E66C0D674100581F264C58_MetadataUsageId;
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_com;
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_pinvoke;
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com;
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke;
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F;;
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke;
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke;;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811;;
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke;
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke;;
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821;
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F;
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
struct ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209;
struct Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F;
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
struct ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF;
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
struct IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154;
struct TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE;
struct WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9;
struct WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC;
struct AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
// Microsoft.Win32.Registry
struct Registry_t241E9489A52A385888DBC941B714B48401DBB28E : public RuntimeObject
{
public:
public:
};
struct Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields
{
public:
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::ClassesRoot
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___ClassesRoot_0;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::CurrentConfig
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___CurrentConfig_1;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::CurrentUser
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___CurrentUser_2;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::DynData
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___DynData_3;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::LocalMachine
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___LocalMachine_4;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::PerformanceData
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___PerformanceData_5;
// Microsoft.Win32.RegistryKey Microsoft.Win32.Registry::Users
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___Users_6;
public:
inline static int32_t get_offset_of_ClassesRoot_0() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___ClassesRoot_0)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_ClassesRoot_0() const { return ___ClassesRoot_0; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_ClassesRoot_0() { return &___ClassesRoot_0; }
inline void set_ClassesRoot_0(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___ClassesRoot_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ClassesRoot_0), (void*)value);
}
inline static int32_t get_offset_of_CurrentConfig_1() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___CurrentConfig_1)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_CurrentConfig_1() const { return ___CurrentConfig_1; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_CurrentConfig_1() { return &___CurrentConfig_1; }
inline void set_CurrentConfig_1(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___CurrentConfig_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CurrentConfig_1), (void*)value);
}
inline static int32_t get_offset_of_CurrentUser_2() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___CurrentUser_2)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_CurrentUser_2() const { return ___CurrentUser_2; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_CurrentUser_2() { return &___CurrentUser_2; }
inline void set_CurrentUser_2(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___CurrentUser_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CurrentUser_2), (void*)value);
}
inline static int32_t get_offset_of_DynData_3() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___DynData_3)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_DynData_3() const { return ___DynData_3; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_DynData_3() { return &___DynData_3; }
inline void set_DynData_3(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___DynData_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DynData_3), (void*)value);
}
inline static int32_t get_offset_of_LocalMachine_4() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___LocalMachine_4)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_LocalMachine_4() const { return ___LocalMachine_4; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_LocalMachine_4() { return &___LocalMachine_4; }
inline void set_LocalMachine_4(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___LocalMachine_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LocalMachine_4), (void*)value);
}
inline static int32_t get_offset_of_PerformanceData_5() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___PerformanceData_5)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_PerformanceData_5() const { return ___PerformanceData_5; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_PerformanceData_5() { return &___PerformanceData_5; }
inline void set_PerformanceData_5(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___PerformanceData_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PerformanceData_5), (void*)value);
}
inline static int32_t get_offset_of_Users_6() { return static_cast<int32_t>(offsetof(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields, ___Users_6)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_Users_6() const { return ___Users_6; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_Users_6() { return &___Users_6; }
inline void set_Users_6(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___Users_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Users_6), (void*)value);
}
};
// System.AppContextSwitches
struct AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D : public RuntimeObject
{
public:
public:
};
struct AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_StaticFields
{
public:
// System.Boolean System.AppContextSwitches::ThrowExceptionIfDisposedCancellationTokenSource
bool ___ThrowExceptionIfDisposedCancellationTokenSource_0;
// System.Boolean System.AppContextSwitches::PreserveEventListnerObjectIdentity
bool ___PreserveEventListnerObjectIdentity_1;
public:
inline static int32_t get_offset_of_ThrowExceptionIfDisposedCancellationTokenSource_0() { return static_cast<int32_t>(offsetof(AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_StaticFields, ___ThrowExceptionIfDisposedCancellationTokenSource_0)); }
inline bool get_ThrowExceptionIfDisposedCancellationTokenSource_0() const { return ___ThrowExceptionIfDisposedCancellationTokenSource_0; }
inline bool* get_address_of_ThrowExceptionIfDisposedCancellationTokenSource_0() { return &___ThrowExceptionIfDisposedCancellationTokenSource_0; }
inline void set_ThrowExceptionIfDisposedCancellationTokenSource_0(bool value)
{
___ThrowExceptionIfDisposedCancellationTokenSource_0 = value;
}
inline static int32_t get_offset_of_PreserveEventListnerObjectIdentity_1() { return static_cast<int32_t>(offsetof(AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_StaticFields, ___PreserveEventListnerObjectIdentity_1)); }
inline bool get_PreserveEventListnerObjectIdentity_1() const { return ___PreserveEventListnerObjectIdentity_1; }
inline bool* get_address_of_PreserveEventListnerObjectIdentity_1() { return &___PreserveEventListnerObjectIdentity_1; }
inline void set_PreserveEventListnerObjectIdentity_1(bool value)
{
___PreserveEventListnerObjectIdentity_1 = value;
}
};
struct Il2CppArrayBounds;
// System.Array
// System.BitConverter
struct BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE : public RuntimeObject
{
public:
public:
};
struct BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields
{
public:
// System.Boolean System.BitConverter::IsLittleEndian
bool ___IsLittleEndian_0;
public:
inline static int32_t get_offset_of_IsLittleEndian_0() { return static_cast<int32_t>(offsetof(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields, ___IsLittleEndian_0)); }
inline bool get_IsLittleEndian_0() const { return ___IsLittleEndian_0; }
inline bool* get_address_of_IsLittleEndian_0() { return &___IsLittleEndian_0; }
inline void set_IsLittleEndian_0(bool value)
{
___IsLittleEndian_0 = value;
}
};
// System.Collections.Generic.Dictionary`2<System.Int32,System.String>
struct Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t69CCD9E4E7050700879917C9CB7E5E88F89235B1* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t2F25BAF319A40DA5241F076B74BB90B72F16822F * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_tEDEE983AB5C1AD1832785DBAED94462C85312A6F * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___entries_1)); }
inline EntryU5BU5D_t69CCD9E4E7050700879917C9CB7E5E88F89235B1* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t69CCD9E4E7050700879917C9CB7E5E88F89235B1** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t69CCD9E4E7050700879917C9CB7E5E88F89235B1* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___keys_7)); }
inline KeyCollection_t2F25BAF319A40DA5241F076B74BB90B72F16822F * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t2F25BAF319A40DA5241F076B74BB90B72F16822F ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t2F25BAF319A40DA5241F076B74BB90B72F16822F * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ___values_8)); }
inline ValueCollection_tEDEE983AB5C1AD1832785DBAED94462C85312A6F * get_values_8() const { return ___values_8; }
inline ValueCollection_tEDEE983AB5C1AD1832785DBAED94462C85312A6F ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_tEDEE983AB5C1AD1832785DBAED94462C85312A6F * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>
struct Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t4E4624ADB0382647D3DDD5ABEA46B237F202D148* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t7C4B7E5B90C7341BB00324E95C0FF0EDDD9D23FB * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_tD508C2F8A039CFD77B270500C1C5D723B78FE10C * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___entries_1)); }
inline EntryU5BU5D_t4E4624ADB0382647D3DDD5ABEA46B237F202D148* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t4E4624ADB0382647D3DDD5ABEA46B237F202D148** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t4E4624ADB0382647D3DDD5ABEA46B237F202D148* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___keys_7)); }
inline KeyCollection_t7C4B7E5B90C7341BB00324E95C0FF0EDDD9D23FB * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t7C4B7E5B90C7341BB00324E95C0FF0EDDD9D23FB ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t7C4B7E5B90C7341BB00324E95C0FF0EDDD9D23FB * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ___values_8)); }
inline ValueCollection_tD508C2F8A039CFD77B270500C1C5D723B78FE10C * get_values_8() const { return ___values_8; }
inline ValueCollection_tD508C2F8A039CFD77B270500C1C5D723B78FE10C ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_tD508C2F8A039CFD77B270500C1C5D723B78FE10C * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>
struct Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___buckets_0;
// System.Collections.Generic.Dictionary`2_Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tE10945BABF6C8713BFFE8B1BE29C42BFEBCC0A23* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2_KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_tB25B793043188B05B5EDA66FE436CA860742E601 * ___keys_7;
// System.Collections.Generic.Dictionary`2_ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t8FDF62D6CA4259E5733AB7ABFC11F082D955414B * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___buckets_0)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___entries_1)); }
inline EntryU5BU5D_tE10945BABF6C8713BFFE8B1BE29C42BFEBCC0A23* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tE10945BABF6C8713BFFE8B1BE29C42BFEBCC0A23** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tE10945BABF6C8713BFFE8B1BE29C42BFEBCC0A23* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___keys_7)); }
inline KeyCollection_tB25B793043188B05B5EDA66FE436CA860742E601 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_tB25B793043188B05B5EDA66FE436CA860742E601 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_tB25B793043188B05B5EDA66FE436CA860742E601 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ___values_8)); }
inline ValueCollection_t8FDF62D6CA4259E5733AB7ABFC11F082D955414B * get_values_8() const { return ___values_8; }
inline ValueCollection_t8FDF62D6CA4259E5733AB7ABFC11F082D955414B ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t8FDF62D6CA4259E5733AB7ABFC11F082D955414B * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>
struct List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____items_1)); }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* get__items_1() const { return ____items_1; }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1_StaticFields, ____emptyArray_5)); }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* get__emptyArray_5() const { return ____emptyArray_5; }
inline KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>
struct List_1_tD2FC74CFEE011F74F31183756A690154468817E9 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tD2FC74CFEE011F74F31183756A690154468817E9, ____items_1)); }
inline KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* get__items_1() const { return ____items_1; }
inline KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tD2FC74CFEE011F74F31183756A690154468817E9, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tD2FC74CFEE011F74F31183756A690154468817E9, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tD2FC74CFEE011F74F31183756A690154468817E9, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tD2FC74CFEE011F74F31183756A690154468817E9_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tD2FC74CFEE011F74F31183756A690154468817E9_StaticFields, ____emptyArray_5)); }
inline KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* get__emptyArray_5() const { return ____emptyArray_5; }
inline KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(KeyValuePair_2U5BU5D_tAA010A71A6AC97DFA9B2E84B954765E51A27236C* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____items_1)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__items_1() const { return ____items_1; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields, ____emptyArray_5)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__emptyArray_5() const { return ____emptyArray_5; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct List_1_tCD04260AE1254C438132446F1E6892AB86D18743 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tCD04260AE1254C438132446F1E6892AB86D18743, ____items_1)); }
inline ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* get__items_1() const { return ____items_1; }
inline ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tCD04260AE1254C438132446F1E6892AB86D18743, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tCD04260AE1254C438132446F1E6892AB86D18743, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tCD04260AE1254C438132446F1E6892AB86D18743, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tCD04260AE1254C438132446F1E6892AB86D18743_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tCD04260AE1254C438132446F1E6892AB86D18743_StaticFields, ____emptyArray_5)); }
inline ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* get__emptyArray_5() const { return ____emptyArray_5; }
inline ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Threading.Tasks.Task>
struct List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E, ____items_1)); }
inline TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* get__items_1() const { return ____items_1; }
inline TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E_StaticFields, ____emptyArray_5)); }
inline TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* get__emptyArray_5() const { return ____emptyArray_5; }
inline TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Threading.Timer>
struct List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116, ____items_1)); }
inline TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* get__items_1() const { return ____items_1; }
inline TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116_StaticFields, ____emptyArray_5)); }
inline TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* get__emptyArray_5() const { return ____emptyArray_5; }
inline TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TimerU5BU5D_tD0E2F3FBF7687B24301E6EAC84AEC44386CB5F7A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.TimeZoneInfo_AdjustmentRule>
struct List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E, ____items_1)); }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* get__items_1() const { return ____items_1; }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_StaticFields, ____emptyArray_5)); }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* get__emptyArray_5() const { return ____emptyArray_5; }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.TimeZoneInfo>
struct List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD, ____items_1)); }
inline TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* get__items_1() const { return ____items_1; }
inline TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of__version_3() { return static_cast<int32_t>(offsetof(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD_StaticFields, ____emptyArray_5)); }
inline TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* get__emptyArray_5() const { return ____emptyArray_5; }
inline TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TimeZoneInfoU5BU5D_t3651149D75C21234FEBE23046A2E2FF4AB531D94* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Exception>
struct ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
};
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo>
struct ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
};
// System.Collections.SortedList
struct SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E : public RuntimeObject
{
public:
// System.Object[] System.Collections.SortedList::keys
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___keys_0;
// System.Object[] System.Collections.SortedList::values
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___values_1;
// System.Int32 System.Collections.SortedList::_size
int32_t ____size_2;
// System.Int32 System.Collections.SortedList::version
int32_t ___version_3;
// System.Collections.IComparer System.Collections.SortedList::comparer
RuntimeObject* ___comparer_4;
// System.Collections.SortedList_ValueList System.Collections.SortedList::valueList
ValueList_t1BBC0BAD9C26EB4899C4AB1509C3890E805D2EFE * ___valueList_5;
// System.Object System.Collections.SortedList::_syncRoot
RuntimeObject * ____syncRoot_6;
public:
inline static int32_t get_offset_of_keys_0() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ___keys_0)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_keys_0() const { return ___keys_0; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_keys_0() { return &___keys_0; }
inline void set_keys_0(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___keys_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_0), (void*)value);
}
inline static int32_t get_offset_of_values_1() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ___values_1)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_values_1() const { return ___values_1; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_values_1() { return &___values_1; }
inline void set_values_1(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___values_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ____size_2)); }
inline int32_t get__size_2() const { return ____size_2; }
inline int32_t* get_address_of__size_2() { return &____size_2; }
inline void set__size_2(int32_t value)
{
____size_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_comparer_4() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ___comparer_4)); }
inline RuntimeObject* get_comparer_4() const { return ___comparer_4; }
inline RuntimeObject** get_address_of_comparer_4() { return &___comparer_4; }
inline void set_comparer_4(RuntimeObject* value)
{
___comparer_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_4), (void*)value);
}
inline static int32_t get_offset_of_valueList_5() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ___valueList_5)); }
inline ValueList_t1BBC0BAD9C26EB4899C4AB1509C3890E805D2EFE * get_valueList_5() const { return ___valueList_5; }
inline ValueList_t1BBC0BAD9C26EB4899C4AB1509C3890E805D2EFE ** get_address_of_valueList_5() { return &___valueList_5; }
inline void set_valueList_5(ValueList_t1BBC0BAD9C26EB4899C4AB1509C3890E805D2EFE * value)
{
___valueList_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___valueList_5), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_6() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E, ____syncRoot_6)); }
inline RuntimeObject * get__syncRoot_6() const { return ____syncRoot_6; }
inline RuntimeObject ** get_address_of__syncRoot_6() { return &____syncRoot_6; }
inline void set__syncRoot_6(RuntimeObject * value)
{
____syncRoot_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_6), (void*)value);
}
};
struct SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E_StaticFields
{
public:
// System.Object[] System.Collections.SortedList::emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___emptyArray_7;
public:
inline static int32_t get_offset_of_emptyArray_7() { return static_cast<int32_t>(offsetof(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E_StaticFields, ___emptyArray_7)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_emptyArray_7() const { return ___emptyArray_7; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_emptyArray_7() { return &___emptyArray_7; }
inline void set_emptyArray_7(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___emptyArray_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptyArray_7), (void*)value);
}
};
// System.CompatibilitySwitches
struct CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91 : public RuntimeObject
{
public:
public:
};
struct CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields
{
public:
// System.Boolean System.CompatibilitySwitches::IsAppEarlierThanSilverlight4
bool ___IsAppEarlierThanSilverlight4_0;
// System.Boolean System.CompatibilitySwitches::IsAppEarlierThanWindowsPhone8
bool ___IsAppEarlierThanWindowsPhone8_1;
public:
inline static int32_t get_offset_of_IsAppEarlierThanSilverlight4_0() { return static_cast<int32_t>(offsetof(CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields, ___IsAppEarlierThanSilverlight4_0)); }
inline bool get_IsAppEarlierThanSilverlight4_0() const { return ___IsAppEarlierThanSilverlight4_0; }
inline bool* get_address_of_IsAppEarlierThanSilverlight4_0() { return &___IsAppEarlierThanSilverlight4_0; }
inline void set_IsAppEarlierThanSilverlight4_0(bool value)
{
___IsAppEarlierThanSilverlight4_0 = value;
}
inline static int32_t get_offset_of_IsAppEarlierThanWindowsPhone8_1() { return static_cast<int32_t>(offsetof(CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields, ___IsAppEarlierThanWindowsPhone8_1)); }
inline bool get_IsAppEarlierThanWindowsPhone8_1() const { return ___IsAppEarlierThanWindowsPhone8_1; }
inline bool* get_address_of_IsAppEarlierThanWindowsPhone8_1() { return &___IsAppEarlierThanWindowsPhone8_1; }
inline void set_IsAppEarlierThanWindowsPhone8_1(bool value)
{
___IsAppEarlierThanWindowsPhone8_1 = value;
}
};
// System.EventArgs
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E : public RuntimeObject
{
public:
public:
};
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_StaticFields
{
public:
// System.EventArgs System.EventArgs::Empty
EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___Empty_0;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_StaticFields, ___Empty_0)); }
inline EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * get_Empty_0() const { return ___Empty_0; }
inline EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E ** get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * value)
{
___Empty_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_0), (void*)value);
}
};
// System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F : public RuntimeObject
{
public:
// System.Boolean System.Globalization.CultureInfo::m_isReadOnly
bool ___m_isReadOnly_3;
// System.Int32 System.Globalization.CultureInfo::cultureID
int32_t ___cultureID_4;
// System.Int32 System.Globalization.CultureInfo::parent_lcid
int32_t ___parent_lcid_5;
// System.Int32 System.Globalization.CultureInfo::datetime_index
int32_t ___datetime_index_6;
// System.Int32 System.Globalization.CultureInfo::number_index
int32_t ___number_index_7;
// System.Int32 System.Globalization.CultureInfo::default_calendar_type
int32_t ___default_calendar_type_8;
// System.Boolean System.Globalization.CultureInfo::m_useUserOverride
bool ___m_useUserOverride_9;
// System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::numInfo
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
// System.Globalization.DateTimeFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::dateTimeInfo
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
// System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::textInfo
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
// System.String System.Globalization.CultureInfo::m_name
String_t* ___m_name_13;
// System.String System.Globalization.CultureInfo::englishname
String_t* ___englishname_14;
// System.String System.Globalization.CultureInfo::nativename
String_t* ___nativename_15;
// System.String System.Globalization.CultureInfo::iso3lang
String_t* ___iso3lang_16;
// System.String System.Globalization.CultureInfo::iso2lang
String_t* ___iso2lang_17;
// System.String System.Globalization.CultureInfo::win3lang
String_t* ___win3lang_18;
// System.String System.Globalization.CultureInfo::territory
String_t* ___territory_19;
// System.String[] System.Globalization.CultureInfo::native_calendar_names
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___native_calendar_names_20;
// System.Globalization.CompareInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::compareInfo
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
// System.Void* System.Globalization.CultureInfo::textinfo_data
void* ___textinfo_data_22;
// System.Int32 System.Globalization.CultureInfo::m_dataItem
int32_t ___m_dataItem_23;
// System.Globalization.Calendar System.Globalization.CultureInfo::calendar
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
// System.Globalization.CultureInfo System.Globalization.CultureInfo::parent_culture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___parent_culture_25;
// System.Boolean System.Globalization.CultureInfo::constructed
bool ___constructed_26;
// System.Byte[] System.Globalization.CultureInfo::cached_serialized_form
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___cached_serialized_form_27;
// System.Globalization.CultureData System.Globalization.CultureInfo::m_cultureData
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * ___m_cultureData_28;
// System.Boolean System.Globalization.CultureInfo::m_isInherited
bool ___m_isInherited_29;
public:
inline static int32_t get_offset_of_m_isReadOnly_3() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_isReadOnly_3)); }
inline bool get_m_isReadOnly_3() const { return ___m_isReadOnly_3; }
inline bool* get_address_of_m_isReadOnly_3() { return &___m_isReadOnly_3; }
inline void set_m_isReadOnly_3(bool value)
{
___m_isReadOnly_3 = value;
}
inline static int32_t get_offset_of_cultureID_4() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___cultureID_4)); }
inline int32_t get_cultureID_4() const { return ___cultureID_4; }
inline int32_t* get_address_of_cultureID_4() { return &___cultureID_4; }
inline void set_cultureID_4(int32_t value)
{
___cultureID_4 = value;
}
inline static int32_t get_offset_of_parent_lcid_5() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___parent_lcid_5)); }
inline int32_t get_parent_lcid_5() const { return ___parent_lcid_5; }
inline int32_t* get_address_of_parent_lcid_5() { return &___parent_lcid_5; }
inline void set_parent_lcid_5(int32_t value)
{
___parent_lcid_5 = value;
}
inline static int32_t get_offset_of_datetime_index_6() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___datetime_index_6)); }
inline int32_t get_datetime_index_6() const { return ___datetime_index_6; }
inline int32_t* get_address_of_datetime_index_6() { return &___datetime_index_6; }
inline void set_datetime_index_6(int32_t value)
{
___datetime_index_6 = value;
}
inline static int32_t get_offset_of_number_index_7() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___number_index_7)); }
inline int32_t get_number_index_7() const { return ___number_index_7; }
inline int32_t* get_address_of_number_index_7() { return &___number_index_7; }
inline void set_number_index_7(int32_t value)
{
___number_index_7 = value;
}
inline static int32_t get_offset_of_default_calendar_type_8() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___default_calendar_type_8)); }
inline int32_t get_default_calendar_type_8() const { return ___default_calendar_type_8; }
inline int32_t* get_address_of_default_calendar_type_8() { return &___default_calendar_type_8; }
inline void set_default_calendar_type_8(int32_t value)
{
___default_calendar_type_8 = value;
}
inline static int32_t get_offset_of_m_useUserOverride_9() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_useUserOverride_9)); }
inline bool get_m_useUserOverride_9() const { return ___m_useUserOverride_9; }
inline bool* get_address_of_m_useUserOverride_9() { return &___m_useUserOverride_9; }
inline void set_m_useUserOverride_9(bool value)
{
___m_useUserOverride_9 = value;
}
inline static int32_t get_offset_of_numInfo_10() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___numInfo_10)); }
inline NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * get_numInfo_10() const { return ___numInfo_10; }
inline NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 ** get_address_of_numInfo_10() { return &___numInfo_10; }
inline void set_numInfo_10(NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * value)
{
___numInfo_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___numInfo_10), (void*)value);
}
inline static int32_t get_offset_of_dateTimeInfo_11() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___dateTimeInfo_11)); }
inline DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * get_dateTimeInfo_11() const { return ___dateTimeInfo_11; }
inline DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F ** get_address_of_dateTimeInfo_11() { return &___dateTimeInfo_11; }
inline void set_dateTimeInfo_11(DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * value)
{
___dateTimeInfo_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dateTimeInfo_11), (void*)value);
}
inline static int32_t get_offset_of_textInfo_12() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___textInfo_12)); }
inline TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * get_textInfo_12() const { return ___textInfo_12; }
inline TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 ** get_address_of_textInfo_12() { return &___textInfo_12; }
inline void set_textInfo_12(TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * value)
{
___textInfo_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___textInfo_12), (void*)value);
}
inline static int32_t get_offset_of_m_name_13() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_name_13)); }
inline String_t* get_m_name_13() const { return ___m_name_13; }
inline String_t** get_address_of_m_name_13() { return &___m_name_13; }
inline void set_m_name_13(String_t* value)
{
___m_name_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_name_13), (void*)value);
}
inline static int32_t get_offset_of_englishname_14() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___englishname_14)); }
inline String_t* get_englishname_14() const { return ___englishname_14; }
inline String_t** get_address_of_englishname_14() { return &___englishname_14; }
inline void set_englishname_14(String_t* value)
{
___englishname_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___englishname_14), (void*)value);
}
inline static int32_t get_offset_of_nativename_15() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___nativename_15)); }
inline String_t* get_nativename_15() const { return ___nativename_15; }
inline String_t** get_address_of_nativename_15() { return &___nativename_15; }
inline void set_nativename_15(String_t* value)
{
___nativename_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nativename_15), (void*)value);
}
inline static int32_t get_offset_of_iso3lang_16() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___iso3lang_16)); }
inline String_t* get_iso3lang_16() const { return ___iso3lang_16; }
inline String_t** get_address_of_iso3lang_16() { return &___iso3lang_16; }
inline void set_iso3lang_16(String_t* value)
{
___iso3lang_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___iso3lang_16), (void*)value);
}
inline static int32_t get_offset_of_iso2lang_17() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___iso2lang_17)); }
inline String_t* get_iso2lang_17() const { return ___iso2lang_17; }
inline String_t** get_address_of_iso2lang_17() { return &___iso2lang_17; }
inline void set_iso2lang_17(String_t* value)
{
___iso2lang_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___iso2lang_17), (void*)value);
}
inline static int32_t get_offset_of_win3lang_18() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___win3lang_18)); }
inline String_t* get_win3lang_18() const { return ___win3lang_18; }
inline String_t** get_address_of_win3lang_18() { return &___win3lang_18; }
inline void set_win3lang_18(String_t* value)
{
___win3lang_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___win3lang_18), (void*)value);
}
inline static int32_t get_offset_of_territory_19() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___territory_19)); }
inline String_t* get_territory_19() const { return ___territory_19; }
inline String_t** get_address_of_territory_19() { return &___territory_19; }
inline void set_territory_19(String_t* value)
{
___territory_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___territory_19), (void*)value);
}
inline static int32_t get_offset_of_native_calendar_names_20() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___native_calendar_names_20)); }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* get_native_calendar_names_20() const { return ___native_calendar_names_20; }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** get_address_of_native_calendar_names_20() { return &___native_calendar_names_20; }
inline void set_native_calendar_names_20(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* value)
{
___native_calendar_names_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_calendar_names_20), (void*)value);
}
inline static int32_t get_offset_of_compareInfo_21() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___compareInfo_21)); }
inline CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * get_compareInfo_21() const { return ___compareInfo_21; }
inline CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 ** get_address_of_compareInfo_21() { return &___compareInfo_21; }
inline void set_compareInfo_21(CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * value)
{
___compareInfo_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___compareInfo_21), (void*)value);
}
inline static int32_t get_offset_of_textinfo_data_22() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___textinfo_data_22)); }
inline void* get_textinfo_data_22() const { return ___textinfo_data_22; }
inline void** get_address_of_textinfo_data_22() { return &___textinfo_data_22; }
inline void set_textinfo_data_22(void* value)
{
___textinfo_data_22 = value;
}
inline static int32_t get_offset_of_m_dataItem_23() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_dataItem_23)); }
inline int32_t get_m_dataItem_23() const { return ___m_dataItem_23; }
inline int32_t* get_address_of_m_dataItem_23() { return &___m_dataItem_23; }
inline void set_m_dataItem_23(int32_t value)
{
___m_dataItem_23 = value;
}
inline static int32_t get_offset_of_calendar_24() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___calendar_24)); }
inline Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * get_calendar_24() const { return ___calendar_24; }
inline Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 ** get_address_of_calendar_24() { return &___calendar_24; }
inline void set_calendar_24(Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * value)
{
___calendar_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___calendar_24), (void*)value);
}
inline static int32_t get_offset_of_parent_culture_25() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___parent_culture_25)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_parent_culture_25() const { return ___parent_culture_25; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_parent_culture_25() { return &___parent_culture_25; }
inline void set_parent_culture_25(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___parent_culture_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___parent_culture_25), (void*)value);
}
inline static int32_t get_offset_of_constructed_26() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___constructed_26)); }
inline bool get_constructed_26() const { return ___constructed_26; }
inline bool* get_address_of_constructed_26() { return &___constructed_26; }
inline void set_constructed_26(bool value)
{
___constructed_26 = value;
}
inline static int32_t get_offset_of_cached_serialized_form_27() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___cached_serialized_form_27)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_cached_serialized_form_27() const { return ___cached_serialized_form_27; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_cached_serialized_form_27() { return &___cached_serialized_form_27; }
inline void set_cached_serialized_form_27(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___cached_serialized_form_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___cached_serialized_form_27), (void*)value);
}
inline static int32_t get_offset_of_m_cultureData_28() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_cultureData_28)); }
inline CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * get_m_cultureData_28() const { return ___m_cultureData_28; }
inline CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD ** get_address_of_m_cultureData_28() { return &___m_cultureData_28; }
inline void set_m_cultureData_28(CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * value)
{
___m_cultureData_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_cultureData_28), (void*)value);
}
inline static int32_t get_offset_of_m_isInherited_29() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_isInherited_29)); }
inline bool get_m_isInherited_29() const { return ___m_isInherited_29; }
inline bool* get_address_of_m_isInherited_29() { return &___m_isInherited_29; }
inline void set_m_isInherited_29(bool value)
{
___m_isInherited_29 = value;
}
};
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields
{
public:
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::invariant_culture_info
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___invariant_culture_info_0;
// System.Object System.Globalization.CultureInfo::shared_table_lock
RuntimeObject * ___shared_table_lock_1;
// System.Globalization.CultureInfo System.Globalization.CultureInfo::default_current_culture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___default_current_culture_2;
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentUICulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___s_DefaultThreadCurrentUICulture_33;
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentCulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___s_DefaultThreadCurrentCulture_34;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_number
Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * ___shared_by_number_35;
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_name
Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * ___shared_by_name_36;
// System.Boolean System.Globalization.CultureInfo::IsTaiwanSku
bool ___IsTaiwanSku_37;
public:
inline static int32_t get_offset_of_invariant_culture_info_0() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___invariant_culture_info_0)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_invariant_culture_info_0() const { return ___invariant_culture_info_0; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_invariant_culture_info_0() { return &___invariant_culture_info_0; }
inline void set_invariant_culture_info_0(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___invariant_culture_info_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___invariant_culture_info_0), (void*)value);
}
inline static int32_t get_offset_of_shared_table_lock_1() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_table_lock_1)); }
inline RuntimeObject * get_shared_table_lock_1() const { return ___shared_table_lock_1; }
inline RuntimeObject ** get_address_of_shared_table_lock_1() { return &___shared_table_lock_1; }
inline void set_shared_table_lock_1(RuntimeObject * value)
{
___shared_table_lock_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_table_lock_1), (void*)value);
}
inline static int32_t get_offset_of_default_current_culture_2() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___default_current_culture_2)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_default_current_culture_2() const { return ___default_current_culture_2; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_default_current_culture_2() { return &___default_current_culture_2; }
inline void set_default_current_culture_2(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___default_current_culture_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___default_current_culture_2), (void*)value);
}
inline static int32_t get_offset_of_s_DefaultThreadCurrentUICulture_33() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___s_DefaultThreadCurrentUICulture_33)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_s_DefaultThreadCurrentUICulture_33() const { return ___s_DefaultThreadCurrentUICulture_33; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_s_DefaultThreadCurrentUICulture_33() { return &___s_DefaultThreadCurrentUICulture_33; }
inline void set_s_DefaultThreadCurrentUICulture_33(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___s_DefaultThreadCurrentUICulture_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultThreadCurrentUICulture_33), (void*)value);
}
inline static int32_t get_offset_of_s_DefaultThreadCurrentCulture_34() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___s_DefaultThreadCurrentCulture_34)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_s_DefaultThreadCurrentCulture_34() const { return ___s_DefaultThreadCurrentCulture_34; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_s_DefaultThreadCurrentCulture_34() { return &___s_DefaultThreadCurrentCulture_34; }
inline void set_s_DefaultThreadCurrentCulture_34(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___s_DefaultThreadCurrentCulture_34 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultThreadCurrentCulture_34), (void*)value);
}
inline static int32_t get_offset_of_shared_by_number_35() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_by_number_35)); }
inline Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * get_shared_by_number_35() const { return ___shared_by_number_35; }
inline Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B ** get_address_of_shared_by_number_35() { return &___shared_by_number_35; }
inline void set_shared_by_number_35(Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * value)
{
___shared_by_number_35 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_by_number_35), (void*)value);
}
inline static int32_t get_offset_of_shared_by_name_36() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_by_name_36)); }
inline Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * get_shared_by_name_36() const { return ___shared_by_name_36; }
inline Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 ** get_address_of_shared_by_name_36() { return &___shared_by_name_36; }
inline void set_shared_by_name_36(Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * value)
{
___shared_by_name_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_by_name_36), (void*)value);
}
inline static int32_t get_offset_of_IsTaiwanSku_37() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___IsTaiwanSku_37)); }
inline bool get_IsTaiwanSku_37() const { return ___IsTaiwanSku_37; }
inline bool* get_address_of_IsTaiwanSku_37() { return &___IsTaiwanSku_37; }
inline void set_IsTaiwanSku_37(bool value)
{
___IsTaiwanSku_37 = value;
}
};
// Native definition for P/Invoke marshalling of System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke
{
int32_t ___m_isReadOnly_3;
int32_t ___cultureID_4;
int32_t ___parent_lcid_5;
int32_t ___datetime_index_6;
int32_t ___number_index_7;
int32_t ___default_calendar_type_8;
int32_t ___m_useUserOverride_9;
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
char* ___m_name_13;
char* ___englishname_14;
char* ___nativename_15;
char* ___iso3lang_16;
char* ___iso2lang_17;
char* ___win3lang_18;
char* ___territory_19;
char** ___native_calendar_names_20;
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
void* ___textinfo_data_22;
int32_t ___m_dataItem_23;
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke* ___parent_culture_25;
int32_t ___constructed_26;
Il2CppSafeArray/*I1*/* ___cached_serialized_form_27;
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_pinvoke* ___m_cultureData_28;
int32_t ___m_isInherited_29;
};
// Native definition for COM marshalling of System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com
{
int32_t ___m_isReadOnly_3;
int32_t ___cultureID_4;
int32_t ___parent_lcid_5;
int32_t ___datetime_index_6;
int32_t ___number_index_7;
int32_t ___default_calendar_type_8;
int32_t ___m_useUserOverride_9;
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
Il2CppChar* ___m_name_13;
Il2CppChar* ___englishname_14;
Il2CppChar* ___nativename_15;
Il2CppChar* ___iso3lang_16;
Il2CppChar* ___iso2lang_17;
Il2CppChar* ___win3lang_18;
Il2CppChar* ___territory_19;
Il2CppChar** ___native_calendar_names_20;
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
void* ___textinfo_data_22;
int32_t ___m_dataItem_23;
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com* ___parent_culture_25;
int32_t ___constructed_26;
Il2CppSafeArray/*I1*/* ___cached_serialized_form_27;
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_com* ___m_cultureData_28;
int32_t ___m_isInherited_29;
};
// System.IO.Path
struct Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752 : public RuntimeObject
{
public:
public:
};
struct Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields
{
public:
// System.Char[] System.IO.Path::InvalidPathChars
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___InvalidPathChars_0;
// System.Char System.IO.Path::AltDirectorySeparatorChar
Il2CppChar ___AltDirectorySeparatorChar_1;
// System.Char System.IO.Path::DirectorySeparatorChar
Il2CppChar ___DirectorySeparatorChar_2;
// System.Char System.IO.Path::PathSeparator
Il2CppChar ___PathSeparator_3;
// System.String System.IO.Path::DirectorySeparatorStr
String_t* ___DirectorySeparatorStr_4;
// System.Char System.IO.Path::VolumeSeparatorChar
Il2CppChar ___VolumeSeparatorChar_5;
// System.Char[] System.IO.Path::PathSeparatorChars
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___PathSeparatorChars_6;
// System.Boolean System.IO.Path::dirEqualsVolume
bool ___dirEqualsVolume_7;
// System.Char[] System.IO.Path::trimEndCharsWindows
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___trimEndCharsWindows_8;
// System.Char[] System.IO.Path::trimEndCharsUnix
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___trimEndCharsUnix_9;
public:
inline static int32_t get_offset_of_InvalidPathChars_0() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___InvalidPathChars_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_InvalidPathChars_0() const { return ___InvalidPathChars_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_InvalidPathChars_0() { return &___InvalidPathChars_0; }
inline void set_InvalidPathChars_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___InvalidPathChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___InvalidPathChars_0), (void*)value);
}
inline static int32_t get_offset_of_AltDirectorySeparatorChar_1() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___AltDirectorySeparatorChar_1)); }
inline Il2CppChar get_AltDirectorySeparatorChar_1() const { return ___AltDirectorySeparatorChar_1; }
inline Il2CppChar* get_address_of_AltDirectorySeparatorChar_1() { return &___AltDirectorySeparatorChar_1; }
inline void set_AltDirectorySeparatorChar_1(Il2CppChar value)
{
___AltDirectorySeparatorChar_1 = value;
}
inline static int32_t get_offset_of_DirectorySeparatorChar_2() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___DirectorySeparatorChar_2)); }
inline Il2CppChar get_DirectorySeparatorChar_2() const { return ___DirectorySeparatorChar_2; }
inline Il2CppChar* get_address_of_DirectorySeparatorChar_2() { return &___DirectorySeparatorChar_2; }
inline void set_DirectorySeparatorChar_2(Il2CppChar value)
{
___DirectorySeparatorChar_2 = value;
}
inline static int32_t get_offset_of_PathSeparator_3() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___PathSeparator_3)); }
inline Il2CppChar get_PathSeparator_3() const { return ___PathSeparator_3; }
inline Il2CppChar* get_address_of_PathSeparator_3() { return &___PathSeparator_3; }
inline void set_PathSeparator_3(Il2CppChar value)
{
___PathSeparator_3 = value;
}
inline static int32_t get_offset_of_DirectorySeparatorStr_4() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___DirectorySeparatorStr_4)); }
inline String_t* get_DirectorySeparatorStr_4() const { return ___DirectorySeparatorStr_4; }
inline String_t** get_address_of_DirectorySeparatorStr_4() { return &___DirectorySeparatorStr_4; }
inline void set_DirectorySeparatorStr_4(String_t* value)
{
___DirectorySeparatorStr_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DirectorySeparatorStr_4), (void*)value);
}
inline static int32_t get_offset_of_VolumeSeparatorChar_5() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___VolumeSeparatorChar_5)); }
inline Il2CppChar get_VolumeSeparatorChar_5() const { return ___VolumeSeparatorChar_5; }
inline Il2CppChar* get_address_of_VolumeSeparatorChar_5() { return &___VolumeSeparatorChar_5; }
inline void set_VolumeSeparatorChar_5(Il2CppChar value)
{
___VolumeSeparatorChar_5 = value;
}
inline static int32_t get_offset_of_PathSeparatorChars_6() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___PathSeparatorChars_6)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_PathSeparatorChars_6() const { return ___PathSeparatorChars_6; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_PathSeparatorChars_6() { return &___PathSeparatorChars_6; }
inline void set_PathSeparatorChars_6(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___PathSeparatorChars_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PathSeparatorChars_6), (void*)value);
}
inline static int32_t get_offset_of_dirEqualsVolume_7() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___dirEqualsVolume_7)); }
inline bool get_dirEqualsVolume_7() const { return ___dirEqualsVolume_7; }
inline bool* get_address_of_dirEqualsVolume_7() { return &___dirEqualsVolume_7; }
inline void set_dirEqualsVolume_7(bool value)
{
___dirEqualsVolume_7 = value;
}
inline static int32_t get_offset_of_trimEndCharsWindows_8() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___trimEndCharsWindows_8)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_trimEndCharsWindows_8() const { return ___trimEndCharsWindows_8; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_trimEndCharsWindows_8() { return &___trimEndCharsWindows_8; }
inline void set_trimEndCharsWindows_8(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___trimEndCharsWindows_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___trimEndCharsWindows_8), (void*)value);
}
inline static int32_t get_offset_of_trimEndCharsUnix_9() { return static_cast<int32_t>(offsetof(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields, ___trimEndCharsUnix_9)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_trimEndCharsUnix_9() const { return ___trimEndCharsUnix_9; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_trimEndCharsUnix_9() { return &___trimEndCharsUnix_9; }
inline void set_trimEndCharsUnix_9(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___trimEndCharsUnix_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___trimEndCharsUnix_9), (void*)value);
}
};
// System.MarshalByRefObject
struct MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF : public RuntimeObject
{
public:
// System.Object System.MarshalByRefObject::_identity
RuntimeObject * ____identity_0;
public:
inline static int32_t get_offset_of__identity_0() { return static_cast<int32_t>(offsetof(MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF, ____identity_0)); }
inline RuntimeObject * get__identity_0() const { return ____identity_0; }
inline RuntimeObject ** get_address_of__identity_0() { return &____identity_0; }
inline void set__identity_0(RuntimeObject * value)
{
____identity_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____identity_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MarshalByRefObject
struct MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_pinvoke
{
Il2CppIUnknown* ____identity_0;
};
// Native definition for COM marshalling of System.MarshalByRefObject
struct MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_com
{
Il2CppIUnknown* ____identity_0;
};
// System.Random
struct Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F : public RuntimeObject
{
public:
// System.Int32 System.Random::inext
int32_t ___inext_0;
// System.Int32 System.Random::inextp
int32_t ___inextp_1;
// System.Int32[] System.Random::SeedArray
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___SeedArray_2;
public:
inline static int32_t get_offset_of_inext_0() { return static_cast<int32_t>(offsetof(Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F, ___inext_0)); }
inline int32_t get_inext_0() const { return ___inext_0; }
inline int32_t* get_address_of_inext_0() { return &___inext_0; }
inline void set_inext_0(int32_t value)
{
___inext_0 = value;
}
inline static int32_t get_offset_of_inextp_1() { return static_cast<int32_t>(offsetof(Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F, ___inextp_1)); }
inline int32_t get_inextp_1() const { return ___inextp_1; }
inline int32_t* get_address_of_inextp_1() { return &___inextp_1; }
inline void set_inextp_1(int32_t value)
{
___inextp_1 = value;
}
inline static int32_t get_offset_of_SeedArray_2() { return static_cast<int32_t>(offsetof(Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F, ___SeedArray_2)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_SeedArray_2() const { return ___SeedArray_2; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_SeedArray_2() { return &___SeedArray_2; }
inline void set_SeedArray_2(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___SeedArray_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SeedArray_2), (void*)value);
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Threading.Tasks.TaskScheduler,System.Object>
struct ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C : public RuntimeObject
{
public:
// System.Runtime.CompilerServices.Ephemeron[] System.Runtime.CompilerServices.ConditionalWeakTable`2::data
EphemeronU5BU5D_t575534899E3EE9D8B85CAF11342BA22D164C7C10* ___data_0;
// System.Object System.Runtime.CompilerServices.ConditionalWeakTable`2::_lock
RuntimeObject * ____lock_1;
// System.Int32 System.Runtime.CompilerServices.ConditionalWeakTable`2::size
int32_t ___size_2;
public:
inline static int32_t get_offset_of_data_0() { return static_cast<int32_t>(offsetof(ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C, ___data_0)); }
inline EphemeronU5BU5D_t575534899E3EE9D8B85CAF11342BA22D164C7C10* get_data_0() const { return ___data_0; }
inline EphemeronU5BU5D_t575534899E3EE9D8B85CAF11342BA22D164C7C10** get_address_of_data_0() { return &___data_0; }
inline void set_data_0(EphemeronU5BU5D_t575534899E3EE9D8B85CAF11342BA22D164C7C10* value)
{
___data_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_0), (void*)value);
}
inline static int32_t get_offset_of__lock_1() { return static_cast<int32_t>(offsetof(ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C, ____lock_1)); }
inline RuntimeObject * get__lock_1() const { return ____lock_1; }
inline RuntimeObject ** get_address_of__lock_1() { return &____lock_1; }
inline void set__lock_1(RuntimeObject * value)
{
____lock_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____lock_1), (void*)value);
}
inline static int32_t get_offset_of_size_2() { return static_cast<int32_t>(offsetof(ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C, ___size_2)); }
inline int32_t get_size_2() const { return ___size_2; }
inline int32_t* get_address_of_size_2() { return &___size_2; }
inline void set_size_2(int32_t value)
{
___size_2 = value;
}
};
// System.Runtime.ConstrainedExecution.CriticalFinalizerObject
struct CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9 : public RuntimeObject
{
public:
public:
};
// System.Runtime.ExceptionServices.ExceptionDispatchInfo
struct ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A : public RuntimeObject
{
public:
// System.Exception System.Runtime.ExceptionServices.ExceptionDispatchInfo::m_Exception
Exception_t * ___m_Exception_0;
// System.Object System.Runtime.ExceptionServices.ExceptionDispatchInfo::m_stackTrace
RuntimeObject * ___m_stackTrace_1;
public:
inline static int32_t get_offset_of_m_Exception_0() { return static_cast<int32_t>(offsetof(ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A, ___m_Exception_0)); }
inline Exception_t * get_m_Exception_0() const { return ___m_Exception_0; }
inline Exception_t ** get_address_of_m_Exception_0() { return &___m_Exception_0; }
inline void set_m_Exception_0(Exception_t * value)
{
___m_Exception_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Exception_0), (void*)value);
}
inline static int32_t get_offset_of_m_stackTrace_1() { return static_cast<int32_t>(offsetof(ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A, ___m_stackTrace_1)); }
inline RuntimeObject * get_m_stackTrace_1() const { return ___m_stackTrace_1; }
inline RuntimeObject ** get_address_of_m_stackTrace_1() { return &___m_stackTrace_1; }
inline void set_m_stackTrace_1(RuntimeObject * value)
{
___m_stackTrace_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_stackTrace_1), (void*)value);
}
};
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 : public RuntimeObject
{
public:
// System.String[] System.Runtime.Serialization.SerializationInfo::m_members
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___m_members_3;
// System.Object[] System.Runtime.Serialization.SerializationInfo::m_data
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___m_data_4;
// System.Type[] System.Runtime.Serialization.SerializationInfo::m_types
TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* ___m_types_5;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Runtime.Serialization.SerializationInfo::m_nameToIndex
Dictionary_2_tD6E204872BA9FD506A0287EF68E285BEB9EC0DFB * ___m_nameToIndex_6;
// System.Int32 System.Runtime.Serialization.SerializationInfo::m_currMember
int32_t ___m_currMember_7;
// System.Runtime.Serialization.IFormatterConverter System.Runtime.Serialization.SerializationInfo::m_converter
RuntimeObject* ___m_converter_8;
// System.String System.Runtime.Serialization.SerializationInfo::m_fullTypeName
String_t* ___m_fullTypeName_9;
// System.String System.Runtime.Serialization.SerializationInfo::m_assemName
String_t* ___m_assemName_10;
// System.Type System.Runtime.Serialization.SerializationInfo::objectType
Type_t * ___objectType_11;
// System.Boolean System.Runtime.Serialization.SerializationInfo::isFullTypeNameSetExplicit
bool ___isFullTypeNameSetExplicit_12;
// System.Boolean System.Runtime.Serialization.SerializationInfo::isAssemblyNameSetExplicit
bool ___isAssemblyNameSetExplicit_13;
// System.Boolean System.Runtime.Serialization.SerializationInfo::requireSameTokenInPartialTrust
bool ___requireSameTokenInPartialTrust_14;
public:
inline static int32_t get_offset_of_m_members_3() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_members_3)); }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* get_m_members_3() const { return ___m_members_3; }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** get_address_of_m_members_3() { return &___m_members_3; }
inline void set_m_members_3(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* value)
{
___m_members_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_members_3), (void*)value);
}
inline static int32_t get_offset_of_m_data_4() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_data_4)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_m_data_4() const { return ___m_data_4; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_m_data_4() { return &___m_data_4; }
inline void set_m_data_4(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___m_data_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_data_4), (void*)value);
}
inline static int32_t get_offset_of_m_types_5() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_types_5)); }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* get_m_types_5() const { return ___m_types_5; }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F** get_address_of_m_types_5() { return &___m_types_5; }
inline void set_m_types_5(TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* value)
{
___m_types_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_types_5), (void*)value);
}
inline static int32_t get_offset_of_m_nameToIndex_6() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_nameToIndex_6)); }
inline Dictionary_2_tD6E204872BA9FD506A0287EF68E285BEB9EC0DFB * get_m_nameToIndex_6() const { return ___m_nameToIndex_6; }
inline Dictionary_2_tD6E204872BA9FD506A0287EF68E285BEB9EC0DFB ** get_address_of_m_nameToIndex_6() { return &___m_nameToIndex_6; }
inline void set_m_nameToIndex_6(Dictionary_2_tD6E204872BA9FD506A0287EF68E285BEB9EC0DFB * value)
{
___m_nameToIndex_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_nameToIndex_6), (void*)value);
}
inline static int32_t get_offset_of_m_currMember_7() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_currMember_7)); }
inline int32_t get_m_currMember_7() const { return ___m_currMember_7; }
inline int32_t* get_address_of_m_currMember_7() { return &___m_currMember_7; }
inline void set_m_currMember_7(int32_t value)
{
___m_currMember_7 = value;
}
inline static int32_t get_offset_of_m_converter_8() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_converter_8)); }
inline RuntimeObject* get_m_converter_8() const { return ___m_converter_8; }
inline RuntimeObject** get_address_of_m_converter_8() { return &___m_converter_8; }
inline void set_m_converter_8(RuntimeObject* value)
{
___m_converter_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_converter_8), (void*)value);
}
inline static int32_t get_offset_of_m_fullTypeName_9() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_fullTypeName_9)); }
inline String_t* get_m_fullTypeName_9() const { return ___m_fullTypeName_9; }
inline String_t** get_address_of_m_fullTypeName_9() { return &___m_fullTypeName_9; }
inline void set_m_fullTypeName_9(String_t* value)
{
___m_fullTypeName_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_fullTypeName_9), (void*)value);
}
inline static int32_t get_offset_of_m_assemName_10() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___m_assemName_10)); }
inline String_t* get_m_assemName_10() const { return ___m_assemName_10; }
inline String_t** get_address_of_m_assemName_10() { return &___m_assemName_10; }
inline void set_m_assemName_10(String_t* value)
{
___m_assemName_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_assemName_10), (void*)value);
}
inline static int32_t get_offset_of_objectType_11() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___objectType_11)); }
inline Type_t * get_objectType_11() const { return ___objectType_11; }
inline Type_t ** get_address_of_objectType_11() { return &___objectType_11; }
inline void set_objectType_11(Type_t * value)
{
___objectType_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___objectType_11), (void*)value);
}
inline static int32_t get_offset_of_isFullTypeNameSetExplicit_12() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___isFullTypeNameSetExplicit_12)); }
inline bool get_isFullTypeNameSetExplicit_12() const { return ___isFullTypeNameSetExplicit_12; }
inline bool* get_address_of_isFullTypeNameSetExplicit_12() { return &___isFullTypeNameSetExplicit_12; }
inline void set_isFullTypeNameSetExplicit_12(bool value)
{
___isFullTypeNameSetExplicit_12 = value;
}
inline static int32_t get_offset_of_isAssemblyNameSetExplicit_13() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___isAssemblyNameSetExplicit_13)); }
inline bool get_isAssemblyNameSetExplicit_13() const { return ___isAssemblyNameSetExplicit_13; }
inline bool* get_address_of_isAssemblyNameSetExplicit_13() { return &___isAssemblyNameSetExplicit_13; }
inline void set_isAssemblyNameSetExplicit_13(bool value)
{
___isAssemblyNameSetExplicit_13 = value;
}
inline static int32_t get_offset_of_requireSameTokenInPartialTrust_14() { return static_cast<int32_t>(offsetof(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26, ___requireSameTokenInPartialTrust_14)); }
inline bool get_requireSameTokenInPartialTrust_14() const { return ___requireSameTokenInPartialTrust_14; }
inline bool* get_address_of_requireSameTokenInPartialTrust_14() { return &___requireSameTokenInPartialTrust_14; }
inline void set_requireSameTokenInPartialTrust_14(bool value)
{
___requireSameTokenInPartialTrust_14 = value;
}
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.Text.Encoding
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::m_codePage
int32_t ___m_codePage_9;
// System.Globalization.CodePageDataItem System.Text.Encoding::dataItem
CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * ___dataItem_10;
// System.Boolean System.Text.Encoding::m_deserializedFromEverett
bool ___m_deserializedFromEverett_11;
// System.Boolean System.Text.Encoding::m_isReadOnly
bool ___m_isReadOnly_12;
// System.Text.EncoderFallback System.Text.Encoding::encoderFallback
EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * ___encoderFallback_13;
// System.Text.DecoderFallback System.Text.Encoding::decoderFallback
DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * ___decoderFallback_14;
public:
inline static int32_t get_offset_of_m_codePage_9() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_codePage_9)); }
inline int32_t get_m_codePage_9() const { return ___m_codePage_9; }
inline int32_t* get_address_of_m_codePage_9() { return &___m_codePage_9; }
inline void set_m_codePage_9(int32_t value)
{
___m_codePage_9 = value;
}
inline static int32_t get_offset_of_dataItem_10() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___dataItem_10)); }
inline CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * get_dataItem_10() const { return ___dataItem_10; }
inline CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB ** get_address_of_dataItem_10() { return &___dataItem_10; }
inline void set_dataItem_10(CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * value)
{
___dataItem_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dataItem_10), (void*)value);
}
inline static int32_t get_offset_of_m_deserializedFromEverett_11() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_deserializedFromEverett_11)); }
inline bool get_m_deserializedFromEverett_11() const { return ___m_deserializedFromEverett_11; }
inline bool* get_address_of_m_deserializedFromEverett_11() { return &___m_deserializedFromEverett_11; }
inline void set_m_deserializedFromEverett_11(bool value)
{
___m_deserializedFromEverett_11 = value;
}
inline static int32_t get_offset_of_m_isReadOnly_12() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_isReadOnly_12)); }
inline bool get_m_isReadOnly_12() const { return ___m_isReadOnly_12; }
inline bool* get_address_of_m_isReadOnly_12() { return &___m_isReadOnly_12; }
inline void set_m_isReadOnly_12(bool value)
{
___m_isReadOnly_12 = value;
}
inline static int32_t get_offset_of_encoderFallback_13() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___encoderFallback_13)); }
inline EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * get_encoderFallback_13() const { return ___encoderFallback_13; }
inline EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 ** get_address_of_encoderFallback_13() { return &___encoderFallback_13; }
inline void set_encoderFallback_13(EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * value)
{
___encoderFallback_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encoderFallback_13), (void*)value);
}
inline static int32_t get_offset_of_decoderFallback_14() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___decoderFallback_14)); }
inline DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * get_decoderFallback_14() const { return ___decoderFallback_14; }
inline DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 ** get_address_of_decoderFallback_14() { return &___decoderFallback_14; }
inline void set_decoderFallback_14(DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * value)
{
___decoderFallback_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___decoderFallback_14), (void*)value);
}
};
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields
{
public:
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___defaultEncoding_0;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___unicodeEncoding_1;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUnicode
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___bigEndianUnicode_2;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf7Encoding_3;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf8Encoding_4;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf32Encoding_5;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___asciiEncoding_6;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::latin1Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___latin1Encoding_7;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::encodings
Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * ___encodings_8;
// System.Object System.Text.Encoding::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_15;
public:
inline static int32_t get_offset_of_defaultEncoding_0() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___defaultEncoding_0)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_defaultEncoding_0() const { return ___defaultEncoding_0; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_defaultEncoding_0() { return &___defaultEncoding_0; }
inline void set_defaultEncoding_0(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___defaultEncoding_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultEncoding_0), (void*)value);
}
inline static int32_t get_offset_of_unicodeEncoding_1() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___unicodeEncoding_1)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_unicodeEncoding_1() const { return ___unicodeEncoding_1; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_unicodeEncoding_1() { return &___unicodeEncoding_1; }
inline void set_unicodeEncoding_1(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___unicodeEncoding_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___unicodeEncoding_1), (void*)value);
}
inline static int32_t get_offset_of_bigEndianUnicode_2() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___bigEndianUnicode_2)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_bigEndianUnicode_2() const { return ___bigEndianUnicode_2; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_bigEndianUnicode_2() { return &___bigEndianUnicode_2; }
inline void set_bigEndianUnicode_2(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___bigEndianUnicode_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___bigEndianUnicode_2), (void*)value);
}
inline static int32_t get_offset_of_utf7Encoding_3() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf7Encoding_3)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf7Encoding_3() const { return ___utf7Encoding_3; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf7Encoding_3() { return &___utf7Encoding_3; }
inline void set_utf7Encoding_3(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf7Encoding_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf7Encoding_3), (void*)value);
}
inline static int32_t get_offset_of_utf8Encoding_4() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf8Encoding_4)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf8Encoding_4() const { return ___utf8Encoding_4; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf8Encoding_4() { return &___utf8Encoding_4; }
inline void set_utf8Encoding_4(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf8Encoding_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf8Encoding_4), (void*)value);
}
inline static int32_t get_offset_of_utf32Encoding_5() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf32Encoding_5)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf32Encoding_5() const { return ___utf32Encoding_5; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf32Encoding_5() { return &___utf32Encoding_5; }
inline void set_utf32Encoding_5(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf32Encoding_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf32Encoding_5), (void*)value);
}
inline static int32_t get_offset_of_asciiEncoding_6() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___asciiEncoding_6)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_asciiEncoding_6() const { return ___asciiEncoding_6; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_asciiEncoding_6() { return &___asciiEncoding_6; }
inline void set_asciiEncoding_6(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___asciiEncoding_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___asciiEncoding_6), (void*)value);
}
inline static int32_t get_offset_of_latin1Encoding_7() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___latin1Encoding_7)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_latin1Encoding_7() const { return ___latin1Encoding_7; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_latin1Encoding_7() { return &___latin1Encoding_7; }
inline void set_latin1Encoding_7(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___latin1Encoding_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___latin1Encoding_7), (void*)value);
}
inline static int32_t get_offset_of_encodings_8() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___encodings_8)); }
inline Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * get_encodings_8() const { return ___encodings_8; }
inline Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 ** get_address_of_encodings_8() { return &___encodings_8; }
inline void set_encodings_8(Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * value)
{
___encodings_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encodings_8), (void*)value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_15() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___s_InternalSyncObject_15)); }
inline RuntimeObject * get_s_InternalSyncObject_15() const { return ___s_InternalSyncObject_15; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_15() { return &___s_InternalSyncObject_15; }
inline void set_s_InternalSyncObject_15(RuntimeObject * value)
{
___s_InternalSyncObject_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_InternalSyncObject_15), (void*)value);
}
};
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___m_ChunkChars_0;
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
StringBuilder_t * ___m_ChunkPrevious_1;
// System.Int32 System.Text.StringBuilder::m_ChunkLength
int32_t ___m_ChunkLength_2;
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
int32_t ___m_ChunkOffset_3;
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
int32_t ___m_MaxCapacity_4;
public:
inline static int32_t get_offset_of_m_ChunkChars_0() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkChars_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkChars_0), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkPrevious_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkPrevious_1)); }
inline StringBuilder_t * get_m_ChunkPrevious_1() const { return ___m_ChunkPrevious_1; }
inline StringBuilder_t ** get_address_of_m_ChunkPrevious_1() { return &___m_ChunkPrevious_1; }
inline void set_m_ChunkPrevious_1(StringBuilder_t * value)
{
___m_ChunkPrevious_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkPrevious_1), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkLength_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkLength_2)); }
inline int32_t get_m_ChunkLength_2() const { return ___m_ChunkLength_2; }
inline int32_t* get_address_of_m_ChunkLength_2() { return &___m_ChunkLength_2; }
inline void set_m_ChunkLength_2(int32_t value)
{
___m_ChunkLength_2 = value;
}
inline static int32_t get_offset_of_m_ChunkOffset_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkOffset_3)); }
inline int32_t get_m_ChunkOffset_3() const { return ___m_ChunkOffset_3; }
inline int32_t* get_address_of_m_ChunkOffset_3() { return &___m_ChunkOffset_3; }
inline void set_m_ChunkOffset_3(int32_t value)
{
___m_ChunkOffset_3 = value;
}
inline static int32_t get_offset_of_m_MaxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_MaxCapacity_4)); }
inline int32_t get_m_MaxCapacity_4() const { return ___m_MaxCapacity_4; }
inline int32_t* get_address_of_m_MaxCapacity_4() { return &___m_MaxCapacity_4; }
inline void set_m_MaxCapacity_4(int32_t value)
{
___m_MaxCapacity_4 = value;
}
};
// System.Threading.QueueUserWorkItemCallback
struct QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 : public RuntimeObject
{
public:
// System.Threading.WaitCallback System.Threading.QueueUserWorkItemCallback::callback
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callback_0;
// System.Threading.ExecutionContext System.Threading.QueueUserWorkItemCallback::context
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___context_1;
// System.Object System.Threading.QueueUserWorkItemCallback::state
RuntimeObject * ___state_2;
public:
inline static int32_t get_offset_of_callback_0() { return static_cast<int32_t>(offsetof(QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8, ___callback_0)); }
inline WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * get_callback_0() const { return ___callback_0; }
inline WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC ** get_address_of_callback_0() { return &___callback_0; }
inline void set_callback_0(WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * value)
{
___callback_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callback_0), (void*)value);
}
inline static int32_t get_offset_of_context_1() { return static_cast<int32_t>(offsetof(QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8, ___context_1)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_context_1() const { return ___context_1; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_context_1() { return &___context_1; }
inline void set_context_1(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___context_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___context_1), (void*)value);
}
inline static int32_t get_offset_of_state_2() { return static_cast<int32_t>(offsetof(QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8, ___state_2)); }
inline RuntimeObject * get_state_2() const { return ___state_2; }
inline RuntimeObject ** get_address_of_state_2() { return &___state_2; }
inline void set_state_2(RuntimeObject * value)
{
___state_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___state_2), (void*)value);
}
};
struct QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8_StaticFields
{
public:
// System.Threading.ContextCallback System.Threading.QueueUserWorkItemCallback::ccb
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___ccb_3;
public:
inline static int32_t get_offset_of_ccb_3() { return static_cast<int32_t>(offsetof(QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8_StaticFields, ___ccb_3)); }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * get_ccb_3() const { return ___ccb_3; }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 ** get_address_of_ccb_3() { return &___ccb_3; }
inline void set_ccb_3(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * value)
{
___ccb_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ccb_3), (void*)value);
}
};
// System.Threading.Tasks.CompletionActionInvoker
struct CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C : public RuntimeObject
{
public:
// System.Threading.Tasks.ITaskCompletionAction System.Threading.Tasks.CompletionActionInvoker::m_action
RuntimeObject* ___m_action_0;
// System.Threading.Tasks.Task System.Threading.Tasks.CompletionActionInvoker::m_completingTask
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_completingTask_1;
public:
inline static int32_t get_offset_of_m_action_0() { return static_cast<int32_t>(offsetof(CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C, ___m_action_0)); }
inline RuntimeObject* get_m_action_0() const { return ___m_action_0; }
inline RuntimeObject** get_address_of_m_action_0() { return &___m_action_0; }
inline void set_m_action_0(RuntimeObject* value)
{
___m_action_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_action_0), (void*)value);
}
inline static int32_t get_offset_of_m_completingTask_1() { return static_cast<int32_t>(offsetof(CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C, ___m_completingTask_1)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_completingTask_1() const { return ___m_completingTask_1; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_completingTask_1() { return &___m_completingTask_1; }
inline void set_m_completingTask_1(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_completingTask_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_completingTask_1), (void*)value);
}
};
// System.Threading.Tasks.StackGuard
struct StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 : public RuntimeObject
{
public:
// System.Int32 System.Threading.Tasks.StackGuard::m_inliningDepth
int32_t ___m_inliningDepth_0;
public:
inline static int32_t get_offset_of_m_inliningDepth_0() { return static_cast<int32_t>(offsetof(StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9, ___m_inliningDepth_0)); }
inline int32_t get_m_inliningDepth_0() const { return ___m_inliningDepth_0; }
inline int32_t* get_address_of_m_inliningDepth_0() { return &___m_inliningDepth_0; }
inline void set_m_inliningDepth_0(int32_t value)
{
___m_inliningDepth_0 = value;
}
};
// System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c
struct U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_StaticFields
{
public:
// System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c::<>9
U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * ___U3CU3E9_0;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
};
// System.Threading.Tasks.SystemThreadingTasks_TaskDebugView
struct SystemThreadingTasks_TaskDebugView_t89502E48AE74124AD0E88BB0E47F05B5FF16FF03 : public RuntimeObject
{
public:
public:
};
// System.Threading.Tasks.Task_<>c
struct U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields
{
public:
// System.Threading.Tasks.Task_<>c System.Threading.Tasks.Task_<>c::<>9
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * ___U3CU3E9_0;
// System.Action`1<System.Object> System.Threading.Tasks.Task_<>c::<>9__276_0
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___U3CU3E9__276_0_1;
// System.Threading.TimerCallback System.Threading.Tasks.Task_<>c::<>9__276_1
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___U3CU3E9__276_1_2;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__276_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields, ___U3CU3E9__276_0_1)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_U3CU3E9__276_0_1() const { return ___U3CU3E9__276_0_1; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_U3CU3E9__276_0_1() { return &___U3CU3E9__276_0_1; }
inline void set_U3CU3E9__276_0_1(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___U3CU3E9__276_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__276_0_1), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__276_1_2() { return static_cast<int32_t>(offsetof(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields, ___U3CU3E9__276_1_2)); }
inline TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * get_U3CU3E9__276_1_2() const { return ___U3CU3E9__276_1_2; }
inline TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 ** get_address_of_U3CU3E9__276_1_2() { return &___U3CU3E9__276_1_2; }
inline void set_U3CU3E9__276_1_2(TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * value)
{
___U3CU3E9__276_1_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__276_1_2), (void*)value);
}
};
// System.Threading.Tasks.TaskContinuation
struct TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 : public RuntimeObject
{
public:
public:
};
// System.Threading.Tasks.TaskScheduler_SystemThreadingTasks_TaskSchedulerDebugView
struct SystemThreadingTasks_TaskSchedulerDebugView_t8F5F95CF99AF4467931D7235A3574ADAD41276CD : public RuntimeObject
{
public:
public:
};
// System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c
struct U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields
{
public:
// System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c::<>9
U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * ___U3CU3E9_0;
// System.Action`1<System.Object> System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c::<>9__2_0
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___U3CU3E9__2_0_1;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__2_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields, ___U3CU3E9__2_0_1)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_U3CU3E9__2_0_1() const { return ___U3CU3E9__2_0_1; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_U3CU3E9__2_0_1() { return &___U3CU3E9__2_0_1; }
inline void set_U3CU3E9__2_0_1(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___U3CU3E9__2_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__2_0_1), (void*)value);
}
};
// System.Threading.Tasks.TaskToApm
struct TaskToApm_tF25594732C9CF1F3AB4F2D74381577956E6B271E : public RuntimeObject
{
public:
public:
};
// System.Threading.Tasks.TaskToApm_<>c__DisplayClass3_0
struct U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 : public RuntimeObject
{
public:
// System.AsyncCallback System.Threading.Tasks.TaskToApm_<>c__DisplayClass3_0::callback
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback_0;
// System.IAsyncResult System.Threading.Tasks.TaskToApm_<>c__DisplayClass3_0::asyncResult
RuntimeObject* ___asyncResult_1;
public:
inline static int32_t get_offset_of_callback_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86, ___callback_0)); }
inline AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * get_callback_0() const { return ___callback_0; }
inline AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 ** get_address_of_callback_0() { return &___callback_0; }
inline void set_callback_0(AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * value)
{
___callback_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callback_0), (void*)value);
}
inline static int32_t get_offset_of_asyncResult_1() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86, ___asyncResult_1)); }
inline RuntimeObject* get_asyncResult_1() const { return ___asyncResult_1; }
inline RuntimeObject** get_address_of_asyncResult_1() { return &___asyncResult_1; }
inline void set_asyncResult_1(RuntimeObject* value)
{
___asyncResult_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___asyncResult_1), (void*)value);
}
};
// System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult
struct TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE : public RuntimeObject
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::Task
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___Task_0;
// System.Object System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::m_state
RuntimeObject * ___m_state_1;
// System.Boolean System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::m_completedSynchronously
bool ___m_completedSynchronously_2;
public:
inline static int32_t get_offset_of_Task_0() { return static_cast<int32_t>(offsetof(TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE, ___Task_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_Task_0() const { return ___Task_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_Task_0() { return &___Task_0; }
inline void set_Task_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___Task_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Task_0), (void*)value);
}
inline static int32_t get_offset_of_m_state_1() { return static_cast<int32_t>(offsetof(TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE, ___m_state_1)); }
inline RuntimeObject * get_m_state_1() const { return ___m_state_1; }
inline RuntimeObject ** get_address_of_m_state_1() { return &___m_state_1; }
inline void set_m_state_1(RuntimeObject * value)
{
___m_state_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_state_1), (void*)value);
}
inline static int32_t get_offset_of_m_completedSynchronously_2() { return static_cast<int32_t>(offsetof(TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE, ___m_completedSynchronously_2)); }
inline bool get_m_completedSynchronously_2() const { return ___m_completedSynchronously_2; }
inline bool* get_address_of_m_completedSynchronously_2() { return &___m_completedSynchronously_2; }
inline void set_m_completedSynchronously_2(bool value)
{
___m_completedSynchronously_2 = value;
}
};
// System.Threading.ThreadHelper
struct ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 : public RuntimeObject
{
public:
// System.Delegate System.Threading.ThreadHelper::_start
Delegate_t * ____start_0;
// System.Object System.Threading.ThreadHelper::_startArg
RuntimeObject * ____startArg_1;
// System.Threading.ExecutionContext System.Threading.ThreadHelper::_executionContext
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ____executionContext_2;
public:
inline static int32_t get_offset_of__start_0() { return static_cast<int32_t>(offsetof(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13, ____start_0)); }
inline Delegate_t * get__start_0() const { return ____start_0; }
inline Delegate_t ** get_address_of__start_0() { return &____start_0; }
inline void set__start_0(Delegate_t * value)
{
____start_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____start_0), (void*)value);
}
inline static int32_t get_offset_of__startArg_1() { return static_cast<int32_t>(offsetof(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13, ____startArg_1)); }
inline RuntimeObject * get__startArg_1() const { return ____startArg_1; }
inline RuntimeObject ** get_address_of__startArg_1() { return &____startArg_1; }
inline void set__startArg_1(RuntimeObject * value)
{
____startArg_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____startArg_1), (void*)value);
}
inline static int32_t get_offset_of__executionContext_2() { return static_cast<int32_t>(offsetof(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13, ____executionContext_2)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get__executionContext_2() const { return ____executionContext_2; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of__executionContext_2() { return &____executionContext_2; }
inline void set__executionContext_2(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
____executionContext_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____executionContext_2), (void*)value);
}
};
struct ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_StaticFields
{
public:
// System.Threading.ContextCallback System.Threading.ThreadHelper::_ccb
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ____ccb_3;
public:
inline static int32_t get_offset_of__ccb_3() { return static_cast<int32_t>(offsetof(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_StaticFields, ____ccb_3)); }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * get__ccb_3() const { return ____ccb_3; }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 ** get_address_of__ccb_3() { return &____ccb_3; }
inline void set__ccb_3(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * value)
{
____ccb_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____ccb_3), (void*)value);
}
};
// System.Threading.ThreadPool
struct ThreadPool_tA1940F6FD1289A609CD56A807062A1045E69478E : public RuntimeObject
{
public:
public:
};
// System.Threading.ThreadPoolWorkQueue_SparseArray`1<System.Threading.ThreadPoolWorkQueue_WorkStealingQueue>
struct SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB : public RuntimeObject
{
public:
// T[] modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_SparseArray`1::m_array
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* ___m_array_0;
public:
inline static int32_t get_offset_of_m_array_0() { return static_cast<int32_t>(offsetof(SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB, ___m_array_0)); }
inline WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* get_m_array_0() const { return ___m_array_0; }
inline WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9** get_address_of_m_array_0() { return &___m_array_0; }
inline void set_m_array_0(WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* value)
{
___m_array_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_array_0), (void*)value);
}
};
// System.Threading.ThreadPoolWorkQueueThreadLocals
struct ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B : public RuntimeObject
{
public:
// System.Threading.ThreadPoolWorkQueue System.Threading.ThreadPoolWorkQueueThreadLocals::workQueue
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * ___workQueue_1;
// System.Threading.ThreadPoolWorkQueue_WorkStealingQueue System.Threading.ThreadPoolWorkQueueThreadLocals::workStealingQueue
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * ___workStealingQueue_2;
// System.Random System.Threading.ThreadPoolWorkQueueThreadLocals::random
Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * ___random_3;
public:
inline static int32_t get_offset_of_workQueue_1() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B, ___workQueue_1)); }
inline ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * get_workQueue_1() const { return ___workQueue_1; }
inline ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 ** get_address_of_workQueue_1() { return &___workQueue_1; }
inline void set_workQueue_1(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * value)
{
___workQueue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___workQueue_1), (void*)value);
}
inline static int32_t get_offset_of_workStealingQueue_2() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B, ___workStealingQueue_2)); }
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * get_workStealingQueue_2() const { return ___workStealingQueue_2; }
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB ** get_address_of_workStealingQueue_2() { return &___workStealingQueue_2; }
inline void set_workStealingQueue_2(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * value)
{
___workStealingQueue_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___workStealingQueue_2), (void*)value);
}
inline static int32_t get_offset_of_random_3() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B, ___random_3)); }
inline Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * get_random_3() const { return ___random_3; }
inline Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F ** get_address_of_random_3() { return &___random_3; }
inline void set_random_3(Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * value)
{
___random_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___random_3), (void*)value);
}
};
struct ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields
{
public:
// System.Threading.ThreadPoolWorkQueueThreadLocals System.Threading.ThreadPoolWorkQueueThreadLocals::threadLocals
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * ___threadLocals_0;
public:
inline static int32_t get_offset_of_threadLocals_0() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields, ___threadLocals_0)); }
inline ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * get_threadLocals_0() const { return ___threadLocals_0; }
inline ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B ** get_address_of_threadLocals_0() { return &___threadLocals_0; }
inline void set_threadLocals_0(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * value)
{
___threadLocals_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___threadLocals_0), (void*)value);
}
};
// System.Threading.TimeoutHelper
struct TimeoutHelper_t030E3625FF417D3C8315B20910298ECA96E4CDA2 : public RuntimeObject
{
public:
public:
};
// System.Threading.Timer_Scheduler
struct Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 : public RuntimeObject
{
public:
// System.Collections.SortedList System.Threading.Timer_Scheduler::list
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * ___list_1;
// System.Threading.ManualResetEvent System.Threading.Timer_Scheduler::changed
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * ___changed_2;
public:
inline static int32_t get_offset_of_list_1() { return static_cast<int32_t>(offsetof(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9, ___list_1)); }
inline SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * get_list_1() const { return ___list_1; }
inline SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E ** get_address_of_list_1() { return &___list_1; }
inline void set_list_1(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * value)
{
___list_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_1), (void*)value);
}
inline static int32_t get_offset_of_changed_2() { return static_cast<int32_t>(offsetof(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9, ___changed_2)); }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * get_changed_2() const { return ___changed_2; }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 ** get_address_of_changed_2() { return &___changed_2; }
inline void set_changed_2(ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * value)
{
___changed_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___changed_2), (void*)value);
}
};
struct Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_StaticFields
{
public:
// System.Threading.Timer_Scheduler System.Threading.Timer_Scheduler::instance
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * ___instance_0;
public:
inline static int32_t get_offset_of_instance_0() { return static_cast<int32_t>(offsetof(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_StaticFields, ___instance_0)); }
inline Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * get_instance_0() const { return ___instance_0; }
inline Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 ** get_address_of_instance_0() { return &___instance_0; }
inline void set_instance_0(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * value)
{
___instance_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___instance_0), (void*)value);
}
};
// System.Threading.Timer_TimerComparer
struct TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 : public RuntimeObject
{
public:
public:
};
// System.Threading.Volatile
struct Volatile_tE96815F4BB2ADA7D8E4005AD52AC020C22856632 : public RuntimeObject
{
public:
public:
};
// System.Threading._ThreadPoolWaitCallback
struct _ThreadPoolWaitCallback_t0EAB5D898EAAA9E2A32A89597F7230B8A0D92774 : public RuntimeObject
{
public:
public:
};
// System.ThrowHelper
struct ThrowHelper_t8065E62B9F6294DE13A825C979597A9746B6771B : public RuntimeObject
{
public:
public:
};
// System.TimeType
struct TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 : public RuntimeObject
{
public:
// System.Int32 System.TimeType::Offset
int32_t ___Offset_0;
// System.Boolean System.TimeType::IsDst
bool ___IsDst_1;
// System.String System.TimeType::Name
String_t* ___Name_2;
public:
inline static int32_t get_offset_of_Offset_0() { return static_cast<int32_t>(offsetof(TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9, ___Offset_0)); }
inline int32_t get_Offset_0() const { return ___Offset_0; }
inline int32_t* get_address_of_Offset_0() { return &___Offset_0; }
inline void set_Offset_0(int32_t value)
{
___Offset_0 = value;
}
inline static int32_t get_offset_of_IsDst_1() { return static_cast<int32_t>(offsetof(TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9, ___IsDst_1)); }
inline bool get_IsDst_1() const { return ___IsDst_1; }
inline bool* get_address_of_IsDst_1() { return &___IsDst_1; }
inline void set_IsDst_1(bool value)
{
___IsDst_1 = value;
}
inline static int32_t get_offset_of_Name_2() { return static_cast<int32_t>(offsetof(TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9, ___Name_2)); }
inline String_t* get_Name_2() const { return ___Name_2; }
inline String_t** get_address_of_Name_2() { return &___Name_2; }
inline void set_Name_2(String_t* value)
{
___Name_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Name_2), (void*)value);
}
};
// System.TimeZone
struct TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454 : public RuntimeObject
{
public:
public:
};
struct TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454_StaticFields
{
public:
// System.Object System.TimeZone::tz_lock
RuntimeObject * ___tz_lock_0;
public:
inline static int32_t get_offset_of_tz_lock_0() { return static_cast<int32_t>(offsetof(TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454_StaticFields, ___tz_lock_0)); }
inline RuntimeObject * get_tz_lock_0() const { return ___tz_lock_0; }
inline RuntimeObject ** get_address_of_tz_lock_0() { return &___tz_lock_0; }
inline void set_tz_lock_0(RuntimeObject * value)
{
___tz_lock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___tz_lock_0), (void*)value);
}
};
// System.TimeZoneInfo_<>c
struct U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields
{
public:
// System.TimeZoneInfo_<>c System.TimeZoneInfo_<>c::<>9
U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 * ___U3CU3E9_0;
// System.Comparison`1<System.TimeZoneInfo_AdjustmentRule> System.TimeZoneInfo_<>c::<>9__19_0
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * ___U3CU3E9__19_0_1;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__19_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields, ___U3CU3E9__19_0_1)); }
inline Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * get_U3CU3E9__19_0_1() const { return ___U3CU3E9__19_0_1; }
inline Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 ** get_address_of_U3CU3E9__19_0_1() { return &___U3CU3E9__19_0_1; }
inline void set_U3CU3E9__19_0_1(Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * value)
{
___U3CU3E9__19_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__19_0_1), (void*)value);
}
};
// System.Tuple`3<System.Object,System.Object,System.Object>
struct Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 : public RuntimeObject
{
public:
// T1 System.Tuple`3::m_Item1
RuntimeObject * ___m_Item1_0;
// T2 System.Tuple`3::m_Item2
RuntimeObject * ___m_Item2_1;
// T3 System.Tuple`3::m_Item3
RuntimeObject * ___m_Item3_2;
public:
inline static int32_t get_offset_of_m_Item1_0() { return static_cast<int32_t>(offsetof(Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9, ___m_Item1_0)); }
inline RuntimeObject * get_m_Item1_0() const { return ___m_Item1_0; }
inline RuntimeObject ** get_address_of_m_Item1_0() { return &___m_Item1_0; }
inline void set_m_Item1_0(RuntimeObject * value)
{
___m_Item1_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item1_0), (void*)value);
}
inline static int32_t get_offset_of_m_Item2_1() { return static_cast<int32_t>(offsetof(Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9, ___m_Item2_1)); }
inline RuntimeObject * get_m_Item2_1() const { return ___m_Item2_1; }
inline RuntimeObject ** get_address_of_m_Item2_1() { return &___m_Item2_1; }
inline void set_m_Item2_1(RuntimeObject * value)
{
___m_Item2_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item2_1), (void*)value);
}
inline static int32_t get_offset_of_m_Item3_2() { return static_cast<int32_t>(offsetof(Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9, ___m_Item3_2)); }
inline RuntimeObject * get_m_Item3_2() const { return ___m_Item3_2; }
inline RuntimeObject ** get_address_of_m_Item3_2() { return &___m_Item3_2; }
inline void set_m_Item3_2(RuntimeObject * value)
{
___m_Item3_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item3_2), (void*)value);
}
};
// System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>
struct Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 : public RuntimeObject
{
public:
// T1 System.Tuple`3::m_Item1
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_Item1_0;
// T2 System.Tuple`3::m_Item2
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_Item2_1;
// T3 System.Tuple`3::m_Item3
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * ___m_Item3_2;
public:
inline static int32_t get_offset_of_m_Item1_0() { return static_cast<int32_t>(offsetof(Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6, ___m_Item1_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_Item1_0() const { return ___m_Item1_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_Item1_0() { return &___m_Item1_0; }
inline void set_m_Item1_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_Item1_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item1_0), (void*)value);
}
inline static int32_t get_offset_of_m_Item2_1() { return static_cast<int32_t>(offsetof(Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6, ___m_Item2_1)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_Item2_1() const { return ___m_Item2_1; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_Item2_1() { return &___m_Item2_1; }
inline void set_m_Item2_1(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_Item2_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item2_1), (void*)value);
}
inline static int32_t get_offset_of_m_Item3_2() { return static_cast<int32_t>(offsetof(Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6, ___m_Item3_2)); }
inline TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * get_m_Item3_2() const { return ___m_Item3_2; }
inline TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 ** get_address_of_m_Item3_2() { return &___m_Item3_2; }
inline void set_m_Item3_2(TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * value)
{
___m_Item3_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Item3_2), (void*)value);
}
};
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// Microsoft.Win32.RegistryKey
struct RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.Object Microsoft.Win32.RegistryKey::handle
RuntimeObject * ___handle_1;
// Microsoft.Win32.SafeHandles.SafeRegistryHandle Microsoft.Win32.RegistryKey::safe_handle
SafeRegistryHandle_t804966262ED9CC53B8783D431090F6F96BD041B1 * ___safe_handle_2;
// System.Object Microsoft.Win32.RegistryKey::hive
RuntimeObject * ___hive_3;
// System.String Microsoft.Win32.RegistryKey::qname
String_t* ___qname_4;
// System.Boolean Microsoft.Win32.RegistryKey::isRemoteRoot
bool ___isRemoteRoot_5;
// System.Boolean Microsoft.Win32.RegistryKey::isWritable
bool ___isWritable_6;
public:
inline static int32_t get_offset_of_handle_1() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___handle_1)); }
inline RuntimeObject * get_handle_1() const { return ___handle_1; }
inline RuntimeObject ** get_address_of_handle_1() { return &___handle_1; }
inline void set_handle_1(RuntimeObject * value)
{
___handle_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___handle_1), (void*)value);
}
inline static int32_t get_offset_of_safe_handle_2() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___safe_handle_2)); }
inline SafeRegistryHandle_t804966262ED9CC53B8783D431090F6F96BD041B1 * get_safe_handle_2() const { return ___safe_handle_2; }
inline SafeRegistryHandle_t804966262ED9CC53B8783D431090F6F96BD041B1 ** get_address_of_safe_handle_2() { return &___safe_handle_2; }
inline void set_safe_handle_2(SafeRegistryHandle_t804966262ED9CC53B8783D431090F6F96BD041B1 * value)
{
___safe_handle_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___safe_handle_2), (void*)value);
}
inline static int32_t get_offset_of_hive_3() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___hive_3)); }
inline RuntimeObject * get_hive_3() const { return ___hive_3; }
inline RuntimeObject ** get_address_of_hive_3() { return &___hive_3; }
inline void set_hive_3(RuntimeObject * value)
{
___hive_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___hive_3), (void*)value);
}
inline static int32_t get_offset_of_qname_4() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___qname_4)); }
inline String_t* get_qname_4() const { return ___qname_4; }
inline String_t** get_address_of_qname_4() { return &___qname_4; }
inline void set_qname_4(String_t* value)
{
___qname_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___qname_4), (void*)value);
}
inline static int32_t get_offset_of_isRemoteRoot_5() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___isRemoteRoot_5)); }
inline bool get_isRemoteRoot_5() const { return ___isRemoteRoot_5; }
inline bool* get_address_of_isRemoteRoot_5() { return &___isRemoteRoot_5; }
inline void set_isRemoteRoot_5(bool value)
{
___isRemoteRoot_5 = value;
}
inline static int32_t get_offset_of_isWritable_6() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574, ___isWritable_6)); }
inline bool get_isWritable_6() const { return ___isWritable_6; }
inline bool* get_address_of_isWritable_6() { return &___isWritable_6; }
inline void set_isWritable_6(bool value)
{
___isWritable_6 = value;
}
};
struct RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574_StaticFields
{
public:
// Microsoft.Win32.IRegistryApi Microsoft.Win32.RegistryKey::RegistryApi
RuntimeObject* ___RegistryApi_7;
public:
inline static int32_t get_offset_of_RegistryApi_7() { return static_cast<int32_t>(offsetof(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574_StaticFields, ___RegistryApi_7)); }
inline RuntimeObject* get_RegistryApi_7() const { return ___RegistryApi_7; }
inline RuntimeObject** get_address_of_RegistryApi_7() { return &___RegistryApi_7; }
inline void set_RegistryApi_7(RuntimeObject* value)
{
___RegistryApi_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RegistryApi_7), (void*)value);
}
};
// System.Boolean
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
}
};
// System.Byte
struct Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07, ___m_value_0)); }
inline uint8_t get_m_value_0() const { return ___m_value_0; }
inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint8_t value)
{
___m_value_0 = value;
}
};
// System.Char
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.Collections.Generic.List`1_Enumerator<System.Object>
struct Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * ___list_0;
// System.Int32 System.Collections.Generic.List`1_Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1_Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1_Enumerator::current
RuntimeObject * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___list_0)); }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * get_list_0() const { return ___list_0; }
inline List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD, ___current_3)); }
inline RuntimeObject * get_current_3() const { return ___current_3; }
inline RuntimeObject ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RuntimeObject * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1_Enumerator<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
struct Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * ___list_0;
// System.Int32 System.Collections.Generic.List`1_Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1_Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1_Enumerator::current
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911, ___list_0)); }
inline List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * get_list_0() const { return ___list_0; }
inline List_1_tCD04260AE1254C438132446F1E6892AB86D18743 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911, ___current_3)); }
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * get_current_3() const { return ___current_3; }
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1_Enumerator<System.Threading.Tasks.Task>
struct Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1_Enumerator::list
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * ___list_0;
// System.Int32 System.Collections.Generic.List`1_Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1_Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1_Enumerator::current
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718, ___list_0)); }
inline List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * get_list_0() const { return ___list_0; }
inline List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718, ___current_3)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_current_3() const { return ___current_3; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.DateTime
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132
{
public:
// System.UInt64 System.DateTime::dateData
uint64_t ___dateData_44;
public:
inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132, ___dateData_44)); }
inline uint64_t get_dateData_44() const { return ___dateData_44; }
inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
inline void set_dateData_44(uint64_t value)
{
___dateData_44 = value;
}
};
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields
{
public:
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MaxValue_32;
public:
inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth365_29)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
inline void set_DaysToMonth365_29(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth365_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
}
inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth366_30)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
inline void set_DaysToMonth366_30(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth366_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
}
inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MinValue_31)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MinValue_31() const { return ___MinValue_31; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MinValue_31() { return &___MinValue_31; }
inline void set_MinValue_31(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MinValue_31 = value;
}
inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MaxValue_32)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MaxValue_32() const { return ___MaxValue_32; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
inline void set_MaxValue_32(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MaxValue_32 = value;
}
};
// System.Double
struct Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409
{
public:
// System.Double System.Double::m_value
double ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409, ___m_value_0)); }
inline double get_m_value_0() const { return ___m_value_0; }
inline double* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(double value)
{
___m_value_0 = value;
}
};
struct Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_StaticFields
{
public:
// System.Double System.Double::NegativeZero
double ___NegativeZero_7;
public:
inline static int32_t get_offset_of_NegativeZero_7() { return static_cast<int32_t>(offsetof(Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_StaticFields, ___NegativeZero_7)); }
inline double get_NegativeZero_7() const { return ___NegativeZero_7; }
inline double* get_address_of_NegativeZero_7() { return &___NegativeZero_7; }
inline void set_NegativeZero_7(double value)
{
___NegativeZero_7 = value;
}
};
// System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
// System.IO.Stream
struct Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.IO.Stream_ReadWriteTask System.IO.Stream::_activeReadWriteTask
ReadWriteTask_tFA17EEE8BC5C4C83EAEFCC3662A30DE351ABAA80 * ____activeReadWriteTask_2;
// System.Threading.SemaphoreSlim System.IO.Stream::_asyncActiveSemaphore
SemaphoreSlim_t2E2888D1C0C8FAB80823C76F1602E4434B8FA048 * ____asyncActiveSemaphore_3;
public:
inline static int32_t get_offset_of__activeReadWriteTask_2() { return static_cast<int32_t>(offsetof(Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7, ____activeReadWriteTask_2)); }
inline ReadWriteTask_tFA17EEE8BC5C4C83EAEFCC3662A30DE351ABAA80 * get__activeReadWriteTask_2() const { return ____activeReadWriteTask_2; }
inline ReadWriteTask_tFA17EEE8BC5C4C83EAEFCC3662A30DE351ABAA80 ** get_address_of__activeReadWriteTask_2() { return &____activeReadWriteTask_2; }
inline void set__activeReadWriteTask_2(ReadWriteTask_tFA17EEE8BC5C4C83EAEFCC3662A30DE351ABAA80 * value)
{
____activeReadWriteTask_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____activeReadWriteTask_2), (void*)value);
}
inline static int32_t get_offset_of__asyncActiveSemaphore_3() { return static_cast<int32_t>(offsetof(Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7, ____asyncActiveSemaphore_3)); }
inline SemaphoreSlim_t2E2888D1C0C8FAB80823C76F1602E4434B8FA048 * get__asyncActiveSemaphore_3() const { return ____asyncActiveSemaphore_3; }
inline SemaphoreSlim_t2E2888D1C0C8FAB80823C76F1602E4434B8FA048 ** get_address_of__asyncActiveSemaphore_3() { return &____asyncActiveSemaphore_3; }
inline void set__asyncActiveSemaphore_3(SemaphoreSlim_t2E2888D1C0C8FAB80823C76F1602E4434B8FA048 * value)
{
____asyncActiveSemaphore_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____asyncActiveSemaphore_3), (void*)value);
}
};
struct Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7_StaticFields
{
public:
// System.IO.Stream System.IO.Stream::Null
Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * ___Null_1;
public:
inline static int32_t get_offset_of_Null_1() { return static_cast<int32_t>(offsetof(Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7_StaticFields, ___Null_1)); }
inline Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * get_Null_1() const { return ___Null_1; }
inline Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 ** get_address_of_Null_1() { return &___Null_1; }
inline void set_Null_1(Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * value)
{
___Null_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Null_1), (void*)value);
}
};
// System.Int16
struct Int16_t823A20635DAF5A3D93A1E01CFBF3CBA27CF00B4D
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_t823A20635DAF5A3D93A1E01CFBF3CBA27CF00B4D, ___m_value_0)); }
inline int16_t get_m_value_0() const { return ___m_value_0; }
inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int16_t value)
{
___m_value_0 = value;
}
};
// System.Int32
struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t585191389E07734F19F3156FF88FB3EF4800D102, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
// System.Int64
struct Int64_t7A386C2FF7B0280A0F516992401DDFCF0FF7B436
{
public:
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t7A386C2FF7B0280A0F516992401DDFCF0FF7B436, ___m_value_0)); }
inline int64_t get_m_value_0() const { return ___m_value_0; }
inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int64_t value)
{
___m_value_0 = value;
}
};
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Reflection.MethodBase
struct MethodBase_t : public MemberInfo_t
{
public:
public:
};
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable_ConfiguredTaskAwaiter
struct ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874
{
public:
// System.Threading.Tasks.Task System.Runtime.CompilerServices.ConfiguredTaskAwaitable_ConfiguredTaskAwaiter::m_task
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
// System.Boolean System.Runtime.CompilerServices.ConfiguredTaskAwaitable_ConfiguredTaskAwaiter::m_continueOnCapturedContext
bool ___m_continueOnCapturedContext_1;
public:
inline static int32_t get_offset_of_m_task_0() { return static_cast<int32_t>(offsetof(ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874, ___m_task_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_task_0() const { return ___m_task_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_task_0() { return &___m_task_0; }
inline void set_m_task_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_task_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_task_0), (void*)value);
}
inline static int32_t get_offset_of_m_continueOnCapturedContext_1() { return static_cast<int32_t>(offsetof(ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874, ___m_continueOnCapturedContext_1)); }
inline bool get_m_continueOnCapturedContext_1() const { return ___m_continueOnCapturedContext_1; }
inline bool* get_address_of_m_continueOnCapturedContext_1() { return &___m_continueOnCapturedContext_1; }
inline void set_m_continueOnCapturedContext_1(bool value)
{
___m_continueOnCapturedContext_1 = value;
}
};
// Native definition for P/Invoke marshalling of System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter
struct ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874_marshaled_pinvoke
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
int32_t ___m_continueOnCapturedContext_1;
};
// Native definition for COM marshalling of System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter
struct ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874_marshaled_com
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
int32_t ___m_continueOnCapturedContext_1;
};
// System.Runtime.CompilerServices.TaskAwaiter
struct TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F
{
public:
// System.Threading.Tasks.Task System.Runtime.CompilerServices.TaskAwaiter::m_task
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
public:
inline static int32_t get_offset_of_m_task_0() { return static_cast<int32_t>(offsetof(TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F, ___m_task_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_task_0() const { return ___m_task_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_task_0() { return &___m_task_0; }
inline void set_m_task_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_task_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_task_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Runtime.CompilerServices.TaskAwaiter
struct TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F_marshaled_pinvoke
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
};
// Native definition for COM marshalling of System.Runtime.CompilerServices.TaskAwaiter
struct TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F_marshaled_com
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
};
// System.Threading.CancellationToken
struct CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB
{
public:
// System.Threading.CancellationTokenSource System.Threading.CancellationToken::m_source
CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE * ___m_source_0;
public:
inline static int32_t get_offset_of_m_source_0() { return static_cast<int32_t>(offsetof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB, ___m_source_0)); }
inline CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE * get_m_source_0() const { return ___m_source_0; }
inline CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE ** get_address_of_m_source_0() { return &___m_source_0; }
inline void set_m_source_0(CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE * value)
{
___m_source_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_source_0), (void*)value);
}
};
struct CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_StaticFields
{
public:
// System.Action`1<System.Object> System.Threading.CancellationToken::s_ActionToActionObjShunt
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___s_ActionToActionObjShunt_1;
public:
inline static int32_t get_offset_of_s_ActionToActionObjShunt_1() { return static_cast<int32_t>(offsetof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_StaticFields, ___s_ActionToActionObjShunt_1)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_s_ActionToActionObjShunt_1() const { return ___s_ActionToActionObjShunt_1; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_s_ActionToActionObjShunt_1() { return &___s_ActionToActionObjShunt_1; }
inline void set_s_ActionToActionObjShunt_1(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___s_ActionToActionObjShunt_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_ActionToActionObjShunt_1), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Threading.CancellationToken
struct CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_marshaled_pinvoke
{
CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE * ___m_source_0;
};
// Native definition for COM marshalling of System.Threading.CancellationToken
struct CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_marshaled_com
{
CancellationTokenSource_tF480B7E74A032667AFBD31F0530D619FB43AD3FE * ___m_source_0;
};
// System.Threading.ExecutionContext_Reader
struct Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B
{
public:
// System.Threading.ExecutionContext System.Threading.ExecutionContext_Reader::m_ec
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_ec_0;
public:
inline static int32_t get_offset_of_m_ec_0() { return static_cast<int32_t>(offsetof(Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B, ___m_ec_0)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_m_ec_0() const { return ___m_ec_0; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_m_ec_0() { return &___m_ec_0; }
inline void set_m_ec_0(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___m_ec_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ec_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Threading.ExecutionContext/Reader
struct Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B_marshaled_pinvoke
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_ec_0;
};
// Native definition for COM marshalling of System.Threading.ExecutionContext/Reader
struct Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B_marshaled_com
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_ec_0;
};
// System.Threading.SparselyPopulatedArrayAddInfo`1<System.Threading.CancellationCallbackInfo>
struct SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE
{
public:
// System.Threading.SparselyPopulatedArrayFragment`1<T> System.Threading.SparselyPopulatedArrayAddInfo`1::m_source
SparselyPopulatedArrayFragment_1_tA54224D01E2FDC03AC2867CDDC8C53E17FA933D7 * ___m_source_0;
// System.Int32 System.Threading.SparselyPopulatedArrayAddInfo`1::m_index
int32_t ___m_index_1;
public:
inline static int32_t get_offset_of_m_source_0() { return static_cast<int32_t>(offsetof(SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE, ___m_source_0)); }
inline SparselyPopulatedArrayFragment_1_tA54224D01E2FDC03AC2867CDDC8C53E17FA933D7 * get_m_source_0() const { return ___m_source_0; }
inline SparselyPopulatedArrayFragment_1_tA54224D01E2FDC03AC2867CDDC8C53E17FA933D7 ** get_address_of_m_source_0() { return &___m_source_0; }
inline void set_m_source_0(SparselyPopulatedArrayFragment_1_tA54224D01E2FDC03AC2867CDDC8C53E17FA933D7 * value)
{
___m_source_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_source_0), (void*)value);
}
inline static int32_t get_offset_of_m_index_1() { return static_cast<int32_t>(offsetof(SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE, ___m_index_1)); }
inline int32_t get_m_index_1() const { return ___m_index_1; }
inline int32_t* get_address_of_m_index_1() { return &___m_index_1; }
inline void set_m_index_1(int32_t value)
{
___m_index_1 = value;
}
};
// System.Threading.SpinWait
struct SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9
{
public:
// System.Int32 System.Threading.SpinWait::m_count
int32_t ___m_count_0;
public:
inline static int32_t get_offset_of_m_count_0() { return static_cast<int32_t>(offsetof(SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9, ___m_count_0)); }
inline int32_t get_m_count_0() const { return ___m_count_0; }
inline int32_t* get_address_of_m_count_0() { return &___m_count_0; }
inline void set_m_count_0(int32_t value)
{
___m_count_0 = value;
}
};
// System.Threading.Tasks.AwaitTaskContinuation
struct AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F : public TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9
{
public:
// System.Threading.ExecutionContext System.Threading.Tasks.AwaitTaskContinuation::m_capturedContext
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_capturedContext_0;
// System.Action System.Threading.Tasks.AwaitTaskContinuation::m_action
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___m_action_1;
public:
inline static int32_t get_offset_of_m_capturedContext_0() { return static_cast<int32_t>(offsetof(AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F, ___m_capturedContext_0)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_m_capturedContext_0() const { return ___m_capturedContext_0; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_m_capturedContext_0() { return &___m_capturedContext_0; }
inline void set_m_capturedContext_0(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___m_capturedContext_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_capturedContext_0), (void*)value);
}
inline static int32_t get_offset_of_m_action_1() { return static_cast<int32_t>(offsetof(AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F, ___m_action_1)); }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * get_m_action_1() const { return ___m_action_1; }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 ** get_address_of_m_action_1() { return &___m_action_1; }
inline void set_m_action_1(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * value)
{
___m_action_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_action_1), (void*)value);
}
};
struct AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F_StaticFields
{
public:
// System.Threading.ContextCallback System.Threading.Tasks.AwaitTaskContinuation::s_invokeActionCallback
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___s_invokeActionCallback_2;
public:
inline static int32_t get_offset_of_s_invokeActionCallback_2() { return static_cast<int32_t>(offsetof(AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F_StaticFields, ___s_invokeActionCallback_2)); }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * get_s_invokeActionCallback_2() const { return ___s_invokeActionCallback_2; }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 ** get_address_of_s_invokeActionCallback_2() { return &___s_invokeActionCallback_2; }
inline void set_s_invokeActionCallback_2(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * value)
{
___s_invokeActionCallback_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_invokeActionCallback_2), (void*)value);
}
};
// System.Threading.Tasks.UnobservedTaskExceptionEventArgs
struct UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 : public EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E
{
public:
// System.AggregateException System.Threading.Tasks.UnobservedTaskExceptionEventArgs::m_exception
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * ___m_exception_1;
// System.Boolean System.Threading.Tasks.UnobservedTaskExceptionEventArgs::m_observed
bool ___m_observed_2;
public:
inline static int32_t get_offset_of_m_exception_1() { return static_cast<int32_t>(offsetof(UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7, ___m_exception_1)); }
inline AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * get_m_exception_1() const { return ___m_exception_1; }
inline AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E ** get_address_of_m_exception_1() { return &___m_exception_1; }
inline void set_m_exception_1(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * value)
{
___m_exception_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_exception_1), (void*)value);
}
inline static int32_t get_offset_of_m_observed_2() { return static_cast<int32_t>(offsetof(UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7, ___m_observed_2)); }
inline bool get_m_observed_2() const { return ___m_observed_2; }
inline bool* get_address_of_m_observed_2() { return &___m_observed_2; }
inline void set_m_observed_2(bool value)
{
___m_observed_2 = value;
}
};
// System.Threading.Tasks.VoidTaskResult
struct VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40
{
public:
union
{
struct
{
};
uint8_t VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40__padding[1];
};
public:
};
// System.Threading.Thread
struct Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 : public CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9
{
public:
// System.Threading.InternalThread System.Threading.Thread::internal_thread
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___internal_thread_6;
// System.Object System.Threading.Thread::m_ThreadStartArg
RuntimeObject * ___m_ThreadStartArg_7;
// System.Object System.Threading.Thread::pending_exception
RuntimeObject * ___pending_exception_8;
// System.Security.Principal.IPrincipal System.Threading.Thread::principal
RuntimeObject* ___principal_9;
// System.Int32 System.Threading.Thread::principal_version
int32_t ___principal_version_10;
// System.MulticastDelegate System.Threading.Thread::m_Delegate
MulticastDelegate_t * ___m_Delegate_12;
// System.Threading.ExecutionContext System.Threading.Thread::m_ExecutionContext
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_ExecutionContext_13;
// System.Boolean System.Threading.Thread::m_ExecutionContextBelongsToOuterScope
bool ___m_ExecutionContextBelongsToOuterScope_14;
public:
inline static int32_t get_offset_of_internal_thread_6() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___internal_thread_6)); }
inline InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * get_internal_thread_6() const { return ___internal_thread_6; }
inline InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 ** get_address_of_internal_thread_6() { return &___internal_thread_6; }
inline void set_internal_thread_6(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * value)
{
___internal_thread_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___internal_thread_6), (void*)value);
}
inline static int32_t get_offset_of_m_ThreadStartArg_7() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___m_ThreadStartArg_7)); }
inline RuntimeObject * get_m_ThreadStartArg_7() const { return ___m_ThreadStartArg_7; }
inline RuntimeObject ** get_address_of_m_ThreadStartArg_7() { return &___m_ThreadStartArg_7; }
inline void set_m_ThreadStartArg_7(RuntimeObject * value)
{
___m_ThreadStartArg_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ThreadStartArg_7), (void*)value);
}
inline static int32_t get_offset_of_pending_exception_8() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___pending_exception_8)); }
inline RuntimeObject * get_pending_exception_8() const { return ___pending_exception_8; }
inline RuntimeObject ** get_address_of_pending_exception_8() { return &___pending_exception_8; }
inline void set_pending_exception_8(RuntimeObject * value)
{
___pending_exception_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___pending_exception_8), (void*)value);
}
inline static int32_t get_offset_of_principal_9() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___principal_9)); }
inline RuntimeObject* get_principal_9() const { return ___principal_9; }
inline RuntimeObject** get_address_of_principal_9() { return &___principal_9; }
inline void set_principal_9(RuntimeObject* value)
{
___principal_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___principal_9), (void*)value);
}
inline static int32_t get_offset_of_principal_version_10() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___principal_version_10)); }
inline int32_t get_principal_version_10() const { return ___principal_version_10; }
inline int32_t* get_address_of_principal_version_10() { return &___principal_version_10; }
inline void set_principal_version_10(int32_t value)
{
___principal_version_10 = value;
}
inline static int32_t get_offset_of_m_Delegate_12() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___m_Delegate_12)); }
inline MulticastDelegate_t * get_m_Delegate_12() const { return ___m_Delegate_12; }
inline MulticastDelegate_t ** get_address_of_m_Delegate_12() { return &___m_Delegate_12; }
inline void set_m_Delegate_12(MulticastDelegate_t * value)
{
___m_Delegate_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Delegate_12), (void*)value);
}
inline static int32_t get_offset_of_m_ExecutionContext_13() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___m_ExecutionContext_13)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_m_ExecutionContext_13() const { return ___m_ExecutionContext_13; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_m_ExecutionContext_13() { return &___m_ExecutionContext_13; }
inline void set_m_ExecutionContext_13(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___m_ExecutionContext_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ExecutionContext_13), (void*)value);
}
inline static int32_t get_offset_of_m_ExecutionContextBelongsToOuterScope_14() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7, ___m_ExecutionContextBelongsToOuterScope_14)); }
inline bool get_m_ExecutionContextBelongsToOuterScope_14() const { return ___m_ExecutionContextBelongsToOuterScope_14; }
inline bool* get_address_of_m_ExecutionContextBelongsToOuterScope_14() { return &___m_ExecutionContextBelongsToOuterScope_14; }
inline void set_m_ExecutionContextBelongsToOuterScope_14(bool value)
{
___m_ExecutionContextBelongsToOuterScope_14 = value;
}
};
struct Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_StaticFields
{
public:
// System.LocalDataStoreMgr System.Threading.Thread::s_LocalDataStoreMgr
LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * ___s_LocalDataStoreMgr_0;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentCulture
AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * ___s_asyncLocalCurrentCulture_4;
// System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentUICulture
AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * ___s_asyncLocalCurrentUICulture_5;
public:
inline static int32_t get_offset_of_s_LocalDataStoreMgr_0() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_StaticFields, ___s_LocalDataStoreMgr_0)); }
inline LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * get_s_LocalDataStoreMgr_0() const { return ___s_LocalDataStoreMgr_0; }
inline LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 ** get_address_of_s_LocalDataStoreMgr_0() { return &___s_LocalDataStoreMgr_0; }
inline void set_s_LocalDataStoreMgr_0(LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * value)
{
___s_LocalDataStoreMgr_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_LocalDataStoreMgr_0), (void*)value);
}
inline static int32_t get_offset_of_s_asyncLocalCurrentCulture_4() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_StaticFields, ___s_asyncLocalCurrentCulture_4)); }
inline AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * get_s_asyncLocalCurrentCulture_4() const { return ___s_asyncLocalCurrentCulture_4; }
inline AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A ** get_address_of_s_asyncLocalCurrentCulture_4() { return &___s_asyncLocalCurrentCulture_4; }
inline void set_s_asyncLocalCurrentCulture_4(AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * value)
{
___s_asyncLocalCurrentCulture_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_asyncLocalCurrentCulture_4), (void*)value);
}
inline static int32_t get_offset_of_s_asyncLocalCurrentUICulture_5() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_StaticFields, ___s_asyncLocalCurrentUICulture_5)); }
inline AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * get_s_asyncLocalCurrentUICulture_5() const { return ___s_asyncLocalCurrentUICulture_5; }
inline AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A ** get_address_of_s_asyncLocalCurrentUICulture_5() { return &___s_asyncLocalCurrentUICulture_5; }
inline void set_s_asyncLocalCurrentUICulture_5(AsyncLocal_1_tD39651C2EDD14B144FF3D9B9C716F807EB57655A * value)
{
___s_asyncLocalCurrentUICulture_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_asyncLocalCurrentUICulture_5), (void*)value);
}
};
struct Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields
{
public:
// System.LocalDataStoreHolder System.Threading.Thread::s_LocalDataStore
LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * ___s_LocalDataStore_1;
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentCulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___m_CurrentCulture_2;
// System.Globalization.CultureInfo System.Threading.Thread::m_CurrentUICulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___m_CurrentUICulture_3;
// System.Threading.Thread System.Threading.Thread::current_thread
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * ___current_thread_11;
public:
inline static int32_t get_offset_of_s_LocalDataStore_1() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields, ___s_LocalDataStore_1)); }
inline LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * get_s_LocalDataStore_1() const { return ___s_LocalDataStore_1; }
inline LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 ** get_address_of_s_LocalDataStore_1() { return &___s_LocalDataStore_1; }
inline void set_s_LocalDataStore_1(LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * value)
{
___s_LocalDataStore_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_LocalDataStore_1), (void*)value);
}
inline static int32_t get_offset_of_m_CurrentCulture_2() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields, ___m_CurrentCulture_2)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_m_CurrentCulture_2() const { return ___m_CurrentCulture_2; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_m_CurrentCulture_2() { return &___m_CurrentCulture_2; }
inline void set_m_CurrentCulture_2(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___m_CurrentCulture_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CurrentCulture_2), (void*)value);
}
inline static int32_t get_offset_of_m_CurrentUICulture_3() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields, ___m_CurrentUICulture_3)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_m_CurrentUICulture_3() const { return ___m_CurrentUICulture_3; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_m_CurrentUICulture_3() { return &___m_CurrentUICulture_3; }
inline void set_m_CurrentUICulture_3(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___m_CurrentUICulture_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CurrentUICulture_3), (void*)value);
}
inline static int32_t get_offset_of_current_thread_11() { return static_cast<int32_t>(offsetof(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields, ___current_thread_11)); }
inline Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * get_current_thread_11() const { return ___current_thread_11; }
inline Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 ** get_address_of_current_thread_11() { return &___current_thread_11; }
inline void set_current_thread_11(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * value)
{
___current_thread_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_thread_11), (void*)value);
}
};
// System.Threading.Timer
struct Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.Threading.TimerCallback System.Threading.Timer::callback
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback_2;
// System.Object System.Threading.Timer::state
RuntimeObject * ___state_3;
// System.Int64 System.Threading.Timer::due_time_ms
int64_t ___due_time_ms_4;
// System.Int64 System.Threading.Timer::period_ms
int64_t ___period_ms_5;
// System.Int64 System.Threading.Timer::next_run
int64_t ___next_run_6;
// System.Boolean System.Threading.Timer::disposed
bool ___disposed_7;
public:
inline static int32_t get_offset_of_callback_2() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___callback_2)); }
inline TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * get_callback_2() const { return ___callback_2; }
inline TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 ** get_address_of_callback_2() { return &___callback_2; }
inline void set_callback_2(TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * value)
{
___callback_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callback_2), (void*)value);
}
inline static int32_t get_offset_of_state_3() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___state_3)); }
inline RuntimeObject * get_state_3() const { return ___state_3; }
inline RuntimeObject ** get_address_of_state_3() { return &___state_3; }
inline void set_state_3(RuntimeObject * value)
{
___state_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___state_3), (void*)value);
}
inline static int32_t get_offset_of_due_time_ms_4() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___due_time_ms_4)); }
inline int64_t get_due_time_ms_4() const { return ___due_time_ms_4; }
inline int64_t* get_address_of_due_time_ms_4() { return &___due_time_ms_4; }
inline void set_due_time_ms_4(int64_t value)
{
___due_time_ms_4 = value;
}
inline static int32_t get_offset_of_period_ms_5() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___period_ms_5)); }
inline int64_t get_period_ms_5() const { return ___period_ms_5; }
inline int64_t* get_address_of_period_ms_5() { return &___period_ms_5; }
inline void set_period_ms_5(int64_t value)
{
___period_ms_5 = value;
}
inline static int32_t get_offset_of_next_run_6() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___next_run_6)); }
inline int64_t get_next_run_6() const { return ___next_run_6; }
inline int64_t* get_address_of_next_run_6() { return &___next_run_6; }
inline void set_next_run_6(int64_t value)
{
___next_run_6 = value;
}
inline static int32_t get_offset_of_disposed_7() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553, ___disposed_7)); }
inline bool get_disposed_7() const { return ___disposed_7; }
inline bool* get_address_of_disposed_7() { return &___disposed_7; }
inline void set_disposed_7(bool value)
{
___disposed_7 = value;
}
};
struct Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_StaticFields
{
public:
// System.Threading.Timer_Scheduler System.Threading.Timer::scheduler
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * ___scheduler_1;
public:
inline static int32_t get_offset_of_scheduler_1() { return static_cast<int32_t>(offsetof(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_StaticFields, ___scheduler_1)); }
inline Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * get_scheduler_1() const { return ___scheduler_1; }
inline Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 ** get_address_of_scheduler_1() { return &___scheduler_1; }
inline void set_scheduler_1(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * value)
{
___scheduler_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___scheduler_1), (void*)value);
}
};
// System.TimeZoneInfo_SYSTEMTIME
struct SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2
{
public:
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wYear
uint16_t ___wYear_0;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wMonth
uint16_t ___wMonth_1;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wDayOfWeek
uint16_t ___wDayOfWeek_2;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wDay
uint16_t ___wDay_3;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wHour
uint16_t ___wHour_4;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wMinute
uint16_t ___wMinute_5;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wSecond
uint16_t ___wSecond_6;
// System.UInt16 System.TimeZoneInfo_SYSTEMTIME::wMilliseconds
uint16_t ___wMilliseconds_7;
public:
inline static int32_t get_offset_of_wYear_0() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wYear_0)); }
inline uint16_t get_wYear_0() const { return ___wYear_0; }
inline uint16_t* get_address_of_wYear_0() { return &___wYear_0; }
inline void set_wYear_0(uint16_t value)
{
___wYear_0 = value;
}
inline static int32_t get_offset_of_wMonth_1() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wMonth_1)); }
inline uint16_t get_wMonth_1() const { return ___wMonth_1; }
inline uint16_t* get_address_of_wMonth_1() { return &___wMonth_1; }
inline void set_wMonth_1(uint16_t value)
{
___wMonth_1 = value;
}
inline static int32_t get_offset_of_wDayOfWeek_2() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wDayOfWeek_2)); }
inline uint16_t get_wDayOfWeek_2() const { return ___wDayOfWeek_2; }
inline uint16_t* get_address_of_wDayOfWeek_2() { return &___wDayOfWeek_2; }
inline void set_wDayOfWeek_2(uint16_t value)
{
___wDayOfWeek_2 = value;
}
inline static int32_t get_offset_of_wDay_3() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wDay_3)); }
inline uint16_t get_wDay_3() const { return ___wDay_3; }
inline uint16_t* get_address_of_wDay_3() { return &___wDay_3; }
inline void set_wDay_3(uint16_t value)
{
___wDay_3 = value;
}
inline static int32_t get_offset_of_wHour_4() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wHour_4)); }
inline uint16_t get_wHour_4() const { return ___wHour_4; }
inline uint16_t* get_address_of_wHour_4() { return &___wHour_4; }
inline void set_wHour_4(uint16_t value)
{
___wHour_4 = value;
}
inline static int32_t get_offset_of_wMinute_5() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wMinute_5)); }
inline uint16_t get_wMinute_5() const { return ___wMinute_5; }
inline uint16_t* get_address_of_wMinute_5() { return &___wMinute_5; }
inline void set_wMinute_5(uint16_t value)
{
___wMinute_5 = value;
}
inline static int32_t get_offset_of_wSecond_6() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wSecond_6)); }
inline uint16_t get_wSecond_6() const { return ___wSecond_6; }
inline uint16_t* get_address_of_wSecond_6() { return &___wSecond_6; }
inline void set_wSecond_6(uint16_t value)
{
___wSecond_6 = value;
}
inline static int32_t get_offset_of_wMilliseconds_7() { return static_cast<int32_t>(offsetof(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2, ___wMilliseconds_7)); }
inline uint16_t get_wMilliseconds_7() const { return ___wMilliseconds_7; }
inline uint16_t* get_address_of_wMilliseconds_7() { return &___wMilliseconds_7; }
inline void set_wMilliseconds_7(uint16_t value)
{
___wMilliseconds_7 = value;
}
};
// System.UInt16
struct UInt16_tAE45CEF73BF720100519F6867F32145D075F928E
{
public:
// System.UInt16 System.UInt16::m_value
uint16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt16_tAE45CEF73BF720100519F6867F32145D075F928E, ___m_value_0)); }
inline uint16_t get_m_value_0() const { return ___m_value_0; }
inline uint16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint16_t value)
{
___m_value_0 = value;
}
};
// System.UInt32
struct UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B, ___m_value_0)); }
inline uint32_t get_m_value_0() const { return ___m_value_0; }
inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint32_t value)
{
___m_value_0 = value;
}
};
// System.UInt64
struct UInt64_tA02DF3B59C8FC4A849BD207DA11038CC64E4CB4E
{
public:
// System.UInt64 System.UInt64::m_value
uint64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt64_tA02DF3B59C8FC4A849BD207DA11038CC64E4CB4E, ___m_value_0)); }
inline uint64_t get_m_value_0() const { return ___m_value_0; }
inline uint64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint64_t value)
{
___m_value_0 = value;
}
};
// System.UIntPtr
struct UIntPtr_t
{
public:
// System.Void* System.UIntPtr::_pointer
void* ____pointer_1;
public:
inline static int32_t get_offset_of__pointer_1() { return static_cast<int32_t>(offsetof(UIntPtr_t, ____pointer_1)); }
inline void* get__pointer_1() const { return ____pointer_1; }
inline void** get_address_of__pointer_1() { return &____pointer_1; }
inline void set__pointer_1(void* value)
{
____pointer_1 = value;
}
};
struct UIntPtr_t_StaticFields
{
public:
// System.UIntPtr System.UIntPtr::Zero
uintptr_t ___Zero_0;
public:
inline static int32_t get_offset_of_Zero_0() { return static_cast<int32_t>(offsetof(UIntPtr_t_StaticFields, ___Zero_0)); }
inline uintptr_t get_Zero_0() const { return ___Zero_0; }
inline uintptr_t* get_address_of_Zero_0() { return &___Zero_0; }
inline void set_Zero_0(uintptr_t value)
{
___Zero_0 = value;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// System.AppDomain
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.IntPtr System.AppDomain::_mono_app_domain
intptr_t ____mono_app_domain_1;
// System.Object System.AppDomain::_evidence
RuntimeObject * ____evidence_6;
// System.Object System.AppDomain::_granted
RuntimeObject * ____granted_7;
// System.Int32 System.AppDomain::_principalPolicy
int32_t ____principalPolicy_8;
// System.AssemblyLoadEventHandler System.AppDomain::AssemblyLoad
AssemblyLoadEventHandler_t53F8340027F9EE67E8A22E7D8C1A3770345153C9 * ___AssemblyLoad_11;
// System.ResolveEventHandler System.AppDomain::AssemblyResolve
ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * ___AssemblyResolve_12;
// System.EventHandler System.AppDomain::DomainUnload
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * ___DomainUnload_13;
// System.EventHandler System.AppDomain::ProcessExit
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * ___ProcessExit_14;
// System.ResolveEventHandler System.AppDomain::ResourceResolve
ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * ___ResourceResolve_15;
// System.ResolveEventHandler System.AppDomain::TypeResolve
ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * ___TypeResolve_16;
// System.UnhandledExceptionEventHandler System.AppDomain::UnhandledException
UnhandledExceptionEventHandler_tB0DFF05ABF7A3A234C87D4F7A71F98E9AB2D91DE * ___UnhandledException_17;
// System.EventHandler`1<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs> System.AppDomain::FirstChanceException
EventHandler_1_t1E35ED2E29145994C6C03E57601C6D48C61083FF * ___FirstChanceException_18;
// System.Object System.AppDomain::_domain_manager
RuntimeObject * ____domain_manager_19;
// System.ResolveEventHandler System.AppDomain::ReflectionOnlyAssemblyResolve
ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * ___ReflectionOnlyAssemblyResolve_20;
// System.Object System.AppDomain::_activation
RuntimeObject * ____activation_21;
// System.Object System.AppDomain::_applicationIdentity
RuntimeObject * ____applicationIdentity_22;
// System.Collections.Generic.List`1<System.String> System.AppDomain::compatibility_switch
List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * ___compatibility_switch_23;
public:
inline static int32_t get_offset_of__mono_app_domain_1() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____mono_app_domain_1)); }
inline intptr_t get__mono_app_domain_1() const { return ____mono_app_domain_1; }
inline intptr_t* get_address_of__mono_app_domain_1() { return &____mono_app_domain_1; }
inline void set__mono_app_domain_1(intptr_t value)
{
____mono_app_domain_1 = value;
}
inline static int32_t get_offset_of__evidence_6() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____evidence_6)); }
inline RuntimeObject * get__evidence_6() const { return ____evidence_6; }
inline RuntimeObject ** get_address_of__evidence_6() { return &____evidence_6; }
inline void set__evidence_6(RuntimeObject * value)
{
____evidence_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____evidence_6), (void*)value);
}
inline static int32_t get_offset_of__granted_7() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____granted_7)); }
inline RuntimeObject * get__granted_7() const { return ____granted_7; }
inline RuntimeObject ** get_address_of__granted_7() { return &____granted_7; }
inline void set__granted_7(RuntimeObject * value)
{
____granted_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____granted_7), (void*)value);
}
inline static int32_t get_offset_of__principalPolicy_8() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____principalPolicy_8)); }
inline int32_t get__principalPolicy_8() const { return ____principalPolicy_8; }
inline int32_t* get_address_of__principalPolicy_8() { return &____principalPolicy_8; }
inline void set__principalPolicy_8(int32_t value)
{
____principalPolicy_8 = value;
}
inline static int32_t get_offset_of_AssemblyLoad_11() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___AssemblyLoad_11)); }
inline AssemblyLoadEventHandler_t53F8340027F9EE67E8A22E7D8C1A3770345153C9 * get_AssemblyLoad_11() const { return ___AssemblyLoad_11; }
inline AssemblyLoadEventHandler_t53F8340027F9EE67E8A22E7D8C1A3770345153C9 ** get_address_of_AssemblyLoad_11() { return &___AssemblyLoad_11; }
inline void set_AssemblyLoad_11(AssemblyLoadEventHandler_t53F8340027F9EE67E8A22E7D8C1A3770345153C9 * value)
{
___AssemblyLoad_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AssemblyLoad_11), (void*)value);
}
inline static int32_t get_offset_of_AssemblyResolve_12() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___AssemblyResolve_12)); }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * get_AssemblyResolve_12() const { return ___AssemblyResolve_12; }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 ** get_address_of_AssemblyResolve_12() { return &___AssemblyResolve_12; }
inline void set_AssemblyResolve_12(ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * value)
{
___AssemblyResolve_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AssemblyResolve_12), (void*)value);
}
inline static int32_t get_offset_of_DomainUnload_13() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___DomainUnload_13)); }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * get_DomainUnload_13() const { return ___DomainUnload_13; }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C ** get_address_of_DomainUnload_13() { return &___DomainUnload_13; }
inline void set_DomainUnload_13(EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * value)
{
___DomainUnload_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DomainUnload_13), (void*)value);
}
inline static int32_t get_offset_of_ProcessExit_14() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___ProcessExit_14)); }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * get_ProcessExit_14() const { return ___ProcessExit_14; }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C ** get_address_of_ProcessExit_14() { return &___ProcessExit_14; }
inline void set_ProcessExit_14(EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * value)
{
___ProcessExit_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ProcessExit_14), (void*)value);
}
inline static int32_t get_offset_of_ResourceResolve_15() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___ResourceResolve_15)); }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * get_ResourceResolve_15() const { return ___ResourceResolve_15; }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 ** get_address_of_ResourceResolve_15() { return &___ResourceResolve_15; }
inline void set_ResourceResolve_15(ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * value)
{
___ResourceResolve_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ResourceResolve_15), (void*)value);
}
inline static int32_t get_offset_of_TypeResolve_16() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___TypeResolve_16)); }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * get_TypeResolve_16() const { return ___TypeResolve_16; }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 ** get_address_of_TypeResolve_16() { return &___TypeResolve_16; }
inline void set_TypeResolve_16(ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * value)
{
___TypeResolve_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TypeResolve_16), (void*)value);
}
inline static int32_t get_offset_of_UnhandledException_17() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___UnhandledException_17)); }
inline UnhandledExceptionEventHandler_tB0DFF05ABF7A3A234C87D4F7A71F98E9AB2D91DE * get_UnhandledException_17() const { return ___UnhandledException_17; }
inline UnhandledExceptionEventHandler_tB0DFF05ABF7A3A234C87D4F7A71F98E9AB2D91DE ** get_address_of_UnhandledException_17() { return &___UnhandledException_17; }
inline void set_UnhandledException_17(UnhandledExceptionEventHandler_tB0DFF05ABF7A3A234C87D4F7A71F98E9AB2D91DE * value)
{
___UnhandledException_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UnhandledException_17), (void*)value);
}
inline static int32_t get_offset_of_FirstChanceException_18() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___FirstChanceException_18)); }
inline EventHandler_1_t1E35ED2E29145994C6C03E57601C6D48C61083FF * get_FirstChanceException_18() const { return ___FirstChanceException_18; }
inline EventHandler_1_t1E35ED2E29145994C6C03E57601C6D48C61083FF ** get_address_of_FirstChanceException_18() { return &___FirstChanceException_18; }
inline void set_FirstChanceException_18(EventHandler_1_t1E35ED2E29145994C6C03E57601C6D48C61083FF * value)
{
___FirstChanceException_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FirstChanceException_18), (void*)value);
}
inline static int32_t get_offset_of__domain_manager_19() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____domain_manager_19)); }
inline RuntimeObject * get__domain_manager_19() const { return ____domain_manager_19; }
inline RuntimeObject ** get_address_of__domain_manager_19() { return &____domain_manager_19; }
inline void set__domain_manager_19(RuntimeObject * value)
{
____domain_manager_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&____domain_manager_19), (void*)value);
}
inline static int32_t get_offset_of_ReflectionOnlyAssemblyResolve_20() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___ReflectionOnlyAssemblyResolve_20)); }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * get_ReflectionOnlyAssemblyResolve_20() const { return ___ReflectionOnlyAssemblyResolve_20; }
inline ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 ** get_address_of_ReflectionOnlyAssemblyResolve_20() { return &___ReflectionOnlyAssemblyResolve_20; }
inline void set_ReflectionOnlyAssemblyResolve_20(ResolveEventHandler_t045C469BEA8B632FA99FE8867C921BA8DAE0BEE5 * value)
{
___ReflectionOnlyAssemblyResolve_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ReflectionOnlyAssemblyResolve_20), (void*)value);
}
inline static int32_t get_offset_of__activation_21() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____activation_21)); }
inline RuntimeObject * get__activation_21() const { return ____activation_21; }
inline RuntimeObject ** get_address_of__activation_21() { return &____activation_21; }
inline void set__activation_21(RuntimeObject * value)
{
____activation_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&____activation_21), (void*)value);
}
inline static int32_t get_offset_of__applicationIdentity_22() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ____applicationIdentity_22)); }
inline RuntimeObject * get__applicationIdentity_22() const { return ____applicationIdentity_22; }
inline RuntimeObject ** get_address_of__applicationIdentity_22() { return &____applicationIdentity_22; }
inline void set__applicationIdentity_22(RuntimeObject * value)
{
____applicationIdentity_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&____applicationIdentity_22), (void*)value);
}
inline static int32_t get_offset_of_compatibility_switch_23() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8, ___compatibility_switch_23)); }
inline List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * get_compatibility_switch_23() const { return ___compatibility_switch_23; }
inline List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 ** get_address_of_compatibility_switch_23() { return &___compatibility_switch_23; }
inline void set_compatibility_switch_23(List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * value)
{
___compatibility_switch_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___compatibility_switch_23), (void*)value);
}
};
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_StaticFields
{
public:
// System.String System.AppDomain::_process_guid
String_t* ____process_guid_2;
// System.AppDomain System.AppDomain::default_domain
AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * ___default_domain_10;
public:
inline static int32_t get_offset_of__process_guid_2() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_StaticFields, ____process_guid_2)); }
inline String_t* get__process_guid_2() const { return ____process_guid_2; }
inline String_t** get_address_of__process_guid_2() { return &____process_guid_2; }
inline void set__process_guid_2(String_t* value)
{
____process_guid_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____process_guid_2), (void*)value);
}
inline static int32_t get_offset_of_default_domain_10() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_StaticFields, ___default_domain_10)); }
inline AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * get_default_domain_10() const { return ___default_domain_10; }
inline AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 ** get_address_of_default_domain_10() { return &___default_domain_10; }
inline void set_default_domain_10(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * value)
{
___default_domain_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___default_domain_10), (void*)value);
}
};
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_ThreadStaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::type_resolve_in_progress
Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * ___type_resolve_in_progress_3;
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::assembly_resolve_in_progress
Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * ___assembly_resolve_in_progress_4;
// System.Collections.Generic.Dictionary`2<System.String,System.Object> System.AppDomain::assembly_resolve_in_progress_refonly
Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * ___assembly_resolve_in_progress_refonly_5;
// System.Object System.AppDomain::_principal
RuntimeObject * ____principal_9;
public:
inline static int32_t get_offset_of_type_resolve_in_progress_3() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_ThreadStaticFields, ___type_resolve_in_progress_3)); }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * get_type_resolve_in_progress_3() const { return ___type_resolve_in_progress_3; }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA ** get_address_of_type_resolve_in_progress_3() { return &___type_resolve_in_progress_3; }
inline void set_type_resolve_in_progress_3(Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * value)
{
___type_resolve_in_progress_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___type_resolve_in_progress_3), (void*)value);
}
inline static int32_t get_offset_of_assembly_resolve_in_progress_4() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_ThreadStaticFields, ___assembly_resolve_in_progress_4)); }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * get_assembly_resolve_in_progress_4() const { return ___assembly_resolve_in_progress_4; }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA ** get_address_of_assembly_resolve_in_progress_4() { return &___assembly_resolve_in_progress_4; }
inline void set_assembly_resolve_in_progress_4(Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * value)
{
___assembly_resolve_in_progress_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___assembly_resolve_in_progress_4), (void*)value);
}
inline static int32_t get_offset_of_assembly_resolve_in_progress_refonly_5() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_ThreadStaticFields, ___assembly_resolve_in_progress_refonly_5)); }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * get_assembly_resolve_in_progress_refonly_5() const { return ___assembly_resolve_in_progress_refonly_5; }
inline Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA ** get_address_of_assembly_resolve_in_progress_refonly_5() { return &___assembly_resolve_in_progress_refonly_5; }
inline void set_assembly_resolve_in_progress_refonly_5(Dictionary_2_t9140A71329927AE4FD0F3CF4D4D66668EBE151EA * value)
{
___assembly_resolve_in_progress_refonly_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___assembly_resolve_in_progress_refonly_5), (void*)value);
}
inline static int32_t get_offset_of__principal_9() { return static_cast<int32_t>(offsetof(AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_ThreadStaticFields, ____principal_9)); }
inline RuntimeObject * get__principal_9() const { return ____principal_9; }
inline RuntimeObject ** get_address_of__principal_9() { return &____principal_9; }
inline void set__principal_9(RuntimeObject * value)
{
____principal_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____principal_9), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.AppDomain
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_marshaled_pinvoke : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_pinvoke
{
intptr_t ____mono_app_domain_1;
Il2CppIUnknown* ____evidence_6;
Il2CppIUnknown* ____granted_7;
int32_t ____principalPolicy_8;
Il2CppMethodPointer ___AssemblyLoad_11;
Il2CppMethodPointer ___AssemblyResolve_12;
Il2CppMethodPointer ___DomainUnload_13;
Il2CppMethodPointer ___ProcessExit_14;
Il2CppMethodPointer ___ResourceResolve_15;
Il2CppMethodPointer ___TypeResolve_16;
Il2CppMethodPointer ___UnhandledException_17;
Il2CppMethodPointer ___FirstChanceException_18;
Il2CppIUnknown* ____domain_manager_19;
Il2CppMethodPointer ___ReflectionOnlyAssemblyResolve_20;
Il2CppIUnknown* ____activation_21;
Il2CppIUnknown* ____applicationIdentity_22;
List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * ___compatibility_switch_23;
};
// Native definition for COM marshalling of System.AppDomain
struct AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8_marshaled_com : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_com
{
intptr_t ____mono_app_domain_1;
Il2CppIUnknown* ____evidence_6;
Il2CppIUnknown* ____granted_7;
int32_t ____principalPolicy_8;
Il2CppMethodPointer ___AssemblyLoad_11;
Il2CppMethodPointer ___AssemblyResolve_12;
Il2CppMethodPointer ___DomainUnload_13;
Il2CppMethodPointer ___ProcessExit_14;
Il2CppMethodPointer ___ResourceResolve_15;
Il2CppMethodPointer ___TypeResolve_16;
Il2CppMethodPointer ___UnhandledException_17;
Il2CppMethodPointer ___FirstChanceException_18;
Il2CppIUnknown* ____domain_manager_19;
Il2CppMethodPointer ___ReflectionOnlyAssemblyResolve_20;
Il2CppIUnknown* ____activation_21;
Il2CppIUnknown* ____applicationIdentity_22;
List_1_tE8032E48C661C350FF9550E9063D595C0AB25CD3 * ___compatibility_switch_23;
};
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>
struct KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B, ___key_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_key_0() const { return ___key_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>
struct KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D
{
public:
// TKey System.Collections.Generic.KeyValuePair`2::key
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___key_0;
// TValue System.Collections.Generic.KeyValuePair`2::value
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * ___value_1;
public:
inline static int32_t get_offset_of_key_0() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D, ___key_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_key_0() const { return ___key_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_key_0() { return &___key_0; }
inline void set_key_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___key_0 = value;
}
inline static int32_t get_offset_of_value_1() { return static_cast<int32_t>(offsetof(KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D, ___value_1)); }
inline TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * get_value_1() const { return ___value_1; }
inline TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___value_1), (void*)value);
}
};
// System.DateTimeKind
struct DateTimeKind_t6BC23532930B812ABFCCEB2B61BC233712B180EE
{
public:
// System.Int32 System.DateTimeKind::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DateTimeKind_t6BC23532930B812ABFCCEB2B61BC233712B180EE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.DayOfWeek
struct DayOfWeek_tE7CD4C3124650FF8B2AD3E9DBD34B9896927DFF8
{
public:
// System.Int32 System.DayOfWeek::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DayOfWeek_tE7CD4C3124650FF8B2AD3E9DBD34B9896927DFF8, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*INT*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*INT*/* ___native_trace_ips_15;
};
// System.Exception_ExceptionMessageKind
struct ExceptionMessageKind_t5151BECAA7C450ADA0DDF5BB98A51E7042166AB7
{
public:
// System.Int32 System.Exception_ExceptionMessageKind::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionMessageKind_t5151BECAA7C450ADA0DDF5BB98A51E7042166AB7, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.ExceptionArgument
struct ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14
{
public:
// System.Int32 System.ExceptionArgument::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.ExceptionResource
struct ExceptionResource_t897ACCB868BF3CAAC00AB0C00D57D7A2B6C7586A
{
public:
// System.Int32 System.ExceptionResource::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionResource_t897ACCB868BF3CAAC00AB0C00D57D7A2B6C7586A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.IO.FileAccess
struct FileAccess_t31950F3A853EAE886AC8F13EA7FC03A3EB46E3F6
{
public:
// System.Int32 System.IO.FileAccess::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FileAccess_t31950F3A853EAE886AC8F13EA7FC03A3EB46E3F6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.PlatformID
struct PlatformID_t7969561D329B66D3E609C70CA506A519E06F2776
{
public:
// System.Int32 System.PlatformID::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(PlatformID_t7969561D329B66D3E609C70CA506A519E06F2776, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.MethodInfo
struct MethodInfo_t : public MethodBase_t
{
public:
public:
};
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable
struct ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9
{
public:
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable_ConfiguredTaskAwaiter System.Runtime.CompilerServices.ConfiguredTaskAwaitable::m_configuredTaskAwaiter
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 ___m_configuredTaskAwaiter_0;
public:
inline static int32_t get_offset_of_m_configuredTaskAwaiter_0() { return static_cast<int32_t>(offsetof(ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9, ___m_configuredTaskAwaiter_0)); }
inline ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 get_m_configuredTaskAwaiter_0() const { return ___m_configuredTaskAwaiter_0; }
inline ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 * get_address_of_m_configuredTaskAwaiter_0() { return &___m_configuredTaskAwaiter_0; }
inline void set_m_configuredTaskAwaiter_0(ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 value)
{
___m_configuredTaskAwaiter_0 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_configuredTaskAwaiter_0))->___m_task_0), (void*)NULL);
}
};
// Native definition for P/Invoke marshalling of System.Runtime.CompilerServices.ConfiguredTaskAwaitable
struct ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9_marshaled_pinvoke
{
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874_marshaled_pinvoke ___m_configuredTaskAwaiter_0;
};
// Native definition for COM marshalling of System.Runtime.CompilerServices.ConfiguredTaskAwaitable
struct ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9_marshaled_com
{
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874_marshaled_com ___m_configuredTaskAwaiter_0;
};
// System.Runtime.InteropServices.SafeHandle
struct SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 : public CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9
{
public:
// System.IntPtr System.Runtime.InteropServices.SafeHandle::handle
intptr_t ___handle_0;
// System.Int32 System.Runtime.InteropServices.SafeHandle::_state
int32_t ____state_1;
// System.Boolean System.Runtime.InteropServices.SafeHandle::_ownsHandle
bool ____ownsHandle_2;
// System.Boolean System.Runtime.InteropServices.SafeHandle::_fullyInitialized
bool ____fullyInitialized_3;
public:
inline static int32_t get_offset_of_handle_0() { return static_cast<int32_t>(offsetof(SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383, ___handle_0)); }
inline intptr_t get_handle_0() const { return ___handle_0; }
inline intptr_t* get_address_of_handle_0() { return &___handle_0; }
inline void set_handle_0(intptr_t value)
{
___handle_0 = value;
}
inline static int32_t get_offset_of__state_1() { return static_cast<int32_t>(offsetof(SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383, ____state_1)); }
inline int32_t get__state_1() const { return ____state_1; }
inline int32_t* get_address_of__state_1() { return &____state_1; }
inline void set__state_1(int32_t value)
{
____state_1 = value;
}
inline static int32_t get_offset_of__ownsHandle_2() { return static_cast<int32_t>(offsetof(SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383, ____ownsHandle_2)); }
inline bool get__ownsHandle_2() const { return ____ownsHandle_2; }
inline bool* get_address_of__ownsHandle_2() { return &____ownsHandle_2; }
inline void set__ownsHandle_2(bool value)
{
____ownsHandle_2 = value;
}
inline static int32_t get_offset_of__fullyInitialized_3() { return static_cast<int32_t>(offsetof(SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383, ____fullyInitialized_3)); }
inline bool get__fullyInitialized_3() const { return ____fullyInitialized_3; }
inline bool* get_address_of__fullyInitialized_3() { return &____fullyInitialized_3; }
inline void set__fullyInitialized_3(bool value)
{
____fullyInitialized_3 = value;
}
};
// System.Runtime.Remoting.Contexts.Context
struct Context_tE86AB6B3D9759C8E715184808579EFE761683724 : public RuntimeObject
{
public:
// System.Int32 System.Runtime.Remoting.Contexts.Context::domain_id
int32_t ___domain_id_0;
// System.Int32 System.Runtime.Remoting.Contexts.Context::context_id
int32_t ___context_id_1;
// System.UIntPtr System.Runtime.Remoting.Contexts.Context::static_data
uintptr_t ___static_data_2;
// System.UIntPtr System.Runtime.Remoting.Contexts.Context::data
uintptr_t ___data_3;
// System.Runtime.Remoting.Messaging.IMessageSink System.Runtime.Remoting.Contexts.Context::server_context_sink_chain
RuntimeObject* ___server_context_sink_chain_6;
// System.Runtime.Remoting.Messaging.IMessageSink System.Runtime.Remoting.Contexts.Context::client_context_sink_chain
RuntimeObject* ___client_context_sink_chain_7;
// System.Collections.Generic.List`1<System.Runtime.Remoting.Contexts.IContextProperty> System.Runtime.Remoting.Contexts.Context::context_properties
List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D * ___context_properties_8;
// System.LocalDataStoreHolder modreq(System.Runtime.CompilerServices.IsVolatile) System.Runtime.Remoting.Contexts.Context::_localDataStore
LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * ____localDataStore_10;
// System.Runtime.Remoting.Contexts.DynamicPropertyCollection System.Runtime.Remoting.Contexts.Context::context_dynamic_properties
DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * ___context_dynamic_properties_13;
// System.Runtime.Remoting.Contexts.ContextCallbackObject System.Runtime.Remoting.Contexts.Context::callback_object
ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 * ___callback_object_14;
public:
inline static int32_t get_offset_of_domain_id_0() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___domain_id_0)); }
inline int32_t get_domain_id_0() const { return ___domain_id_0; }
inline int32_t* get_address_of_domain_id_0() { return &___domain_id_0; }
inline void set_domain_id_0(int32_t value)
{
___domain_id_0 = value;
}
inline static int32_t get_offset_of_context_id_1() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___context_id_1)); }
inline int32_t get_context_id_1() const { return ___context_id_1; }
inline int32_t* get_address_of_context_id_1() { return &___context_id_1; }
inline void set_context_id_1(int32_t value)
{
___context_id_1 = value;
}
inline static int32_t get_offset_of_static_data_2() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___static_data_2)); }
inline uintptr_t get_static_data_2() const { return ___static_data_2; }
inline uintptr_t* get_address_of_static_data_2() { return &___static_data_2; }
inline void set_static_data_2(uintptr_t value)
{
___static_data_2 = value;
}
inline static int32_t get_offset_of_data_3() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___data_3)); }
inline uintptr_t get_data_3() const { return ___data_3; }
inline uintptr_t* get_address_of_data_3() { return &___data_3; }
inline void set_data_3(uintptr_t value)
{
___data_3 = value;
}
inline static int32_t get_offset_of_server_context_sink_chain_6() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___server_context_sink_chain_6)); }
inline RuntimeObject* get_server_context_sink_chain_6() const { return ___server_context_sink_chain_6; }
inline RuntimeObject** get_address_of_server_context_sink_chain_6() { return &___server_context_sink_chain_6; }
inline void set_server_context_sink_chain_6(RuntimeObject* value)
{
___server_context_sink_chain_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___server_context_sink_chain_6), (void*)value);
}
inline static int32_t get_offset_of_client_context_sink_chain_7() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___client_context_sink_chain_7)); }
inline RuntimeObject* get_client_context_sink_chain_7() const { return ___client_context_sink_chain_7; }
inline RuntimeObject** get_address_of_client_context_sink_chain_7() { return &___client_context_sink_chain_7; }
inline void set_client_context_sink_chain_7(RuntimeObject* value)
{
___client_context_sink_chain_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_context_sink_chain_7), (void*)value);
}
inline static int32_t get_offset_of_context_properties_8() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___context_properties_8)); }
inline List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D * get_context_properties_8() const { return ___context_properties_8; }
inline List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D ** get_address_of_context_properties_8() { return &___context_properties_8; }
inline void set_context_properties_8(List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D * value)
{
___context_properties_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___context_properties_8), (void*)value);
}
inline static int32_t get_offset_of__localDataStore_10() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ____localDataStore_10)); }
inline LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * get__localDataStore_10() const { return ____localDataStore_10; }
inline LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 ** get_address_of__localDataStore_10() { return &____localDataStore_10; }
inline void set__localDataStore_10(LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * value)
{
____localDataStore_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____localDataStore_10), (void*)value);
}
inline static int32_t get_offset_of_context_dynamic_properties_13() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___context_dynamic_properties_13)); }
inline DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * get_context_dynamic_properties_13() const { return ___context_dynamic_properties_13; }
inline DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C ** get_address_of_context_dynamic_properties_13() { return &___context_dynamic_properties_13; }
inline void set_context_dynamic_properties_13(DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * value)
{
___context_dynamic_properties_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___context_dynamic_properties_13), (void*)value);
}
inline static int32_t get_offset_of_callback_object_14() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724, ___callback_object_14)); }
inline ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 * get_callback_object_14() const { return ___callback_object_14; }
inline ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 ** get_address_of_callback_object_14() { return &___callback_object_14; }
inline void set_callback_object_14(ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 * value)
{
___callback_object_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callback_object_14), (void*)value);
}
};
struct Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields
{
public:
// System.Object[] System.Runtime.Remoting.Contexts.Context::local_slots
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___local_slots_4;
// System.Runtime.Remoting.Messaging.IMessageSink System.Runtime.Remoting.Contexts.Context::default_server_context_sink
RuntimeObject* ___default_server_context_sink_5;
// System.Int32 System.Runtime.Remoting.Contexts.Context::global_count
int32_t ___global_count_9;
// System.LocalDataStoreMgr System.Runtime.Remoting.Contexts.Context::_localDataStoreMgr
LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * ____localDataStoreMgr_11;
// System.Runtime.Remoting.Contexts.DynamicPropertyCollection System.Runtime.Remoting.Contexts.Context::global_dynamic_properties
DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * ___global_dynamic_properties_12;
public:
inline static int32_t get_offset_of_local_slots_4() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields, ___local_slots_4)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_local_slots_4() const { return ___local_slots_4; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_local_slots_4() { return &___local_slots_4; }
inline void set_local_slots_4(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___local_slots_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___local_slots_4), (void*)value);
}
inline static int32_t get_offset_of_default_server_context_sink_5() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields, ___default_server_context_sink_5)); }
inline RuntimeObject* get_default_server_context_sink_5() const { return ___default_server_context_sink_5; }
inline RuntimeObject** get_address_of_default_server_context_sink_5() { return &___default_server_context_sink_5; }
inline void set_default_server_context_sink_5(RuntimeObject* value)
{
___default_server_context_sink_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___default_server_context_sink_5), (void*)value);
}
inline static int32_t get_offset_of_global_count_9() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields, ___global_count_9)); }
inline int32_t get_global_count_9() const { return ___global_count_9; }
inline int32_t* get_address_of_global_count_9() { return &___global_count_9; }
inline void set_global_count_9(int32_t value)
{
___global_count_9 = value;
}
inline static int32_t get_offset_of__localDataStoreMgr_11() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields, ____localDataStoreMgr_11)); }
inline LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * get__localDataStoreMgr_11() const { return ____localDataStoreMgr_11; }
inline LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 ** get_address_of__localDataStoreMgr_11() { return &____localDataStoreMgr_11; }
inline void set__localDataStoreMgr_11(LocalDataStoreMgr_t1964DDB9F2BE154BE3159A7507D0D0CCBF8FDCA9 * value)
{
____localDataStoreMgr_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&____localDataStoreMgr_11), (void*)value);
}
inline static int32_t get_offset_of_global_dynamic_properties_12() { return static_cast<int32_t>(offsetof(Context_tE86AB6B3D9759C8E715184808579EFE761683724_StaticFields, ___global_dynamic_properties_12)); }
inline DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * get_global_dynamic_properties_12() const { return ___global_dynamic_properties_12; }
inline DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C ** get_address_of_global_dynamic_properties_12() { return &___global_dynamic_properties_12; }
inline void set_global_dynamic_properties_12(DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * value)
{
___global_dynamic_properties_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___global_dynamic_properties_12), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Runtime.Remoting.Contexts.Context
struct Context_tE86AB6B3D9759C8E715184808579EFE761683724_marshaled_pinvoke
{
int32_t ___domain_id_0;
int32_t ___context_id_1;
uintptr_t ___static_data_2;
uintptr_t ___data_3;
RuntimeObject* ___server_context_sink_chain_6;
RuntimeObject* ___client_context_sink_chain_7;
List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D * ___context_properties_8;
LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * ____localDataStore_10;
DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * ___context_dynamic_properties_13;
ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 * ___callback_object_14;
};
// Native definition for COM marshalling of System.Runtime.Remoting.Contexts.Context
struct Context_tE86AB6B3D9759C8E715184808579EFE761683724_marshaled_com
{
int32_t ___domain_id_0;
int32_t ___context_id_1;
uintptr_t ___static_data_2;
uintptr_t ___data_3;
RuntimeObject* ___server_context_sink_chain_6;
RuntimeObject* ___client_context_sink_chain_7;
List_1_t2E9E934268E3583A1050C7A03B1647E77B57672D * ___context_properties_8;
LocalDataStoreHolder_tE0636E08496405406FD63190AC51EEB2EE51E304 * ____localDataStore_10;
DynamicPropertyCollection_t53C262686576B02C86B55F8CAA16068AF33DC75C * ___context_dynamic_properties_13;
ContextCallbackObject_tA6E21305C9B16E0973DE8B607765D7E41632A4B0 * ___callback_object_14;
};
// System.Runtime.Serialization.StreamingContextStates
struct StreamingContextStates_t6D16CD7BC584A66A29B702F5FD59DF62BB1BDD3F
{
public:
// System.Int32 System.Runtime.Serialization.StreamingContextStates::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StreamingContextStates_t6D16CD7BC584A66A29B702F5FD59DF62BB1BDD3F, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
// System.StringComparison
struct StringComparison_t02BAA95468CE9E91115C604577611FDF58FEDCF0
{
public:
// System.Int32 System.StringComparison::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StringComparison_t02BAA95468CE9E91115C604577611FDF58FEDCF0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.CancellationTokenRegistration
struct CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2
{
public:
// System.Threading.CancellationCallbackInfo System.Threading.CancellationTokenRegistration::m_callbackInfo
CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 * ___m_callbackInfo_0;
// System.Threading.SparselyPopulatedArrayAddInfo`1<System.Threading.CancellationCallbackInfo> System.Threading.CancellationTokenRegistration::m_registrationInfo
SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE ___m_registrationInfo_1;
public:
inline static int32_t get_offset_of_m_callbackInfo_0() { return static_cast<int32_t>(offsetof(CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2, ___m_callbackInfo_0)); }
inline CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 * get_m_callbackInfo_0() const { return ___m_callbackInfo_0; }
inline CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 ** get_address_of_m_callbackInfo_0() { return &___m_callbackInfo_0; }
inline void set_m_callbackInfo_0(CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 * value)
{
___m_callbackInfo_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_callbackInfo_0), (void*)value);
}
inline static int32_t get_offset_of_m_registrationInfo_1() { return static_cast<int32_t>(offsetof(CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2, ___m_registrationInfo_1)); }
inline SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE get_m_registrationInfo_1() const { return ___m_registrationInfo_1; }
inline SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE * get_address_of_m_registrationInfo_1() { return &___m_registrationInfo_1; }
inline void set_m_registrationInfo_1(SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE value)
{
___m_registrationInfo_1 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_registrationInfo_1))->___m_source_0), (void*)NULL);
}
};
// Native definition for P/Invoke marshalling of System.Threading.CancellationTokenRegistration
struct CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2_marshaled_pinvoke
{
CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 * ___m_callbackInfo_0;
SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE ___m_registrationInfo_1;
};
// Native definition for COM marshalling of System.Threading.CancellationTokenRegistration
struct CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2_marshaled_com
{
CancellationCallbackInfo_t8CDEA0AA9C9D1A2321FE2F88878F4B5E0901CF36 * ___m_callbackInfo_0;
SparselyPopulatedArrayAddInfo_1_t0A76BDD84EBF76BEF894419FC221D25BB3D4FBEE ___m_registrationInfo_1;
};
// System.Threading.ExecutionContext_CaptureOptions
struct CaptureOptions_t7D9885DDA178752A2B4CA4EB542756102B918B6C
{
public:
// System.Int32 System.Threading.ExecutionContext_CaptureOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CaptureOptions_t7D9885DDA178752A2B4CA4EB542756102B918B6C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.ExecutionContext_Flags
struct Flags_t8F565E43354BBB9A79D7F0308B469D11A82268BD
{
public:
// System.Int32 System.Threading.ExecutionContext_Flags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Flags_t8F565E43354BBB9A79D7F0308B469D11A82268BD, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.ManualResetEventSlim
struct ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 : public RuntimeObject
{
public:
// System.Object modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ManualResetEventSlim::m_lock
RuntimeObject * ___m_lock_0;
// System.Threading.ManualResetEvent modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ManualResetEventSlim::m_eventObj
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * ___m_eventObj_1;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ManualResetEventSlim::m_combinedState
int32_t ___m_combinedState_2;
public:
inline static int32_t get_offset_of_m_lock_0() { return static_cast<int32_t>(offsetof(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445, ___m_lock_0)); }
inline RuntimeObject * get_m_lock_0() const { return ___m_lock_0; }
inline RuntimeObject ** get_address_of_m_lock_0() { return &___m_lock_0; }
inline void set_m_lock_0(RuntimeObject * value)
{
___m_lock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_lock_0), (void*)value);
}
inline static int32_t get_offset_of_m_eventObj_1() { return static_cast<int32_t>(offsetof(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445, ___m_eventObj_1)); }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * get_m_eventObj_1() const { return ___m_eventObj_1; }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 ** get_address_of_m_eventObj_1() { return &___m_eventObj_1; }
inline void set_m_eventObj_1(ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * value)
{
___m_eventObj_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_eventObj_1), (void*)value);
}
inline static int32_t get_offset_of_m_combinedState_2() { return static_cast<int32_t>(offsetof(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445, ___m_combinedState_2)); }
inline int32_t get_m_combinedState_2() const { return ___m_combinedState_2; }
inline int32_t* get_address_of_m_combinedState_2() { return &___m_combinedState_2; }
inline void set_m_combinedState_2(int32_t value)
{
___m_combinedState_2 = value;
}
};
struct ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445_StaticFields
{
public:
// System.Action`1<System.Object> System.Threading.ManualResetEventSlim::s_cancellationTokenCallback
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___s_cancellationTokenCallback_3;
public:
inline static int32_t get_offset_of_s_cancellationTokenCallback_3() { return static_cast<int32_t>(offsetof(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445_StaticFields, ___s_cancellationTokenCallback_3)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_s_cancellationTokenCallback_3() const { return ___s_cancellationTokenCallback_3; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_s_cancellationTokenCallback_3() { return &___s_cancellationTokenCallback_3; }
inline void set_s_cancellationTokenCallback_3(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___s_cancellationTokenCallback_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cancellationTokenCallback_3), (void*)value);
}
};
// System.Threading.SpinLock
struct SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1
{
public:
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.SpinLock::m_owner
int32_t ___m_owner_0;
public:
inline static int32_t get_offset_of_m_owner_0() { return static_cast<int32_t>(offsetof(SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1, ___m_owner_0)); }
inline int32_t get_m_owner_0() const { return ___m_owner_0; }
inline int32_t* get_address_of_m_owner_0() { return &___m_owner_0; }
inline void set_m_owner_0(int32_t value)
{
___m_owner_0 = value;
}
};
struct SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1_StaticFields
{
public:
// System.Int32 System.Threading.SpinLock::MAXIMUM_WAITERS
int32_t ___MAXIMUM_WAITERS_1;
public:
inline static int32_t get_offset_of_MAXIMUM_WAITERS_1() { return static_cast<int32_t>(offsetof(SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1_StaticFields, ___MAXIMUM_WAITERS_1)); }
inline int32_t get_MAXIMUM_WAITERS_1() const { return ___MAXIMUM_WAITERS_1; }
inline int32_t* get_address_of_MAXIMUM_WAITERS_1() { return &___MAXIMUM_WAITERS_1; }
inline void set_MAXIMUM_WAITERS_1(int32_t value)
{
___MAXIMUM_WAITERS_1 = value;
}
};
// System.Threading.StackCrawlMark
struct StackCrawlMark_t857D8DE506F124E737FD26BB7ADAAAAD13E4F943
{
public:
// System.Int32 System.Threading.StackCrawlMark::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StackCrawlMark_t857D8DE506F124E737FD26BB7ADAAAAD13E4F943, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.SynchronizationContextProperties
struct SynchronizationContextProperties_t28DF1E05A79EFDBA201C9F5FEF61A6D546151AA9
{
public:
// System.Int32 System.Threading.SynchronizationContextProperties::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SynchronizationContextProperties_t28DF1E05A79EFDBA201C9F5FEF61A6D546151AA9, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.AsyncCausalityStatus
struct AsyncCausalityStatus_t551C8435E137F3CE15E458A31D0FF0825FD5FA21
{
public:
// System.Int32 System.Threading.Tasks.AsyncCausalityStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AsyncCausalityStatus_t551C8435E137F3CE15E458A31D0FF0825FD5FA21, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.CausalityRelation
struct CausalityRelation_t7B7C548905BFF2D0E24701E2D4FE85DF2C68840A
{
public:
// System.Int32 System.Threading.Tasks.CausalityRelation::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CausalityRelation_t7B7C548905BFF2D0E24701E2D4FE85DF2C68840A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.CausalitySynchronousWork
struct CausalitySynchronousWork_t1D62C06C58A2C413B2D9F09E0AF2083B7999F860
{
public:
// System.Int32 System.Threading.Tasks.CausalitySynchronousWork::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CausalitySynchronousWork_t1D62C06C58A2C413B2D9F09E0AF2083B7999F860, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.CausalityTraceLevel
struct CausalityTraceLevel_t43E68E9AA92AD875A33C16851EFA189EA7D394EE
{
public:
// System.Int32 System.Threading.Tasks.CausalityTraceLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CausalityTraceLevel_t43E68E9AA92AD875A33C16851EFA189EA7D394EE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.InternalTaskOptions
struct InternalTaskOptions_t370B96BF359DE59C57EB5444F9310B8FFFA2AA6A
{
public:
// System.Int32 System.Threading.Tasks.InternalTaskOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(InternalTaskOptions_t370B96BF359DE59C57EB5444F9310B8FFFA2AA6A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation
struct SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE : public AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F
{
public:
// System.Threading.SynchronizationContext System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation::m_syncContext
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * ___m_syncContext_5;
public:
inline static int32_t get_offset_of_m_syncContext_5() { return static_cast<int32_t>(offsetof(SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE, ___m_syncContext_5)); }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * get_m_syncContext_5() const { return ___m_syncContext_5; }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 ** get_address_of_m_syncContext_5() { return &___m_syncContext_5; }
inline void set_m_syncContext_5(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * value)
{
___m_syncContext_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_syncContext_5), (void*)value);
}
};
struct SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE_StaticFields
{
public:
// System.Threading.SendOrPostCallback System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation::s_postCallback
SendOrPostCallback_t3F9C0164860E4AA5138DF8B4488DFB0D33147F01 * ___s_postCallback_3;
// System.Threading.ContextCallback System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation::s_postActionCallback
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___s_postActionCallback_4;
public:
inline static int32_t get_offset_of_s_postCallback_3() { return static_cast<int32_t>(offsetof(SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE_StaticFields, ___s_postCallback_3)); }
inline SendOrPostCallback_t3F9C0164860E4AA5138DF8B4488DFB0D33147F01 * get_s_postCallback_3() const { return ___s_postCallback_3; }
inline SendOrPostCallback_t3F9C0164860E4AA5138DF8B4488DFB0D33147F01 ** get_address_of_s_postCallback_3() { return &___s_postCallback_3; }
inline void set_s_postCallback_3(SendOrPostCallback_t3F9C0164860E4AA5138DF8B4488DFB0D33147F01 * value)
{
___s_postCallback_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_postCallback_3), (void*)value);
}
inline static int32_t get_offset_of_s_postActionCallback_4() { return static_cast<int32_t>(offsetof(SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE_StaticFields, ___s_postActionCallback_4)); }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * get_s_postActionCallback_4() const { return ___s_postActionCallback_4; }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 ** get_address_of_s_postActionCallback_4() { return &___s_postActionCallback_4; }
inline void set_s_postActionCallback_4(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * value)
{
___s_postActionCallback_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_postActionCallback_4), (void*)value);
}
};
// System.Threading.Tasks.Task
struct Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 : public RuntimeObject
{
public:
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_taskId
int32_t ___m_taskId_4;
// System.Object System.Threading.Tasks.Task::m_action
RuntimeObject * ___m_action_5;
// System.Object System.Threading.Tasks.Task::m_stateObject
RuntimeObject * ___m_stateObject_6;
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.Task::m_taskScheduler
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___m_taskScheduler_7;
// System.Threading.Tasks.Task System.Threading.Tasks.Task::m_parent
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_parent_8;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_stateFlags
int32_t ___m_stateFlags_9;
// System.Object modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_continuationObject
RuntimeObject * ___m_continuationObject_10;
// System.Threading.Tasks.Task_ContingentProperties modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task::m_contingentProperties
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * ___m_contingentProperties_15;
public:
inline static int32_t get_offset_of_m_taskId_4() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_taskId_4)); }
inline int32_t get_m_taskId_4() const { return ___m_taskId_4; }
inline int32_t* get_address_of_m_taskId_4() { return &___m_taskId_4; }
inline void set_m_taskId_4(int32_t value)
{
___m_taskId_4 = value;
}
inline static int32_t get_offset_of_m_action_5() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_action_5)); }
inline RuntimeObject * get_m_action_5() const { return ___m_action_5; }
inline RuntimeObject ** get_address_of_m_action_5() { return &___m_action_5; }
inline void set_m_action_5(RuntimeObject * value)
{
___m_action_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_action_5), (void*)value);
}
inline static int32_t get_offset_of_m_stateObject_6() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_stateObject_6)); }
inline RuntimeObject * get_m_stateObject_6() const { return ___m_stateObject_6; }
inline RuntimeObject ** get_address_of_m_stateObject_6() { return &___m_stateObject_6; }
inline void set_m_stateObject_6(RuntimeObject * value)
{
___m_stateObject_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_stateObject_6), (void*)value);
}
inline static int32_t get_offset_of_m_taskScheduler_7() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_taskScheduler_7)); }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * get_m_taskScheduler_7() const { return ___m_taskScheduler_7; }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 ** get_address_of_m_taskScheduler_7() { return &___m_taskScheduler_7; }
inline void set_m_taskScheduler_7(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * value)
{
___m_taskScheduler_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_taskScheduler_7), (void*)value);
}
inline static int32_t get_offset_of_m_parent_8() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_parent_8)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_parent_8() const { return ___m_parent_8; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_parent_8() { return &___m_parent_8; }
inline void set_m_parent_8(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_parent_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_parent_8), (void*)value);
}
inline static int32_t get_offset_of_m_stateFlags_9() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_stateFlags_9)); }
inline int32_t get_m_stateFlags_9() const { return ___m_stateFlags_9; }
inline int32_t* get_address_of_m_stateFlags_9() { return &___m_stateFlags_9; }
inline void set_m_stateFlags_9(int32_t value)
{
___m_stateFlags_9 = value;
}
inline static int32_t get_offset_of_m_continuationObject_10() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_continuationObject_10)); }
inline RuntimeObject * get_m_continuationObject_10() const { return ___m_continuationObject_10; }
inline RuntimeObject ** get_address_of_m_continuationObject_10() { return &___m_continuationObject_10; }
inline void set_m_continuationObject_10(RuntimeObject * value)
{
___m_continuationObject_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_continuationObject_10), (void*)value);
}
inline static int32_t get_offset_of_m_contingentProperties_15() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2, ___m_contingentProperties_15)); }
inline ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * get_m_contingentProperties_15() const { return ___m_contingentProperties_15; }
inline ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 ** get_address_of_m_contingentProperties_15() { return &___m_contingentProperties_15; }
inline void set_m_contingentProperties_15(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * value)
{
___m_contingentProperties_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_contingentProperties_15), (void*)value);
}
};
struct Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields
{
public:
// System.Int32 System.Threading.Tasks.Task::s_taskIdCounter
int32_t ___s_taskIdCounter_2;
// System.Threading.Tasks.TaskFactory System.Threading.Tasks.Task::s_factory
TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * ___s_factory_3;
// System.Object System.Threading.Tasks.Task::s_taskCompletionSentinel
RuntimeObject * ___s_taskCompletionSentinel_11;
// System.Boolean System.Threading.Tasks.Task::s_asyncDebuggingEnabled
bool ___s_asyncDebuggingEnabled_12;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task> System.Threading.Tasks.Task::s_currentActiveTasks
Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * ___s_currentActiveTasks_13;
// System.Object System.Threading.Tasks.Task::s_activeTasksLock
RuntimeObject * ___s_activeTasksLock_14;
// System.Action`1<System.Object> System.Threading.Tasks.Task::s_taskCancelCallback
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___s_taskCancelCallback_16;
// System.Func`1<System.Threading.Tasks.Task_ContingentProperties> System.Threading.Tasks.Task::s_createContingentProperties
Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * ___s_createContingentProperties_17;
// System.Threading.Tasks.Task System.Threading.Tasks.Task::s_completedTask
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___s_completedTask_18;
// System.Predicate`1<System.Threading.Tasks.Task> System.Threading.Tasks.Task::s_IsExceptionObservedByParentPredicate
Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * ___s_IsExceptionObservedByParentPredicate_19;
// System.Threading.ContextCallback System.Threading.Tasks.Task::s_ecCallback
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___s_ecCallback_20;
// System.Predicate`1<System.Object> System.Threading.Tasks.Task::s_IsTaskContinuationNullPredicate
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___s_IsTaskContinuationNullPredicate_21;
public:
inline static int32_t get_offset_of_s_taskIdCounter_2() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_taskIdCounter_2)); }
inline int32_t get_s_taskIdCounter_2() const { return ___s_taskIdCounter_2; }
inline int32_t* get_address_of_s_taskIdCounter_2() { return &___s_taskIdCounter_2; }
inline void set_s_taskIdCounter_2(int32_t value)
{
___s_taskIdCounter_2 = value;
}
inline static int32_t get_offset_of_s_factory_3() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_factory_3)); }
inline TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * get_s_factory_3() const { return ___s_factory_3; }
inline TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 ** get_address_of_s_factory_3() { return &___s_factory_3; }
inline void set_s_factory_3(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * value)
{
___s_factory_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_factory_3), (void*)value);
}
inline static int32_t get_offset_of_s_taskCompletionSentinel_11() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_taskCompletionSentinel_11)); }
inline RuntimeObject * get_s_taskCompletionSentinel_11() const { return ___s_taskCompletionSentinel_11; }
inline RuntimeObject ** get_address_of_s_taskCompletionSentinel_11() { return &___s_taskCompletionSentinel_11; }
inline void set_s_taskCompletionSentinel_11(RuntimeObject * value)
{
___s_taskCompletionSentinel_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_taskCompletionSentinel_11), (void*)value);
}
inline static int32_t get_offset_of_s_asyncDebuggingEnabled_12() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_asyncDebuggingEnabled_12)); }
inline bool get_s_asyncDebuggingEnabled_12() const { return ___s_asyncDebuggingEnabled_12; }
inline bool* get_address_of_s_asyncDebuggingEnabled_12() { return &___s_asyncDebuggingEnabled_12; }
inline void set_s_asyncDebuggingEnabled_12(bool value)
{
___s_asyncDebuggingEnabled_12 = value;
}
inline static int32_t get_offset_of_s_currentActiveTasks_13() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_currentActiveTasks_13)); }
inline Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * get_s_currentActiveTasks_13() const { return ___s_currentActiveTasks_13; }
inline Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F ** get_address_of_s_currentActiveTasks_13() { return &___s_currentActiveTasks_13; }
inline void set_s_currentActiveTasks_13(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * value)
{
___s_currentActiveTasks_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_currentActiveTasks_13), (void*)value);
}
inline static int32_t get_offset_of_s_activeTasksLock_14() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_activeTasksLock_14)); }
inline RuntimeObject * get_s_activeTasksLock_14() const { return ___s_activeTasksLock_14; }
inline RuntimeObject ** get_address_of_s_activeTasksLock_14() { return &___s_activeTasksLock_14; }
inline void set_s_activeTasksLock_14(RuntimeObject * value)
{
___s_activeTasksLock_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_activeTasksLock_14), (void*)value);
}
inline static int32_t get_offset_of_s_taskCancelCallback_16() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_taskCancelCallback_16)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_s_taskCancelCallback_16() const { return ___s_taskCancelCallback_16; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_s_taskCancelCallback_16() { return &___s_taskCancelCallback_16; }
inline void set_s_taskCancelCallback_16(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___s_taskCancelCallback_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_taskCancelCallback_16), (void*)value);
}
inline static int32_t get_offset_of_s_createContingentProperties_17() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_createContingentProperties_17)); }
inline Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * get_s_createContingentProperties_17() const { return ___s_createContingentProperties_17; }
inline Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F ** get_address_of_s_createContingentProperties_17() { return &___s_createContingentProperties_17; }
inline void set_s_createContingentProperties_17(Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * value)
{
___s_createContingentProperties_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_createContingentProperties_17), (void*)value);
}
inline static int32_t get_offset_of_s_completedTask_18() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_completedTask_18)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_s_completedTask_18() const { return ___s_completedTask_18; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_s_completedTask_18() { return &___s_completedTask_18; }
inline void set_s_completedTask_18(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___s_completedTask_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_completedTask_18), (void*)value);
}
inline static int32_t get_offset_of_s_IsExceptionObservedByParentPredicate_19() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_IsExceptionObservedByParentPredicate_19)); }
inline Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * get_s_IsExceptionObservedByParentPredicate_19() const { return ___s_IsExceptionObservedByParentPredicate_19; }
inline Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 ** get_address_of_s_IsExceptionObservedByParentPredicate_19() { return &___s_IsExceptionObservedByParentPredicate_19; }
inline void set_s_IsExceptionObservedByParentPredicate_19(Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * value)
{
___s_IsExceptionObservedByParentPredicate_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_IsExceptionObservedByParentPredicate_19), (void*)value);
}
inline static int32_t get_offset_of_s_ecCallback_20() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_ecCallback_20)); }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * get_s_ecCallback_20() const { return ___s_ecCallback_20; }
inline ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 ** get_address_of_s_ecCallback_20() { return &___s_ecCallback_20; }
inline void set_s_ecCallback_20(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * value)
{
___s_ecCallback_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_ecCallback_20), (void*)value);
}
inline static int32_t get_offset_of_s_IsTaskContinuationNullPredicate_21() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields, ___s_IsTaskContinuationNullPredicate_21)); }
inline Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * get_s_IsTaskContinuationNullPredicate_21() const { return ___s_IsTaskContinuationNullPredicate_21; }
inline Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 ** get_address_of_s_IsTaskContinuationNullPredicate_21() { return &___s_IsTaskContinuationNullPredicate_21; }
inline void set_s_IsTaskContinuationNullPredicate_21(Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * value)
{
___s_IsTaskContinuationNullPredicate_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_IsTaskContinuationNullPredicate_21), (void*)value);
}
};
struct Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.Task::t_currentTask
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___t_currentTask_0;
// System.Threading.Tasks.StackGuard System.Threading.Tasks.Task::t_stackGuard
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * ___t_stackGuard_1;
public:
inline static int32_t get_offset_of_t_currentTask_0() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields, ___t_currentTask_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_t_currentTask_0() const { return ___t_currentTask_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_t_currentTask_0() { return &___t_currentTask_0; }
inline void set_t_currentTask_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___t_currentTask_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___t_currentTask_0), (void*)value);
}
inline static int32_t get_offset_of_t_stackGuard_1() { return static_cast<int32_t>(offsetof(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields, ___t_stackGuard_1)); }
inline StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * get_t_stackGuard_1() const { return ___t_stackGuard_1; }
inline StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 ** get_address_of_t_stackGuard_1() { return &___t_stackGuard_1; }
inline void set_t_stackGuard_1(StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * value)
{
___t_stackGuard_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___t_stackGuard_1), (void*)value);
}
};
// System.Threading.Tasks.Task_ContingentProperties
struct ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 : public RuntimeObject
{
public:
// System.Threading.ExecutionContext System.Threading.Tasks.Task_ContingentProperties::m_capturedContext
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___m_capturedContext_0;
// System.Threading.ManualResetEventSlim modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task_ContingentProperties::m_completionEvent
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * ___m_completionEvent_1;
// System.Threading.Tasks.TaskExceptionHolder modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task_ContingentProperties::m_exceptionsHolder
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * ___m_exceptionsHolder_2;
// System.Threading.CancellationToken System.Threading.Tasks.Task_ContingentProperties::m_cancellationToken
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___m_cancellationToken_3;
// System.Threading.Tasks.Shared`1<System.Threading.CancellationTokenRegistration> System.Threading.Tasks.Task_ContingentProperties::m_cancellationRegistration
Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * ___m_cancellationRegistration_4;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task_ContingentProperties::m_internalCancellationRequested
int32_t ___m_internalCancellationRequested_5;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task_ContingentProperties::m_completionCountdown
int32_t ___m_completionCountdown_6;
// System.Collections.Generic.List`1<System.Threading.Tasks.Task> modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.Task_ContingentProperties::m_exceptionalChildren
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * ___m_exceptionalChildren_7;
public:
inline static int32_t get_offset_of_m_capturedContext_0() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_capturedContext_0)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_m_capturedContext_0() const { return ___m_capturedContext_0; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_m_capturedContext_0() { return &___m_capturedContext_0; }
inline void set_m_capturedContext_0(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___m_capturedContext_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_capturedContext_0), (void*)value);
}
inline static int32_t get_offset_of_m_completionEvent_1() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_completionEvent_1)); }
inline ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * get_m_completionEvent_1() const { return ___m_completionEvent_1; }
inline ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 ** get_address_of_m_completionEvent_1() { return &___m_completionEvent_1; }
inline void set_m_completionEvent_1(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * value)
{
___m_completionEvent_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_completionEvent_1), (void*)value);
}
inline static int32_t get_offset_of_m_exceptionsHolder_2() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_exceptionsHolder_2)); }
inline TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * get_m_exceptionsHolder_2() const { return ___m_exceptionsHolder_2; }
inline TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 ** get_address_of_m_exceptionsHolder_2() { return &___m_exceptionsHolder_2; }
inline void set_m_exceptionsHolder_2(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * value)
{
___m_exceptionsHolder_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_exceptionsHolder_2), (void*)value);
}
inline static int32_t get_offset_of_m_cancellationToken_3() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_cancellationToken_3)); }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB get_m_cancellationToken_3() const { return ___m_cancellationToken_3; }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * get_address_of_m_cancellationToken_3() { return &___m_cancellationToken_3; }
inline void set_m_cancellationToken_3(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB value)
{
___m_cancellationToken_3 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_cancellationToken_3))->___m_source_0), (void*)NULL);
}
inline static int32_t get_offset_of_m_cancellationRegistration_4() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_cancellationRegistration_4)); }
inline Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * get_m_cancellationRegistration_4() const { return ___m_cancellationRegistration_4; }
inline Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 ** get_address_of_m_cancellationRegistration_4() { return &___m_cancellationRegistration_4; }
inline void set_m_cancellationRegistration_4(Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * value)
{
___m_cancellationRegistration_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_cancellationRegistration_4), (void*)value);
}
inline static int32_t get_offset_of_m_internalCancellationRequested_5() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_internalCancellationRequested_5)); }
inline int32_t get_m_internalCancellationRequested_5() const { return ___m_internalCancellationRequested_5; }
inline int32_t* get_address_of_m_internalCancellationRequested_5() { return &___m_internalCancellationRequested_5; }
inline void set_m_internalCancellationRequested_5(int32_t value)
{
___m_internalCancellationRequested_5 = value;
}
inline static int32_t get_offset_of_m_completionCountdown_6() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_completionCountdown_6)); }
inline int32_t get_m_completionCountdown_6() const { return ___m_completionCountdown_6; }
inline int32_t* get_address_of_m_completionCountdown_6() { return &___m_completionCountdown_6; }
inline void set_m_completionCountdown_6(int32_t value)
{
___m_completionCountdown_6 = value;
}
inline static int32_t get_offset_of_m_exceptionalChildren_7() { return static_cast<int32_t>(offsetof(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08, ___m_exceptionalChildren_7)); }
inline List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * get_m_exceptionalChildren_7() const { return ___m_exceptionalChildren_7; }
inline List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E ** get_address_of_m_exceptionalChildren_7() { return &___m_exceptionalChildren_7; }
inline void set_m_exceptionalChildren_7(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * value)
{
___m_exceptionalChildren_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_exceptionalChildren_7), (void*)value);
}
};
// System.Threading.Tasks.TaskContinuationOptions
struct TaskContinuationOptions_t749581ABDD24D74BD051F09EC4E3408C209121A2
{
public:
// System.Int32 System.Threading.Tasks.TaskContinuationOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TaskContinuationOptions_t749581ABDD24D74BD051F09EC4E3408C209121A2, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.TaskCreationOptions
struct TaskCreationOptions_t73D75E64925AACDF2A90DDB3D508192A8E74D375
{
public:
// System.Int32 System.Threading.Tasks.TaskCreationOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TaskCreationOptions_t73D75E64925AACDF2A90DDB3D508192A8E74D375, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.Tasks.TaskExceptionHolder
struct TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 : public RuntimeObject
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.TaskExceptionHolder::m_task
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_3;
// System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo> modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.TaskExceptionHolder::m_faultExceptions
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * ___m_faultExceptions_4;
// System.Runtime.ExceptionServices.ExceptionDispatchInfo System.Threading.Tasks.TaskExceptionHolder::m_cancellationException
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * ___m_cancellationException_5;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.TaskExceptionHolder::m_isHandled
bool ___m_isHandled_6;
public:
inline static int32_t get_offset_of_m_task_3() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811, ___m_task_3)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_task_3() const { return ___m_task_3; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_task_3() { return &___m_task_3; }
inline void set_m_task_3(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_task_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_task_3), (void*)value);
}
inline static int32_t get_offset_of_m_faultExceptions_4() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811, ___m_faultExceptions_4)); }
inline List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * get_m_faultExceptions_4() const { return ___m_faultExceptions_4; }
inline List_1_tCD04260AE1254C438132446F1E6892AB86D18743 ** get_address_of_m_faultExceptions_4() { return &___m_faultExceptions_4; }
inline void set_m_faultExceptions_4(List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * value)
{
___m_faultExceptions_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_faultExceptions_4), (void*)value);
}
inline static int32_t get_offset_of_m_cancellationException_5() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811, ___m_cancellationException_5)); }
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * get_m_cancellationException_5() const { return ___m_cancellationException_5; }
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A ** get_address_of_m_cancellationException_5() { return &___m_cancellationException_5; }
inline void set_m_cancellationException_5(ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * value)
{
___m_cancellationException_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_cancellationException_5), (void*)value);
}
inline static int32_t get_offset_of_m_isHandled_6() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811, ___m_isHandled_6)); }
inline bool get_m_isHandled_6() const { return ___m_isHandled_6; }
inline bool* get_address_of_m_isHandled_6() { return &___m_isHandled_6; }
inline void set_m_isHandled_6(bool value)
{
___m_isHandled_6 = value;
}
};
struct TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields
{
public:
// System.Boolean System.Threading.Tasks.TaskExceptionHolder::s_failFastOnUnobservedException
bool ___s_failFastOnUnobservedException_0;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.TaskExceptionHolder::s_domainUnloadStarted
bool ___s_domainUnloadStarted_1;
// System.EventHandler modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.TaskExceptionHolder::s_adUnloadEventHandler
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * ___s_adUnloadEventHandler_2;
public:
inline static int32_t get_offset_of_s_failFastOnUnobservedException_0() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields, ___s_failFastOnUnobservedException_0)); }
inline bool get_s_failFastOnUnobservedException_0() const { return ___s_failFastOnUnobservedException_0; }
inline bool* get_address_of_s_failFastOnUnobservedException_0() { return &___s_failFastOnUnobservedException_0; }
inline void set_s_failFastOnUnobservedException_0(bool value)
{
___s_failFastOnUnobservedException_0 = value;
}
inline static int32_t get_offset_of_s_domainUnloadStarted_1() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields, ___s_domainUnloadStarted_1)); }
inline bool get_s_domainUnloadStarted_1() const { return ___s_domainUnloadStarted_1; }
inline bool* get_address_of_s_domainUnloadStarted_1() { return &___s_domainUnloadStarted_1; }
inline void set_s_domainUnloadStarted_1(bool value)
{
___s_domainUnloadStarted_1 = value;
}
inline static int32_t get_offset_of_s_adUnloadEventHandler_2() { return static_cast<int32_t>(offsetof(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields, ___s_adUnloadEventHandler_2)); }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * get_s_adUnloadEventHandler_2() const { return ___s_adUnloadEventHandler_2; }
inline EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C ** get_address_of_s_adUnloadEventHandler_2() { return &___s_adUnloadEventHandler_2; }
inline void set_s_adUnloadEventHandler_2(EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * value)
{
___s_adUnloadEventHandler_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_adUnloadEventHandler_2), (void*)value);
}
};
// System.Threading.Tasks.TaskScheduler
struct TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 : public RuntimeObject
{
public:
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.Tasks.TaskScheduler::m_taskSchedulerId
int32_t ___m_taskSchedulerId_3;
public:
inline static int32_t get_offset_of_m_taskSchedulerId_3() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114, ___m_taskSchedulerId_3)); }
inline int32_t get_m_taskSchedulerId_3() const { return ___m_taskSchedulerId_3; }
inline int32_t* get_address_of_m_taskSchedulerId_3() { return &___m_taskSchedulerId_3; }
inline void set_m_taskSchedulerId_3(int32_t value)
{
___m_taskSchedulerId_3 = value;
}
};
struct TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields
{
public:
// System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Threading.Tasks.TaskScheduler,System.Object> System.Threading.Tasks.TaskScheduler::s_activeTaskSchedulers
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * ___s_activeTaskSchedulers_0;
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::s_defaultTaskScheduler
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___s_defaultTaskScheduler_1;
// System.Int32 System.Threading.Tasks.TaskScheduler::s_taskSchedulerIdCounter
int32_t ___s_taskSchedulerIdCounter_2;
// System.EventHandler`1<System.Threading.Tasks.UnobservedTaskExceptionEventArgs> System.Threading.Tasks.TaskScheduler::_unobservedTaskException
EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * ____unobservedTaskException_4;
// System.Object System.Threading.Tasks.TaskScheduler::_unobservedTaskExceptionLockObject
RuntimeObject * ____unobservedTaskExceptionLockObject_5;
public:
inline static int32_t get_offset_of_s_activeTaskSchedulers_0() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields, ___s_activeTaskSchedulers_0)); }
inline ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * get_s_activeTaskSchedulers_0() const { return ___s_activeTaskSchedulers_0; }
inline ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C ** get_address_of_s_activeTaskSchedulers_0() { return &___s_activeTaskSchedulers_0; }
inline void set_s_activeTaskSchedulers_0(ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * value)
{
___s_activeTaskSchedulers_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_activeTaskSchedulers_0), (void*)value);
}
inline static int32_t get_offset_of_s_defaultTaskScheduler_1() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields, ___s_defaultTaskScheduler_1)); }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * get_s_defaultTaskScheduler_1() const { return ___s_defaultTaskScheduler_1; }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 ** get_address_of_s_defaultTaskScheduler_1() { return &___s_defaultTaskScheduler_1; }
inline void set_s_defaultTaskScheduler_1(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * value)
{
___s_defaultTaskScheduler_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_defaultTaskScheduler_1), (void*)value);
}
inline static int32_t get_offset_of_s_taskSchedulerIdCounter_2() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields, ___s_taskSchedulerIdCounter_2)); }
inline int32_t get_s_taskSchedulerIdCounter_2() const { return ___s_taskSchedulerIdCounter_2; }
inline int32_t* get_address_of_s_taskSchedulerIdCounter_2() { return &___s_taskSchedulerIdCounter_2; }
inline void set_s_taskSchedulerIdCounter_2(int32_t value)
{
___s_taskSchedulerIdCounter_2 = value;
}
inline static int32_t get_offset_of__unobservedTaskException_4() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields, ____unobservedTaskException_4)); }
inline EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * get__unobservedTaskException_4() const { return ____unobservedTaskException_4; }
inline EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC ** get_address_of__unobservedTaskException_4() { return &____unobservedTaskException_4; }
inline void set__unobservedTaskException_4(EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * value)
{
____unobservedTaskException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____unobservedTaskException_4), (void*)value);
}
inline static int32_t get_offset_of__unobservedTaskExceptionLockObject_5() { return static_cast<int32_t>(offsetof(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields, ____unobservedTaskExceptionLockObject_5)); }
inline RuntimeObject * get__unobservedTaskExceptionLockObject_5() const { return ____unobservedTaskExceptionLockObject_5; }
inline RuntimeObject ** get_address_of__unobservedTaskExceptionLockObject_5() { return &____unobservedTaskExceptionLockObject_5; }
inline void set__unobservedTaskExceptionLockObject_5(RuntimeObject * value)
{
____unobservedTaskExceptionLockObject_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____unobservedTaskExceptionLockObject_5), (void*)value);
}
};
// System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation
struct TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 : public AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F
{
public:
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation::m_scheduler
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___m_scheduler_3;
public:
inline static int32_t get_offset_of_m_scheduler_3() { return static_cast<int32_t>(offsetof(TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6, ___m_scheduler_3)); }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * get_m_scheduler_3() const { return ___m_scheduler_3; }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 ** get_address_of_m_scheduler_3() { return &___m_scheduler_3; }
inline void set_m_scheduler_3(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * value)
{
___m_scheduler_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_scheduler_3), (void*)value);
}
};
// System.Threading.Tasks.TaskStatus
struct TaskStatus_t4DB45EB7777EB16CEB85E12E43C4F56EAFA59A99
{
public:
// System.Int32 System.Threading.Tasks.TaskStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TaskStatus_t4DB45EB7777EB16CEB85E12E43C4F56EAFA59A99, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.ThreadPoolGlobals
struct ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5 : public RuntimeObject
{
public:
public:
};
struct ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields
{
public:
// System.UInt32 System.Threading.ThreadPoolGlobals::tpQuantum
uint32_t ___tpQuantum_0;
// System.Int32 System.Threading.ThreadPoolGlobals::processorCount
int32_t ___processorCount_1;
// System.Boolean System.Threading.ThreadPoolGlobals::tpHosted
bool ___tpHosted_2;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolGlobals::vmTpInitialized
bool ___vmTpInitialized_3;
// System.Boolean System.Threading.ThreadPoolGlobals::enableWorkerTracking
bool ___enableWorkerTracking_4;
// System.Threading.ThreadPoolWorkQueue System.Threading.ThreadPoolGlobals::workQueue
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * ___workQueue_5;
public:
inline static int32_t get_offset_of_tpQuantum_0() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___tpQuantum_0)); }
inline uint32_t get_tpQuantum_0() const { return ___tpQuantum_0; }
inline uint32_t* get_address_of_tpQuantum_0() { return &___tpQuantum_0; }
inline void set_tpQuantum_0(uint32_t value)
{
___tpQuantum_0 = value;
}
inline static int32_t get_offset_of_processorCount_1() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___processorCount_1)); }
inline int32_t get_processorCount_1() const { return ___processorCount_1; }
inline int32_t* get_address_of_processorCount_1() { return &___processorCount_1; }
inline void set_processorCount_1(int32_t value)
{
___processorCount_1 = value;
}
inline static int32_t get_offset_of_tpHosted_2() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___tpHosted_2)); }
inline bool get_tpHosted_2() const { return ___tpHosted_2; }
inline bool* get_address_of_tpHosted_2() { return &___tpHosted_2; }
inline void set_tpHosted_2(bool value)
{
___tpHosted_2 = value;
}
inline static int32_t get_offset_of_vmTpInitialized_3() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___vmTpInitialized_3)); }
inline bool get_vmTpInitialized_3() const { return ___vmTpInitialized_3; }
inline bool* get_address_of_vmTpInitialized_3() { return &___vmTpInitialized_3; }
inline void set_vmTpInitialized_3(bool value)
{
___vmTpInitialized_3 = value;
}
inline static int32_t get_offset_of_enableWorkerTracking_4() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___enableWorkerTracking_4)); }
inline bool get_enableWorkerTracking_4() const { return ___enableWorkerTracking_4; }
inline bool* get_address_of_enableWorkerTracking_4() { return &___enableWorkerTracking_4; }
inline void set_enableWorkerTracking_4(bool value)
{
___enableWorkerTracking_4 = value;
}
inline static int32_t get_offset_of_workQueue_5() { return static_cast<int32_t>(offsetof(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields, ___workQueue_5)); }
inline ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * get_workQueue_5() const { return ___workQueue_5; }
inline ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 ** get_address_of_workQueue_5() { return &___workQueue_5; }
inline void set_workQueue_5(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * value)
{
___workQueue_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___workQueue_5), (void*)value);
}
};
// System.Threading.ThreadPoolWorkQueue
struct ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 : public RuntimeObject
{
public:
// System.Threading.ThreadPoolWorkQueue_QueueSegment modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue::queueHead
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * ___queueHead_0;
// System.Threading.ThreadPoolWorkQueue_QueueSegment modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue::queueTail
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * ___queueTail_1;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue::numOutstandingThreadRequests
int32_t ___numOutstandingThreadRequests_3;
public:
inline static int32_t get_offset_of_queueHead_0() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011, ___queueHead_0)); }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * get_queueHead_0() const { return ___queueHead_0; }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** get_address_of_queueHead_0() { return &___queueHead_0; }
inline void set_queueHead_0(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * value)
{
___queueHead_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___queueHead_0), (void*)value);
}
inline static int32_t get_offset_of_queueTail_1() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011, ___queueTail_1)); }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * get_queueTail_1() const { return ___queueTail_1; }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** get_address_of_queueTail_1() { return &___queueTail_1; }
inline void set_queueTail_1(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * value)
{
___queueTail_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___queueTail_1), (void*)value);
}
inline static int32_t get_offset_of_numOutstandingThreadRequests_3() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011, ___numOutstandingThreadRequests_3)); }
inline int32_t get_numOutstandingThreadRequests_3() const { return ___numOutstandingThreadRequests_3; }
inline int32_t* get_address_of_numOutstandingThreadRequests_3() { return &___numOutstandingThreadRequests_3; }
inline void set_numOutstandingThreadRequests_3(int32_t value)
{
___numOutstandingThreadRequests_3 = value;
}
};
struct ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields
{
public:
// System.Threading.ThreadPoolWorkQueue_SparseArray`1<System.Threading.ThreadPoolWorkQueue_WorkStealingQueue> System.Threading.ThreadPoolWorkQueue::allThreadQueues
SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * ___allThreadQueues_2;
public:
inline static int32_t get_offset_of_allThreadQueues_2() { return static_cast<int32_t>(offsetof(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields, ___allThreadQueues_2)); }
inline SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * get_allThreadQueues_2() const { return ___allThreadQueues_2; }
inline SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB ** get_address_of_allThreadQueues_2() { return &___allThreadQueues_2; }
inline void set_allThreadQueues_2(SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * value)
{
___allThreadQueues_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___allThreadQueues_2), (void*)value);
}
};
// System.Threading.ThreadPoolWorkQueue_QueueSegment
struct QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE : public RuntimeObject
{
public:
// System.Threading.IThreadPoolWorkItem[] System.Threading.ThreadPoolWorkQueue_QueueSegment::nodes
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* ___nodes_0;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_QueueSegment::indexes
int32_t ___indexes_1;
// System.Threading.ThreadPoolWorkQueue_QueueSegment modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_QueueSegment::Next
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * ___Next_2;
public:
inline static int32_t get_offset_of_nodes_0() { return static_cast<int32_t>(offsetof(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE, ___nodes_0)); }
inline IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* get_nodes_0() const { return ___nodes_0; }
inline IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154** get_address_of_nodes_0() { return &___nodes_0; }
inline void set_nodes_0(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* value)
{
___nodes_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nodes_0), (void*)value);
}
inline static int32_t get_offset_of_indexes_1() { return static_cast<int32_t>(offsetof(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE, ___indexes_1)); }
inline int32_t get_indexes_1() const { return ___indexes_1; }
inline int32_t* get_address_of_indexes_1() { return &___indexes_1; }
inline void set_indexes_1(int32_t value)
{
___indexes_1 = value;
}
inline static int32_t get_offset_of_Next_2() { return static_cast<int32_t>(offsetof(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE, ___Next_2)); }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * get_Next_2() const { return ___Next_2; }
inline QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** get_address_of_Next_2() { return &___Next_2; }
inline void set_Next_2(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * value)
{
___Next_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Next_2), (void*)value);
}
};
// System.Threading.ThreadState
struct ThreadState_t5DE1FACD0DA096CCF07D144CBEB4D124CECC671E
{
public:
// System.Int32 System.Threading.ThreadState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ThreadState_t5DE1FACD0DA096CCF07D144CBEB4D124CECC671E, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Threading.WaitHandle
struct WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.IntPtr System.Threading.WaitHandle::waitHandle
intptr_t ___waitHandle_3;
// Microsoft.Win32.SafeHandles.SafeWaitHandle modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.WaitHandle::safeWaitHandle
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * ___safeWaitHandle_4;
// System.Boolean System.Threading.WaitHandle::hasThreadAffinity
bool ___hasThreadAffinity_5;
public:
inline static int32_t get_offset_of_waitHandle_3() { return static_cast<int32_t>(offsetof(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6, ___waitHandle_3)); }
inline intptr_t get_waitHandle_3() const { return ___waitHandle_3; }
inline intptr_t* get_address_of_waitHandle_3() { return &___waitHandle_3; }
inline void set_waitHandle_3(intptr_t value)
{
___waitHandle_3 = value;
}
inline static int32_t get_offset_of_safeWaitHandle_4() { return static_cast<int32_t>(offsetof(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6, ___safeWaitHandle_4)); }
inline SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * get_safeWaitHandle_4() const { return ___safeWaitHandle_4; }
inline SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 ** get_address_of_safeWaitHandle_4() { return &___safeWaitHandle_4; }
inline void set_safeWaitHandle_4(SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * value)
{
___safeWaitHandle_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___safeWaitHandle_4), (void*)value);
}
inline static int32_t get_offset_of_hasThreadAffinity_5() { return static_cast<int32_t>(offsetof(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6, ___hasThreadAffinity_5)); }
inline bool get_hasThreadAffinity_5() const { return ___hasThreadAffinity_5; }
inline bool* get_address_of_hasThreadAffinity_5() { return &___hasThreadAffinity_5; }
inline void set_hasThreadAffinity_5(bool value)
{
___hasThreadAffinity_5 = value;
}
};
struct WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields
{
public:
// System.IntPtr System.Threading.WaitHandle::InvalidHandle
intptr_t ___InvalidHandle_10;
public:
inline static int32_t get_offset_of_InvalidHandle_10() { return static_cast<int32_t>(offsetof(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields, ___InvalidHandle_10)); }
inline intptr_t get_InvalidHandle_10() const { return ___InvalidHandle_10; }
inline intptr_t* get_address_of_InvalidHandle_10() { return &___InvalidHandle_10; }
inline void set_InvalidHandle_10(intptr_t value)
{
___InvalidHandle_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Threading.WaitHandle
struct WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_pinvoke : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_pinvoke
{
intptr_t ___waitHandle_3;
void* ___safeWaitHandle_4;
int32_t ___hasThreadAffinity_5;
};
// Native definition for COM marshalling of System.Threading.WaitHandle
struct WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_com : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF_marshaled_com
{
intptr_t ___waitHandle_3;
void* ___safeWaitHandle_4;
int32_t ___hasThreadAffinity_5;
};
// System.TimeSpan
struct TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4
{
public:
// System.Int64 System.TimeSpan::_ticks
int64_t ____ticks_3;
public:
inline static int32_t get_offset_of__ticks_3() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4, ____ticks_3)); }
inline int64_t get__ticks_3() const { return ____ticks_3; }
inline int64_t* get_address_of__ticks_3() { return &____ticks_3; }
inline void set__ticks_3(int64_t value)
{
____ticks_3 = value;
}
};
struct TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields
{
public:
// System.TimeSpan System.TimeSpan::Zero
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___Zero_0;
// System.TimeSpan System.TimeSpan::MaxValue
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___MaxValue_1;
// System.TimeSpan System.TimeSpan::MinValue
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___MinValue_2;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyConfigChecked
bool ____legacyConfigChecked_4;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyMode
bool ____legacyMode_5;
public:
inline static int32_t get_offset_of_Zero_0() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields, ___Zero_0)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_Zero_0() const { return ___Zero_0; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_Zero_0() { return &___Zero_0; }
inline void set_Zero_0(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___Zero_0 = value;
}
inline static int32_t get_offset_of_MaxValue_1() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields, ___MaxValue_1)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_MaxValue_1() const { return ___MaxValue_1; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_MaxValue_1() { return &___MaxValue_1; }
inline void set_MaxValue_1(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___MaxValue_1 = value;
}
inline static int32_t get_offset_of_MinValue_2() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields, ___MinValue_2)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_MinValue_2() const { return ___MinValue_2; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_MinValue_2() { return &___MinValue_2; }
inline void set_MinValue_2(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___MinValue_2 = value;
}
inline static int32_t get_offset_of__legacyConfigChecked_4() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields, ____legacyConfigChecked_4)); }
inline bool get__legacyConfigChecked_4() const { return ____legacyConfigChecked_4; }
inline bool* get_address_of__legacyConfigChecked_4() { return &____legacyConfigChecked_4; }
inline void set__legacyConfigChecked_4(bool value)
{
____legacyConfigChecked_4 = value;
}
inline static int32_t get_offset_of__legacyMode_5() { return static_cast<int32_t>(offsetof(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields, ____legacyMode_5)); }
inline bool get__legacyMode_5() const { return ____legacyMode_5; }
inline bool* get_address_of__legacyMode_5() { return &____legacyMode_5; }
inline void set__legacyMode_5(bool value)
{
____legacyMode_5 = value;
}
};
// System.TimeZoneInfo_TIME_ZONE_INFORMATION
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811
{
public:
// System.Int32 System.TimeZoneInfo_TIME_ZONE_INFORMATION::Bias
int32_t ___Bias_0;
// System.String System.TimeZoneInfo_TIME_ZONE_INFORMATION::StandardName
String_t* ___StandardName_1;
// System.TimeZoneInfo_SYSTEMTIME System.TimeZoneInfo_TIME_ZONE_INFORMATION::StandardDate
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___StandardDate_2;
// System.Int32 System.TimeZoneInfo_TIME_ZONE_INFORMATION::StandardBias
int32_t ___StandardBias_3;
// System.String System.TimeZoneInfo_TIME_ZONE_INFORMATION::DaylightName
String_t* ___DaylightName_4;
// System.TimeZoneInfo_SYSTEMTIME System.TimeZoneInfo_TIME_ZONE_INFORMATION::DaylightDate
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___DaylightDate_5;
// System.Int32 System.TimeZoneInfo_TIME_ZONE_INFORMATION::DaylightBias
int32_t ___DaylightBias_6;
public:
inline static int32_t get_offset_of_Bias_0() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___Bias_0)); }
inline int32_t get_Bias_0() const { return ___Bias_0; }
inline int32_t* get_address_of_Bias_0() { return &___Bias_0; }
inline void set_Bias_0(int32_t value)
{
___Bias_0 = value;
}
inline static int32_t get_offset_of_StandardName_1() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___StandardName_1)); }
inline String_t* get_StandardName_1() const { return ___StandardName_1; }
inline String_t** get_address_of_StandardName_1() { return &___StandardName_1; }
inline void set_StandardName_1(String_t* value)
{
___StandardName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___StandardName_1), (void*)value);
}
inline static int32_t get_offset_of_StandardDate_2() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___StandardDate_2)); }
inline SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 get_StandardDate_2() const { return ___StandardDate_2; }
inline SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 * get_address_of_StandardDate_2() { return &___StandardDate_2; }
inline void set_StandardDate_2(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 value)
{
___StandardDate_2 = value;
}
inline static int32_t get_offset_of_StandardBias_3() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___StandardBias_3)); }
inline int32_t get_StandardBias_3() const { return ___StandardBias_3; }
inline int32_t* get_address_of_StandardBias_3() { return &___StandardBias_3; }
inline void set_StandardBias_3(int32_t value)
{
___StandardBias_3 = value;
}
inline static int32_t get_offset_of_DaylightName_4() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___DaylightName_4)); }
inline String_t* get_DaylightName_4() const { return ___DaylightName_4; }
inline String_t** get_address_of_DaylightName_4() { return &___DaylightName_4; }
inline void set_DaylightName_4(String_t* value)
{
___DaylightName_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaylightName_4), (void*)value);
}
inline static int32_t get_offset_of_DaylightDate_5() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___DaylightDate_5)); }
inline SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 get_DaylightDate_5() const { return ___DaylightDate_5; }
inline SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 * get_address_of_DaylightDate_5() { return &___DaylightDate_5; }
inline void set_DaylightDate_5(SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 value)
{
___DaylightDate_5 = value;
}
inline static int32_t get_offset_of_DaylightBias_6() { return static_cast<int32_t>(offsetof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811, ___DaylightBias_6)); }
inline int32_t get_DaylightBias_6() const { return ___DaylightBias_6; }
inline int32_t* get_address_of_DaylightBias_6() { return &___DaylightBias_6; }
inline void set_DaylightBias_6(int32_t value)
{
___DaylightBias_6 = value;
}
};
// Native definition for P/Invoke marshalling of System.TimeZoneInfo/TIME_ZONE_INFORMATION
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke
{
int32_t ___Bias_0;
Il2CppChar ___StandardName_1[32];
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___StandardDate_2;
int32_t ___StandardBias_3;
Il2CppChar ___DaylightName_4[32];
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___DaylightDate_5;
int32_t ___DaylightBias_6;
};
// Native definition for COM marshalling of System.TimeZoneInfo/TIME_ZONE_INFORMATION
struct TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_com
{
int32_t ___Bias_0;
Il2CppChar ___StandardName_1[32];
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___StandardDate_2;
int32_t ___StandardBias_3;
Il2CppChar ___DaylightName_4[32];
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 ___DaylightDate_5;
int32_t ___DaylightBias_6;
};
// System.TimeZoneInfoOptions
struct TimeZoneInfoOptions_t123D8B5A23D3DE107FB9D3A29BF5952895C652EE
{
public:
// System.Int32 System.TimeZoneInfoOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TimeZoneInfoOptions_t123D8B5A23D3DE107FB9D3A29BF5952895C652EE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
struct SafeHandleZeroOrMinusOneIsInvalid_t779A965C82098677DF1ED10A134DBCDEC8AACB8E : public SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383
{
public:
public:
};
// System.AggregateException
struct AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E : public Exception_t
{
public:
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Exception> System.AggregateException::m_innerExceptions
ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * ___m_innerExceptions_17;
public:
inline static int32_t get_offset_of_m_innerExceptions_17() { return static_cast<int32_t>(offsetof(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E, ___m_innerExceptions_17)); }
inline ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * get_m_innerExceptions_17() const { return ___m_innerExceptions_17; }
inline ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 ** get_address_of_m_innerExceptions_17() { return &___m_innerExceptions_17; }
inline void set_m_innerExceptions_17(ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * value)
{
___m_innerExceptions_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_innerExceptions_17), (void*)value);
}
};
// System.ApplicationException
struct ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74 : public Exception_t
{
public:
public:
};
// System.IO.FileStream
struct FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 : public Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7
{
public:
// System.Byte[] System.IO.FileStream::buf
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buf_6;
// System.String System.IO.FileStream::name
String_t* ___name_7;
// Microsoft.Win32.SafeHandles.SafeFileHandle System.IO.FileStream::safeHandle
SafeFileHandle_tE1B31BE63CD11BBF2B9B6A205A72735F32EB1BCB * ___safeHandle_8;
// System.Boolean System.IO.FileStream::isExposed
bool ___isExposed_9;
// System.Int64 System.IO.FileStream::append_startpos
int64_t ___append_startpos_10;
// System.IO.FileAccess System.IO.FileStream::access
int32_t ___access_11;
// System.Boolean System.IO.FileStream::owner
bool ___owner_12;
// System.Boolean System.IO.FileStream::async
bool ___async_13;
// System.Boolean System.IO.FileStream::canseek
bool ___canseek_14;
// System.Boolean System.IO.FileStream::anonymous
bool ___anonymous_15;
// System.Boolean System.IO.FileStream::buf_dirty
bool ___buf_dirty_16;
// System.Int32 System.IO.FileStream::buf_size
int32_t ___buf_size_17;
// System.Int32 System.IO.FileStream::buf_length
int32_t ___buf_length_18;
// System.Int32 System.IO.FileStream::buf_offset
int32_t ___buf_offset_19;
// System.Int64 System.IO.FileStream::buf_start
int64_t ___buf_start_20;
public:
inline static int32_t get_offset_of_buf_6() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_6)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_buf_6() const { return ___buf_6; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_buf_6() { return &___buf_6; }
inline void set_buf_6(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___buf_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buf_6), (void*)value);
}
inline static int32_t get_offset_of_name_7() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___name_7)); }
inline String_t* get_name_7() const { return ___name_7; }
inline String_t** get_address_of_name_7() { return &___name_7; }
inline void set_name_7(String_t* value)
{
___name_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___name_7), (void*)value);
}
inline static int32_t get_offset_of_safeHandle_8() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___safeHandle_8)); }
inline SafeFileHandle_tE1B31BE63CD11BBF2B9B6A205A72735F32EB1BCB * get_safeHandle_8() const { return ___safeHandle_8; }
inline SafeFileHandle_tE1B31BE63CD11BBF2B9B6A205A72735F32EB1BCB ** get_address_of_safeHandle_8() { return &___safeHandle_8; }
inline void set_safeHandle_8(SafeFileHandle_tE1B31BE63CD11BBF2B9B6A205A72735F32EB1BCB * value)
{
___safeHandle_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___safeHandle_8), (void*)value);
}
inline static int32_t get_offset_of_isExposed_9() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___isExposed_9)); }
inline bool get_isExposed_9() const { return ___isExposed_9; }
inline bool* get_address_of_isExposed_9() { return &___isExposed_9; }
inline void set_isExposed_9(bool value)
{
___isExposed_9 = value;
}
inline static int32_t get_offset_of_append_startpos_10() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___append_startpos_10)); }
inline int64_t get_append_startpos_10() const { return ___append_startpos_10; }
inline int64_t* get_address_of_append_startpos_10() { return &___append_startpos_10; }
inline void set_append_startpos_10(int64_t value)
{
___append_startpos_10 = value;
}
inline static int32_t get_offset_of_access_11() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___access_11)); }
inline int32_t get_access_11() const { return ___access_11; }
inline int32_t* get_address_of_access_11() { return &___access_11; }
inline void set_access_11(int32_t value)
{
___access_11 = value;
}
inline static int32_t get_offset_of_owner_12() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___owner_12)); }
inline bool get_owner_12() const { return ___owner_12; }
inline bool* get_address_of_owner_12() { return &___owner_12; }
inline void set_owner_12(bool value)
{
___owner_12 = value;
}
inline static int32_t get_offset_of_async_13() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___async_13)); }
inline bool get_async_13() const { return ___async_13; }
inline bool* get_address_of_async_13() { return &___async_13; }
inline void set_async_13(bool value)
{
___async_13 = value;
}
inline static int32_t get_offset_of_canseek_14() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___canseek_14)); }
inline bool get_canseek_14() const { return ___canseek_14; }
inline bool* get_address_of_canseek_14() { return &___canseek_14; }
inline void set_canseek_14(bool value)
{
___canseek_14 = value;
}
inline static int32_t get_offset_of_anonymous_15() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___anonymous_15)); }
inline bool get_anonymous_15() const { return ___anonymous_15; }
inline bool* get_address_of_anonymous_15() { return &___anonymous_15; }
inline void set_anonymous_15(bool value)
{
___anonymous_15 = value;
}
inline static int32_t get_offset_of_buf_dirty_16() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_dirty_16)); }
inline bool get_buf_dirty_16() const { return ___buf_dirty_16; }
inline bool* get_address_of_buf_dirty_16() { return &___buf_dirty_16; }
inline void set_buf_dirty_16(bool value)
{
___buf_dirty_16 = value;
}
inline static int32_t get_offset_of_buf_size_17() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_size_17)); }
inline int32_t get_buf_size_17() const { return ___buf_size_17; }
inline int32_t* get_address_of_buf_size_17() { return &___buf_size_17; }
inline void set_buf_size_17(int32_t value)
{
___buf_size_17 = value;
}
inline static int32_t get_offset_of_buf_length_18() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_length_18)); }
inline int32_t get_buf_length_18() const { return ___buf_length_18; }
inline int32_t* get_address_of_buf_length_18() { return &___buf_length_18; }
inline void set_buf_length_18(int32_t value)
{
___buf_length_18 = value;
}
inline static int32_t get_offset_of_buf_offset_19() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_offset_19)); }
inline int32_t get_buf_offset_19() const { return ___buf_offset_19; }
inline int32_t* get_address_of_buf_offset_19() { return &___buf_offset_19; }
inline void set_buf_offset_19(int32_t value)
{
___buf_offset_19 = value;
}
inline static int32_t get_offset_of_buf_start_20() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418, ___buf_start_20)); }
inline int64_t get_buf_start_20() const { return ___buf_start_20; }
inline int64_t* get_address_of_buf_start_20() { return &___buf_start_20; }
inline void set_buf_start_20(int64_t value)
{
___buf_start_20 = value;
}
};
struct FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418_StaticFields
{
public:
// System.Byte[] System.IO.FileStream::buf_recycle
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buf_recycle_4;
// System.Object System.IO.FileStream::buf_recycle_lock
RuntimeObject * ___buf_recycle_lock_5;
public:
inline static int32_t get_offset_of_buf_recycle_4() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418_StaticFields, ___buf_recycle_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_buf_recycle_4() const { return ___buf_recycle_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_buf_recycle_4() { return &___buf_recycle_4; }
inline void set_buf_recycle_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___buf_recycle_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buf_recycle_4), (void*)value);
}
inline static int32_t get_offset_of_buf_recycle_lock_5() { return static_cast<int32_t>(offsetof(FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418_StaticFields, ___buf_recycle_lock_5)); }
inline RuntimeObject * get_buf_recycle_lock_5() const { return ___buf_recycle_lock_5; }
inline RuntimeObject ** get_address_of_buf_recycle_lock_5() { return &___buf_recycle_lock_5; }
inline void set_buf_recycle_lock_5(RuntimeObject * value)
{
___buf_recycle_lock_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buf_recycle_lock_5), (void*)value);
}
};
// System.InvalidTimeZoneException
struct InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 : public Exception_t
{
public:
public:
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.OperatingSystem
struct OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83 : public RuntimeObject
{
public:
// System.PlatformID System.OperatingSystem::_platform
int32_t ____platform_0;
// System.Version System.OperatingSystem::_version
Version_tDBE6876C59B6F56D4F8CAA03851177ABC6FE0DFD * ____version_1;
// System.String System.OperatingSystem::_servicePack
String_t* ____servicePack_2;
public:
inline static int32_t get_offset_of__platform_0() { return static_cast<int32_t>(offsetof(OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83, ____platform_0)); }
inline int32_t get__platform_0() const { return ____platform_0; }
inline int32_t* get_address_of__platform_0() { return &____platform_0; }
inline void set__platform_0(int32_t value)
{
____platform_0 = value;
}
inline static int32_t get_offset_of__version_1() { return static_cast<int32_t>(offsetof(OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83, ____version_1)); }
inline Version_tDBE6876C59B6F56D4F8CAA03851177ABC6FE0DFD * get__version_1() const { return ____version_1; }
inline Version_tDBE6876C59B6F56D4F8CAA03851177ABC6FE0DFD ** get_address_of__version_1() { return &____version_1; }
inline void set__version_1(Version_tDBE6876C59B6F56D4F8CAA03851177ABC6FE0DFD * value)
{
____version_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____version_1), (void*)value);
}
inline static int32_t get_offset_of__servicePack_2() { return static_cast<int32_t>(offsetof(OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83, ____servicePack_2)); }
inline String_t* get__servicePack_2() const { return ____servicePack_2; }
inline String_t** get_address_of__servicePack_2() { return &____servicePack_2; }
inline void set__servicePack_2(String_t* value)
{
____servicePack_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____servicePack_2), (void*)value);
}
};
// System.Runtime.Serialization.StreamingContext
struct StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034
{
public:
// System.Object System.Runtime.Serialization.StreamingContext::m_additionalContext
RuntimeObject * ___m_additionalContext_0;
// System.Runtime.Serialization.StreamingContextStates System.Runtime.Serialization.StreamingContext::m_state
int32_t ___m_state_1;
public:
inline static int32_t get_offset_of_m_additionalContext_0() { return static_cast<int32_t>(offsetof(StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034, ___m_additionalContext_0)); }
inline RuntimeObject * get_m_additionalContext_0() const { return ___m_additionalContext_0; }
inline RuntimeObject ** get_address_of_m_additionalContext_0() { return &___m_additionalContext_0; }
inline void set_m_additionalContext_0(RuntimeObject * value)
{
___m_additionalContext_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_additionalContext_0), (void*)value);
}
inline static int32_t get_offset_of_m_state_1() { return static_cast<int32_t>(offsetof(StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034, ___m_state_1)); }
inline int32_t get_m_state_1() const { return ___m_state_1; }
inline int32_t* get_address_of_m_state_1() { return &___m_state_1; }
inline void set_m_state_1(int32_t value)
{
___m_state_1 = value;
}
};
// Native definition for P/Invoke marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034_marshaled_pinvoke
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
// Native definition for COM marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034_marshaled_com
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
// System.SystemException
struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 : public Exception_t
{
public:
public:
};
// System.Threading.EventWaitHandle
struct EventWaitHandle_t7603BF1D3D30FE42DD07A450C8D09E2684DC4D98 : public WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6
{
public:
public:
};
// System.Threading.ExecutionContext
struct ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 : public RuntimeObject
{
public:
// System.Threading.SynchronizationContext System.Threading.ExecutionContext::_syncContext
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * ____syncContext_0;
// System.Threading.SynchronizationContext System.Threading.ExecutionContext::_syncContextNoFlow
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * ____syncContextNoFlow_1;
// System.Runtime.Remoting.Messaging.LogicalCallContext System.Threading.ExecutionContext::_logicalCallContext
LogicalCallContext_t3A9A7C02A28577F0879F6E950E46EEC595731D7E * ____logicalCallContext_2;
// System.Runtime.Remoting.Messaging.IllogicalCallContext System.Threading.ExecutionContext::_illogicalCallContext
IllogicalCallContext_t86AF2EA64B3A9BB99C979A1C2EC3578C5D7EB179 * ____illogicalCallContext_3;
// System.Threading.ExecutionContext_Flags System.Threading.ExecutionContext::_flags
int32_t ____flags_4;
// System.Collections.Generic.Dictionary`2<System.Threading.IAsyncLocal,System.Object> System.Threading.ExecutionContext::_localValues
Dictionary_2_t46E74B8986EB45A18D8623D1C9307E035EB0D03A * ____localValues_5;
// System.Collections.Generic.List`1<System.Threading.IAsyncLocal> System.Threading.ExecutionContext::_localChangeNotifications
List_1_t1ADF451D4F388C3376F9A7121B54405D616DC6EB * ____localChangeNotifications_6;
public:
inline static int32_t get_offset_of__syncContext_0() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____syncContext_0)); }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * get__syncContext_0() const { return ____syncContext_0; }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 ** get_address_of__syncContext_0() { return &____syncContext_0; }
inline void set__syncContext_0(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * value)
{
____syncContext_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncContext_0), (void*)value);
}
inline static int32_t get_offset_of__syncContextNoFlow_1() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____syncContextNoFlow_1)); }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * get__syncContextNoFlow_1() const { return ____syncContextNoFlow_1; }
inline SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 ** get_address_of__syncContextNoFlow_1() { return &____syncContextNoFlow_1; }
inline void set__syncContextNoFlow_1(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * value)
{
____syncContextNoFlow_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncContextNoFlow_1), (void*)value);
}
inline static int32_t get_offset_of__logicalCallContext_2() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____logicalCallContext_2)); }
inline LogicalCallContext_t3A9A7C02A28577F0879F6E950E46EEC595731D7E * get__logicalCallContext_2() const { return ____logicalCallContext_2; }
inline LogicalCallContext_t3A9A7C02A28577F0879F6E950E46EEC595731D7E ** get_address_of__logicalCallContext_2() { return &____logicalCallContext_2; }
inline void set__logicalCallContext_2(LogicalCallContext_t3A9A7C02A28577F0879F6E950E46EEC595731D7E * value)
{
____logicalCallContext_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____logicalCallContext_2), (void*)value);
}
inline static int32_t get_offset_of__illogicalCallContext_3() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____illogicalCallContext_3)); }
inline IllogicalCallContext_t86AF2EA64B3A9BB99C979A1C2EC3578C5D7EB179 * get__illogicalCallContext_3() const { return ____illogicalCallContext_3; }
inline IllogicalCallContext_t86AF2EA64B3A9BB99C979A1C2EC3578C5D7EB179 ** get_address_of__illogicalCallContext_3() { return &____illogicalCallContext_3; }
inline void set__illogicalCallContext_3(IllogicalCallContext_t86AF2EA64B3A9BB99C979A1C2EC3578C5D7EB179 * value)
{
____illogicalCallContext_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____illogicalCallContext_3), (void*)value);
}
inline static int32_t get_offset_of__flags_4() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____flags_4)); }
inline int32_t get__flags_4() const { return ____flags_4; }
inline int32_t* get_address_of__flags_4() { return &____flags_4; }
inline void set__flags_4(int32_t value)
{
____flags_4 = value;
}
inline static int32_t get_offset_of__localValues_5() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____localValues_5)); }
inline Dictionary_2_t46E74B8986EB45A18D8623D1C9307E035EB0D03A * get__localValues_5() const { return ____localValues_5; }
inline Dictionary_2_t46E74B8986EB45A18D8623D1C9307E035EB0D03A ** get_address_of__localValues_5() { return &____localValues_5; }
inline void set__localValues_5(Dictionary_2_t46E74B8986EB45A18D8623D1C9307E035EB0D03A * value)
{
____localValues_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____localValues_5), (void*)value);
}
inline static int32_t get_offset_of__localChangeNotifications_6() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70, ____localChangeNotifications_6)); }
inline List_1_t1ADF451D4F388C3376F9A7121B54405D616DC6EB * get__localChangeNotifications_6() const { return ____localChangeNotifications_6; }
inline List_1_t1ADF451D4F388C3376F9A7121B54405D616DC6EB ** get_address_of__localChangeNotifications_6() { return &____localChangeNotifications_6; }
inline void set__localChangeNotifications_6(List_1_t1ADF451D4F388C3376F9A7121B54405D616DC6EB * value)
{
____localChangeNotifications_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____localChangeNotifications_6), (void*)value);
}
};
struct ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_StaticFields
{
public:
// System.Threading.ExecutionContext System.Threading.ExecutionContext::s_dummyDefaultEC
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___s_dummyDefaultEC_7;
public:
inline static int32_t get_offset_of_s_dummyDefaultEC_7() { return static_cast<int32_t>(offsetof(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_StaticFields, ___s_dummyDefaultEC_7)); }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * get_s_dummyDefaultEC_7() const { return ___s_dummyDefaultEC_7; }
inline ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 ** get_address_of_s_dummyDefaultEC_7() { return &___s_dummyDefaultEC_7; }
inline void set_s_dummyDefaultEC_7(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * value)
{
___s_dummyDefaultEC_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_dummyDefaultEC_7), (void*)value);
}
};
// System.Threading.InternalThread
struct InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 : public CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9
{
public:
// System.Int32 System.Threading.InternalThread::lock_thread_id
int32_t ___lock_thread_id_0;
// System.IntPtr System.Threading.InternalThread::handle
intptr_t ___handle_1;
// System.IntPtr System.Threading.InternalThread::native_handle
intptr_t ___native_handle_2;
// System.IntPtr System.Threading.InternalThread::unused3
intptr_t ___unused3_3;
// System.IntPtr System.Threading.InternalThread::name
intptr_t ___name_4;
// System.Int32 System.Threading.InternalThread::name_len
int32_t ___name_len_5;
// System.Threading.ThreadState System.Threading.InternalThread::state
int32_t ___state_6;
// System.Object System.Threading.InternalThread::abort_exc
RuntimeObject * ___abort_exc_7;
// System.Int32 System.Threading.InternalThread::abort_state_handle
int32_t ___abort_state_handle_8;
// System.Int64 System.Threading.InternalThread::thread_id
int64_t ___thread_id_9;
// System.IntPtr System.Threading.InternalThread::debugger_thread
intptr_t ___debugger_thread_10;
// System.UIntPtr System.Threading.InternalThread::static_data
uintptr_t ___static_data_11;
// System.IntPtr System.Threading.InternalThread::runtime_thread_info
intptr_t ___runtime_thread_info_12;
// System.Object System.Threading.InternalThread::current_appcontext
RuntimeObject * ___current_appcontext_13;
// System.Object System.Threading.InternalThread::root_domain_thread
RuntimeObject * ___root_domain_thread_14;
// System.Byte[] System.Threading.InternalThread::_serialized_principal
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____serialized_principal_15;
// System.Int32 System.Threading.InternalThread::_serialized_principal_version
int32_t ____serialized_principal_version_16;
// System.IntPtr System.Threading.InternalThread::appdomain_refs
intptr_t ___appdomain_refs_17;
// System.Int32 System.Threading.InternalThread::interruption_requested
int32_t ___interruption_requested_18;
// System.IntPtr System.Threading.InternalThread::synch_cs
intptr_t ___synch_cs_19;
// System.Boolean System.Threading.InternalThread::threadpool_thread
bool ___threadpool_thread_20;
// System.Boolean System.Threading.InternalThread::thread_interrupt_requested
bool ___thread_interrupt_requested_21;
// System.Int32 System.Threading.InternalThread::stack_size
int32_t ___stack_size_22;
// System.Byte System.Threading.InternalThread::apartment_state
uint8_t ___apartment_state_23;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.InternalThread::critical_region_level
int32_t ___critical_region_level_24;
// System.Int32 System.Threading.InternalThread::managed_id
int32_t ___managed_id_25;
// System.Int32 System.Threading.InternalThread::small_id
int32_t ___small_id_26;
// System.IntPtr System.Threading.InternalThread::manage_callback
intptr_t ___manage_callback_27;
// System.IntPtr System.Threading.InternalThread::unused4
intptr_t ___unused4_28;
// System.IntPtr System.Threading.InternalThread::flags
intptr_t ___flags_29;
// System.IntPtr System.Threading.InternalThread::thread_pinning_ref
intptr_t ___thread_pinning_ref_30;
// System.IntPtr System.Threading.InternalThread::abort_protected_block_count
intptr_t ___abort_protected_block_count_31;
// System.Int32 System.Threading.InternalThread::priority
int32_t ___priority_32;
// System.IntPtr System.Threading.InternalThread::owned_mutex
intptr_t ___owned_mutex_33;
// System.IntPtr System.Threading.InternalThread::suspended_event
intptr_t ___suspended_event_34;
// System.Int32 System.Threading.InternalThread::self_suspended
int32_t ___self_suspended_35;
// System.IntPtr System.Threading.InternalThread::unused1
intptr_t ___unused1_36;
// System.IntPtr System.Threading.InternalThread::unused2
intptr_t ___unused2_37;
// System.IntPtr System.Threading.InternalThread::last
intptr_t ___last_38;
public:
inline static int32_t get_offset_of_lock_thread_id_0() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___lock_thread_id_0)); }
inline int32_t get_lock_thread_id_0() const { return ___lock_thread_id_0; }
inline int32_t* get_address_of_lock_thread_id_0() { return &___lock_thread_id_0; }
inline void set_lock_thread_id_0(int32_t value)
{
___lock_thread_id_0 = value;
}
inline static int32_t get_offset_of_handle_1() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___handle_1)); }
inline intptr_t get_handle_1() const { return ___handle_1; }
inline intptr_t* get_address_of_handle_1() { return &___handle_1; }
inline void set_handle_1(intptr_t value)
{
___handle_1 = value;
}
inline static int32_t get_offset_of_native_handle_2() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___native_handle_2)); }
inline intptr_t get_native_handle_2() const { return ___native_handle_2; }
inline intptr_t* get_address_of_native_handle_2() { return &___native_handle_2; }
inline void set_native_handle_2(intptr_t value)
{
___native_handle_2 = value;
}
inline static int32_t get_offset_of_unused3_3() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___unused3_3)); }
inline intptr_t get_unused3_3() const { return ___unused3_3; }
inline intptr_t* get_address_of_unused3_3() { return &___unused3_3; }
inline void set_unused3_3(intptr_t value)
{
___unused3_3 = value;
}
inline static int32_t get_offset_of_name_4() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___name_4)); }
inline intptr_t get_name_4() const { return ___name_4; }
inline intptr_t* get_address_of_name_4() { return &___name_4; }
inline void set_name_4(intptr_t value)
{
___name_4 = value;
}
inline static int32_t get_offset_of_name_len_5() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___name_len_5)); }
inline int32_t get_name_len_5() const { return ___name_len_5; }
inline int32_t* get_address_of_name_len_5() { return &___name_len_5; }
inline void set_name_len_5(int32_t value)
{
___name_len_5 = value;
}
inline static int32_t get_offset_of_state_6() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___state_6)); }
inline int32_t get_state_6() const { return ___state_6; }
inline int32_t* get_address_of_state_6() { return &___state_6; }
inline void set_state_6(int32_t value)
{
___state_6 = value;
}
inline static int32_t get_offset_of_abort_exc_7() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___abort_exc_7)); }
inline RuntimeObject * get_abort_exc_7() const { return ___abort_exc_7; }
inline RuntimeObject ** get_address_of_abort_exc_7() { return &___abort_exc_7; }
inline void set_abort_exc_7(RuntimeObject * value)
{
___abort_exc_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___abort_exc_7), (void*)value);
}
inline static int32_t get_offset_of_abort_state_handle_8() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___abort_state_handle_8)); }
inline int32_t get_abort_state_handle_8() const { return ___abort_state_handle_8; }
inline int32_t* get_address_of_abort_state_handle_8() { return &___abort_state_handle_8; }
inline void set_abort_state_handle_8(int32_t value)
{
___abort_state_handle_8 = value;
}
inline static int32_t get_offset_of_thread_id_9() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___thread_id_9)); }
inline int64_t get_thread_id_9() const { return ___thread_id_9; }
inline int64_t* get_address_of_thread_id_9() { return &___thread_id_9; }
inline void set_thread_id_9(int64_t value)
{
___thread_id_9 = value;
}
inline static int32_t get_offset_of_debugger_thread_10() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___debugger_thread_10)); }
inline intptr_t get_debugger_thread_10() const { return ___debugger_thread_10; }
inline intptr_t* get_address_of_debugger_thread_10() { return &___debugger_thread_10; }
inline void set_debugger_thread_10(intptr_t value)
{
___debugger_thread_10 = value;
}
inline static int32_t get_offset_of_static_data_11() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___static_data_11)); }
inline uintptr_t get_static_data_11() const { return ___static_data_11; }
inline uintptr_t* get_address_of_static_data_11() { return &___static_data_11; }
inline void set_static_data_11(uintptr_t value)
{
___static_data_11 = value;
}
inline static int32_t get_offset_of_runtime_thread_info_12() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___runtime_thread_info_12)); }
inline intptr_t get_runtime_thread_info_12() const { return ___runtime_thread_info_12; }
inline intptr_t* get_address_of_runtime_thread_info_12() { return &___runtime_thread_info_12; }
inline void set_runtime_thread_info_12(intptr_t value)
{
___runtime_thread_info_12 = value;
}
inline static int32_t get_offset_of_current_appcontext_13() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___current_appcontext_13)); }
inline RuntimeObject * get_current_appcontext_13() const { return ___current_appcontext_13; }
inline RuntimeObject ** get_address_of_current_appcontext_13() { return &___current_appcontext_13; }
inline void set_current_appcontext_13(RuntimeObject * value)
{
___current_appcontext_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_appcontext_13), (void*)value);
}
inline static int32_t get_offset_of_root_domain_thread_14() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___root_domain_thread_14)); }
inline RuntimeObject * get_root_domain_thread_14() const { return ___root_domain_thread_14; }
inline RuntimeObject ** get_address_of_root_domain_thread_14() { return &___root_domain_thread_14; }
inline void set_root_domain_thread_14(RuntimeObject * value)
{
___root_domain_thread_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___root_domain_thread_14), (void*)value);
}
inline static int32_t get_offset_of__serialized_principal_15() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ____serialized_principal_15)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__serialized_principal_15() const { return ____serialized_principal_15; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__serialized_principal_15() { return &____serialized_principal_15; }
inline void set__serialized_principal_15(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____serialized_principal_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&____serialized_principal_15), (void*)value);
}
inline static int32_t get_offset_of__serialized_principal_version_16() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ____serialized_principal_version_16)); }
inline int32_t get__serialized_principal_version_16() const { return ____serialized_principal_version_16; }
inline int32_t* get_address_of__serialized_principal_version_16() { return &____serialized_principal_version_16; }
inline void set__serialized_principal_version_16(int32_t value)
{
____serialized_principal_version_16 = value;
}
inline static int32_t get_offset_of_appdomain_refs_17() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___appdomain_refs_17)); }
inline intptr_t get_appdomain_refs_17() const { return ___appdomain_refs_17; }
inline intptr_t* get_address_of_appdomain_refs_17() { return &___appdomain_refs_17; }
inline void set_appdomain_refs_17(intptr_t value)
{
___appdomain_refs_17 = value;
}
inline static int32_t get_offset_of_interruption_requested_18() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___interruption_requested_18)); }
inline int32_t get_interruption_requested_18() const { return ___interruption_requested_18; }
inline int32_t* get_address_of_interruption_requested_18() { return &___interruption_requested_18; }
inline void set_interruption_requested_18(int32_t value)
{
___interruption_requested_18 = value;
}
inline static int32_t get_offset_of_synch_cs_19() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___synch_cs_19)); }
inline intptr_t get_synch_cs_19() const { return ___synch_cs_19; }
inline intptr_t* get_address_of_synch_cs_19() { return &___synch_cs_19; }
inline void set_synch_cs_19(intptr_t value)
{
___synch_cs_19 = value;
}
inline static int32_t get_offset_of_threadpool_thread_20() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___threadpool_thread_20)); }
inline bool get_threadpool_thread_20() const { return ___threadpool_thread_20; }
inline bool* get_address_of_threadpool_thread_20() { return &___threadpool_thread_20; }
inline void set_threadpool_thread_20(bool value)
{
___threadpool_thread_20 = value;
}
inline static int32_t get_offset_of_thread_interrupt_requested_21() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___thread_interrupt_requested_21)); }
inline bool get_thread_interrupt_requested_21() const { return ___thread_interrupt_requested_21; }
inline bool* get_address_of_thread_interrupt_requested_21() { return &___thread_interrupt_requested_21; }
inline void set_thread_interrupt_requested_21(bool value)
{
___thread_interrupt_requested_21 = value;
}
inline static int32_t get_offset_of_stack_size_22() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___stack_size_22)); }
inline int32_t get_stack_size_22() const { return ___stack_size_22; }
inline int32_t* get_address_of_stack_size_22() { return &___stack_size_22; }
inline void set_stack_size_22(int32_t value)
{
___stack_size_22 = value;
}
inline static int32_t get_offset_of_apartment_state_23() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___apartment_state_23)); }
inline uint8_t get_apartment_state_23() const { return ___apartment_state_23; }
inline uint8_t* get_address_of_apartment_state_23() { return &___apartment_state_23; }
inline void set_apartment_state_23(uint8_t value)
{
___apartment_state_23 = value;
}
inline static int32_t get_offset_of_critical_region_level_24() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___critical_region_level_24)); }
inline int32_t get_critical_region_level_24() const { return ___critical_region_level_24; }
inline int32_t* get_address_of_critical_region_level_24() { return &___critical_region_level_24; }
inline void set_critical_region_level_24(int32_t value)
{
___critical_region_level_24 = value;
}
inline static int32_t get_offset_of_managed_id_25() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___managed_id_25)); }
inline int32_t get_managed_id_25() const { return ___managed_id_25; }
inline int32_t* get_address_of_managed_id_25() { return &___managed_id_25; }
inline void set_managed_id_25(int32_t value)
{
___managed_id_25 = value;
}
inline static int32_t get_offset_of_small_id_26() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___small_id_26)); }
inline int32_t get_small_id_26() const { return ___small_id_26; }
inline int32_t* get_address_of_small_id_26() { return &___small_id_26; }
inline void set_small_id_26(int32_t value)
{
___small_id_26 = value;
}
inline static int32_t get_offset_of_manage_callback_27() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___manage_callback_27)); }
inline intptr_t get_manage_callback_27() const { return ___manage_callback_27; }
inline intptr_t* get_address_of_manage_callback_27() { return &___manage_callback_27; }
inline void set_manage_callback_27(intptr_t value)
{
___manage_callback_27 = value;
}
inline static int32_t get_offset_of_unused4_28() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___unused4_28)); }
inline intptr_t get_unused4_28() const { return ___unused4_28; }
inline intptr_t* get_address_of_unused4_28() { return &___unused4_28; }
inline void set_unused4_28(intptr_t value)
{
___unused4_28 = value;
}
inline static int32_t get_offset_of_flags_29() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___flags_29)); }
inline intptr_t get_flags_29() const { return ___flags_29; }
inline intptr_t* get_address_of_flags_29() { return &___flags_29; }
inline void set_flags_29(intptr_t value)
{
___flags_29 = value;
}
inline static int32_t get_offset_of_thread_pinning_ref_30() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___thread_pinning_ref_30)); }
inline intptr_t get_thread_pinning_ref_30() const { return ___thread_pinning_ref_30; }
inline intptr_t* get_address_of_thread_pinning_ref_30() { return &___thread_pinning_ref_30; }
inline void set_thread_pinning_ref_30(intptr_t value)
{
___thread_pinning_ref_30 = value;
}
inline static int32_t get_offset_of_abort_protected_block_count_31() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___abort_protected_block_count_31)); }
inline intptr_t get_abort_protected_block_count_31() const { return ___abort_protected_block_count_31; }
inline intptr_t* get_address_of_abort_protected_block_count_31() { return &___abort_protected_block_count_31; }
inline void set_abort_protected_block_count_31(intptr_t value)
{
___abort_protected_block_count_31 = value;
}
inline static int32_t get_offset_of_priority_32() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___priority_32)); }
inline int32_t get_priority_32() const { return ___priority_32; }
inline int32_t* get_address_of_priority_32() { return &___priority_32; }
inline void set_priority_32(int32_t value)
{
___priority_32 = value;
}
inline static int32_t get_offset_of_owned_mutex_33() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___owned_mutex_33)); }
inline intptr_t get_owned_mutex_33() const { return ___owned_mutex_33; }
inline intptr_t* get_address_of_owned_mutex_33() { return &___owned_mutex_33; }
inline void set_owned_mutex_33(intptr_t value)
{
___owned_mutex_33 = value;
}
inline static int32_t get_offset_of_suspended_event_34() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___suspended_event_34)); }
inline intptr_t get_suspended_event_34() const { return ___suspended_event_34; }
inline intptr_t* get_address_of_suspended_event_34() { return &___suspended_event_34; }
inline void set_suspended_event_34(intptr_t value)
{
___suspended_event_34 = value;
}
inline static int32_t get_offset_of_self_suspended_35() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___self_suspended_35)); }
inline int32_t get_self_suspended_35() const { return ___self_suspended_35; }
inline int32_t* get_address_of_self_suspended_35() { return &___self_suspended_35; }
inline void set_self_suspended_35(int32_t value)
{
___self_suspended_35 = value;
}
inline static int32_t get_offset_of_unused1_36() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___unused1_36)); }
inline intptr_t get_unused1_36() const { return ___unused1_36; }
inline intptr_t* get_address_of_unused1_36() { return &___unused1_36; }
inline void set_unused1_36(intptr_t value)
{
___unused1_36 = value;
}
inline static int32_t get_offset_of_unused2_37() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___unused2_37)); }
inline intptr_t get_unused2_37() const { return ___unused2_37; }
inline intptr_t* get_address_of_unused2_37() { return &___unused2_37; }
inline void set_unused2_37(intptr_t value)
{
___unused2_37 = value;
}
inline static int32_t get_offset_of_last_38() { return static_cast<int32_t>(offsetof(InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192, ___last_38)); }
inline intptr_t get_last_38() const { return ___last_38; }
inline intptr_t* get_address_of_last_38() { return &___last_38; }
inline void set_last_38(intptr_t value)
{
___last_38 = value;
}
};
// System.Threading.RegisteredWaitHandle
struct RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 : public MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF
{
public:
// System.Threading.WaitHandle System.Threading.RegisteredWaitHandle::_waitObject
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ____waitObject_1;
// System.Threading.WaitOrTimerCallback System.Threading.RegisteredWaitHandle::_callback
WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * ____callback_2;
// System.Object System.Threading.RegisteredWaitHandle::_state
RuntimeObject * ____state_3;
// System.Threading.WaitHandle System.Threading.RegisteredWaitHandle::_finalEvent
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ____finalEvent_4;
// System.Threading.ManualResetEvent System.Threading.RegisteredWaitHandle::_cancelEvent
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * ____cancelEvent_5;
// System.TimeSpan System.Threading.RegisteredWaitHandle::_timeout
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ____timeout_6;
// System.Int32 System.Threading.RegisteredWaitHandle::_callsInProcess
int32_t ____callsInProcess_7;
// System.Boolean System.Threading.RegisteredWaitHandle::_executeOnlyOnce
bool ____executeOnlyOnce_8;
// System.Boolean System.Threading.RegisteredWaitHandle::_unregistered
bool ____unregistered_9;
public:
inline static int32_t get_offset_of__waitObject_1() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____waitObject_1)); }
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * get__waitObject_1() const { return ____waitObject_1; }
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 ** get_address_of__waitObject_1() { return &____waitObject_1; }
inline void set__waitObject_1(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * value)
{
____waitObject_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____waitObject_1), (void*)value);
}
inline static int32_t get_offset_of__callback_2() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____callback_2)); }
inline WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * get__callback_2() const { return ____callback_2; }
inline WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF ** get_address_of__callback_2() { return &____callback_2; }
inline void set__callback_2(WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * value)
{
____callback_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____callback_2), (void*)value);
}
inline static int32_t get_offset_of__state_3() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____state_3)); }
inline RuntimeObject * get__state_3() const { return ____state_3; }
inline RuntimeObject ** get_address_of__state_3() { return &____state_3; }
inline void set__state_3(RuntimeObject * value)
{
____state_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____state_3), (void*)value);
}
inline static int32_t get_offset_of__finalEvent_4() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____finalEvent_4)); }
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * get__finalEvent_4() const { return ____finalEvent_4; }
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 ** get_address_of__finalEvent_4() { return &____finalEvent_4; }
inline void set__finalEvent_4(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * value)
{
____finalEvent_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____finalEvent_4), (void*)value);
}
inline static int32_t get_offset_of__cancelEvent_5() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____cancelEvent_5)); }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * get__cancelEvent_5() const { return ____cancelEvent_5; }
inline ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 ** get_address_of__cancelEvent_5() { return &____cancelEvent_5; }
inline void set__cancelEvent_5(ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * value)
{
____cancelEvent_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____cancelEvent_5), (void*)value);
}
inline static int32_t get_offset_of__timeout_6() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____timeout_6)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get__timeout_6() const { return ____timeout_6; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of__timeout_6() { return &____timeout_6; }
inline void set__timeout_6(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
____timeout_6 = value;
}
inline static int32_t get_offset_of__callsInProcess_7() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____callsInProcess_7)); }
inline int32_t get__callsInProcess_7() const { return ____callsInProcess_7; }
inline int32_t* get_address_of__callsInProcess_7() { return &____callsInProcess_7; }
inline void set__callsInProcess_7(int32_t value)
{
____callsInProcess_7 = value;
}
inline static int32_t get_offset_of__executeOnlyOnce_8() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____executeOnlyOnce_8)); }
inline bool get__executeOnlyOnce_8() const { return ____executeOnlyOnce_8; }
inline bool* get_address_of__executeOnlyOnce_8() { return &____executeOnlyOnce_8; }
inline void set__executeOnlyOnce_8(bool value)
{
____executeOnlyOnce_8 = value;
}
inline static int32_t get_offset_of__unregistered_9() { return static_cast<int32_t>(offsetof(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0, ____unregistered_9)); }
inline bool get__unregistered_9() const { return ____unregistered_9; }
inline bool* get_address_of__unregistered_9() { return &____unregistered_9; }
inline void set__unregistered_9(bool value)
{
____unregistered_9 = value;
}
};
// System.Threading.SynchronizationContext
struct SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 : public RuntimeObject
{
public:
// System.Threading.SynchronizationContextProperties System.Threading.SynchronizationContext::_props
int32_t ____props_0;
public:
inline static int32_t get_offset_of__props_0() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7, ____props_0)); }
inline int32_t get__props_0() const { return ____props_0; }
inline int32_t* get_address_of__props_0() { return &____props_0; }
inline void set__props_0(int32_t value)
{
____props_0 = value;
}
};
struct SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields
{
public:
// System.Type System.Threading.SynchronizationContext::s_cachedPreparedType1
Type_t * ___s_cachedPreparedType1_1;
// System.Type System.Threading.SynchronizationContext::s_cachedPreparedType2
Type_t * ___s_cachedPreparedType2_2;
// System.Type System.Threading.SynchronizationContext::s_cachedPreparedType3
Type_t * ___s_cachedPreparedType3_3;
// System.Type System.Threading.SynchronizationContext::s_cachedPreparedType4
Type_t * ___s_cachedPreparedType4_4;
// System.Type System.Threading.SynchronizationContext::s_cachedPreparedType5
Type_t * ___s_cachedPreparedType5_5;
public:
inline static int32_t get_offset_of_s_cachedPreparedType1_1() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields, ___s_cachedPreparedType1_1)); }
inline Type_t * get_s_cachedPreparedType1_1() const { return ___s_cachedPreparedType1_1; }
inline Type_t ** get_address_of_s_cachedPreparedType1_1() { return &___s_cachedPreparedType1_1; }
inline void set_s_cachedPreparedType1_1(Type_t * value)
{
___s_cachedPreparedType1_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cachedPreparedType1_1), (void*)value);
}
inline static int32_t get_offset_of_s_cachedPreparedType2_2() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields, ___s_cachedPreparedType2_2)); }
inline Type_t * get_s_cachedPreparedType2_2() const { return ___s_cachedPreparedType2_2; }
inline Type_t ** get_address_of_s_cachedPreparedType2_2() { return &___s_cachedPreparedType2_2; }
inline void set_s_cachedPreparedType2_2(Type_t * value)
{
___s_cachedPreparedType2_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cachedPreparedType2_2), (void*)value);
}
inline static int32_t get_offset_of_s_cachedPreparedType3_3() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields, ___s_cachedPreparedType3_3)); }
inline Type_t * get_s_cachedPreparedType3_3() const { return ___s_cachedPreparedType3_3; }
inline Type_t ** get_address_of_s_cachedPreparedType3_3() { return &___s_cachedPreparedType3_3; }
inline void set_s_cachedPreparedType3_3(Type_t * value)
{
___s_cachedPreparedType3_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cachedPreparedType3_3), (void*)value);
}
inline static int32_t get_offset_of_s_cachedPreparedType4_4() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields, ___s_cachedPreparedType4_4)); }
inline Type_t * get_s_cachedPreparedType4_4() const { return ___s_cachedPreparedType4_4; }
inline Type_t ** get_address_of_s_cachedPreparedType4_4() { return &___s_cachedPreparedType4_4; }
inline void set_s_cachedPreparedType4_4(Type_t * value)
{
___s_cachedPreparedType4_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cachedPreparedType4_4), (void*)value);
}
inline static int32_t get_offset_of_s_cachedPreparedType5_5() { return static_cast<int32_t>(offsetof(SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_StaticFields, ___s_cachedPreparedType5_5)); }
inline Type_t * get_s_cachedPreparedType5_5() const { return ___s_cachedPreparedType5_5; }
inline Type_t ** get_address_of_s_cachedPreparedType5_5() { return &___s_cachedPreparedType5_5; }
inline void set_s_cachedPreparedType5_5(Type_t * value)
{
___s_cachedPreparedType5_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_cachedPreparedType5_5), (void*)value);
}
};
// System.Threading.Tasks.ContinuationTaskFromTask
struct ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F : public Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.ContinuationTaskFromTask::m_antecedent
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_antecedent_22;
public:
inline static int32_t get_offset_of_m_antecedent_22() { return static_cast<int32_t>(offsetof(ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F, ___m_antecedent_22)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_antecedent_22() const { return ___m_antecedent_22; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_antecedent_22() { return &___m_antecedent_22; }
inline void set_m_antecedent_22(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_antecedent_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_antecedent_22), (void*)value);
}
};
// System.Threading.Tasks.Shared`1<System.Threading.CancellationTokenRegistration>
struct Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 : public RuntimeObject
{
public:
// T System.Threading.Tasks.Shared`1::Value
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 ___Value_0;
public:
inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2, ___Value_0)); }
inline CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 get_Value_0() const { return ___Value_0; }
inline CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 * get_address_of_Value_0() { return &___Value_0; }
inline void set_Value_0(CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 value)
{
___Value_0 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___Value_0))->___m_callbackInfo_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&___Value_0))->___m_registrationInfo_1))->___m_source_0), (void*)NULL);
#endif
}
};
// System.Threading.Tasks.StandardTaskContinuation
struct StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC : public TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.StandardTaskContinuation::m_task
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_task_0;
// System.Threading.Tasks.TaskContinuationOptions System.Threading.Tasks.StandardTaskContinuation::m_options
int32_t ___m_options_1;
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.StandardTaskContinuation::m_taskScheduler
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___m_taskScheduler_2;
public:
inline static int32_t get_offset_of_m_task_0() { return static_cast<int32_t>(offsetof(StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC, ___m_task_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_task_0() const { return ___m_task_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_task_0() { return &___m_task_0; }
inline void set_m_task_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_task_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_task_0), (void*)value);
}
inline static int32_t get_offset_of_m_options_1() { return static_cast<int32_t>(offsetof(StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC, ___m_options_1)); }
inline int32_t get_m_options_1() const { return ___m_options_1; }
inline int32_t* get_address_of_m_options_1() { return &___m_options_1; }
inline void set_m_options_1(int32_t value)
{
___m_options_1 = value;
}
inline static int32_t get_offset_of_m_taskScheduler_2() { return static_cast<int32_t>(offsetof(StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC, ___m_taskScheduler_2)); }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * get_m_taskScheduler_2() const { return ___m_taskScheduler_2; }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 ** get_address_of_m_taskScheduler_2() { return &___m_taskScheduler_2; }
inline void set_m_taskScheduler_2(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * value)
{
___m_taskScheduler_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_taskScheduler_2), (void*)value);
}
};
// System.Threading.Tasks.Task_<>c__DisplayClass178_0
struct U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E : public RuntimeObject
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.Task_<>c__DisplayClass178_0::root
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___root_0;
// System.Boolean System.Threading.Tasks.Task_<>c__DisplayClass178_0::replicasAreQuitting
bool ___replicasAreQuitting_1;
// System.Action`1<System.Object> System.Threading.Tasks.Task_<>c__DisplayClass178_0::taskReplicaDelegate
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___taskReplicaDelegate_2;
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task_<>c__DisplayClass178_0::creationOptionsForReplicas
int32_t ___creationOptionsForReplicas_3;
// System.Threading.Tasks.InternalTaskOptions System.Threading.Tasks.Task_<>c__DisplayClass178_0::internalOptionsForReplicas
int32_t ___internalOptionsForReplicas_4;
public:
inline static int32_t get_offset_of_root_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E, ___root_0)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_root_0() const { return ___root_0; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_root_0() { return &___root_0; }
inline void set_root_0(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___root_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___root_0), (void*)value);
}
inline static int32_t get_offset_of_replicasAreQuitting_1() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E, ___replicasAreQuitting_1)); }
inline bool get_replicasAreQuitting_1() const { return ___replicasAreQuitting_1; }
inline bool* get_address_of_replicasAreQuitting_1() { return &___replicasAreQuitting_1; }
inline void set_replicasAreQuitting_1(bool value)
{
___replicasAreQuitting_1 = value;
}
inline static int32_t get_offset_of_taskReplicaDelegate_2() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E, ___taskReplicaDelegate_2)); }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * get_taskReplicaDelegate_2() const { return ___taskReplicaDelegate_2; }
inline Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 ** get_address_of_taskReplicaDelegate_2() { return &___taskReplicaDelegate_2; }
inline void set_taskReplicaDelegate_2(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * value)
{
___taskReplicaDelegate_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___taskReplicaDelegate_2), (void*)value);
}
inline static int32_t get_offset_of_creationOptionsForReplicas_3() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E, ___creationOptionsForReplicas_3)); }
inline int32_t get_creationOptionsForReplicas_3() const { return ___creationOptionsForReplicas_3; }
inline int32_t* get_address_of_creationOptionsForReplicas_3() { return &___creationOptionsForReplicas_3; }
inline void set_creationOptionsForReplicas_3(int32_t value)
{
___creationOptionsForReplicas_3 = value;
}
inline static int32_t get_offset_of_internalOptionsForReplicas_4() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E, ___internalOptionsForReplicas_4)); }
inline int32_t get_internalOptionsForReplicas_4() const { return ___internalOptionsForReplicas_4; }
inline int32_t* get_address_of_internalOptionsForReplicas_4() { return &___internalOptionsForReplicas_4; }
inline void set_internalOptionsForReplicas_4(int32_t value)
{
___internalOptionsForReplicas_4 = value;
}
};
// System.Threading.Tasks.Task_SetOnInvokeMres
struct SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 : public ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445
{
public:
public:
};
// System.Threading.Tasks.TaskFactory
struct TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 : public RuntimeObject
{
public:
// System.Threading.CancellationToken System.Threading.Tasks.TaskFactory::m_defaultCancellationToken
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___m_defaultCancellationToken_0;
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskFactory::m_defaultScheduler
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___m_defaultScheduler_1;
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.TaskFactory::m_defaultCreationOptions
int32_t ___m_defaultCreationOptions_2;
// System.Threading.Tasks.TaskContinuationOptions System.Threading.Tasks.TaskFactory::m_defaultContinuationOptions
int32_t ___m_defaultContinuationOptions_3;
public:
inline static int32_t get_offset_of_m_defaultCancellationToken_0() { return static_cast<int32_t>(offsetof(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155, ___m_defaultCancellationToken_0)); }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB get_m_defaultCancellationToken_0() const { return ___m_defaultCancellationToken_0; }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * get_address_of_m_defaultCancellationToken_0() { return &___m_defaultCancellationToken_0; }
inline void set_m_defaultCancellationToken_0(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB value)
{
___m_defaultCancellationToken_0 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_defaultCancellationToken_0))->___m_source_0), (void*)NULL);
}
inline static int32_t get_offset_of_m_defaultScheduler_1() { return static_cast<int32_t>(offsetof(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155, ___m_defaultScheduler_1)); }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * get_m_defaultScheduler_1() const { return ___m_defaultScheduler_1; }
inline TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 ** get_address_of_m_defaultScheduler_1() { return &___m_defaultScheduler_1; }
inline void set_m_defaultScheduler_1(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * value)
{
___m_defaultScheduler_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_defaultScheduler_1), (void*)value);
}
inline static int32_t get_offset_of_m_defaultCreationOptions_2() { return static_cast<int32_t>(offsetof(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155, ___m_defaultCreationOptions_2)); }
inline int32_t get_m_defaultCreationOptions_2() const { return ___m_defaultCreationOptions_2; }
inline int32_t* get_address_of_m_defaultCreationOptions_2() { return &___m_defaultCreationOptions_2; }
inline void set_m_defaultCreationOptions_2(int32_t value)
{
___m_defaultCreationOptions_2 = value;
}
inline static int32_t get_offset_of_m_defaultContinuationOptions_3() { return static_cast<int32_t>(offsetof(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155, ___m_defaultContinuationOptions_3)); }
inline int32_t get_m_defaultContinuationOptions_3() const { return ___m_defaultContinuationOptions_3; }
inline int32_t* get_address_of_m_defaultContinuationOptions_3() { return &___m_defaultContinuationOptions_3; }
inline void set_m_defaultContinuationOptions_3(int32_t value)
{
___m_defaultContinuationOptions_3 = value;
}
};
// System.Threading.Tasks.TaskSchedulerException
struct TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 : public Exception_t
{
public:
public:
};
// System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>
struct Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 : public Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2
{
public:
// TResult System.Threading.Tasks.Task`1::m_result
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_result_22;
public:
inline static int32_t get_offset_of_m_result_22() { return static_cast<int32_t>(offsetof(Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138, ___m_result_22)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_result_22() const { return ___m_result_22; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_result_22() { return &___m_result_22; }
inline void set_m_result_22(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_result_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_result_22), (void*)value);
}
};
struct Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138_StaticFields
{
public:
// System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_Factory
TaskFactory_1_t58FE324C5DC18B5ED9A0E49CA8543DEEA65B4462 * ___s_Factory_23;
// System.Func`2<System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>,System.Threading.Tasks.Task`1<TResult>> System.Threading.Tasks.Task`1::TaskWhenAnyCast
Func_2_t9183BE7C6FB5EAED091785FC3E1D3D41DB3497F7 * ___TaskWhenAnyCast_24;
public:
inline static int32_t get_offset_of_s_Factory_23() { return static_cast<int32_t>(offsetof(Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138_StaticFields, ___s_Factory_23)); }
inline TaskFactory_1_t58FE324C5DC18B5ED9A0E49CA8543DEEA65B4462 * get_s_Factory_23() const { return ___s_Factory_23; }
inline TaskFactory_1_t58FE324C5DC18B5ED9A0E49CA8543DEEA65B4462 ** get_address_of_s_Factory_23() { return &___s_Factory_23; }
inline void set_s_Factory_23(TaskFactory_1_t58FE324C5DC18B5ED9A0E49CA8543DEEA65B4462 * value)
{
___s_Factory_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Factory_23), (void*)value);
}
inline static int32_t get_offset_of_TaskWhenAnyCast_24() { return static_cast<int32_t>(offsetof(Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138_StaticFields, ___TaskWhenAnyCast_24)); }
inline Func_2_t9183BE7C6FB5EAED091785FC3E1D3D41DB3497F7 * get_TaskWhenAnyCast_24() const { return ___TaskWhenAnyCast_24; }
inline Func_2_t9183BE7C6FB5EAED091785FC3E1D3D41DB3497F7 ** get_address_of_TaskWhenAnyCast_24() { return &___TaskWhenAnyCast_24; }
inline void set_TaskWhenAnyCast_24(Func_2_t9183BE7C6FB5EAED091785FC3E1D3D41DB3497F7 * value)
{
___TaskWhenAnyCast_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TaskWhenAnyCast_24), (void*)value);
}
};
// System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>
struct Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 : public Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2
{
public:
// TResult System.Threading.Tasks.Task`1::m_result
VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 ___m_result_22;
public:
inline static int32_t get_offset_of_m_result_22() { return static_cast<int32_t>(offsetof(Task_1_t1359D75350E9D976BFA28AD96E417450DE277673, ___m_result_22)); }
inline VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 get_m_result_22() const { return ___m_result_22; }
inline VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 * get_address_of_m_result_22() { return &___m_result_22; }
inline void set_m_result_22(VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 value)
{
___m_result_22 = value;
}
};
struct Task_1_t1359D75350E9D976BFA28AD96E417450DE277673_StaticFields
{
public:
// System.Threading.Tasks.TaskFactory`1<TResult> System.Threading.Tasks.Task`1::s_Factory
TaskFactory_1_t3C0D0DC20C0FC00DE4F8740B351BE642467AB03D * ___s_Factory_23;
// System.Func`2<System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>,System.Threading.Tasks.Task`1<TResult>> System.Threading.Tasks.Task`1::TaskWhenAnyCast
Func_2_t9FE43757FE22F96D0EA4E7945B6D146812F2671F * ___TaskWhenAnyCast_24;
public:
inline static int32_t get_offset_of_s_Factory_23() { return static_cast<int32_t>(offsetof(Task_1_t1359D75350E9D976BFA28AD96E417450DE277673_StaticFields, ___s_Factory_23)); }
inline TaskFactory_1_t3C0D0DC20C0FC00DE4F8740B351BE642467AB03D * get_s_Factory_23() const { return ___s_Factory_23; }
inline TaskFactory_1_t3C0D0DC20C0FC00DE4F8740B351BE642467AB03D ** get_address_of_s_Factory_23() { return &___s_Factory_23; }
inline void set_s_Factory_23(TaskFactory_1_t3C0D0DC20C0FC00DE4F8740B351BE642467AB03D * value)
{
___s_Factory_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Factory_23), (void*)value);
}
inline static int32_t get_offset_of_TaskWhenAnyCast_24() { return static_cast<int32_t>(offsetof(Task_1_t1359D75350E9D976BFA28AD96E417450DE277673_StaticFields, ___TaskWhenAnyCast_24)); }
inline Func_2_t9FE43757FE22F96D0EA4E7945B6D146812F2671F * get_TaskWhenAnyCast_24() const { return ___TaskWhenAnyCast_24; }
inline Func_2_t9FE43757FE22F96D0EA4E7945B6D146812F2671F ** get_address_of_TaskWhenAnyCast_24() { return &___TaskWhenAnyCast_24; }
inline void set_TaskWhenAnyCast_24(Func_2_t9FE43757FE22F96D0EA4E7945B6D146812F2671F * value)
{
___TaskWhenAnyCast_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TaskWhenAnyCast_24), (void*)value);
}
};
// System.Threading.Tasks.ThreadPoolTaskScheduler
struct ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD : public TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114
{
public:
public:
};
struct ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_StaticFields
{
public:
// System.Threading.ParameterizedThreadStart System.Threading.Tasks.ThreadPoolTaskScheduler::s_longRunningThreadWork
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * ___s_longRunningThreadWork_6;
public:
inline static int32_t get_offset_of_s_longRunningThreadWork_6() { return static_cast<int32_t>(offsetof(ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_StaticFields, ___s_longRunningThreadWork_6)); }
inline ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * get_s_longRunningThreadWork_6() const { return ___s_longRunningThreadWork_6; }
inline ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F ** get_address_of_s_longRunningThreadWork_6() { return &___s_longRunningThreadWork_6; }
inline void set_s_longRunningThreadWork_6(ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * value)
{
___s_longRunningThreadWork_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_longRunningThreadWork_6), (void*)value);
}
};
// System.Threading.ThreadPoolWorkQueue_WorkStealingQueue
struct WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB : public RuntimeObject
{
public:
// System.Threading.IThreadPoolWorkItem[] modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::m_array
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* ___m_array_0;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::m_mask
int32_t ___m_mask_1;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::m_headIndex
int32_t ___m_headIndex_2;
// System.Int32 modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::m_tailIndex
int32_t ___m_tailIndex_3;
// System.Threading.SpinLock System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::m_foreignLock
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 ___m_foreignLock_4;
public:
inline static int32_t get_offset_of_m_array_0() { return static_cast<int32_t>(offsetof(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB, ___m_array_0)); }
inline IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* get_m_array_0() const { return ___m_array_0; }
inline IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154** get_address_of_m_array_0() { return &___m_array_0; }
inline void set_m_array_0(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* value)
{
___m_array_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_array_0), (void*)value);
}
inline static int32_t get_offset_of_m_mask_1() { return static_cast<int32_t>(offsetof(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB, ___m_mask_1)); }
inline int32_t get_m_mask_1() const { return ___m_mask_1; }
inline int32_t* get_address_of_m_mask_1() { return &___m_mask_1; }
inline void set_m_mask_1(int32_t value)
{
___m_mask_1 = value;
}
inline static int32_t get_offset_of_m_headIndex_2() { return static_cast<int32_t>(offsetof(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB, ___m_headIndex_2)); }
inline int32_t get_m_headIndex_2() const { return ___m_headIndex_2; }
inline int32_t* get_address_of_m_headIndex_2() { return &___m_headIndex_2; }
inline void set_m_headIndex_2(int32_t value)
{
___m_headIndex_2 = value;
}
inline static int32_t get_offset_of_m_tailIndex_3() { return static_cast<int32_t>(offsetof(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB, ___m_tailIndex_3)); }
inline int32_t get_m_tailIndex_3() const { return ___m_tailIndex_3; }
inline int32_t* get_address_of_m_tailIndex_3() { return &___m_tailIndex_3; }
inline void set_m_tailIndex_3(int32_t value)
{
___m_tailIndex_3 = value;
}
inline static int32_t get_offset_of_m_foreignLock_4() { return static_cast<int32_t>(offsetof(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB, ___m_foreignLock_4)); }
inline SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 get_m_foreignLock_4() const { return ___m_foreignLock_4; }
inline SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * get_address_of_m_foreignLock_4() { return &___m_foreignLock_4; }
inline void set_m_foreignLock_4(SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 value)
{
___m_foreignLock_4 = value;
}
};
// System.Threading.Timeout
struct Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04 : public RuntimeObject
{
public:
public:
};
struct Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04_StaticFields
{
public:
// System.TimeSpan System.Threading.Timeout::InfiniteTimeSpan
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___InfiniteTimeSpan_0;
public:
inline static int32_t get_offset_of_InfiniteTimeSpan_0() { return static_cast<int32_t>(offsetof(Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04_StaticFields, ___InfiniteTimeSpan_0)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_InfiniteTimeSpan_0() const { return ___InfiniteTimeSpan_0; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_InfiniteTimeSpan_0() { return &___InfiniteTimeSpan_0; }
inline void set_InfiniteTimeSpan_0(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___InfiniteTimeSpan_0 = value;
}
};
// System.TimeZoneInfo
struct TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 : public RuntimeObject
{
public:
// System.TimeSpan System.TimeZoneInfo::baseUtcOffset
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset_0;
// System.String System.TimeZoneInfo::daylightDisplayName
String_t* ___daylightDisplayName_1;
// System.String System.TimeZoneInfo::displayName
String_t* ___displayName_2;
// System.String System.TimeZoneInfo::id
String_t* ___id_3;
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>> System.TimeZoneInfo::transitions
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * ___transitions_5;
// System.String System.TimeZoneInfo::standardDisplayName
String_t* ___standardDisplayName_7;
// System.Boolean System.TimeZoneInfo::supportsDaylightSavingTime
bool ___supportsDaylightSavingTime_8;
// System.TimeZoneInfo_AdjustmentRule[] System.TimeZoneInfo::adjustmentRules
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules_11;
public:
inline static int32_t get_offset_of_baseUtcOffset_0() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___baseUtcOffset_0)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_baseUtcOffset_0() const { return ___baseUtcOffset_0; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_baseUtcOffset_0() { return &___baseUtcOffset_0; }
inline void set_baseUtcOffset_0(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___baseUtcOffset_0 = value;
}
inline static int32_t get_offset_of_daylightDisplayName_1() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___daylightDisplayName_1)); }
inline String_t* get_daylightDisplayName_1() const { return ___daylightDisplayName_1; }
inline String_t** get_address_of_daylightDisplayName_1() { return &___daylightDisplayName_1; }
inline void set_daylightDisplayName_1(String_t* value)
{
___daylightDisplayName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___daylightDisplayName_1), (void*)value);
}
inline static int32_t get_offset_of_displayName_2() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___displayName_2)); }
inline String_t* get_displayName_2() const { return ___displayName_2; }
inline String_t** get_address_of_displayName_2() { return &___displayName_2; }
inline void set_displayName_2(String_t* value)
{
___displayName_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___displayName_2), (void*)value);
}
inline static int32_t get_offset_of_id_3() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___id_3)); }
inline String_t* get_id_3() const { return ___id_3; }
inline String_t** get_address_of_id_3() { return &___id_3; }
inline void set_id_3(String_t* value)
{
___id_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___id_3), (void*)value);
}
inline static int32_t get_offset_of_transitions_5() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___transitions_5)); }
inline List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * get_transitions_5() const { return ___transitions_5; }
inline List_1_tD2FC74CFEE011F74F31183756A690154468817E9 ** get_address_of_transitions_5() { return &___transitions_5; }
inline void set_transitions_5(List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * value)
{
___transitions_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___transitions_5), (void*)value);
}
inline static int32_t get_offset_of_standardDisplayName_7() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___standardDisplayName_7)); }
inline String_t* get_standardDisplayName_7() const { return ___standardDisplayName_7; }
inline String_t** get_address_of_standardDisplayName_7() { return &___standardDisplayName_7; }
inline void set_standardDisplayName_7(String_t* value)
{
___standardDisplayName_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___standardDisplayName_7), (void*)value);
}
inline static int32_t get_offset_of_supportsDaylightSavingTime_8() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___supportsDaylightSavingTime_8)); }
inline bool get_supportsDaylightSavingTime_8() const { return ___supportsDaylightSavingTime_8; }
inline bool* get_address_of_supportsDaylightSavingTime_8() { return &___supportsDaylightSavingTime_8; }
inline void set_supportsDaylightSavingTime_8(bool value)
{
___supportsDaylightSavingTime_8 = value;
}
inline static int32_t get_offset_of_adjustmentRules_11() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777, ___adjustmentRules_11)); }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* get_adjustmentRules_11() const { return ___adjustmentRules_11; }
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD** get_address_of_adjustmentRules_11() { return &___adjustmentRules_11; }
inline void set_adjustmentRules_11(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* value)
{
___adjustmentRules_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___adjustmentRules_11), (void*)value);
}
};
struct TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields
{
public:
// System.TimeZoneInfo System.TimeZoneInfo::local
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___local_4;
// System.Boolean System.TimeZoneInfo::readlinkNotFound
bool ___readlinkNotFound_6;
// System.TimeZoneInfo System.TimeZoneInfo::utc
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___utc_9;
// System.String System.TimeZoneInfo::timeZoneDirectory
String_t* ___timeZoneDirectory_10;
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::timeZoneKey
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___timeZoneKey_12;
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::localZoneKey
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___localZoneKey_13;
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo> System.TimeZoneInfo::systemTimeZones
ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * ___systemTimeZones_14;
public:
inline static int32_t get_offset_of_local_4() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___local_4)); }
inline TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * get_local_4() const { return ___local_4; }
inline TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 ** get_address_of_local_4() { return &___local_4; }
inline void set_local_4(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * value)
{
___local_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___local_4), (void*)value);
}
inline static int32_t get_offset_of_readlinkNotFound_6() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___readlinkNotFound_6)); }
inline bool get_readlinkNotFound_6() const { return ___readlinkNotFound_6; }
inline bool* get_address_of_readlinkNotFound_6() { return &___readlinkNotFound_6; }
inline void set_readlinkNotFound_6(bool value)
{
___readlinkNotFound_6 = value;
}
inline static int32_t get_offset_of_utc_9() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___utc_9)); }
inline TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * get_utc_9() const { return ___utc_9; }
inline TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 ** get_address_of_utc_9() { return &___utc_9; }
inline void set_utc_9(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * value)
{
___utc_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utc_9), (void*)value);
}
inline static int32_t get_offset_of_timeZoneDirectory_10() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___timeZoneDirectory_10)); }
inline String_t* get_timeZoneDirectory_10() const { return ___timeZoneDirectory_10; }
inline String_t** get_address_of_timeZoneDirectory_10() { return &___timeZoneDirectory_10; }
inline void set_timeZoneDirectory_10(String_t* value)
{
___timeZoneDirectory_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___timeZoneDirectory_10), (void*)value);
}
inline static int32_t get_offset_of_timeZoneKey_12() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___timeZoneKey_12)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_timeZoneKey_12() const { return ___timeZoneKey_12; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_timeZoneKey_12() { return &___timeZoneKey_12; }
inline void set_timeZoneKey_12(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___timeZoneKey_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___timeZoneKey_12), (void*)value);
}
inline static int32_t get_offset_of_localZoneKey_13() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___localZoneKey_13)); }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * get_localZoneKey_13() const { return ___localZoneKey_13; }
inline RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 ** get_address_of_localZoneKey_13() { return &___localZoneKey_13; }
inline void set_localZoneKey_13(RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * value)
{
___localZoneKey_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___localZoneKey_13), (void*)value);
}
inline static int32_t get_offset_of_systemTimeZones_14() { return static_cast<int32_t>(offsetof(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields, ___systemTimeZones_14)); }
inline ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * get_systemTimeZones_14() const { return ___systemTimeZones_14; }
inline ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 ** get_address_of_systemTimeZones_14() { return &___systemTimeZones_14; }
inline void set_systemTimeZones_14(ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * value)
{
___systemTimeZones_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___systemTimeZones_14), (void*)value);
}
};
// System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F
{
public:
// System.TimeZoneInfo_TIME_ZONE_INFORMATION System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION::TZI
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 ___TZI_0;
// System.String System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION::TimeZoneKeyName
String_t* ___TimeZoneKeyName_1;
// System.Byte System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION::DynamicDaylightTimeDisabled
uint8_t ___DynamicDaylightTimeDisabled_2;
public:
inline static int32_t get_offset_of_TZI_0() { return static_cast<int32_t>(offsetof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F, ___TZI_0)); }
inline TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 get_TZI_0() const { return ___TZI_0; }
inline TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * get_address_of_TZI_0() { return &___TZI_0; }
inline void set_TZI_0(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 value)
{
___TZI_0 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_TimeZoneKeyName_1() { return static_cast<int32_t>(offsetof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F, ___TimeZoneKeyName_1)); }
inline String_t* get_TimeZoneKeyName_1() const { return ___TimeZoneKeyName_1; }
inline String_t** get_address_of_TimeZoneKeyName_1() { return &___TimeZoneKeyName_1; }
inline void set_TimeZoneKeyName_1(String_t* value)
{
___TimeZoneKeyName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TimeZoneKeyName_1), (void*)value);
}
inline static int32_t get_offset_of_DynamicDaylightTimeDisabled_2() { return static_cast<int32_t>(offsetof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F, ___DynamicDaylightTimeDisabled_2)); }
inline uint8_t get_DynamicDaylightTimeDisabled_2() const { return ___DynamicDaylightTimeDisabled_2; }
inline uint8_t* get_address_of_DynamicDaylightTimeDisabled_2() { return &___DynamicDaylightTimeDisabled_2; }
inline void set_DynamicDaylightTimeDisabled_2(uint8_t value)
{
___DynamicDaylightTimeDisabled_2 = value;
}
};
// Native definition for P/Invoke marshalling of System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke
{
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke ___TZI_0;
Il2CppChar ___TimeZoneKeyName_1[128];
uint8_t ___DynamicDaylightTimeDisabled_2;
};
// Native definition for COM marshalling of System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION
struct DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_com
{
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_com ___TZI_0;
Il2CppChar ___TimeZoneKeyName_1[128];
uint8_t ___DynamicDaylightTimeDisabled_2;
};
// System.TimeZoneInfo_TransitionTime
struct TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116
{
public:
// System.DateTime System.TimeZoneInfo_TransitionTime::m_timeOfDay
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_timeOfDay_0;
// System.Byte System.TimeZoneInfo_TransitionTime::m_month
uint8_t ___m_month_1;
// System.Byte System.TimeZoneInfo_TransitionTime::m_week
uint8_t ___m_week_2;
// System.Byte System.TimeZoneInfo_TransitionTime::m_day
uint8_t ___m_day_3;
// System.DayOfWeek System.TimeZoneInfo_TransitionTime::m_dayOfWeek
int32_t ___m_dayOfWeek_4;
// System.Boolean System.TimeZoneInfo_TransitionTime::m_isFixedDateRule
bool ___m_isFixedDateRule_5;
public:
inline static int32_t get_offset_of_m_timeOfDay_0() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_timeOfDay_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_m_timeOfDay_0() const { return ___m_timeOfDay_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_m_timeOfDay_0() { return &___m_timeOfDay_0; }
inline void set_m_timeOfDay_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___m_timeOfDay_0 = value;
}
inline static int32_t get_offset_of_m_month_1() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_month_1)); }
inline uint8_t get_m_month_1() const { return ___m_month_1; }
inline uint8_t* get_address_of_m_month_1() { return &___m_month_1; }
inline void set_m_month_1(uint8_t value)
{
___m_month_1 = value;
}
inline static int32_t get_offset_of_m_week_2() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_week_2)); }
inline uint8_t get_m_week_2() const { return ___m_week_2; }
inline uint8_t* get_address_of_m_week_2() { return &___m_week_2; }
inline void set_m_week_2(uint8_t value)
{
___m_week_2 = value;
}
inline static int32_t get_offset_of_m_day_3() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_day_3)); }
inline uint8_t get_m_day_3() const { return ___m_day_3; }
inline uint8_t* get_address_of_m_day_3() { return &___m_day_3; }
inline void set_m_day_3(uint8_t value)
{
___m_day_3 = value;
}
inline static int32_t get_offset_of_m_dayOfWeek_4() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_dayOfWeek_4)); }
inline int32_t get_m_dayOfWeek_4() const { return ___m_dayOfWeek_4; }
inline int32_t* get_address_of_m_dayOfWeek_4() { return &___m_dayOfWeek_4; }
inline void set_m_dayOfWeek_4(int32_t value)
{
___m_dayOfWeek_4 = value;
}
inline static int32_t get_offset_of_m_isFixedDateRule_5() { return static_cast<int32_t>(offsetof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116, ___m_isFixedDateRule_5)); }
inline bool get_m_isFixedDateRule_5() const { return ___m_isFixedDateRule_5; }
inline bool* get_address_of_m_isFixedDateRule_5() { return &___m_isFixedDateRule_5; }
inline void set_m_isFixedDateRule_5(bool value)
{
___m_isFixedDateRule_5 = value;
}
};
// Native definition for P/Invoke marshalling of System.TimeZoneInfo/TransitionTime
struct TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116_marshaled_pinvoke
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_timeOfDay_0;
uint8_t ___m_month_1;
uint8_t ___m_week_2;
uint8_t ___m_day_3;
int32_t ___m_dayOfWeek_4;
int32_t ___m_isFixedDateRule_5;
};
// Native definition for COM marshalling of System.TimeZoneInfo/TransitionTime
struct TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116_marshaled_com
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_timeOfDay_0;
uint8_t ___m_month_1;
uint8_t ___m_week_2;
uint8_t ___m_day_3;
int32_t ___m_dayOfWeek_4;
int32_t ___m_isFixedDateRule_5;
};
// System.TimeZoneNotFoundException
struct TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 : public Exception_t
{
public:
public:
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// Microsoft.Win32.SafeHandles.SafeWaitHandle
struct SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 : public SafeHandleZeroOrMinusOneIsInvalid_t779A965C82098677DF1ED10A134DBCDEC8AACB8E
{
public:
public:
};
// System.Action
struct Action_t591D2A86165F896B4B800BB5C25CE18672A55579 : public MulticastDelegate_t
{
public:
public:
};
// System.Action`1<System.Object>
struct Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 : public MulticastDelegate_t
{
public:
public:
};
// System.Action`1<System.Threading.Tasks.Task>
struct Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 : public MulticastDelegate_t
{
public:
public:
};
// System.Action`2<System.Threading.Tasks.Task,System.Object>
struct Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 : public MulticastDelegate_t
{
public:
public:
};
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
}
};
// System.ArithmeticException
struct ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<System.TimeZoneInfo_AdjustmentRule>
struct Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 : public MulticastDelegate_t
{
public:
public:
};
// System.EventHandler
struct EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C : public MulticastDelegate_t
{
public:
public:
};
// System.EventHandler`1<System.Threading.Tasks.UnobservedTaskExceptionEventArgs>
struct EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC : public MulticastDelegate_t
{
public:
public:
};
// System.Func`1<System.Threading.Tasks.Task_ContingentProperties>
struct Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F : public MulticastDelegate_t
{
public:
public:
};
// System.InvalidOperationException
struct InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.NotSupportedException
struct NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.OperationCanceledException
struct OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.Threading.CancellationToken System.OperationCanceledException::_cancellationToken
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ____cancellationToken_17;
public:
inline static int32_t get_offset_of__cancellationToken_17() { return static_cast<int32_t>(offsetof(OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90, ____cancellationToken_17)); }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB get__cancellationToken_17() const { return ____cancellationToken_17; }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * get_address_of__cancellationToken_17() { return &____cancellationToken_17; }
inline void set__cancellationToken_17(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB value)
{
____cancellationToken_17 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&____cancellationToken_17))->___m_source_0), (void*)NULL);
}
};
// System.Predicate`1<System.Object>
struct Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<System.Threading.Tasks.Task>
struct Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 : public MulticastDelegate_t
{
public:
public:
};
// System.Runtime.Serialization.SerializationException
struct SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
struct SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210_StaticFields
{
public:
// System.String System.Runtime.Serialization.SerializationException::_nullMessage
String_t* ____nullMessage_17;
public:
inline static int32_t get_offset_of__nullMessage_17() { return static_cast<int32_t>(offsetof(SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210_StaticFields, ____nullMessage_17)); }
inline String_t* get__nullMessage_17() const { return ____nullMessage_17; }
inline String_t** get_address_of__nullMessage_17() { return &____nullMessage_17; }
inline void set__nullMessage_17(String_t* value)
{
____nullMessage_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&____nullMessage_17), (void*)value);
}
};
// System.Threading.AbandonedMutexException
struct AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.Int32 System.Threading.AbandonedMutexException::m_MutexIndex
int32_t ___m_MutexIndex_17;
// System.Threading.Mutex System.Threading.AbandonedMutexException::m_Mutex
Mutex_tEFA4BCB29AF9E8B7BD6F0973C6AFFA072744AB5C * ___m_Mutex_18;
public:
inline static int32_t get_offset_of_m_MutexIndex_17() { return static_cast<int32_t>(offsetof(AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9, ___m_MutexIndex_17)); }
inline int32_t get_m_MutexIndex_17() const { return ___m_MutexIndex_17; }
inline int32_t* get_address_of_m_MutexIndex_17() { return &___m_MutexIndex_17; }
inline void set_m_MutexIndex_17(int32_t value)
{
___m_MutexIndex_17 = value;
}
inline static int32_t get_offset_of_m_Mutex_18() { return static_cast<int32_t>(offsetof(AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9, ___m_Mutex_18)); }
inline Mutex_tEFA4BCB29AF9E8B7BD6F0973C6AFFA072744AB5C * get_m_Mutex_18() const { return ___m_Mutex_18; }
inline Mutex_tEFA4BCB29AF9E8B7BD6F0973C6AFFA072744AB5C ** get_address_of_m_Mutex_18() { return &___m_Mutex_18; }
inline void set_m_Mutex_18(Mutex_tEFA4BCB29AF9E8B7BD6F0973C6AFFA072744AB5C * value)
{
___m_Mutex_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Mutex_18), (void*)value);
}
};
// System.Threading.ContextCallback
struct ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 : public MulticastDelegate_t
{
public:
public:
};
// System.Threading.ManualResetEvent
struct ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 : public EventWaitHandle_t7603BF1D3D30FE42DD07A450C8D09E2684DC4D98
{
public:
public:
};
// System.Threading.ParameterizedThreadStart
struct ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F : public MulticastDelegate_t
{
public:
public:
};
// System.Threading.Tasks.Task_DelayPromise
struct DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 : public Task_1_t1359D75350E9D976BFA28AD96E417450DE277673
{
public:
// System.Threading.CancellationToken System.Threading.Tasks.Task_DelayPromise::Token
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___Token_25;
// System.Threading.CancellationTokenRegistration System.Threading.Tasks.Task_DelayPromise::Registration
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 ___Registration_26;
// System.Threading.Timer System.Threading.Tasks.Task_DelayPromise::Timer
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___Timer_27;
public:
inline static int32_t get_offset_of_Token_25() { return static_cast<int32_t>(offsetof(DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2, ___Token_25)); }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB get_Token_25() const { return ___Token_25; }
inline CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * get_address_of_Token_25() { return &___Token_25; }
inline void set_Token_25(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB value)
{
___Token_25 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___Token_25))->___m_source_0), (void*)NULL);
}
inline static int32_t get_offset_of_Registration_26() { return static_cast<int32_t>(offsetof(DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2, ___Registration_26)); }
inline CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 get_Registration_26() const { return ___Registration_26; }
inline CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 * get_address_of_Registration_26() { return &___Registration_26; }
inline void set_Registration_26(CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 value)
{
___Registration_26 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___Registration_26))->___m_callbackInfo_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&(((&___Registration_26))->___m_registrationInfo_1))->___m_source_0), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_Timer_27() { return static_cast<int32_t>(offsetof(DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2, ___Timer_27)); }
inline Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * get_Timer_27() const { return ___Timer_27; }
inline Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 ** get_address_of_Timer_27() { return &___Timer_27; }
inline void set_Timer_27(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * value)
{
___Timer_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Timer_27), (void*)value);
}
};
// System.Threading.Tasks.TaskFactory_CompleteOnInvokePromise
struct CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 : public Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138
{
public:
// System.Collections.Generic.IList`1<System.Threading.Tasks.Task> System.Threading.Tasks.TaskFactory_CompleteOnInvokePromise::_tasks
RuntimeObject* ____tasks_25;
// System.Int32 System.Threading.Tasks.TaskFactory_CompleteOnInvokePromise::m_firstTaskAlreadyCompleted
int32_t ___m_firstTaskAlreadyCompleted_26;
public:
inline static int32_t get_offset_of__tasks_25() { return static_cast<int32_t>(offsetof(CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86, ____tasks_25)); }
inline RuntimeObject* get__tasks_25() const { return ____tasks_25; }
inline RuntimeObject** get_address_of__tasks_25() { return &____tasks_25; }
inline void set__tasks_25(RuntimeObject* value)
{
____tasks_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&____tasks_25), (void*)value);
}
inline static int32_t get_offset_of_m_firstTaskAlreadyCompleted_26() { return static_cast<int32_t>(offsetof(CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86, ___m_firstTaskAlreadyCompleted_26)); }
inline int32_t get_m_firstTaskAlreadyCompleted_26() const { return ___m_firstTaskAlreadyCompleted_26; }
inline int32_t* get_address_of_m_firstTaskAlreadyCompleted_26() { return &___m_firstTaskAlreadyCompleted_26; }
inline void set_m_firstTaskAlreadyCompleted_26(int32_t value)
{
___m_firstTaskAlreadyCompleted_26 = value;
}
};
// System.Threading.ThreadAbortException
struct ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Threading.ThreadInterruptedException
struct ThreadInterruptedException_t40D8296AA9D9E8B74E29BFAE1089CFACC5F03751 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Threading.ThreadStart
struct ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF : public MulticastDelegate_t
{
public:
public:
};
// System.Threading.ThreadStateException
struct ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Threading.TimerCallback
struct TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 : public MulticastDelegate_t
{
public:
public:
};
// System.Threading.WaitCallback
struct WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC : public MulticastDelegate_t
{
public:
public:
};
// System.Threading.WaitHandleCannotBeOpenedException
struct WaitHandleCannotBeOpenedException_t869CD999EE7B918C5546E2007AF7C4557281B65B : public ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74
{
public:
public:
};
// System.Threading.WaitOrTimerCallback
struct WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF : public MulticastDelegate_t
{
public:
public:
};
// System.TimeZoneInfo_AdjustmentRule
struct AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 : public RuntimeObject
{
public:
// System.DateTime System.TimeZoneInfo_AdjustmentRule::m_dateStart
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_dateStart_0;
// System.DateTime System.TimeZoneInfo_AdjustmentRule::m_dateEnd
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_dateEnd_1;
// System.TimeSpan System.TimeZoneInfo_AdjustmentRule::m_daylightDelta
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___m_daylightDelta_2;
// System.TimeZoneInfo_TransitionTime System.TimeZoneInfo_AdjustmentRule::m_daylightTransitionStart
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___m_daylightTransitionStart_3;
// System.TimeZoneInfo_TransitionTime System.TimeZoneInfo_AdjustmentRule::m_daylightTransitionEnd
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___m_daylightTransitionEnd_4;
// System.TimeSpan System.TimeZoneInfo_AdjustmentRule::m_baseUtcOffsetDelta
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___m_baseUtcOffsetDelta_5;
public:
inline static int32_t get_offset_of_m_dateStart_0() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_dateStart_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_m_dateStart_0() const { return ___m_dateStart_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_m_dateStart_0() { return &___m_dateStart_0; }
inline void set_m_dateStart_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___m_dateStart_0 = value;
}
inline static int32_t get_offset_of_m_dateEnd_1() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_dateEnd_1)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_m_dateEnd_1() const { return ___m_dateEnd_1; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_m_dateEnd_1() { return &___m_dateEnd_1; }
inline void set_m_dateEnd_1(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___m_dateEnd_1 = value;
}
inline static int32_t get_offset_of_m_daylightDelta_2() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_daylightDelta_2)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_m_daylightDelta_2() const { return ___m_daylightDelta_2; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_m_daylightDelta_2() { return &___m_daylightDelta_2; }
inline void set_m_daylightDelta_2(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___m_daylightDelta_2 = value;
}
inline static int32_t get_offset_of_m_daylightTransitionStart_3() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_daylightTransitionStart_3)); }
inline TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 get_m_daylightTransitionStart_3() const { return ___m_daylightTransitionStart_3; }
inline TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * get_address_of_m_daylightTransitionStart_3() { return &___m_daylightTransitionStart_3; }
inline void set_m_daylightTransitionStart_3(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 value)
{
___m_daylightTransitionStart_3 = value;
}
inline static int32_t get_offset_of_m_daylightTransitionEnd_4() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_daylightTransitionEnd_4)); }
inline TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 get_m_daylightTransitionEnd_4() const { return ___m_daylightTransitionEnd_4; }
inline TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * get_address_of_m_daylightTransitionEnd_4() { return &___m_daylightTransitionEnd_4; }
inline void set_m_daylightTransitionEnd_4(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 value)
{
___m_daylightTransitionEnd_4 = value;
}
inline static int32_t get_offset_of_m_baseUtcOffsetDelta_5() { return static_cast<int32_t>(offsetof(AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204, ___m_baseUtcOffsetDelta_5)); }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 get_m_baseUtcOffsetDelta_5() const { return ___m_baseUtcOffsetDelta_5; }
inline TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * get_address_of_m_baseUtcOffsetDelta_5() { return &___m_baseUtcOffsetDelta_5; }
inline void set_m_baseUtcOffsetDelta_5(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 value)
{
___m_baseUtcOffsetDelta_5 = value;
}
};
// System.TypeLoadException
struct TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.TypeLoadException::ClassName
String_t* ___ClassName_17;
// System.String System.TypeLoadException::AssemblyName
String_t* ___AssemblyName_18;
// System.String System.TypeLoadException::MessageArg
String_t* ___MessageArg_19;
// System.Int32 System.TypeLoadException::ResourceId
int32_t ___ResourceId_20;
public:
inline static int32_t get_offset_of_ClassName_17() { return static_cast<int32_t>(offsetof(TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1, ___ClassName_17)); }
inline String_t* get_ClassName_17() const { return ___ClassName_17; }
inline String_t** get_address_of_ClassName_17() { return &___ClassName_17; }
inline void set_ClassName_17(String_t* value)
{
___ClassName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ClassName_17), (void*)value);
}
inline static int32_t get_offset_of_AssemblyName_18() { return static_cast<int32_t>(offsetof(TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1, ___AssemblyName_18)); }
inline String_t* get_AssemblyName_18() const { return ___AssemblyName_18; }
inline String_t** get_address_of_AssemblyName_18() { return &___AssemblyName_18; }
inline void set_AssemblyName_18(String_t* value)
{
___AssemblyName_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AssemblyName_18), (void*)value);
}
inline static int32_t get_offset_of_MessageArg_19() { return static_cast<int32_t>(offsetof(TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1, ___MessageArg_19)); }
inline String_t* get_MessageArg_19() const { return ___MessageArg_19; }
inline String_t** get_address_of_MessageArg_19() { return &___MessageArg_19; }
inline void set_MessageArg_19(String_t* value)
{
___MessageArg_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___MessageArg_19), (void*)value);
}
inline static int32_t get_offset_of_ResourceId_20() { return static_cast<int32_t>(offsetof(TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1, ___ResourceId_20)); }
inline int32_t get_ResourceId_20() const { return ___ResourceId_20; }
inline int32_t* get_address_of_ResourceId_20() { return &___ResourceId_20; }
inline void set_ResourceId_20(int32_t value)
{
___ResourceId_20 = value;
}
};
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD : public ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1
{
public:
public:
};
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA : public ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1
{
public:
// System.Object System.ArgumentOutOfRangeException::m_actualValue
RuntimeObject * ___m_actualValue_19;
public:
inline static int32_t get_offset_of_m_actualValue_19() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA, ___m_actualValue_19)); }
inline RuntimeObject * get_m_actualValue_19() const { return ___m_actualValue_19; }
inline RuntimeObject ** get_address_of_m_actualValue_19() { return &___m_actualValue_19; }
inline void set_m_actualValue_19(RuntimeObject * value)
{
___m_actualValue_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_actualValue_19), (void*)value);
}
};
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_StaticFields
{
public:
// System.String modreq(System.Runtime.CompilerServices.IsVolatile) System.ArgumentOutOfRangeException::_rangeMessage
String_t* ____rangeMessage_18;
public:
inline static int32_t get_offset_of__rangeMessage_18() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_StaticFields, ____rangeMessage_18)); }
inline String_t* get__rangeMessage_18() const { return ____rangeMessage_18; }
inline String_t** get_address_of__rangeMessage_18() { return &____rangeMessage_18; }
inline void set__rangeMessage_18(String_t* value)
{
____rangeMessage_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rangeMessage_18), (void*)value);
}
};
// System.DllNotFoundException
struct DllNotFoundException_tED90B6A78D4CF5AA565288E0BA88A990062A7F76 : public TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1
{
public:
public:
};
// System.EntryPointNotFoundException
struct EntryPointNotFoundException_tCF689617164B79AD85A41DADB38D27BD1E10B279 : public TypeLoadException_t510963B29CB27C6EA3ACDF5FB76E72E1BC372CD1
{
public:
public:
};
// System.ObjectDisposedException
struct ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A : public InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1
{
public:
// System.String System.ObjectDisposedException::objectName
String_t* ___objectName_17;
public:
inline static int32_t get_offset_of_objectName_17() { return static_cast<int32_t>(offsetof(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A, ___objectName_17)); }
inline String_t* get_objectName_17() const { return ___objectName_17; }
inline String_t** get_address_of_objectName_17() { return &___objectName_17; }
inline void set_objectName_17(String_t* value)
{
___objectName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___objectName_17), (void*)value);
}
};
// System.OverflowException
struct OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D : public ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269
{
public:
public:
};
// System.Threading.Tasks.TaskCanceledException
struct TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 : public OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90
{
public:
// System.Threading.Tasks.Task System.Threading.Tasks.TaskCanceledException::m_canceledTask
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___m_canceledTask_18;
public:
inline static int32_t get_offset_of_m_canceledTask_18() { return static_cast<int32_t>(offsetof(TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48, ___m_canceledTask_18)); }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * get_m_canceledTask_18() const { return ___m_canceledTask_18; }
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** get_address_of_m_canceledTask_18() { return &___m_canceledTask_18; }
inline void set_m_canceledTask_18(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
___m_canceledTask_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_canceledTask_18), (void*)value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Exception[]
struct ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Exception_t * m_Items[1];
public:
inline Exception_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Exception_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Exception_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Exception_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Exception_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Exception_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Runtime.ExceptionServices.ExceptionDispatchInfo[]
struct ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF : public RuntimeArray
{
public:
ALIGN_FIELD (8) ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * m_Items[1];
public:
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Threading.Tasks.Task[]
struct TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE : public RuntimeArray
{
public:
ALIGN_FIELD (8) Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * m_Items[1];
public:
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Threading.ThreadPoolWorkQueue_WorkStealingQueue[]
struct WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9 : public RuntimeArray
{
public:
ALIGN_FIELD (8) WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * m_Items[1];
public:
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Threading.IThreadPoolWorkItem[]
struct IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
public:
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Delegate_t * m_Items[1];
public:
inline Delegate_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Delegate_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Delegate_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Delegate_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Delegate_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Threading.WaitHandle[]
struct WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC : public RuntimeArray
{
public:
ALIGN_FIELD (8) WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * m_Items[1];
public:
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Int64[]
struct Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F : public RuntimeArray
{
public:
ALIGN_FIELD (8) int64_t m_Items[1];
public:
inline int64_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int64_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int64_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int64_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int64_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int64_t value)
{
m_Items[index] = value;
}
};
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E : public RuntimeArray
{
public:
ALIGN_FIELD (8) String_t* m_Items[1];
public:
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.TimeZoneInfo_AdjustmentRule[]
struct AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD : public RuntimeArray
{
public:
ALIGN_FIELD (8) AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * m_Items[1];
public:
inline AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Byte[]
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint8_t m_Items[1];
public:
inline uint8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
{
m_Items[index] = value;
}
};
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Il2CppChar m_Items[1];
public:
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>[]
struct KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B m_Items[1];
public:
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
}
};
IL2CPP_EXTERN_C void DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke(const DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F& unmarshaled, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(const DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke& marshaled, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F& unmarshaled);
IL2CPP_EXTERN_C void DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshal_pinvoke(const TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811& unmarshaled, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke& marshaled);
IL2CPP_EXTERN_C void TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshal_pinvoke_back(const TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke& marshaled, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811& unmarshaled);
IL2CPP_EXTERN_C void TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshal_pinvoke_cleanup(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke& marshaled);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::set_Item(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_mF9A6FBE4006C89D15B8C88B2CB46E9B24D18B7FC_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Remove(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_m2204D6D532702FD13AB2A9AD8DB538E4E8FB1913_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, const RuntimeMethod* method);
// System.Void System.Tuple`3<System.Object,System.Object,System.Object>::.ctor(T1,T2,T3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Tuple_3__ctor_m7334BD1AD31582D0F7A90637AEC714072E093956_gshared (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, RuntimeObject * ___item10, RuntimeObject * ___item21, RuntimeObject * ___item32, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Shared`1<System.Threading.CancellationTokenRegistration>::.ctor(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A_gshared (Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * __this, CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 ___value0, const RuntimeMethod* method);
// T1 System.Tuple`3<System.Object,System.Object,System.Object>::get_Item1()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item1_mDB05E64387A775571A57E1A8A3B225E9A079DF8C_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method);
// T2 System.Tuple`3<System.Object,System.Object,System.Object>::get_Item2()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item2_m28B3505579A6A87FAAFF970D0F19EBE95F6D9B2D_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method);
// T3 System.Tuple`3<System.Object,System.Object,System.Object>::get_Item3()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item3_m9F2E5915E0F2E217F46D06D14F750008D0E31B9B_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method);
// T System.Threading.LazyInitializer::EnsureInitialized<System.Object>(T&,System.Func`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * LazyInitializer_EnsureInitialized_TisRuntimeObject_m7B0E3E50F3847BD7E9A7254C24D6DAA8994F6CC7_gshared (RuntimeObject ** ___target0, Func_1_t59BE545225A69AFD7B2056D169D0083051F6D386 * ___valueFactory1, const RuntimeMethod* method);
// System.Void System.Collections.ObjectModel.ReadOnlyCollection`1<System.Object>::.ctor(System.Collections.Generic.IList`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReadOnlyCollection_1__ctor_m8F7880F43C4E281DBF7CA5A9431D5E6DD3797B7E_gshared (ReadOnlyCollection_1_t5D996E967221C71E4EC5CC11210C3076432D5A50 * __this, RuntimeObject* ___list0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::RemoveAll(System.Predicate`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD List_1_GetEnumerator_m52CC760E475D226A2B75048D70C4E22692F9F68D_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m94D0DAE031619503CDA6E53C5C3CC78AF3139472_gshared (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_gshared (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::Invoke(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Capacity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Insert(System.Int32,T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::IndexOf(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.Task::FromException<System.Threading.Tasks.VoidTaskResult>(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9_gshared (Exception_t * ___exception0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m7D745ADE56151C2895459668F4A4242985E526D8_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, const RuntimeMethod* method);
// System.Void System.Func`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_1__ctor_mE02699FC76D830943069F8FC19D16C3B72A98A1F_gshared (Func_1_t59BE545225A69AFD7B2056D169D0083051F6D386 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Predicate`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_gshared (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4_gshared (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::TrySetCanceled(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C_gshared (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___tokenToRecord0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::TrySetResult(TResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543_gshared (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 ___result0, const RuntimeMethod* method);
// System.Collections.Generic.IEnumerator`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1<System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ReadOnlyCollection_1_GetEnumerator_m0C8A9A1DBCB1FEFD1FF6A4E807D329949B925A76_gshared (ReadOnlyCollection_1_t5D996E967221C71E4EC5CC11210C3076432D5A50 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mEE468B81D8E7C140F567D10FF7F5894A50EEEA57_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m629B40CD4286736C328FA496AAFC388F697CF984_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_1__ctor_m6DAC1732E56024E32076DEE1A3863F17635A8944_gshared (Task_1_tA56001ED5270173CA1432EDFCD84EABB1024BC09 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task`1<System.Object>::TrySetResult(TResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_1_TrySetResult_m4FE4E07EBB0BA224341A4946FE2C4A813BD8AF64_gshared (Task_1_tA56001ED5270173CA1432EDFCD84EABB1024BC09 * __this, RuntimeObject * ___result0, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ConditionalWeakTable_2__ctor_m1BF7C98CA314D99CE58778C0C661D5F1628B6563_gshared (ConditionalWeakTable_2_tAD6736E4C6A9AF930D360966499D999E3CE45BF3 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Object,System.Object>::Add(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ConditionalWeakTable_2_Add_m328BEB54F1BEAC2B86045D46A84627B02C82E777_gshared (ConditionalWeakTable_2_tAD6736E4C6A9AF930D360966499D999E3CE45BF3 * __this, RuntimeObject * ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.EventHandler`1<System.Object>::Invoke(System.Object,TEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EventHandler_1_Invoke_mBF3979EE17B68658C4C1AB3A8D64B24F263E3B98_gshared (EventHandler_1_t10245A26B14DDE8DDFD5B263BDE0641F17DCFDC3 * __this, RuntimeObject * ___sender0, RuntimeObject * ___e1, const RuntimeMethod* method);
// T[] System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Object>::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* SparseArray_1_get_Current_m6715E5ACB39FD5E197A696FF118069BAD185668D_gshared (SparseArray_1_t3343BC28ED7AB6481D2C9C24AC382CCEFD5148F1 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SparseArray_1__ctor_m14F57DABEB0112D1C2DC00D1C734570C06C73DB5_gshared (SparseArray_1_t3343BC28ED7AB6481D2C9C24AC382CCEFD5148F1 * __this, int32_t ___initialSize0, const RuntimeMethod* method);
// System.Int32 System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Object>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SparseArray_1_Add_mF691405F72340FFB24B2B053CD36CE49E6F93D7A_gshared (SparseArray_1_t3343BC28ED7AB6481D2C9C24AC382CCEFD5148F1 * __this, RuntimeObject * ___e0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Object>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SparseArray_1_Remove_m68197C62F8B904A1778445F94E694E9F18C90BD7_gshared (SparseArray_1_t3343BC28ED7AB6481D2C9C24AC382CCEFD5148F1 * __this, RuntimeObject * ___e0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mC5CFC6C9F3007FC24FE020198265D4B5B0659FFC_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::set_Capacity(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Capacity_m5E67DE1CEC89ADB8A82937E2D0CB48A78F962FA3_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Comparison`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Comparison_1__ctor_m3445CDEBFFF4A3A9EAED69CBCC2D247630CA5BD4_gshared (Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Comparison`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_mA3939603201EC0E13489EDA5975A07790CEDB483_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Comparison_1_tD9DBDF7B2E4774B4D35E113A76D75828A24641F4 * ___comparison0, const RuntimeMethod* method);
// T[] System.Collections.Generic.List`1<System.Object>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* List_1_ToArray_m801D4DEF3587F60F463F04EEABE5CBE711FE5612_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m908B647BB9F807676DACE34E3E73475C3C3751D4_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m69345D9DEE55AA0CE574D19CB7C430AC638C01A9_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, const RuntimeMethod* method);
// TValue System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Item(TKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Dictionary_2_get_Item_mEFECE2769017AB70A9B1E7F5F8BBA59375620B54_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, const RuntimeMethod* method);
// T System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B List_1_get_Item_mA3E868C42E65CB3DC3966732D238AF05D6338EF7_gshared_inline (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, const RuntimeMethod* method);
// TKey System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>::get_Key()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 KeyValuePair_2_get_Key_m15F31F68F9D7F399DEBCC2328913654D36E79C1E_gshared_inline (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * __this, const RuntimeMethod* method);
// TValue System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>::get_Value()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Value_m5AF581973CD6FDFDA5540F0A0AAD90D97CC45D5D_gshared_inline (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mB556AE5EB3416A032123DE8D7E96B5FFD8CC8242_gshared_inline (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Add(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mF7AEA0EFA07EEBC1A4B283A26A7CB720EE7A4C20_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m6015B3C75A1DAB939EB443D59748227888900331_gshared (Dictionary_2_t03608389BB57475AA3F4B2B79D176A27807BC884 * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mE0334FEEB0DA08C563C9A3EBC9841C917C6E8E2E_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>::.ctor(TKey,TValue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyValuePair_2__ctor_mDE04093EC61BE2A8488E791E66598DE871AA96AF_gshared (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.Object>>::Add(T)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mA7FDE3694EEBB4C98536E78A885B8ADBDD00CE1D_gshared (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B ___item0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mAC67D3D51A9073130F2F486675676EBFAEC148C7 (U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * __this, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.Action::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5 (RuntimeObject * ___obj0, bool* ___lockTaken1, const RuntimeMethod* method);
// System.Int32 System.Threading.Tasks.Task::get_Id()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>::set_Item(TKey,TValue)
inline void Dictionary_2_set_Item_m55755723565BE6B8A0576434B1D1E5AFF5BC9E4A (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * __this, int32_t ___key0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F *, int32_t, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, const RuntimeMethod*))Dictionary_2_set_Item_mF9A6FBE4006C89D15B8C88B2CB46E9B24D18B7FC_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Threading.Monitor::Exit(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>::Remove(TKey)
inline bool Dictionary_2_Remove_m8A775DC3DA045DBE29E44D8FA98E57FEA20B9368 (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F *, int32_t, const RuntimeMethod*))Dictionary_2_Remove_m2204D6D532702FD13AB2A9AD8DB538E4E8FB1913_gshared)(__this, ___key0, method);
}
// System.Void System.Threading.Tasks.Task/ContingentProperties::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties__ctor_mD515B94D26AB52AFF131A9C97483E657261B0120 (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6 (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.Task::get_InternalCurrent()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::TaskConstructorCore(System.Object,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___action0, RuntimeObject * ___state1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___creationOptions3, int32_t ___internalOptions4, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler5, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.String System.Environment::GetResourceString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9 (String_t* ___key0, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706 (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::get_CreationOptions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AddNewChild()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddNewChild_m892592DE6344787DB92036EAB590476E549FA78F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.CancellationToken::get_CanBeCanceled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CancellationToken_get_CanBeCanceled_m485B6A386A628048A15D607330E91582012C59EF (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AssignCancellationToken(System.Threading.CancellationToken,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___antecedent1, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * ___continuation2, const RuntimeMethod* method);
// System.Threading.Tasks.Task/ContingentProperties System.Threading.Tasks.Task::EnsureContingentPropertiesInitialized(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method);
// System.Void System.Threading.CancellationToken::ThrowIfSourceDisposed()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CancellationToken_ThrowIfSourceDisposed_m8E42C0EEDC94CA3AB799D787A25E1BF63EC33271 (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * __this, const RuntimeMethod* method);
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::get_Options()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.CancellationToken::get_IsCancellationRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::InternalCancel(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bCancelNonExecutingOnly0, const RuntimeMethod* method);
// System.Threading.CancellationTokenRegistration System.Threading.CancellationToken::InternalRegisterWithoutEC(System.Action`1<System.Object>,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 CancellationToken_InternalRegisterWithoutEC_m2AB5F8C5E8800786BE0825ACE80BAA2EFB719DFF (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * __this, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___callback0, RuntimeObject * ___state1, const RuntimeMethod* method);
// System.Void System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>::.ctor(T1,T2,T3)
inline void Tuple_3__ctor_mEBEB26F33E2A9546F44BE417D96B1419B7F2EFE9 (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___item10, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___item21, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * ___item32, const RuntimeMethod* method)
{
(( void (*) (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *, const RuntimeMethod*))Tuple_3__ctor_m7334BD1AD31582D0F7A90637AEC714072E093956_gshared)(__this, ___item10, ___item21, ___item32, method);
}
// System.Void System.Threading.Tasks.Shared`1<System.Threading.CancellationTokenRegistration>::.ctor(T)
inline void Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A (Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * __this, CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 ___value0, const RuntimeMethod* method)
{
(( void (*) (Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 *, CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 , const RuntimeMethod*))Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A_gshared)(__this, ___value0, method);
}
// System.Void System.Threading.Tasks.Task::DisregardChild()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_DisregardChild_mF5C09366D4780D6C6A90B60BAC0C769054EA8771 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// T1 System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>::get_Item1()
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Tuple_3_get_Item1_mB0C8437E786459C80B0F2CB57ADC3A643F6C4CE2_inline (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * __this, const RuntimeMethod* method)
{
return (( Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * (*) (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *, const RuntimeMethod*))Tuple_3_get_Item1_mDB05E64387A775571A57E1A8A3B225E9A079DF8C_gshared_inline)(__this, method);
}
// T2 System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>::get_Item2()
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Tuple_3_get_Item2_m64FB7459CA4971DEC4FBC22F9E3BD918557B9BCB_inline (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * __this, const RuntimeMethod* method)
{
return (( Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * (*) (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *, const RuntimeMethod*))Tuple_3_get_Item2_m28B3505579A6A87FAAFF970D0F19EBE95F6D9B2D_gshared_inline)(__this, method);
}
// T3 System.Tuple`3<System.Threading.Tasks.Task,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation>::get_Item3()
inline TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * Tuple_3_get_Item3_m4361144F0F8FBFA32334368B1C2EAFB8158461F0_inline (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * __this, const RuntimeMethod* method)
{
return (( TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * (*) (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *, const RuntimeMethod*))Tuple_3_get_Item3_m9F2E5915E0F2E217F46D06D14F750008D0E31B9B_gshared_inline)(__this, method);
}
// System.Void System.Threading.Tasks.Task::RemoveContinuation(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___continuationObject0, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::Capture(System.Threading.StackCrawlMark&,System.Threading.ExecutionContext/CaptureOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ExecutionContext_Capture_m03E9840F580CC8E82725D5969D6132B0ABADD5F2 (int32_t* ___stackMark0, int32_t ___options1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::set_CapturedContext(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___value0, const RuntimeMethod* method);
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::OptionsMethod(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_OptionsMethod_m078D666F0D89BE7D57D02F2E355907A71EA962ED (int32_t ___flags0, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03 (int32_t* ___location10, int32_t ___value1, int32_t ___comparand2, const RuntimeMethod* method);
// System.Void System.Threading.SpinWait::SpinOnce()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpinWait_SpinOnce_mFE80DED71DC333A3F5C6F98AE9B46AB63B854E87 (SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::AtomicStateUpdate(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___newBits0, int32_t ___illegalBits1, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsWaitNotificationEnabled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsWaitNotificationEnabled_m2FCD90C6D62FFF78CBE2C5FE3BB9AAB68794DE8E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::NotifyDebuggerOfWaitCompletion()
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Task_NotifyDebuggerOfWaitCompletion_m29E07DF85245752783EB926AF0698526AE9954F3 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::SetNotificationForWaitCompletion(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_SetNotificationForWaitCompletion_mD1A101A6112916B6B28B86D5A9015348CCDFEC2A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___enabled0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsSelfReplicatingRoot()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::Increment(System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Interlocked_Increment_mB6D391197444B8BFD30BAE1EDCF1A255CD2F292F (int32_t* ___location0, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::Decrement(System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Interlocked_Decrement_m5C38319E41D5F7C90DFEC9138D58E6E92DFAFCFE (int32_t* ___location0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::.ctor(System.Delegate,System.Object,System.Threading.Tasks.Task,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Delegate_t * ___action0, RuntimeObject * ___state1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___parent2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, int32_t ___creationOptions4, int32_t ___internalOptions5, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler6, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::PossiblyCaptureContext(System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_PossiblyCaptureContext_m0DB8D1ADD84B044BEBC0A692E45577D2B7ADFDA8 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t* ___stackMark0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::ScheduleAndStart(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method);
// System.Int32 System.Threading.Tasks.Task::NewId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_NewId_m2FA62609A08BE3C277416032922008B5F0870B7F (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.StackGuard::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StackGuard__ctor_m43A3F9AC18F2D28154D3C5B1434DAAF5A59EB3EB (StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsFaulted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.AggregateException System.Threading.Tasks.Task::GetExceptions(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___includeTaskCanceledExceptions0, const RuntimeMethod* method);
// System.Threading.Tasks.Task/ContingentProperties System.Threading.Tasks.Task::EnsureContingentPropertiesInitializedCore(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * Task_EnsureContingentPropertiesInitializedCore_mEBABC8AA0C0C53B08D71CC3233E7F9487A645709 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method);
// T System.Threading.LazyInitializer::EnsureInitialized<System.Threading.Tasks.Task/ContingentProperties>(T&,System.Func`1<T>)
inline ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * LazyInitializer_EnsureInitialized_TisContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_m2F2E8D86C1C1F146E43AA9AA5572B95F333C0EAF (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 ** ___target0, Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * ___valueFactory1, const RuntimeMethod* method)
{
return (( ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * (*) (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 **, Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F *, const RuntimeMethod*))LazyInitializer_EnsureInitialized_TisRuntimeObject_m7B0E3E50F3847BD7E9A7254C24D6DAA8994F6CC7_gshared)(___target0, ___valueFactory1, method);
}
// System.Boolean System.Threading.Tasks.Task::IsCompletedMethod(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_IsCompletedMethod_mDB10A23B3BE87989E50E196D28E2A429ED06C48A (int32_t ___flags0, const RuntimeMethod* method);
// System.Void System.ObjectDisposedException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_m303CFD09E4B541C36C60AE7B7CBC8B1B7EED66DC (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * __this, String_t* ___objectName0, String_t* ___message1, const RuntimeMethod* method);
// System.Threading.ManualResetEventSlim System.Threading.Tasks.Task::get_CompletedEvent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * Task_get_CompletedEvent_mE8A47E33273E4C45D6D818F4308903D34C5683DD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Threading.WaitHandle System.Threading.ManualResetEventSlim::get_WaitHandle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ManualResetEventSlim_get_WaitHandle_m1D2F06B07F0563D6E4788305F52284487DCE802B (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::.ctor(System.Boolean,System.Threading.Tasks.TaskCreationOptions,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___canceled0, int32_t ___creationOptions1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___ct2, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsCompleted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEventSlim::.ctor(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEventSlim__ctor_m8A42F1BAF0BB8E04060ABB7506A3F03EF6EFD6EF (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, bool ___initialState0, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEventSlim::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEventSlim_Dispose_mDF9E897811F63EA93C87E4D2FE66B138A66146AA (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEventSlim::Set()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEventSlim_Set_m2E94D35286055BA81B9DAD85C4CB9DCF89CF0F81 (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.TaskExceptionHolder::get_ContainsFaultList()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskExceptionHolder_get_ContainsFaultList_m0BD28A069F49306DC78F74060DF55D2F9F5275E3 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::get_PreAllocatedDefault()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8E_inline (const RuntimeMethod* method);
// System.Boolean System.Threading.ExecutionContext::get_IsPreAllocatedDefault()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ExecutionContext_get_IsPreAllocatedDefault_mFD07D73B6F109B0CC3444D45542A6A63D4B373D4 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * __this, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::CreateCopy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ExecutionContext_CreateCopy_mD0C2EA5AE6F140C566D3DC1B0E7896AEDBBAA6F1 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * __this, const RuntimeMethod* method);
// System.Void System.GC::SuppressFinalize(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Boolean System.Threading.ManualResetEventSlim::get_IsSet()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ManualResetEventSlim_get_IsSet_mF9C923A1085E5C05A4A9B4844FD43D33F9B51EFC (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::MarkStarted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_MarkStarted_mA6657A4058C324CA5277F16D30C25741C4220030 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::AddToActiveTasks(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.AsyncCausalityTracer::get_LoggingOn()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7 (const RuntimeMethod* method);
// System.Reflection.MethodInfo System.Delegate::get_Method()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MethodInfo_t * Delegate_get_Method_m0AC85D2B0C4CA63C471BC37FFDC3A5EA1E8ED048 (Delegate_t * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AsyncCausalityTracer::TraceOperationCreation(System.Threading.Tasks.CausalityTraceLevel,System.Int32,System.String,System.UInt64)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void AsyncCausalityTracer_TraceOperationCreation_m7B5DBD272BC20E986A5120FBF6665241BBACF060 (int32_t ___traceLevel0, int32_t ___taskId1, String_t* ___operationName2, uint64_t ___relatedContext3, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskScheduler::InternalQueueTask(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_InternalQueueTask_m08940F911E3B4987803048AC88CAE4FB803E1B30 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AddException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::FinishThreadAbortedTask(System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bTAEAddedToExceptionHolder0, bool ___delegateRan1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskSchedulerException::.ctor(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63 (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * __this, Exception_t * ___innerException0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::Finish(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bUserDelegateExecuted0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::MarkAsHandled(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, bool ___calledFromFinalizer0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AddException(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___exceptionObject0, bool ___representsCancellation1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::.ctor(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder__ctor_m9DFCF5C093112C5273718737871BB34B2677A842 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::Add(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_Add_m474EACCFF78EE2092046D28A549140F2DB721109 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, bool ___representsCancellation1, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsCanceled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskCanceledException::.ctor(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCanceledException__ctor_m45DC90A53B1AF6B996D2B1BEA655A8D2C08C6AE7 (TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_ExceptionRecorded()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_ExceptionRecorded_mE7BD1794348DB6D61B6A1D29A57519264BC6722E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.AggregateException System.Threading.Tasks.TaskExceptionHolder::CreateExceptionObject(System.Boolean,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, bool ___calledFromFinalizer0, Exception_t * ___includeThisException1, const RuntimeMethod* method);
// System.Void System.AggregateException::.ctor(System.Exception[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AggregateException__ctor_m4BE6D1A4009BE2081C418E517FFDFE415B6CF908 (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* ___innerExceptions0, const RuntimeMethod* method);
// System.Void System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::.ctor(System.Collections.Generic.IList`1<T>)
inline void ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F (ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * __this, RuntimeObject* ___list0, const RuntimeMethod* method)
{
(( void (*) (ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 *, RuntimeObject*, const RuntimeMethod*))ReadOnlyCollection_1__ctor_m8F7880F43C4E281DBF7CA5A9431D5E6DD3797B7E_gshared)(__this, ___list0, method);
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo> System.Threading.Tasks.TaskExceptionHolder::GetExceptionDispatchInfos()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * TaskExceptionHolder_GetExceptionDispatchInfos_m22C52A36D4F57DA10A82F4193B5DB26C2761C40E (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method);
// System.Runtime.ExceptionServices.ExceptionDispatchInfo System.Threading.Tasks.TaskExceptionHolder::GetCancellationExceptionDispatchInfo()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * TaskExceptionHolder_GetCancellationExceptionDispatchInfo_m6F7AB65EF187AEE62E6704ED3C85C4BC58C6F369_inline (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::UpdateExceptionObservedStatus()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_UpdateExceptionObservedStatus_m1B934C758DC3C80A3B26410F4A246767EEEBE05A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::FinishStageTwo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Threading.Tasks.Task>::RemoveAll(System.Predicate`1<T>)
inline int32_t List_1_RemoveAll_mC4FEA0EA2929D9530115A00BFA5AF6C1BBAB74A8 (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * __this, Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * ___match0, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *, Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 *, const RuntimeMethod*))List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_gshared)(__this, ___match0, method);
}
// System.Void System.Threading.Tasks.Task::AddExceptionsFromChildren()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddExceptionsFromChildren_mC22CD99033D0071A1CB17FD39752202CE3E31E26 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AsyncCausalityTracer::TraceOperationCompletion(System.Threading.Tasks.CausalityTraceLevel,System.Int32,System.Threading.Tasks.AsyncCausalityStatus)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6 (int32_t ___traceLevel0, int32_t ___taskId1, int32_t ___status2, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::RemoveFromActiveTasks(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5 (int32_t ___taskId0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsCancellationRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCancellationRequested_mEC0D3452C63A295062E6D2C1FCECA529EC9D1C91 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsCancellationAcknowledged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCancellationAcknowledged_m8E56396FE6257481F3B2DC98DC1F8ED3BA2E3E9E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Interlocked::Exchange(System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5 (int32_t* ___location10, int32_t ___value1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/ContingentProperties::SetCompleted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties_SetCompleted_m3CB1941CBE9F1D241A2AFA4E3F739C98B493E6DE (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/ContingentProperties::DeregisterCancellationCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900 (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::FinishStageThree()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::ProcessChildCompletion(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ProcessChildCompletion_mC85680C81FB2CC825B8525B112630786F41C3B3B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___childTask0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::FinishContinuations()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsExceptionObservedByParent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsExceptionObservedByParent_mF76B3BAD34F96F98D1A8E8ACFF533728CEA7EE07 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Threading.Tasks.Task>::.ctor()
inline void List_1__ctor_mC06B02C45D781C1EBF33F5D2380FF522713EF33B (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.Threading.Tasks.Task>::Add(T)
inline void List_1_Add_mAC067166AEB86D01BCC2364DAC32CF05E89AF135 (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<System.Threading.Tasks.Task>::GetEnumerator()
inline Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 List_1_GetEnumerator_mFF8F45C64E3BA8B5E05FE814FC09A80F81903598 (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * __this, const RuntimeMethod* method)
{
return (( Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 (*) (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *, const RuntimeMethod*))List_1_GetEnumerator_m52CC760E475D226A2B75048D70C4E22692F9F68D_gshared)(__this, method);
}
// T System.Collections.Generic.List`1/Enumerator<System.Threading.Tasks.Task>::get_Current()
inline Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Enumerator_get_Current_m7225F86A35D26BD382863FC6FE84CAF3DA11CF9F_inline (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 * __this, const RuntimeMethod* method)
{
return (( Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * (*) (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *, const RuntimeMethod*))Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Threading.Tasks.Task>::MoveNext()
inline bool Enumerator_MoveNext_m5A9F52ABE68EC7C100DB7A788C4B6BBB48358FFD (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *, const RuntimeMethod*))Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Threading.Tasks.Task>::Dispose()
inline void Enumerator_Dispose_m83CB993D2CC4222537751945D972767270313F45 (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *, const RuntimeMethod*))Enumerator_Dispose_m94D0DAE031619503CDA6E53C5C3CC78AF3139472_gshared)(__this, method);
}
// System.Void System.Threading.Tasks.Task::ExecuteSelfReplicating(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ExecuteSelfReplicating_m04E29BA5B131FD16387C89CACB5B989BE675C1F4 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___root0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsChildReplica()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsChildReplica_m0C8033A1E772EF6829A2F00F9BB58C455D4DC6AA (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::HandleException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Exception_t * ___unhandledException0, const RuntimeMethod* method);
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.Task::get_ExecutingTaskScheduler()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/<>c__DisplayClass178_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass178_0__ctor_mE3AB73DE645CB1E445061A5C3AF7591D19EC1D10 (U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * __this, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
inline void Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510 (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Action`1<System.Object>::Invoke(T)
inline void Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5 (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
(( void (*) (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *, RuntimeObject *, const RuntimeMethod*))Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_gshared)(__this, ___obj0, method);
}
// System.Boolean System.Threading.Tasks.Task::ExecuteEntry(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bPreventDoubleExecution0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::AtomicStateUpdate(System.Int32,System.Int32,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AtomicStateUpdate_mC826E87CFCDFFDB8E6225C8D6A7FA0B95AB0C1E0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___newBits0, int32_t ___illegalBits1, int32_t* ___oldFlags2, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::ExecuteWithThreadLocal(System.Threading.Tasks.Task&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ExecuteWithThreadLocal_mFF23F3F9C0796B0EE2AC70CB51AD7D2A2867D733 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** ___currentTaskSlot0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::CancellationCleanupLogic()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.Tasks.Task::get_CapturedContext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::Execute()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.Tasks.Task::CopyExecutionContext(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___capturedContext0, const RuntimeMethod* method);
// System.Void System.Threading.ContextCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContextCallback__ctor_m079F8FC3EE21C47D9FDD09FD90C14BDD34539493 (ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Threading.ExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExecutionContext_Run_mFF76DDA6501D993EB4A4B79EFDAF1F6476920945 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, RuntimeObject * ___state2, bool ___preserveSyncCtx3, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AsyncCausalityTracer::TraceSynchronousWorkCompletion(System.Threading.Tasks.CausalityTraceLevel,System.Threading.Tasks.CausalitySynchronousWork)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void AsyncCausalityTracer_TraceSynchronousWorkCompletion_m55EB5CB50B1797EDC8071C3D1BF3FDEB92D5025C (int32_t ___traceLevel0, int32_t ___work1, const RuntimeMethod* method);
// System.Threading.CancellationToken System.OperationCanceledException::get_CancellationToken()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB OperationCanceledException_get_CancellationToken_mE0079552C3600A6DB8324958CA288DB19AF05B66_inline (OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.CancellationToken::op_Equality(System.Threading.CancellationToken,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CancellationToken_op_Equality_m21CD07CDD7FE9C6920F3806BE460A35DC4A0332D (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___left0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___right1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::SetCancellationAcknowledged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_SetCancellationAcknowledged_m5C4A001B268D335A8AAD044071B8DDD5C3024EF5 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.TaskAwaiter::.ctor(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void TaskAwaiter__ctor_m097495CE8729E030CC08F2C46FEA4BAD6AD4228B_inline (TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.ConfiguredTaskAwaitable::.ctor(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ConfiguredTaskAwaitable__ctor_m8FEE38F1343FC69A8D97E4FFB076E6377592693F (ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___continueOnCapturedContext1, const RuntimeMethod* method);
// System.Threading.SynchronizationContext System.Threading.SynchronizationContext::get_CurrentNoFlow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * SynchronizationContext_get_CurrentNoFlow_m27FCFE7342796044E2ADD701D2E86F2517D64194 (const RuntimeMethod* method);
// System.Type System.Object::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6 (RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D ___handle0, const RuntimeMethod* method);
// System.Boolean System.Type::op_Inequality(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Inequality_m615014191FB05FD50F63A24EB9A6CCA785E7CEC9 (Type_t * ___left0, Type_t * ___right1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation::.ctor(System.Threading.SynchronizationContext,System.Action,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SynchronizationContextAwaitTaskContinuation__ctor_m050FFB1926E4E85CF18607F93821E1CDA6308A4E (SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE * __this, SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * ___context0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action1, bool ___flowExecutionContext2, int32_t* ___stackMark3, const RuntimeMethod* method);
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_InternalCurrent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C (const RuntimeMethod* method);
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_Default()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation::.ctor(System.Threading.Tasks.TaskScheduler,System.Action,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerAwaitTaskContinuation__ctor_m173C68019B0FDEB8F679AED48DDD37B4DD9ED470 (TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action1, bool ___flowExecutionContext2, int32_t* ___stackMark3, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AwaitTaskContinuation::.ctor(System.Action,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AwaitTaskContinuation__ctor_mBEDA16F5D33081AF421A009449B3A1D2B0A0121A (AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F * __this, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, bool ___flowExecutionContext1, int32_t* ___stackMark2, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::AddTaskContinuation(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___tc0, bool ___addBeforeOthers1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AwaitTaskContinuation::UnsafeScheduleAction(System.Action,System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AwaitTaskContinuation_UnsafeScheduleAction_m6FE5A227F1E782EC26CA755419E7CE146B43FF4B (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task1, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::Wait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::get_IsWaitNotificationEnabledOrNotRanToCompletion()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Task_get_IsWaitNotificationEnabledOrNotRanToCompletion_mEC26269ABD71D03847D81120160D2106C2B3D581_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::InternalWait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_InternalWait_m7F1436A365C066C8D9BDEB6740118206B0EFAD45 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::NotifyDebuggerOfWaitCompletionIfNecessary()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_NotifyDebuggerOfWaitCompletionIfNecessary_m71ACB838EB1988C1436F99C7EB0C819D9F025E2A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.CancellationToken::ThrowIfCancellationRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CancellationToken_ThrowIfCancellationRequested_m13AB667F961F83D8ED759BA402325638F43B0938 (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::ThrowIfExceptional(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___includeTaskCanceledExceptions0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.TaskScheduler::TryRunInline(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___taskWasPreviouslyQueued1, const RuntimeMethod* method);
// System.Void System.Diagnostics.Debugger::NotifyOfCrossThreadDependency()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debugger_NotifyOfCrossThreadDependency_m8387594B996D7068C44BA22E2D85266D3BAF4307 (const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::WrappedTryRunInline()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::SpinThenBlockingWait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_SpinThenBlockingWait_mBAB3ADF8D2F624A0DC70F6BE0D7C2B0E291E635F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method);
// System.Int32 System.Environment::get_TickCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C (const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::SpinWait(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_SpinWait_mE21B8AFD42111D5E49A949853AAF5576AAAFB93A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/SetOnInvokeMres::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SetOnInvokeMres__ctor_m5687AFB1292311BE5361EDDC64D893359D4DA8BD (SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AddCompletionAction(System.Threading.Tasks.ITaskCompletionAction,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject* ___action0, bool ___addBeforeOthers1, const RuntimeMethod* method);
// System.Boolean System.Threading.ManualResetEventSlim::Wait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ManualResetEventSlim_Wait_mBBC47852C86E2A3D08FADAF3DE0588A2CE720B2F (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method);
// System.Boolean System.Threading.PlatformHelper::get_IsSingleProcessor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PlatformHelper_get_IsSingleProcessor_m87507D435831F72BC807223D20139EE006CC3106 (const RuntimeMethod* method);
// System.Boolean System.Threading.Thread::Yield()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_Yield_m04E310FE49602AEB72AE630E371CFAC36AAA718B (const RuntimeMethod* method);
// System.Int32 System.Threading.PlatformHelper::get_ProcessorCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PlatformHelper_get_ProcessorCount_mED31378FF99FA52193863291A42F4EA623F62E13 (const RuntimeMethod* method);
// System.Void System.Threading.Thread::SpinWait(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_m78B41D34DB11B07C0E7776FD3150DFB10AC63BB4 (int32_t ___iterations0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::RecordInternalCancellationRequest()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RecordInternalCancellationRequest_m3438B1196A36F51DBC6585D4824CFD492851A395 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.CancellationToken::op_Inequality(System.Threading.CancellationToken,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CancellationToken_op_Inequality_mF123C167BD2B2C2FD542C282C0968790E400C540 (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___left0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___right1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::RecordInternalCancellationRequest(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RecordInternalCancellationRequest_m4FA35104DF2C193AC71BD6B1AD951684B9F5E8C3 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___tokenToRecord0, const RuntimeMethod* method);
// System.Object System.Threading.Interlocked::Exchange(System.Object&,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Interlocked_Exchange_m3D17D94F59C9010A3116C2016D1C066E54049E38 (RuntimeObject ** ___location10, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AsyncCausalityTracer::TraceSynchronousWorkStart(System.Threading.Tasks.CausalityTraceLevel,System.Int32,System.Threading.Tasks.CausalitySynchronousWork)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void AsyncCausalityTracer_TraceSynchronousWorkStart_m1A1EE1813BE623AF47CA240A8DA14DAE98A6279D (int32_t ___traceLevel0, int32_t ___taskId1, int32_t ___work2, const RuntimeMethod* method);
// System.Threading.Thread System.Threading.Thread::get_CurrentThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E (const RuntimeMethod* method);
// System.Threading.ThreadState System.Threading.Thread::get_ThreadState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ThreadState_m8F398B10B485BC5FC7499B53452230A604989C10 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AwaitTaskContinuation::RunOrScheduleAction(System.Action,System.Boolean,System.Threading.Tasks.Task&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101 (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, bool ___allowInlining1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** ___currentTask2, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::LogFinishCompletionNotification()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.CompletionActionInvoker::.ctor(System.Threading.Tasks.ITaskCompletionAction,System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompletionActionInvoker__ctor_m99DE9FFDBB3B8A79C61EA35DDE340DF5FB54F158 (CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C * __this, RuntimeObject* ___action0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___completingTask1, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::UnsafeQueueCustomWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568 (RuntimeObject* ___workItem0, bool ___forceGlobal1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
inline int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
inline RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( RuntimeObject * (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
inline void List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject *, const RuntimeMethod*))List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_gshared)(__this, ___index0, ___value1, method);
}
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_Current_m650D09DC411D00985B24BEF41984F4FDEE0D91D7 (const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`1<System.Threading.Tasks.Task>,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * ___continuationAction0, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___continuationOptions3, int32_t* ___stackMark4, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::CreationOptionsFromContinuationOptions(System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskCreationOptions&,System.Threading.Tasks.InternalTaskOptions&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08 (int32_t ___continuationOptions0, int32_t* ___creationOptions1, int32_t* ___internalOptions2, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.ContinuationTaskFromTask::.ctor(System.Threading.Tasks.Task,System.Delegate,System.Object,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContinuationTaskFromTask__ctor_m7804EC000E1BA147597C861D81912A1A20EA35D9 (ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___antecedent0, Delegate_t * ___action1, RuntimeObject * ___state2, int32_t ___creationOptions3, int32_t ___internalOptions4, int32_t* ___stackMark5, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::ContinueWithCore(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___continuationTask0, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___options3, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`2<System.Threading.Tasks.Task,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * ___continuationAction0, RuntimeObject * ___state1, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, int32_t ___continuationOptions4, int32_t* ___stackMark5, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * __this, String_t* ___paramName0, String_t* ___message1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.StandardTaskContinuation::.ctor(System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StandardTaskContinuation__ctor_m7CB15782CC00DD5A95EB9B98D988BE433A26CD9D (StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, int32_t ___options1, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler2, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
inline void List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3 (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
inline void List_1_Add_m6930161974C7504C80F52EC379EF012387D43138 (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Object System.Threading.Interlocked::CompareExchange(System.Object&,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Interlocked_CompareExchange_m92F692322F12C6FD29B3834B380639DCD094B651 (RuntimeObject ** ___location10, RuntimeObject * ___value1, RuntimeObject * ___comparand2, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Capacity()
inline int32_t List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, const RuntimeMethod*))List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_gshared)(__this, method);
}
// System.Int32 System.Collections.Generic.List`1<System.Object>::RemoveAll(System.Predicate`1<T>)
inline int32_t List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, const RuntimeMethod*))List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_gshared)(__this, ___match0, method);
}
// System.Void System.Collections.Generic.List`1<System.Object>::Insert(System.Int32,T)
inline void List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52 (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
(( void (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, int32_t, RuntimeObject *, const RuntimeMethod*))List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52_gshared)(__this, ___index0, ___item1, method);
}
// System.Boolean System.Threading.Tasks.Task::AddTaskContinuationComplex(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddTaskContinuationComplex_mA7A1D0E407A59EC369D7879BB76F406CF1B5E848 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___tc0, bool ___addBeforeOthers1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::IndexOf(T)
inline int32_t List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728 (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *, RuntimeObject *, const RuntimeMethod*))List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728_gshared)(__this, ___item0, method);
}
// System.Threading.Tasks.Task`1<TResult> System.Threading.Tasks.Task::FromException<System.Threading.Tasks.VoidTaskResult>(System.Exception)
inline Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9 (Exception_t * ___exception0, const RuntimeMethod* method)
{
return (( Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * (*) (Exception_t *, const RuntimeMethod*))Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9_gshared)(___exception0, method);
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::InternalStartNew(System.Threading.Tasks.Task,System.Delegate,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___creatingTask0, Delegate_t * ___action1, RuntimeObject * ___state2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler4, int32_t ___options5, int32_t ___internalOptions6, int32_t* ___stackMark7, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.Task::FromCancellation(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860 (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.Task::get_CompletedTask()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_CompletedTask_mBB0764E7FDE04E900FFBE5B1BE6B815193681E86 (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/DelayPromise::.ctor(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DelayPromise__ctor_m3A76D411C11904928F0FF700384FFA1668669B15 (DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___token0, const RuntimeMethod* method);
// System.Void System.Threading.TimerCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerCallback__ctor_m6B85BEF2F0E429E5F8E4FA2F527B42247E95A690 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Threading.Timer::.ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer__ctor_mD4A4B4616E25E39A422DD8083930951535AE8BA1 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback0, RuntimeObject * ___state1, int32_t ___dueTime2, int32_t ___period3, const RuntimeMethod* method);
// System.Void System.Threading.Timer::KeepRootedWhileScheduled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_KeepRootedWhileScheduled_mDB50A8671E3759074432E0E4EEBF1BD90B721829 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, String_t* ___paramName1, const RuntimeMethod* method);
// System.Threading.Tasks.Task`1<System.Threading.Tasks.Task> System.Threading.Tasks.TaskFactory::CommonCWAnyLogic(System.Collections.Generic.IList`1<System.Threading.Tasks.Task>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565 (RuntimeObject* ___tasks0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory__ctor_m56921654C22946B66D728E86E5989E0397303233 (TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Threading.Tasks.Task>::.ctor()
inline void Dictionary_2__ctor_m9E5909F2240E8B4B0B9CA7DDA4075EF6C3B7BCA5 (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F *, const RuntimeMethod*))Dictionary_2__ctor_m7D745ADE56151C2895459668F4A4242985E526D8_gshared)(__this, method);
}
// System.Void System.Func`1<System.Threading.Tasks.Task/ContingentProperties>::.ctor(System.Object,System.IntPtr)
inline void Func_1__ctor_mE9C2E3D8D0214538F8B9ABE57AA858D03EB20169 (Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_1__ctor_mE02699FC76D830943069F8FC19D16C3B72A98A1F_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Predicate`1<System.Threading.Tasks.Task>::.ctor(System.Object,System.IntPtr)
inline void Predicate_1__ctor_m1481B0BA718AF9DAD320321A0CF4E8FB952E1E23 (Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Predicate`1<System.Object>::.ctor(System.Object,System.IntPtr)
inline void Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Threading.Tasks.Task/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m5074370076D060EDD4DE2D93ABCD6E80B6AA2574 (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task/DelayPromise::Complete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD (DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::InnerInvokeWithArg(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Task_InnerInvokeWithArg_m8313756145BF2BCE95AA05D0B896E4780788DD86 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___childTask0, const RuntimeMethod* method);
// System.Void System.Threading.CancellationTokenRegistration::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CancellationTokenRegistration_Dispose_m12C09B73DC2913C85C776E611EF48DCA63405457 (CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::.ctor()
inline void Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4 (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, const RuntimeMethod* method)
{
(( void (*) (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 *, const RuntimeMethod*))Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4_gshared)(__this, method);
}
// System.Boolean System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::TrySetCanceled(System.Threading.CancellationToken)
inline bool Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___tokenToRecord0, const RuntimeMethod* method)
{
return (( bool (*) (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 *, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB , const RuntimeMethod*))Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C_gshared)(__this, ___tokenToRecord0, method);
}
// System.Boolean System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>::TrySetResult(TResult)
inline bool Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543 (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * __this, VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 ___result0, const RuntimeMethod* method)
{
return (( bool (*) (Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 *, VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 , const RuntimeMethod*))Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543_gshared)(__this, ___result0, method);
}
// System.Void System.Threading.Timer::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_Dispose_mAD09E4EAC3D4A4732B55911919A60CACCF8173D9 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEventSlim::.ctor(System.Boolean,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEventSlim__ctor_m9755B7ADD1C06A7CA340D730FD1E3694BB563B94 (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * __this, bool ___initialState0, int32_t ___spinCount1, const RuntimeMethod* method);
// System.Void System.OperationCanceledException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OperationCanceledException__ctor_m2B7CD7E9C467C67E91F869D2418897991E05CC2F (OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Threading.CancellationToken System.Threading.Tasks.Task::get_CancellationToken()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB Task_get_CancellationToken_m3E8D0E96EEC38EC70AEE5F876AF8A0517B463D75 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.OperationCanceledException::.ctor(System.String,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OperationCanceledException__ctor_mFA31130275508696794961415B1C9F0AC2308DB0 (OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * __this, String_t* ___message0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___token1, const RuntimeMethod* method);
// System.Void System.OperationCanceledException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OperationCanceledException__ctor_m8FCB4255C71E7CCCD49CF391BC5CE8EF39F47700 (OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::EnsureADUnloadCallbackRegistered()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_EnsureADUnloadCallbackRegistered_m9143F763B1A627B480F5E1B9993FF68DE28BD080 (const RuntimeMethod* method);
// System.Boolean System.CLRConfig::CheckThrowUnobservedTaskExceptions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CLRConfig_CheckThrowUnobservedTaskExceptions_m7E817CDBB28FAAD9A350E189D536A84EA75A37D3 (const RuntimeMethod* method);
// System.Void System.EventHandler::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EventHandler__ctor_m497A2BCD46DB769EAFFDE919303FCAE226906B6F (EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.AppDomain System.AppDomain::get_CurrentDomain()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * AppDomain_get_CurrentDomain_m3D3D52C9382D6853E49551DA6182DBC5F1118BF0 (const RuntimeMethod* method);
// System.Void System.AppDomain::add_DomainUnload(System.EventHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AppDomain_add_DomainUnload_mF24D35CA25C3C808EC78600D0C603B396EC8765F (AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * __this, EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * ___value0, const RuntimeMethod* method);
// System.Boolean System.Environment::get_HasShutdownStarted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Environment_get_HasShutdownStarted_m722CC30F8A3C58FE3165427FF2858922C13F7A5C (const RuntimeMethod* method);
// System.Boolean System.AppDomain::IsFinalizingForUnload()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AppDomain_IsFinalizingForUnload_m1B3D0DA1C7AEA3D6FA5D7D52161B2FF52B2D9912 (AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * __this, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::GetEnumerator()
inline Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 List_1_GetEnumerator_mE27BF65BB76485B01C35B9F6A1D44C4560BF5370 (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, const RuntimeMethod*))List_1_GetEnumerator_m52CC760E475D226A2B75048D70C4E22692F9F68D_gshared)(__this, method);
}
// T System.Collections.Generic.List`1/Enumerator<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::get_Current()
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * Enumerator_get_Current_m2EA6C5DB454F479076AF2C9098A477B943F7CF71_inline (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 * __this, const RuntimeMethod* method)
{
return (( ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * (*) (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *, const RuntimeMethod*))Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline)(__this, method);
}
// System.Exception System.Runtime.ExceptionServices.ExceptionDispatchInfo::get_SourceException()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Exception_t * ExceptionDispatchInfo_get_SourceException_m212F50A437B8B18AFECE39F2A9F7231787F45F28_inline (ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * __this, const RuntimeMethod* method);
// System.AggregateException System.AggregateException::Flatten()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * AggregateException_Flatten_mDA4D8AD18CD6E4E13B69A3CDC8F341D825AFE05C (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, const RuntimeMethod* method);
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Exception> System.AggregateException::get_InnerExceptions()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * AggregateException_get_InnerExceptions_mB81D2B3BD56A3E938B83B0AF766474ED66057040_inline (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, const RuntimeMethod* method);
// System.Collections.Generic.IEnumerator`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1<System.Exception>::GetEnumerator()
inline RuntimeObject* ReadOnlyCollection_1_GetEnumerator_mB3A1708B473BA7EE3CED5959613B2AA11A4920BA (ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * __this, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 *, const RuntimeMethod*))ReadOnlyCollection_1_GetEnumerator_m0C8A9A1DBCB1FEFD1FF6A4E807D329949B925A76_gshared)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::MoveNext()
inline bool Enumerator_MoveNext_mDBF08ABE6CCFA1D4FCF82C5D409C18615C300000 (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *, const RuntimeMethod*))Enumerator_MoveNext_m38B1099DDAD7EEDE2F4CDAB11C095AC784AC2E34_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::Dispose()
inline void Enumerator_Dispose_m60AD9FD2AC64440B5E23B200EAE9B55F366379AB (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *, const RuntimeMethod*))Enumerator_Dispose_m94D0DAE031619503CDA6E53C5C3CC78AF3139472_gshared)(__this, method);
}
// System.Void System.AggregateException::.ctor(System.String,System.Collections.Generic.IEnumerable`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AggregateException__ctor_m49EF2FE10BC147085D49932EDE07AD581C461818 (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, String_t* ___message0, RuntimeObject* ___innerExceptionInfos1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.UnobservedTaskExceptionEventArgs::.ctor(System.AggregateException)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnobservedTaskExceptionEventArgs__ctor_mD866CEFA881E8B9F5C7FB00C62B3575E97BFEED3 (UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * __this, AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * ___exception0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskScheduler::PublishUnobservedTaskException(System.Object,System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_PublishUnobservedTaskException_mA2CFE30AA160C2A0FEDAB216CEF09B86AD16ECA4 (RuntimeObject * ___sender0, UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * ___ueea1, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::SetCancellationException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_SetCancellationException_m98201054DD08F08C9DABEDA502FFDC926412EB35 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::AddFaultException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method);
// System.Runtime.ExceptionServices.ExceptionDispatchInfo System.Runtime.ExceptionServices.ExceptionDispatchInfo::Capture(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * ExceptionDispatchInfo_Capture_m8E5F721466EDFE9AA8BC532F9AE7A859E0766E23 (Exception_t * ___source0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::.ctor(System.Int32)
inline void List_1__ctor_m5D913FDA1B5B3FFD94223C59B5A70B418F569213 (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, int32_t, const RuntimeMethod*))List_1__ctor_mEE468B81D8E7C140F567D10FF7F5894A50EEEA57_gshared)(__this, ___capacity0, method);
}
// System.Void System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::Add(T)
inline void List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279 (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1_AddRange_m931E984DEC4E3137C263958DE8354032E8784003 (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m629B40CD4286736C328FA496AAFC388F697CF984_gshared)(__this, ___collection0, method);
}
// T System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::get_Item(System.Int32)
inline ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_inline (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// System.Type System.Exception::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Exception_GetType_mA3390B9D538D5FAC3802D9D8A2FCAC31465130F3 (Exception_t * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskExceptionHolder::MarkAsUnhandled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_MarkAsUnhandled_mD22F977332D7F3EAE91FE0665BAEE1873B342301 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>::get_Count()
inline int32_t List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_inline (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// System.Void System.GC::ReRegisterForFinalize(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GC_ReRegisterForFinalize_m4978CBD78D693FF77EA40D4000F0EF9F2C2E54C8 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Void System.AggregateException::.ctor(System.Collections.Generic.IEnumerable`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AggregateException__ctor_m863A7C10A5AC7652F73FD1DD2441F9FF5544311E (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, RuntimeObject* ___innerExceptionInfos0, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.TaskExceptionHolder::ShouldFailFastOnUnobservedException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskExceptionHolder_ShouldFailFastOnUnobservedException_m598AC45A67885B2AECE374ACE0EC8863F733CD1B (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory::.ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory__ctor_m2490F91C5D8A538976744AC434628767958D5EEA (TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, int32_t ___creationOptions1, int32_t ___continuationOptions2, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler3, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory::CheckMultiTaskContinuationOptions(System.Threading.Tasks.TaskContinuationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640 (int32_t ___continuationOptions0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory::CheckCreationOptions(System.Threading.Tasks.TaskCreationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370 (int32_t ___creationOptions0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory/CompleteOnInvokePromise::.ctor(System.Collections.Generic.IList`1<System.Threading.Tasks.Task>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompleteOnInvokePromise__ctor_mFA5EA438CE61E8FDEB375E5CA2D7D5D1FFE0F175 (CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * __this, RuntimeObject* ___tasks0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskFactory/CompleteOnInvokePromise::Invoke(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompleteOnInvokePromise_Invoke_mAA9922CF17CC5F9186EEE5672444AC40BA0ACC3A (CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___completingTask0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task::AddCompletionAction(System.Threading.Tasks.ITaskCompletionAction)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddCompletionAction_m211F80F6F259D8F8CBB408A901101B91923800C1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject* ___action0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>::.ctor()
inline void Task_1__ctor_m4008D170A16EFA60DD6E4D059D75FAAC9D57AD85 (Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * __this, const RuntimeMethod* method)
{
(( void (*) (Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 *, const RuntimeMethod*))Task_1__ctor_m6DAC1732E56024E32076DEE1A3863F17635A8944_gshared)(__this, method);
}
// System.Void System.Threading.Tasks.AsyncCausalityTracer::TraceOperationRelation(System.Threading.Tasks.CausalityTraceLevel,System.Int32,System.Threading.Tasks.CausalityRelation)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void AsyncCausalityTracer_TraceOperationRelation_mA7691DAE55DF8387322376648D9CCBB54EFFC490 (int32_t ___traceLevel0, int32_t ___taskId1, int32_t ___relation2, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task`1<System.Threading.Tasks.Task>::TrySetResult(TResult)
inline bool Task_1_TrySetResult_m8370C01E1E5614744D78DCC74E06F8FCAFDA11C8 (Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___result0, const RuntimeMethod* method)
{
return (( bool (*) (Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, const RuntimeMethod*))Task_1_TrySetResult_m4FE4E07EBB0BA224341A4946FE2C4A813BD8AF64_gshared)(__this, ___result0, method);
}
// System.Boolean System.Threading.Tasks.Task::get_IsDelegateInvoked()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsDelegateInvoked_m45C6B668A20D03726083A730EFC33873B10B5735 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Threading.Tasks.StackGuard System.Threading.Tasks.Task::get_CurrentStackGuard()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * Task_get_CurrentStackGuard_m74FB437E43F89B8BDCB272A7257024F586421F11 (const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.StackGuard::TryBeginInliningScope()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool StackGuard_TryBeginInliningScope_mE32F6AC0F440280CD1E98D273645CD08AF844B33 (StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Tasks.Task::FireTaskScheduledIfNeeded(System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Task_FireTaskScheduledIfNeeded_m6792459336CB25D967928EDA5249F2164991E447_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___ts0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.StackGuard::EndInliningScope()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StackGuard_EndInliningScope_mEC7A78B71CB01216F0A7B0462E319234F0F05C39 (StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * __this, const RuntimeMethod* method);
// System.Boolean System.Diagnostics.Debugger::get_IsAttached()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Debugger_get_IsAttached_mFCFAAB7A47FA4DEC80A3A68FE13C307C439E9013 (const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskScheduler::AddToActiveTaskSchedulers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_AddToActiveTaskSchedulers_m7BFCDD58D6FCD18D27017C309E8D683D642A7F06 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Threading.Tasks.TaskScheduler,System.Object>::.ctor()
inline void ConditionalWeakTable_2__ctor_m532318C6B13DB33AB8E1A63999A30FBE81BE2FCC (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * __this, const RuntimeMethod* method)
{
(( void (*) (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C *, const RuntimeMethod*))ConditionalWeakTable_2__ctor_m1BF7C98CA314D99CE58778C0C661D5F1628B6563_gshared)(__this, method);
}
// System.Void System.Runtime.CompilerServices.ConditionalWeakTable`2<System.Threading.Tasks.TaskScheduler,System.Object>::Add(TKey,TValue)
inline void ConditionalWeakTable_2_Add_m5066B6CF71B4388CE9668A469B274DA1F1CE8267 (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___key0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
(( void (*) (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C *, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *, RuntimeObject *, const RuntimeMethod*))ConditionalWeakTable_2_Add_m328BEB54F1BEAC2B86045D46A84627B02C82E777_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.EventHandler`1<System.Threading.Tasks.UnobservedTaskExceptionEventArgs>::Invoke(System.Object,TEventArgs)
inline void EventHandler_1_Invoke_m5A2B682142BD5C458A2C93E0300172955DBBCEA6 (EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * __this, RuntimeObject * ___sender0, UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * ___e1, const RuntimeMethod* method)
{
(( void (*) (EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC *, RuntimeObject *, UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 *, const RuntimeMethod*))EventHandler_1_Invoke_mBF3979EE17B68658C4C1AB3A8D64B24F263E3B98_gshared)(__this, ___sender0, ___e1, method);
}
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler__ctor_mC0B9F37DBA25F766F01EE56C8460330C3708FF1D (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AwaitTaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AwaitTaskContinuation_Run_mFF38B07062EFB3E2CD42AAB929B2902BB1FFBBC2 (AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___canInlineContinuationTask1, const RuntimeMethod* method);
// System.Boolean System.Threading.Thread::get_IsThreadPoolThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_IsThreadPoolThread_m3CF4788DEF7D552D12D5E54E10CF1BD0F763ED55 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Threading.Tasks.Task System.Threading.Tasks.AwaitTaskContinuation::CreateTask(System.Action`1<System.Object>,System.Object,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * AwaitTaskContinuation_CreateTask_m0C24724576818E738998F3EB48C8DAE22EBA2889 (AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F * __this, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___action0, RuntimeObject * ___state1, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler2, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskContinuation::InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskContinuation_InlineIfPossibleOrElseQueue_m7CCFD190C3F783A343C1103BF27BFE4D19C66FEF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___needsProtection1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m7385A27A6BD7D377F64C862AEAC9F9D6DDE64CA8 (U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.AwaitTaskContinuation::ThrowAsyncIfNecessary(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AwaitTaskContinuation_ThrowAsyncIfNecessary_mD1B7B962FF8ED8EC2F105A42998347BDF99FED05 (Exception_t * ___exc0, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m89BADFF36C3B170013878726E07729D51AA9FBE0 (Exception_t * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m62590BC1925B7B354EBFD852E162CD170FEB861D (Exception_t * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_mBFF5996A1B65FCEEE0054A95A652BA3DD6366618 (Exception_t * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskToApm/TaskWrapperAsyncResult::.ctor(System.Threading.Tasks.Task,System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskWrapperAsyncResult__ctor_m47C91370D59B60FE3A5C49786EF699AD63784A3B (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, RuntimeObject * ___state1, bool ___completedSynchronously2, const RuntimeMethod* method);
// System.Void System.AsyncCallback::Invoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsyncCallback_Invoke_m1830E56CD41BDD255C144AA16A9426EEE301617C (AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * __this, RuntimeObject* ___ar0, const RuntimeMethod* method);
// System.Object System.Threading.Tasks.Task::get_AsyncState()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Task_get_AsyncState_mEE6996D21AD9F92E34A30FA73A7D31A5BCE42657_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskToApm::InvokeCallbackWhenTaskCompletes(System.Threading.Tasks.Task,System.AsyncCallback,System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskToApm_InvokeCallbackWhenTaskCompletes_m46DC53C5C7C58E9F10B0EE7AE711C90A4B1CE494 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___antecedent0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject* ___asyncResult2, const RuntimeMethod* method);
// System.Void System.IO.__Error::WrongAsyncResult()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void __Error_WrongAsyncResult_m612D2B72EAE5B009FFB4DFD0831140EE6819B909 (const RuntimeMethod* method);
// System.Runtime.CompilerServices.TaskAwaiter System.Threading.Tasks.Task::GetAwaiter()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F Task_GetAwaiter_m73027D5E4C16E961C658B83526BED8E32FD2AC6C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.TaskAwaiter::GetResult()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskAwaiter_GetResult_m89868C01592AC2B06CE1FD42D9B9C187C6FD928A (TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F * __this, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskToApm/<>c__DisplayClass3_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_m349D6D5C702DDC66F2490654813695CE39A0B3B2 (U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * __this, const RuntimeMethod* method);
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable System.Threading.Tasks.Task::ConfigureAwait(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 Task_ConfigureAwait_m2FB91172F9031B0CC520D9D09B658ACC5FD6CE02 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___continueOnCapturedContext0, const RuntimeMethod* method);
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter System.Runtime.CompilerServices.ConfiguredTaskAwaitable::GetAwaiter()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 ConfiguredTaskAwaitable_GetAwaiter_m1EF40F198D32924E2D0F41E20B99CADBF5DDD303_inline (ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 * __this, const RuntimeMethod* method);
// System.Void System.Action::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action__ctor_m570E96B2A0C48BC1DC6788460316191F24572760 (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.ConfiguredTaskAwaitable/ConfiguredTaskAwaiter::OnCompleted(System.Action)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ConfiguredTaskAwaiter_OnCompleted_m847B280BD99B29C570B6EC0993E6BC8977871872 (ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 * __this, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___continuation0, const RuntimeMethod* method);
// System.Void System.Threading.Tasks.TaskScheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler__ctor_mD337C4A20B49427C777B496030923E94CA7BC5EF (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Tasks.TaskScheduler::get_Id()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TaskScheduler_get_Id_mF6A6B32C47D838C93694AAD06998F85B61F71DA7 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::.ctor(System.Threading.ParameterizedThreadStart)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * ___start0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::set_IsBackground(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_IsBackground_mF62551A195DCB09D44E512F52916145E39362D39 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::Start(System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, RuntimeObject * ___parameter0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::TryPopCustomWorkItem(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A (RuntimeObject* ___workItem0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::NotifyWorkItemProgress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_NotifyWorkItemProgress_mD041D082A87EAE7A34E6AE21CB7AF8819422B40A (const RuntimeMethod* method);
// System.Void System.Threading.ParameterizedThreadStart::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParameterizedThreadStart__ctor_m236F11FFFC55CB6AC611B16302E2F5F58C60346B (ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.EventArgs::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EventArgs__ctor_m3551293259861C5A78CD47689D559F828ED29DF7 (EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * __this, const RuntimeMethod* method);
// System.Void System.Runtime.ConstrainedExecution.CriticalFinalizerObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CriticalFinalizerObject__ctor_m99FA3656B2AAC4F7E53A8BFE9E361E7C1F8867C5 (CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SetStartHelper(System.Delegate,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, Delegate_t * ___start0, int32_t ___maxStackSize1, const RuntimeMethod* method);
// System.Void System.Threading.Thread::Start(System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, int32_t* ___stackMark0, const RuntimeMethod* method);
// System.Object System.Delegate::get_Target()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Delegate_get_Target_m5371341CE435E001E9FD407AE78F728824CE20E2_inline (Delegate_t * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadHelper::SetExecutionContextHelper(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ThreadHelper_SetExecutionContextHelper_m253F9206E5C01BE9A6BC3ED65106B5C2DB7240FF_inline (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___ec0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::StartInternal(System.Security.Principal.IPrincipal,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, RuntimeObject* ___principal0, int32_t* ___stackMark1, const RuntimeMethod* method);
// System.Void System.Threading.ExecutionContext/Reader::.ctor(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void Reader__ctor_mDB8E37FABE15D47E2E78E77EA6702D0FBAB8FC5E_inline (Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___ec0, const RuntimeMethod* method);
// System.Void System.Threading.ExecutionContext::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExecutionContext__ctor_m60AAAF7CF4BF6DB4192982A1822C4379355DAC64 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Thread::get_ExecutionContextBelongsToCurrentScope()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_ExecutionContextBelongsToCurrentScope_m0F37C83CC64B2AB00FC01FBC704D161DDE18766A (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext::CreateMutableCopy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ExecutionContext_CreateMutableCopy_mA3CD86A88C02101A1E6F33D0111FBE1DD926238F (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::set_ExecutionContextBelongsToCurrentScope(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_ExecutionContextBelongsToCurrentScope_mD8B987510AE88BD907A27ACC54F4022A04FB30C2 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, bool ___value0, const RuntimeMethod* method);
// System.Threading.ExecutionContext System.Threading.ExecutionContext/Reader::DangerousGetRawExecutionContext()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Reader_DangerousGetRawExecutionContext_m0AAF58869F7AC7C33242B7C6A6ABFA2EF5100EBA_inline (Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SleepInternal(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SleepInternal_m69943350F67E5C693262A6278FB7A835AE1942CE (int32_t ___millisecondsTimeout0, const RuntimeMethod* method);
// System.Boolean System.Threading.Thread::YieldInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_YieldInternal_mA0081B312A19ECA8D0A7E49DD9DF8AF5A0C7F851 (const RuntimeMethod* method);
// System.Int32 System.Threading.Thread::GetProcessDefaultStackSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetProcessDefaultStackSize_m876EFB49B410ED044DBFA47B7EE2D4F16D7731EC (int32_t ___maxStackSize0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadHelper::.ctor(System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper__ctor_m8262A0EF0381251FDDFA4696B84F68AF3A01411B (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, Delegate_t * ___start0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadStart::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart__ctor_m692348FEAEBAF381D62984EE95B217CC024A77D5 (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SetStart(System.MulticastDelegate,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetStart_m22F9A89D5768A9EF04A85F3FA4E8090CE2667FFE (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, MulticastDelegate_t * ___start0, int32_t ___maxStackSize1, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Threading.Thread::GetCurrentUICultureNoAppX()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_GetCurrentUICultureNoAppX_m3443520354B118E074F79BF5D5BDBB5B6E31B5AB (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_DefaultThreadCurrentUICulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_DefaultThreadCurrentUICulture_mEB6BC8E5CB2D0BBBB6B7AD860E55683284CCAF3B (const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_UserDefaultUICulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_UserDefaultUICulture_m65D62A67F22DFB25EDD7E629AC3381824704DE40 (const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Threading.Thread::GetCurrentCultureNoAppX()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_GetCurrentCultureNoAppX_mCD2B90A28EFEFFDB4B5855B71ADF1337C6E36843 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_DefaultThreadCurrentCulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_DefaultThreadCurrentCulture_mCC52FEEF31992F66C3A74D4566C1CB2C6D2CE581 (const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_UserDefaultCulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_UserDefaultCulture_m1057FA0B6C68E6EE22B119A3FA7F6678151CEBEB (const RuntimeMethod* method);
// System.Void System.Threading.Thread::ConstructInternalThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_ConstructInternalThread_mC11ABFE9172C63CDFD66A11AFB82B9EA2DE8FE33 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Runtime.Remoting.Contexts.Context System.AppDomain::InternalGetContext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Context_tE86AB6B3D9759C8E715184808579EFE761683724 * AppDomain_InternalGetContext_mAA54924C2DC3349E29D79D76403F803BD966031F (const RuntimeMethod* method);
// System.Threading.Thread System.Threading.Thread::GetCurrentThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * Thread_GetCurrentThread_m7CFEF67B239579F733823B39EC3D56F77E96BC0E (const RuntimeMethod* method);
// System.Void System.Runtime.ConstrainedExecution.CriticalFinalizerObject::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CriticalFinalizerObject_Finalize_m36B07F0B4F395452E3EFB45EF4887C763388AFA7 (CriticalFinalizerObject_t8B006E1DEE084E781F5C0F3283E9226E28894DD9 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.Thread::get_IsThreadPoolThreadInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_IsThreadPoolThreadInternal_m909FDD574165BF8D5D02D414E2F55D44299F95AC (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Threading.InternalThread System.Threading.Thread::get_Internal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Threading.ThreadState System.Threading.Thread::ValidateThreadState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SetState(System.Threading.InternalThread,System.Threading.ThreadState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetState_mF0035267AC3FECD199B63396E7B1097D4FC2C7C5 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, int32_t ___set1, const RuntimeMethod* method);
// System.Void System.Threading.Thread::ClrState(System.Threading.InternalThread,System.Threading.ThreadState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_ClrState_m108E95E5905DB3F3301DF8FF8A04B956A5136F77 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, int32_t ___clr1, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SetName_internal(System.Threading.InternalThread,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetName_internal_mE41978DFBCB89086CBFF60F479FCF0A241500B31 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, String_t* ___name1, const RuntimeMethod* method);
// System.Threading.ThreadState System.Threading.Thread::GetState(System.Threading.InternalThread)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::SpinWait_nop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_nop_mDCFDC9E11E3D93EF2261C217649468A3F3A151D7 (const RuntimeMethod* method);
// System.IntPtr System.Threading.Thread::Thread_internal(System.MulticastDelegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t Thread_Thread_internal_m43DFA96F34ADF78F99F0F24267EC34A8E7A57849 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, MulticastDelegate_t * ___start0, const RuntimeMethod* method);
// System.Boolean System.IntPtr::op_Equality(System.IntPtr,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Equality_mEE8D9FD2DFE312BBAA8B4ED3BF7976B3142A5934 (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method);
// System.Void System.SystemException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A (SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Int32 System.Environment::GetPageSize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_GetPageSize_m9DDEBE89C1AD0F93124F0DC120F4495B5A72515E (const RuntimeMethod* method);
// System.Int32 System.Threading.Thread::SystemMaxStackStize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_SystemMaxStackStize_m2FD92A285AAEB56862E208375C03D537B13BA3EB (const RuntimeMethod* method);
// System.Int32 System.Math::Min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_mC950438198519FB2B0260FCB91220847EE4BB525 (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
// System.Int32 System.Threading.Thread::get_ManagedThreadId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ManagedThreadId_m7FA85162CB00713B94EF5708B19120F791D3AAD1 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadStateException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStateException__ctor_m8269A7EE51BF315AD8C0A4B64C2B2319035BB767 (ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE * __this, String_t* ___message0, const RuntimeMethod* method);
// System.String System.Exception::GetMessageFromNativeResources(System.Exception/ExceptionMessageKind)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Exception_GetMessageFromNativeResources_m0C3FB5994F1AC0C76785E05972E3E405E8A0F087 (int32_t ___kind0, const RuntimeMethod* method);
// System.Void System.Exception::SetErrorCode(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7 (Exception_t * __this, int32_t ___hr0, const RuntimeMethod* method);
// System.Void System.SystemException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SystemException__ctor_mB0550111A1A8D18B697B618F811A5B20C160D949 (SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method);
// System.Void System.Threading.ThreadStart::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart_Invoke_m11B6A66E82F02C74399A7314C14C7F52393CC4B4 (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, const RuntimeMethod* method);
// System.Void System.Threading.ParameterizedThreadStart::Invoke(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParameterizedThreadStart_Invoke_m5A5DFBAD0D99A39DF7ADA9F75D97B068A8809C14 (ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * __this, RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Void System.Threading.ExecutionContext::Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExecutionContext_Run_m97152E1791C019905F6297946D7411CA6683CCEB (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.TimeSpan::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int32_t ___days0, int32_t ___hours1, int32_t ___minutes2, int32_t ___seconds3, int32_t ___milliseconds4, const RuntimeMethod* method);
// System.Void System.Threading.RegisteredWaitHandle::.ctor(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegisteredWaitHandle__ctor_m990C003E1FC4462F986D99BCE3A995F522203483 (RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * __this, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___waitObject0, WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * ___callback1, RuntimeObject * ___state2, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___timeout3, bool ___executeOnlyOnce4, const RuntimeMethod* method);
// System.Void System.Threading.WaitCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitCallback__ctor_m375A357FD7C64F4182FD88B8276D88FE5BE75B31 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItem_mF344DA7B44CDBE8C7163C1539D429F27E8553185 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_UnsafeQueueUserWorkItem_mA410427123962A9362AB7314149396196928ECC7 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, const RuntimeMethod* method);
// System.Double System.TimeSpan::get_TotalMilliseconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Threading.RegisteredWaitHandle System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean,System.Threading.StackCrawlMark&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___waitObject0, WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * ___callBack1, RuntimeObject * ___state2, uint32_t ___millisecondsTimeOutInterval3, bool ___executeOnlyOnce4, int32_t* ___stackMark5, bool ___compressStack6, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItemHelper(System.Threading.WaitCallback,System.Object,System.Threading.StackCrawlMark&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, int32_t* ___stackMark2, bool ___compressStack3, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::EnsureVMInitialized()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6 (const RuntimeMethod* method);
// System.Void System.Threading.QueueUserWorkItemCallback::.ctor(System.Threading.WaitCallback,System.Object,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueUserWorkItemCallback__ctor_mA8BAF438B3BC53CFA970E9728870D5B39A3B86A8 (QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 * __this, WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___waitCallback0, RuntimeObject * ___stateObj1, bool ___compressStack2, int32_t* ___stackMark3, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue::Enqueue(System.Threading.IThreadPoolWorkItem,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, RuntimeObject* ___callback0, bool ___forceGlobal1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue::LocalFindAndPop(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolWorkQueue_LocalFindAndPop_m9BE567E92E0DC532DFEE011D236A1159F63E6434 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, RuntimeObject* ___callback0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::InitializeVMTp(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A (bool* ___enableWorkerTracking0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::NotifyWorkItemProgressNative()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_NotifyWorkItemProgressNative_mF559EE574FF07EF426C9B8342221616C78CB370B (const RuntimeMethod* method);
// System.Int32 System.Environment::get_ProcessorCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_ProcessorCount_m086119F1D40B7319BFC37F4501C6A73517E9B8CD (const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::IsThreadPoolHosted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_IsThreadPoolHosted_m4C22092ED436EECC64E79C84EEC327B89D7A7D96 (const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue__ctor_mDAE229D4F94CACC0E1FF97CBDC78F1034C0AF86D (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/QueueSegment::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueueThreadLocals::.ctor(System.Threading.ThreadPoolWorkQueue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueueThreadLocals__ctor_mD46EF22D8EE15E0585EAC6F9DBF3063D14526362 (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * __this, ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * ___tpq0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::RequestWorkerThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_RequestWorkerThread_m7C6D88D442BC1EB2C17B6070F0791C6FC4F8A947 (const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::LocalPush(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkStealingQueue_LocalPush_mF4807971CDD7F6089AADF28173FEDDDFF4E96455 (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject* ___obj0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/QueueSegment::TryEnqueue(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_TryEnqueue_m83AD5DB0A7D19576FC19EF28974EE515E61B8AA5 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, RuntimeObject* ___node0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue::EnsureThreadRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::LocalFindAndPop(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_LocalFindAndPop_m837487AF74CF9C8104986911FC7E279101AE1DCC (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject* ___obj0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::LocalPop(System.Threading.IThreadPoolWorkItem&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_LocalPop_m99B519E8984D358D1816A9E01B7A9CD4607B42D0 (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/QueueSegment::TryDequeue(System.Threading.IThreadPoolWorkItem&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_TryDequeue_m4D5D4F85B81CACAD4B7961DC4EF1FD91A99611D2 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, RuntimeObject** ___node0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/QueueSegment::IsUsedUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_IsUsedUp_mE4EA87EE6185EAF7C5C6108B4E435CE1D4FB9F0C (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, const RuntimeMethod* method);
// T[] System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Threading.ThreadPoolWorkQueue/WorkStealingQueue>::get_Current()
inline WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* SparseArray_1_get_Current_m3B12A0B7ED161127D23F62CC10EDCE7F8ED79051 (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * __this, const RuntimeMethod* method)
{
return (( WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* (*) (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB *, const RuntimeMethod*))SparseArray_1_get_Current_m6715E5ACB39FD5E197A696FF118069BAD185668D_gshared)(__this, method);
}
// System.Boolean System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::TrySteal(System.Threading.IThreadPoolWorkItem&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_TrySteal_mE129DB3DD6A80B3FAF1391366AABFDD488D7956E (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, bool* ___missedSteal1, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue::MarkThreadRequestSatisfied()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_MarkThreadRequestSatisfied_m88FE3B0300E0D183244D54B7A7105141432C1955 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method);
// System.Threading.ThreadPoolWorkQueueThreadLocals System.Threading.ThreadPoolWorkQueue::EnsureCurrentThreadHasQueue()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * ThreadPoolWorkQueue_EnsureCurrentThreadHasQueue_m554E036E163A749F37BEBCE4F6020E145779758A (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue::Dequeue(System.Threading.ThreadPoolWorkQueueThreadLocals,System.Threading.IThreadPoolWorkItem&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_Dequeue_mC9B6B85A78A962AC577C6474DBF53E2BCE238767 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * ___tl0, RuntimeObject** ___callback1, bool* ___missedSteal2, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPool::ReportThreadStatus(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8 (bool ___isWorking0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::NotifyWorkItemComplete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_NotifyWorkItemComplete_m66CC6F7A740C2925320EE3A1D901D9AA5D2B9A77 (const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Threading.ThreadPoolWorkQueue/WorkStealingQueue>::.ctor(System.Int32)
inline void SparseArray_1__ctor_m0B0CCA1B07E8D3958BD83EFE5CBC7C40A0A9131A (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * __this, int32_t ___initialSize0, const RuntimeMethod* method)
{
(( void (*) (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB *, int32_t, const RuntimeMethod*))SparseArray_1__ctor_m14F57DABEB0112D1C2DC00D1C734570C06C73DB5_gshared)(__this, ___initialSize0, method);
}
// System.Void System.Threading.ThreadPoolWorkQueue/QueueSegment::GetIndexes(System.Int32&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueSegment_GetIndexes_mF55461594A0803BA4A598D15A161EF172EB65953 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, int32_t* ___upper0, int32_t* ___lower1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/QueueSegment::CompareExchangeIndexes(System.Int32&,System.Int32,System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_CompareExchangeIndexes_m2F262328BC6CD50650808F35D906F986F702E299 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, int32_t* ___prevUpper0, int32_t ___newUpper1, int32_t* ___prevLower2, int32_t ___newLower3, const RuntimeMethod* method);
// System.Void System.Threading.SpinLock::Enter(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpinLock_Enter_mF3E9D6327B1767595E94264ABB9526C5CF3CFC3B (SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * __this, bool* ___lockTaken0, const RuntimeMethod* method);
// System.Void System.Threading.SpinLock::Exit(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66 (SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * __this, bool ___useMemoryBarrier0, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::TrySteal(System.Threading.IThreadPoolWorkItem&,System.Boolean&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_TrySteal_mB7C9393B530ABEE102EC1955B02A520D01A08E9C (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, bool* ___missedSteal1, int32_t ___millisecondsTimeout2, const RuntimeMethod* method);
// System.Void System.Threading.SpinLock::TryEnter(System.Int32,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpinLock_TryEnter_mC40B3AF891D55A2D0DC2AEC8F83926EBB4A28109 (SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * __this, int32_t ___millisecondsTimeout0, bool* ___lockTaken1, const RuntimeMethod* method);
// System.Void System.Threading.SpinLock::.ctor(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpinLock__ctor_m2BB2C4BB309BF3C6D004C3BABAE3C8484DA5B6A0 (SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * __this, bool ___enableThreadOwnerTracking0, const RuntimeMethod* method);
// System.Void System.Random::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random__ctor_mDD202982FB7CEDE3F31824E919AD2BFA6D66BA27 (Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * __this, int32_t ___Seed0, const RuntimeMethod* method);
// System.Void System.Threading.ThreadPoolWorkQueue/WorkStealingQueue::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkStealingQueue__ctor_m5A30B12A759E1174AB423856CECBF73B5A5FA91A (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Threading.ThreadPoolWorkQueue/WorkStealingQueue>::Add(T)
inline int32_t SparseArray_1_Add_mE48A7F17E902019686E15A72766DD0AB4CE80971 (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * __this, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * ___e0, const RuntimeMethod* method)
{
return (( int32_t (*) (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB *, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB *, const RuntimeMethod*))SparseArray_1_Add_mF691405F72340FFB24B2B053CD36CE49E6F93D7A_gshared)(__this, ___e0, method);
}
// System.Void System.Threading.ThreadPoolWorkQueue/SparseArray`1<System.Threading.ThreadPoolWorkQueue/WorkStealingQueue>::Remove(T)
inline void SparseArray_1_Remove_mEBA9CD59097C8D0C153E48328C21554B81E68414 (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * __this, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * ___e0, const RuntimeMethod* method)
{
(( void (*) (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB *, WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB *, const RuntimeMethod*))SparseArray_1_Remove_m68197C62F8B904A1778445F94E694E9F18C90BD7_gshared)(__this, ___e0, method);
}
// System.Void System.Threading.ThreadPoolWorkQueueThreadLocals::CleanUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueueThreadLocals_CleanUp_m2557E74F088EB8EC68E1DAB43458EDAF62F30C04 (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * __this, const RuntimeMethod* method);
// System.UInt32 System.Threading.TimeoutHelper::GetTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeoutHelper_GetTime_m6AD4BA5DCA9E4102DC18395A59123E91EB915D98 (const RuntimeMethod* method);
// System.Void System.MarshalByRefObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MarshalByRefObject__ctor_mD1C6F1D191B1A50DC93E8B214BCCA9BD93FDE850 (MarshalByRefObject_tC4577953D0A44D0AB8597CFA868E01C858B1C9AF * __this, const RuntimeMethod* method);
// System.Void System.Threading.Timer::Init(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback0, RuntimeObject * ___state1, int64_t ___dueTime2, int64_t ___period3, const RuntimeMethod* method);
// System.Boolean System.Threading.Timer::Change(System.Int64,System.Int64,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, int64_t ___dueTime0, int64_t ___period1, bool ___first2, const RuntimeMethod* method);
// System.Void System.Threading.Timer/Scheduler::Remove(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Remove_m5D87E925B0C6E4BFB7C68F6614C133ADA2628148 (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method);
// System.Int64 System.Threading.Timer::GetTimeMonotonic()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA (const RuntimeMethod* method);
// System.Void System.Threading.Timer/Scheduler::Change(System.Threading.Timer,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Change_m0B2CF9E01BA6732CE701861DFE5142200CD6654C (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, int64_t ___new_next_run1, const RuntimeMethod* method);
// System.Threading.Timer/Scheduler System.Threading.Timer/Scheduler::get_Instance()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C_inline (const RuntimeMethod* method);
// System.Void System.Threading.Timer/Scheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler__ctor_mA11657BA808AF374E216FDAAA472E18F00B84FEB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, const RuntimeMethod* method);
// System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m8973D9E3C622B9602641C017A33870F51D0311E1 (ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * __this, bool ___initialState0, const RuntimeMethod* method);
// System.Void System.Threading.Timer/TimerComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerComparer__ctor_m4286C1A800BFB3F6A065A9DB0122B7FC1A440F22 (TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 * __this, const RuntimeMethod* method);
// System.Void System.Collections.SortedList::.ctor(System.Collections.IComparer,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SortedList__ctor_mE69C668800C6AF9EE9C745E046E151352D424E79 (SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * __this, RuntimeObject* ___comparer0, int32_t ___capacity1, const RuntimeMethod* method);
// System.Void System.Threading.Thread::.ctor(System.Threading.ThreadStart)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * ___start0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::Start()
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Thread_Start_mE2AC4744AFD147FDC84E8D9317B4E3AB890BC2D6 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Timer/Scheduler::InternalRemove(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Scheduler_InternalRemove_m7B12673F6C5012E19754EF3C2E9BD9438D5D23BD (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method);
// System.Void System.Threading.Timer/Scheduler::Add(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method);
// System.Boolean System.Threading.EventWaitHandle::Set()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_m7959A86A39735296FC949EC86FDA42A6CFAAB94C (EventWaitHandle_t7603BF1D3D30FE42DD07A450C8D09E2684DC4D98 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.Timer/Scheduler::FindByDueTime(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Scheduler_FindByDueTime_m2B255CEF6EC7B56CD41F4FD299E09CAAE062D5FB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, int64_t ___nr0, const RuntimeMethod* method);
// System.Void System.Threading.TimerCallback::Invoke(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerCallback_Invoke_m64E1279AA84FA0D01697CB6D7B3D8C01959B4A50 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject * ___state0, const RuntimeMethod* method);
// System.Void System.Threading.Thread::set_Name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_Name_mEBD0DF20D69C49612949EA6F24E8E4EADB7F5E77 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Threading.Timer>::.ctor(System.Int32)
inline void List_1__ctor_m7C148B97DC87A9125BDE2F8876642459D8A30954 (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, int32_t, const RuntimeMethod*))List_1__ctor_mEE468B81D8E7C140F567D10FF7F5894A50EEEA57_gshared)(__this, ___capacity0, method);
}
// System.Boolean System.Threading.EventWaitHandle::Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m59EBCEA32BC9C67B4E432BEA5FF0A42ED0CC8A6F (EventWaitHandle_t7603BF1D3D30FE42DD07A450C8D09E2684DC4D98 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Threading.Timer>::Add(T)
inline void List_1_Add_mB5A8963C62BC566BF95512C93EA0B5ED6D04B8E9 (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Int32 System.Collections.Generic.List`1<System.Threading.Timer>::get_Count()
inline int32_t List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_inline (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// T System.Collections.Generic.List`1<System.Threading.Timer>::get_Item(System.Int32)
inline Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * List_1_get_Item_m6C76B0438807DFB527E73E6166D012198028ACBE_inline (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// System.Void System.Collections.Generic.List`1<System.Threading.Timer>::Clear()
inline void List_1_Clear_mACBCDAD884AD8F4AB0A67F8E8626D5FD0C8C6A79 (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, const RuntimeMethod*))List_1_Clear_mC5CFC6C9F3007FC24FE020198265D4B5B0659FFC_gshared)(__this, method);
}
// System.Void System.Threading.Timer/Scheduler::ShrinkIfNeeded(System.Collections.Generic.List`1<System.Threading.Timer>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_ShrinkIfNeeded_m1DDE9B9B4FECA8D16C922391413085ABCB2B60E4 (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * ___list0, int32_t ___initial1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Threading.Timer>::get_Capacity()
inline int32_t List_1_get_Capacity_m4E6CC6EB68ACB4009E66AE14C2969F02B644FAE7 (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, const RuntimeMethod*))List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.Threading.Timer>::set_Capacity(System.Int32)
inline void List_1_set_Capacity_m0DA623E0A9843F83E643A5E032D775F990F3863E (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * __this, int32_t ___value0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *, int32_t, const RuntimeMethod*))List_1_set_Capacity_m5E67DE1CEC89ADB8A82937E2D0CB48A78F962FA3_gshared)(__this, ___value0, method);
}
// System.Void System.Runtime.InteropServices.SafeHandle::DangerousAddRef(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, bool* ___success0, const RuntimeMethod* method);
// System.Void System.Threading.WaitHandle::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_Init_m63320FFB796EB59BF6217787185DD0B9BCE7C6FD (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.SafeHandle::SetHandleAsInvalid()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeHandle_SetHandleAsInvalid_mAFA4A01F6FB566AB67312B96E5024088BDF255F6 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, const RuntimeMethod* method);
// System.Void Microsoft.Win32.SafeHandles.SafeWaitHandle::.ctor(System.IntPtr,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeWaitHandle__ctor_m7A02720A5A03917CCA8DD68406A124C4AB76191A (SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * __this, intptr_t ___existingHandle0, bool ___ownsHandle1, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::PrepareConstrainedRegions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_PrepareConstrainedRegions_m108F0650C70D15D3CC657AFEBA8E69770EDB9027 (const RuntimeMethod* method);
// System.IntPtr System.Runtime.InteropServices.SafeHandle::DangerousGetHandle()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR intptr_t SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, const RuntimeMethod* method);
// System.Boolean System.Threading.WaitHandle::WaitOne(System.Int64,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_WaitOne_m6283DC18BCD374B579549B156DD30AAA74E64C89 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, int64_t ___timeout0, bool ___exitContext1, const RuntimeMethod* method);
// System.Boolean System.Threading.WaitHandle::InternalWaitOne(System.Runtime.InteropServices.SafeHandle,System.Int64,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * ___waitableSafeHandle0, int64_t ___millisecondsTimeout1, bool ___hasThreadAffinity2, bool ___exitContext3, const RuntimeMethod* method);
// System.Int32 System.Threading.WaitHandle::WaitOneNative(System.Runtime.InteropServices.SafeHandle,System.UInt32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitOneNative_mC25327F2B99DBB404B62FD48CFCBDB3244F82434 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * ___waitableSafeHandle0, uint32_t ___millisecondsTimeout1, bool ___hasThreadAffinity2, bool ___exitContext3, const RuntimeMethod* method);
// System.Void System.Threading.WaitHandle::ThrowAbandonedMutexException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C (const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Int32 System.Threading.WaitHandle::WaitMultiple(System.Threading.WaitHandle[],System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* ___waitHandles0, int32_t ___millisecondsTimeout1, bool ___exitContext2, bool ___WaitAll3, const RuntimeMethod* method);
// System.Void System.Threading.WaitHandle::ThrowAbandonedMutexException(System.Int32,System.Threading.WaitHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C (int32_t ___location0, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___handle1, const RuntimeMethod* method);
// System.Void System.GC::KeepAlive(System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void GC_KeepAlive_mE836EDA45A7C6BFDCEA004B9089FA6B4810BDA89 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Int32 System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* ___waitHandles0, int32_t ___millisecondsTimeout1, bool ___exitContext2, const RuntimeMethod* method);
// System.Void System.Threading.AbandonedMutexException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbandonedMutexException__ctor_mD789CDEE6F2EFECA949F0205C4AA37F140476E05 (AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 * __this, const RuntimeMethod* method);
// System.Void System.Threading.AbandonedMutexException::.ctor(System.Int32,System.Threading.WaitHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AbandonedMutexException__ctor_m5D2377FCE41D4EA1068C207B0105C7322D521666 (AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 * __this, int32_t ___location0, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___handle1, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.SafeHandle::Close()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeHandle_Close_m284B185A04D5FB0A23F55B333737B7DF2CBE1F80 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, const RuntimeMethod* method);
// Microsoft.Win32.SafeHandles.SafeWaitHandle System.Threading.WaitHandle::get_SafeWaitHandle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method);
// System.Int32 System.Threading.WaitHandle::Wait_internal(System.IntPtr*,System.Int32,System.Boolean,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483 (intptr_t* ___handles0, int32_t ___numHandles1, bool ___waitAll2, int32_t ___ms3, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.SafeHandle::DangerousRelease()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeHandle_DangerousRelease_m3D5C78EBCD583C58AE715F7A8AC1BD3BA976CF01 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, const RuntimeMethod* method);
// System.IntPtr System.IntPtr::op_Explicit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t IntPtr_op_Explicit_m62A5ED7757661C8DB6AEF4816829ED92A1929F91 (int32_t ___value0, const RuntimeMethod* method);
// System.Void System.ApplicationException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ApplicationException__ctor_mDC26CE8ECD0DDA5C8FA50C8E8B2614F3B50FC308 (ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.ApplicationException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ApplicationException__ctor_mFF30CCDE8B078E0ED2E206EEB39611840367607A (ApplicationException_t664823C3E0D3E1E7C7FA1C0DB4E19E98E9811C74 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPoolWorkQueue::Dispatch()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolWorkQueue_Dispatch_mCDF7415E4C9D02B34761CAE8EA15CD33DDF85ADF (const RuntimeMethod* method);
// System.Exception System.ThrowHelper::CreateArgumentNullException(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Exception_t * ThrowHelper_CreateArgumentNullException_m73D3C5638F0A69939498020AA3AE650DAA0178FD (int32_t ___argument0, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException(System.ExceptionArgument,System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51 (int32_t ___argument0, int32_t ___resource1, const RuntimeMethod* method);
// System.String System.Environment::GetResourceString(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_GetResourceString_m7389941B4C0688D875CC647D99A739DA2F907ADB (String_t* ___key0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___values1, const RuntimeMethod* method);
// System.String System.ThrowHelper::GetResourceName(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E (int32_t ___resource0, const RuntimeMethod* method);
// System.String System.ThrowHelper::GetArgumentName(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C (int32_t ___argument0, const RuntimeMethod* method);
// System.Void System.TimeSpan::.ctor(System.Int64)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int64_t ___ticks0, const RuntimeMethod* method);
// System.Int64 System.TimeSpan::TimeToTicks(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632 (int32_t ___hour0, int32_t ___minute1, int32_t ___second2, const RuntimeMethod* method);
// System.Void System.TimeSpan::.ctor(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int32_t ___hours0, int32_t ___minutes1, int32_t ___seconds2, const RuntimeMethod* method);
// System.Int64 System.TimeSpan::get_Ticks()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int64_t TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::get_Hours()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Hours_mE248B39F7E3E07DAD257713114E86A1A2C191A45 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::get_Minutes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Minutes_mCABF9EE7E7F78368DA0F825F5922C06238DD0F22 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Double System.TimeSpan::get_TotalHours()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Double System.TimeSpan::get_TotalMinutes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalMinutes_m41B6248DF2E4E6CAFC4A1B3C7ECCD9A10CC16C22 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Double System.TimeSpan::get_TotalSeconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Void System.OverflowException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731 (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * __this, String_t* ___message0, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::Add(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::CompareTo(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, RuntimeObject * ___value0, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::CompareTo(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_CompareTo_mCC797C9F7FF3BC0D7C8401666BDE7DCE676449E3 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___value0, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::Interval(System.Double,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732 (double ___value0, int32_t ___scale1, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, RuntimeObject * ___value0, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::Equals(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_Equals_m03A10C4E2E28E5E56B4342AC0B9C68EC677C67F4 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___obj0, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_GetHashCode_m4FD4BD6B179EDD97650F594B0E671EC8FB1E535F (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.Boolean System.Double::IsNaN(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Double_IsNaN_m5DFBBD58036879B687FEC248C50EACBABE205AB3 (double ___d0, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::Negate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::Subtract(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method);
// System.String System.Globalization.TimeSpanFormat::Format(System.TimeSpan,System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpanFormat_Format_mDFAF627CECBD00A1DDB27D3D812974B3A2875B8F (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___value0, String_t* ___format1, RuntimeObject* ___formatProvider2, const RuntimeMethod* method);
// System.String System.TimeSpan::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method);
// System.String System.TimeSpan::ToString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, String_t* ___format0, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::get_LegacyMode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_get_LegacyMode_mB9C63B017249E99A978D2977C6172848EFBA30F8 (const RuntimeMethod* method);
// System.String System.TimeSpan::ToString(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, String_t* ___format0, RuntimeObject* ___formatProvider1, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::GetLegacyFormatMode()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8_inline (const RuntimeMethod* method);
// System.String System.Boolean::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Boolean_ToString_m62D1EFD5F6D5F6B6AF0D14A07BF5741C94413301 (bool* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07 (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::.ctor()
inline void List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Boolean System.CurrentSystemTimeZone::GetTimeZoneData(System.Int32,System.Int64[]&,System.String[]&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CurrentSystemTimeZone_GetTimeZoneData_m24EC5AA1CB7F2E2809CE4C2EE66FDB062C2EAFCF (int32_t ___year0, Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** ___data1, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** ___names2, bool* ___daylight_inverted3, const RuntimeMethod* method);
// System.Void System.DateTime::.ctor(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DateTime__ctor_m027A935E14EB81BCC0739BD56AE60CDE3387990C (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, int64_t ___ticks0, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.Void System.DateTime::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, int32_t ___hour3, int32_t ___minute4, int32_t ___second5, int32_t ___millisecond6, const RuntimeMethod* method);
// System.Int32 System.DateTime::DaysInMonth(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_DaysInMonth_mE979D12858E0D6CC14576D283B5AB66AA53B9F90 (int32_t ___year0, int32_t ___month1, const RuntimeMethod* method);
// System.Void System.DateTime::.ctor(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, int32_t ___year0, int32_t ___month1, int32_t ___day2, const RuntimeMethod* method);
// System.TimeSpan System.DateTime::get_TimeOfDay()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.DateTime System.DateTime::Add(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___value0, const RuntimeMethod* method);
// System.Int32 System.DateTime::get_Month()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.Int32 System.DateTime::get_Day()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.TimeZoneInfo/TransitionTime System.TimeZoneInfo/TransitionTime::CreateFixedDateRule(System.DateTime,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___timeOfDay0, int32_t ___month1, int32_t ___day2, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule System.TimeZoneInfo/AdjustmentRule::CreateAdjustmentRule(System.DateTime,System.DateTime,System.TimeSpan,System.TimeZoneInfo/TransitionTime,System.TimeZoneInfo/TransitionTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateStart0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateEnd1, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___daylightDelta2, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___daylightTransitionStart3, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___daylightTransitionEnd4, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::Add(T)
inline void List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Int32 System.DateTime::get_Year()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.DateTime System.DateTime::AddDays(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_AddDays_mB11D2BB2D7DD6944D1071809574A951258F94D8E (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, double ___value0, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_UtcNow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_get_UtcNow_m171F52F4B3A213E4BAD7B78DC8E794A269DE38A1 (const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::FromTicks(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromTicks_mDF1F429F18294D57DE2739DBD2F33637E4E5F8F4 (int64_t ___value0, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::op_GreaterThanOrEqual(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_GreaterThanOrEqual_m7FE9830EF2AAD2BB65628A0FE7F7C70161BB4D9B (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.String System.Char::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Char_ToString_mA42A88FEBA41B72D48BB24373E3101B7A91B6FD8 (Il2CppChar* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mDD2E38332DED3A8C088D38D78A0E0BEB5091DA64 (String_t* ___str00, String_t* ___str11, String_t* ___str22, String_t* ___str33, const RuntimeMethod* method);
// System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule> System.TimeZoneInfo::CreateAdjustmentRule(System.Int32,System.Int64[]&,System.String[]&,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217 (int32_t ___year0, Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** ___data1, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** ___names2, String_t* ___standardNameCurrentYear3, String_t* ___daylightNameCurrentYear4, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::get_Count()
inline int32_t List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m629B40CD4286736C328FA496AAFC388F697CF984_gshared)(__this, ___collection0, method);
}
// System.Void System.Comparison`1<System.TimeZoneInfo/AdjustmentRule>::.ctor(System.Object,System.IntPtr)
inline void Comparison_1__ctor_mE0538E25387B755D53C0B704CB16ED1F23AD18E0 (Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Comparison_1__ctor_m3445CDEBFFF4A3A9EAED69CBCC2D247630CA5BD4_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::Sort(System.Comparison`1<T>)
inline void List_1_Sort_m3B256FB508DAF70D63EBA562343E275EC0308919 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * ___comparison0, const RuntimeMethod* method)
{
(( void (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 *, const RuntimeMethod*))List_1_Sort_mA3939603201EC0E13489EDA5975A07790CEDB483_gshared)(__this, ___comparison0, method);
}
// T[] System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::ToArray()
inline AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, const RuntimeMethod* method)
{
return (( AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, const RuntimeMethod*))List_1_ToArray_m801D4DEF3587F60F463F04EEABE5CBE711FE5612_gshared)(__this, method);
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo/AdjustmentRule[],System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, bool ___disableDaylightSavingTime6, const RuntimeMethod* method);
// System.DateTime System.DateTime::AddMilliseconds(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_AddMilliseconds_mD93AB4338708397D6030FF082EBB3FC8C3E195F2 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, double ___value0, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule System.TimeZoneInfo/AdjustmentRule::CreateAdjustmentRule(System.DateTime,System.DateTime,System.TimeSpan,System.TimeZoneInfo/TransitionTime,System.TimeZoneInfo/TransitionTime,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * AdjustmentRule_CreateAdjustmentRule_mB15A8247120D71B44A45115C4ABD819A6DFCFD67 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateStart0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateEnd1, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___daylightDelta2, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___daylightTransitionStart3, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___daylightTransitionEnd4, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffsetDelta5, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::TransitionTimeFromTimeZoneInformation(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION,System.TimeZoneInfo/TransitionTime&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TransitionTimeFromTimeZoneInformation_mB2907D018D3F74650B0214133DA2632953A52575 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F ___timeZoneInformation0, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * ___transitionTime1, bool ___readStartDate2, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo/TransitionTime::Equals(System.TimeZoneInfo/TransitionTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TransitionTime_Equals_m8A0240236B27E6EE75B5FA2F96A1C992F835B010 (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___other0, const RuntimeMethod* method);
// System.TimeZoneInfo/TransitionTime System.TimeZoneInfo/TransitionTime::CreateFloatingDateRule(System.DateTime,System.Int32,System.Int32,System.DayOfWeek)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 TransitionTime_CreateFloatingDateRule_mF22316F8D071F0D8AAE9981156D6CD87637A327E (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___timeOfDay0, int32_t ___month1, int32_t ___week2, int32_t ___dayOfWeek3, const RuntimeMethod* method);
// System.Boolean System.String::IsNullOrEmpty(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229 (String_t* ___value0, const RuntimeMethod* method);
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformationEffectiveYears(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&,System.UInt32&,System.UInt32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformationEffectiveYears_mD84BD6607A090CF1D7A8C82DE00770D2CAFDFC14 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___lpTimeZoneInformation0, uint32_t* ___FirstYear1, uint32_t* ___LastYear2, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_Date()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule System.TimeZoneInfo::CreateAdjustmentRuleFromTimeZoneInformation(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&,System.DateTime,System.DateTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___timeZoneInformation0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___startDate1, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___endDate2, int32_t ___defaultBaseUtcOffset3, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::GetTimeZoneInformationForYear(System.UInt16,System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&,System.TimeZoneInfo/TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_GetTimeZoneInformationForYear_m7E665C3816CE3BF020B6813B81C8FF892B0D9DC3 (uint16_t ___wYear0, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pdtzi1, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * ___ptzi2, const RuntimeMethod* method);
// System.Void System.TimeZoneInfo::.ctor(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo/AdjustmentRule[],System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, bool ___disableDaylightSavingTime6, const RuntimeMethod* method);
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformation(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformation_m98112C4EC3EC3C78A62FD422F73DC66309DA08F0 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pTimeZoneInformation0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::get_Utc()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE (const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::TryCreateTimeZone(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F ___timeZoneInformation0, const RuntimeMethod* method);
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformationWin32(System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformationWin32_mD44C73EC6EF2106606DB096D99DE652AC2351A4A (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pTimeZoneInformation0, const RuntimeMethod* method);
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo> System.TimeZoneInfo::GetSystemTimeZones()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * TimeZoneInfo_GetSystemTimeZones_mEA58988461DB651BAAEFE60B72EBCC2403FCDC3A (const RuntimeMethod* method);
// System.Collections.Generic.IEnumerator`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo>::GetEnumerator()
inline RuntimeObject* ReadOnlyCollection_1_GetEnumerator_m99D19158C39B54528C9227F6F986B66D499C0B42 (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * __this, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 *, const RuntimeMethod*))ReadOnlyCollection_1_GetEnumerator_m0C8A9A1DBCB1FEFD1FF6A4E807D329949B925A76_gshared)(__this, method);
}
// System.String System.TimeZoneInfo::get_Id()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method);
// System.Int32 System.String::Compare(System.String,System.String,System.StringComparison)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_Compare_m5BD1EF8904C9B13BEDB7A876B122F117B317B442 (String_t* ___strA0, String_t* ___strB1, int32_t ___comparisonType2, const RuntimeMethod* method);
// System.Void System.TimeZoneNotFoundException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneNotFoundException__ctor_m13C5CB453D2842823AA85B9B4E422C42D659FA19 (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo>::.ctor()
inline void List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23 (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo>::Add(T)
inline void List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5 (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * __this, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.UInt32 System.TimeZoneInfo::EnumDynamicTimeZoneInformation(System.UInt32,System.TimeZoneInfo/DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_EnumDynamicTimeZoneInformation_mA9B80840DB7EFA7A20521562B5D00BEA0545D3D3 (uint32_t ___dwIndex0, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___lpTimeZoneInformation1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.TimeZoneInfo>::get_Count()
inline int32_t List_1_get_Count_mEAB0A1E6130424B195D6DBFD71FAB35A51BA5337_inline (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// System.TimeZoneInfo System.TimeZoneInfo::get_Local()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD (const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::CreateLocal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateLocal_m15C54141FB316F34FA44CA5B96CC02E2CB2F0638 (const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo::readlink(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_readlink_m42B2B8CB1D4B7CCFE6FBBD7ABD10314EAE094F55 (String_t* ___path0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer1, int32_t ___buflen2, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_Default()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * Encoding_get_Default_m625C78C2A9A8504B8BA4141994412513DC470CE2 (const RuntimeMethod* method);
// System.String System.String::CreateString(System.Char[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_CreateString_mC7FB167C0D5B97F7EF502AF54399C61DD5B87509 (String_t* __this, CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___val0, int32_t ___startIndex1, int32_t ___length2, const RuntimeMethod* method);
// System.Boolean System.IO.File::Exists(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool File_Exists_m6B9BDD8EEB33D744EB0590DD27BC0152FAFBD1FB (String_t* ___path0, const RuntimeMethod* method);
// System.String System.TimeZoneInfo::readlink(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_readlink_m36675E5C86E478A8F522061E1AE5DD3F441F1413 (String_t* ___path0, const RuntimeMethod* method);
// System.Boolean System.IO.Path::IsPathRooted(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Path_IsPathRooted_mF70DAF863202638692CF75CCFA09ACBBD90C9A53 (String_t* ___path0, const RuntimeMethod* method);
// System.String System.IO.Path::GetDirectoryName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_GetDirectoryName_m61922AA6D7B48EACBA36FF41A1B28F506CFB8A97 (String_t* ___path0, const RuntimeMethod* method);
// System.String System.IO.Path::Combine(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311 (String_t* ___path10, String_t* ___path21, const RuntimeMethod* method);
// System.String System.IO.Path::GetFullPath(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_GetFullPath_m58677E6FFAFB7BB4A23011CE50F76487226EDE20 (String_t* ___path0, const RuntimeMethod* method);
// System.String System.TimeZoneInfo::get_TimeZoneDirectory()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414 (const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method);
// System.Char System.String::get_Chars(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96 (String_t* __this, int32_t ___index0, const RuntimeMethod* method);
// System.Boolean System.String::StartsWith(System.String,System.StringComparison)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_m844A95C9A205A0F951B0C45634E0C222E73D0B49 (String_t* __this, String_t* ___value0, int32_t ___comparisonType1, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_m2C4AFF5E79DD8BADFD2DFBCF156BF728FBB8E1AE (String_t* __this, int32_t ___startIndex0, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::get_IsWindows()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706 (const RuntimeMethod* method);
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::get_LocalZoneKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C (const RuntimeMethod* method);
// System.Object Microsoft.Win32.RegistryKey::GetValue(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381 (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.String System.TimeZoneInfo::TrimSpecial(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_TrimSpecial_m8904FED0584050DFA61E0BD573BDDF2D2E24DD64 (String_t* ___str0, const RuntimeMethod* method);
// System.String System.TimeZoneInfo::GetLocalTimeZoneKeyNameWin32Fallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_GetLocalTimeZoneKeyNameWin32Fallback_m135325753C0EB2FFA39439FCAFF86BC41D8DC1A3 (const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneById(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD (String_t* ___id0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::GetLocalTimeZoneInfoWinRTFallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_GetLocalTimeZoneInfoWinRTFallback_mAC4FAB77907E048A003EDB46ACA0A2B3665AAC15 (const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::CreateLocalUnity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA (const RuntimeMethod* method);
// System.String System.Environment::GetEnvironmentVariable(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_GetEnvironmentVariable_mB94020EE6B0D5BADF024E4BE6FBC54A5954D2185 (String_t* ___variable0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByFileName(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D (String_t* ___id0, String_t* ___filepath1, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::TryGetNameFromPath(System.String,System.String&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryGetNameFromPath_m030B7AF03FD88B0FCAF5374F33D9E2B22ECCFD42 (String_t* ___path0, String_t** ___name1, const RuntimeMethod* method);
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::get_TimeZoneKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529 (const RuntimeMethod* method);
// System.String[] Microsoft.Win32.RegistryKey::GetSubKeyNames()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* RegistryKey_GetSubKeyNames_m117A40457A2C3473D9D9E8CD9916D23DC8B4532F (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * __this, const RuntimeMethod* method);
// Microsoft.Win32.RegistryKey Microsoft.Win32.RegistryKey::OpenSubKey(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * RegistryKey_OpenSubKey_m7BAA592BA6639DE0CBAC3D300C5A28DCA05190F2 (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Collections.Generic.List`1<System.TimeZoneInfo> System.TimeZoneInfo::GetSystemTimeZonesWinRTFallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * TimeZoneInfo_GetSystemTimeZonesWinRTFallback_m6A927CC8A8AC235866DC2399C990A32C6BF846D0 (const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.TimeZoneInfo>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
inline void List_1_AddRange_m3D1C9DA1E2012F97E0097903E50DED0F25776C57 (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m629B40CD4286736C328FA496AAFC388F697CF984_gshared)(__this, ___collection0, method);
}
// System.String[] System.IO.Directory::GetFiles(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* Directory_GetFiles_mFC09A86D660CAD8490DB44B25A8D8E981816048E (String_t* ___path0, const RuntimeMethod* method);
// System.String System.IO.Path::GetFileName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Path_GetFileName_m2307E8E0B250632002840D9EC27DBABE9C4EB85E (String_t* ___path0, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m19325298DBC61AAC016C16F7B3CF97A8A3DEA34A (String_t* ___format0, RuntimeObject * ___arg01, RuntimeObject * ___arg12, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_mDFF720C53476F656C276D9E4067367669ED433D5 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, const RuntimeMethod* method);
// System.OperatingSystem System.Environment::get_OSVersion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83 * Environment_get_OSVersion_mD6E99E279170E00D17F7D29F242EF65434812233 (const RuntimeMethod* method);
// System.PlatformID System.OperatingSystem::get_Platform()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t OperatingSystem_get_Platform_m36635DD0A3D5442E515AB8D2EA3C7092348A5181_inline (OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83 * __this, const RuntimeMethod* method);
// System.Boolean System.Char::IsLetterOrDigit(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Char_IsLetterOrDigit_mD7307B3157DFA4EC20D58F68ACB6A9793D3A8292 (Il2CppChar ___c0, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB (String_t* __this, int32_t ___startIndex0, int32_t ___length1, const RuntimeMethod* method);
// Microsoft.Win32.RegistryKey Microsoft.Win32.RegistryKey::OpenSubKey(System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * RegistryKey_OpenSubKey_mFB72687C9F3CB562E0DD9DC07331211E964C6F9E (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * __this, String_t* ___name0, bool ___writable1, const RuntimeMethod* method);
// System.Int64 System.DateTime::get_Ticks()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.DateTime System.DateTime::SpecifyKind(System.DateTime,System.DateTimeKind)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___value0, int32_t ___kind1, const RuntimeMethod* method);
// System.Void System.DateTime::.ctor(System.Int64,System.DateTimeKind)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DateTime__ctor_m184FABF75B3C703A70200D760A7E43C60524630F (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, int64_t ___ticks0, int32_t ___kind1, const RuntimeMethod* method);
// System.DateTimeKind System.DateTime::get_Kind()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::IsInvalidTime(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::ConvertTimeToUtc(System.DateTime,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeToUtc_m84C132EC36ADACD6B6598F4F98219060D047C003 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::ConvertTimeFromUtc(System.DateTime,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___destinationTimeZone1, const RuntimeMethod* method);
// System.TimeSpan System.TimeZoneInfo::GetUtcOffset(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffset_mB87444CE19A766D8190FCA7508AE192E66E9436D (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::TryAddTicks(System.DateTime,System.Int64,System.DateTime&,System.DateTimeKind)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___date0, int64_t ___ticks1, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * ___result2, int32_t ___kind3, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::ConvertTimeFromUtc(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::ConvertTimeToUtc(System.DateTime,System.TimeZoneInfo,System.TimeZoneInfoOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, int32_t ___flags2, const RuntimeMethod* method);
// System.TimeSpan System.TimeZoneInfo::GetUtcOffset(System.DateTime,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, bool* ___isDST1, const RuntimeMethod* method);
// System.TimeSpan System.TimeZoneInfo::GetUtcOffsetFromUtc(System.DateTime,System.TimeZoneInfo,System.Boolean&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffsetFromUtc_mAA79026F581A893DD65B95D5660E146520B471FA (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___time0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___zone1, bool* ___isDaylightSavings2, bool* ___isAmbiguousLocalDst3, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::Equals(System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_Equals_mDEDC356830CD3F65D13E71768B2701CB13EA0741 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___other0, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::HasSameRules(System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___other0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::FromRegistryKey(System.String,Microsoft.Win32.RegistryKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA (String_t* ___id0, RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___key1, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByIdWinRTFallback(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483 (String_t* ___id0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByIdCore(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByIdCore_m62ECDFA5D89CE3B68C56D1B72B2CF5FB709DF322 (String_t* ___id0, const RuntimeMethod* method);
// System.IO.FileStream System.IO.File::OpenRead(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * File_OpenRead_m3B2974AB5AA8011E587AC834BE71862BF77C2129 (String_t* ___path0, const RuntimeMethod* method);
// System.Void System.TimeZoneNotFoundException::.ctor(System.String,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneNotFoundException__ctor_m38A84B100985F5907DE77F71A3B98CD3BF1D9CD3 (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::BuildFromStream(System.String,System.IO.Stream)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418 (String_t* ___id0, Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * ___stream1, const RuntimeMethod* method);
// System.Void System.IO.Stream::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stream_Dispose_m186A8E680F2528DEDFF8F0069CC33BD813FFB1C7 (Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * __this, const RuntimeMethod* method);
// System.Void System.InvalidTimeZoneException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidTimeZoneException__ctor_m565DFEFCEFD9DB3E307E643A059B9AC57B2B57DD (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * __this, const RuntimeMethod* method);
// System.Int32 System.BitConverter::ToInt32(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BitConverter_ToInt32_m900A016CA90064569D8DF6D9195044C9C106B391 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method);
// System.String System.Int32::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m1863896DE712BF97C031D55B12E1583F1982DC02 (int32_t* __this, const RuntimeMethod* method);
// System.Void System.TimeZoneInfo::ParseRegTzi(System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>,System.Int32,System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * ___adjustmentRules0, int32_t ___start_year1, int32_t ___end_year2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer3, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule[] System.TimeZoneInfo::ValidateRules(System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * ___adjustmentRules0, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo/AdjustmentRule[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_m5927EE8D4214E3F8317098CFB563D431E93C3E48 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, const RuntimeMethod* method);
// System.Int16 System.BitConverter::ToInt16(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method);
// System.Object System.Array::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176 (RuntimeArray * __this, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule[] System.TimeZoneInfo::GetAdjustmentRules()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* TimeZoneInfo_GetAdjustmentRules_m5ECAA03E2351067B577D5E4EAE036014FCE291DE (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.Serialization.SerializationInfo::AddValue(System.String,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6 (SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * __this, String_t* ___name0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::get_SupportsDaylightSavingTime()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TimeZoneInfo_get_SupportsDaylightSavingTime_m101C22CB276BB45E9C38F54BF6F944C8C5578C9E_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.Serialization.SerializationInfo::AddValue(System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SerializationInfo_AddValue_m1229CE68F507974EBA0DA9C7C728A09E611D18B1 (SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * __this, String_t* ___name0, bool ___value1, const RuntimeMethod* method);
// System.Void System.TimeZoneInfo::GetSystemTimeZonesCore(System.Collections.Generic.List`1<System.TimeZoneInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808 (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * ___systemTimeZones0, const RuntimeMethod* method);
// System.Void System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo>::.ctor(System.Collections.Generic.IList`1<T>)
inline void ReadOnlyCollection_1__ctor_m2669B26D5BD4E1D7DA650B32D5C8C5D4C6F82FE4 (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * __this, RuntimeObject* ___list0, const RuntimeMethod* method)
{
(( void (*) (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 *, RuntimeObject*, const RuntimeMethod*))ReadOnlyCollection_1__ctor_m8F7880F43C4E281DBF7CA5A9431D5E6DD3797B7E_gshared)(__this, ___list0, method);
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffsetHelper(System.DateTime,System.TimeZoneInfo,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___tz1, bool* ___isDST2, const RuntimeMethod* method);
// System.TimeSpan System.TimeZoneInfo::get_BaseUtcOffset()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method);
// System.Void System.Exception::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m5FEC89FBFACEEDCEE29CCFD44A85D72FC28EB0D1 (Exception_t * __this, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::TryGetTransitionOffset(System.DateTime,System.TimeSpan&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryGetTransitionOffset_mE81815E31B2FD48D83635AE3FAADF622DDE6B5D6 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * ___offset1, bool* ___isDst2, const RuntimeMethod* method);
// System.TimeZoneInfo/AdjustmentRule System.TimeZoneInfo::GetApplicableRule(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::IsInDST(System.TimeZoneInfo/AdjustmentRule,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInDST_m353072CFE30139C66F490E254314847B1C55A61C (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___rule0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime1, const RuntimeMethod* method);
// System.TimeSpan System.TimeZoneInfo/AdjustmentRule::get_DaylightDelta()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::op_Addition(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::op_Inequality(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_Inequality_mEAE207F8B9A9B42CC33F4DE882E69E98C09065FC (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo/AdjustmentRule::Equals(System.TimeZoneInfo/AdjustmentRule)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool AdjustmentRule_Equals_mE58526212854504DB5575E2396F3C97F4F0EEA95 (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___other0, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::ConvertTime(System.DateTime,System.TimeZoneInfo,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___destinationTimeZone2, const RuntimeMethod* method);
// System.TimeZoneInfo/TransitionTime System.TimeZoneInfo/AdjustmentRule::get_DaylightTransitionEnd()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo::TransitionPoint(System.TimeZoneInfo/TransitionTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2 (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___transition0, int32_t ___year1, const RuntimeMethod* method);
// System.DateTime System.DateTime::op_Subtraction(System.DateTime,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_op_Subtraction_m679BBE02927C8538BBDD10A514E655568246830B (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___d0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t1, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_GreaterThan(System.DateTime,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t10, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t21, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_LessThanOrEqual(System.DateTime,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DateTime_op_LessThanOrEqual_m7131235B927010BD9DB3C93FEB51640286D1107B (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t10, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t21, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::IsInDSTForYear(System.TimeZoneInfo/AdjustmentRule,System.DateTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___rule0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime1, int32_t ___year2, const RuntimeMethod* method);
// System.TimeZoneInfo/TransitionTime System.TimeZoneInfo/AdjustmentRule::get_DaylightTransitionStart()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo/TransitionTime::get_Month()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_GreaterThanOrEqual(System.DateTime,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DateTime_op_GreaterThanOrEqual_mEDD57FC8B24FAF4D6AA94CFE6AE190CF359B66B4 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t10, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t21, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_LessThan(System.DateTime,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DateTime_op_LessThan_m75DE4F8CC5F5EE392829A9B37C5C98B7FC97061A (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t10, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___t21, const RuntimeMethod* method);
// System.DateTime System.DateTime::op_Addition(System.DateTime,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___d0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t1, const RuntimeMethod* method);
// System.Void System.TimeZoneInfo::Validate(System.String,System.TimeSpan,System.TimeZoneInfo/AdjustmentRule[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules2, const RuntimeMethod* method);
// System.Void System.Runtime.Serialization.SerializationException::.ctor(System.String,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SerializationException__ctor_mCCC70F63CC8A3BC77B50CFA582D9DB1256846921 (SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210 * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::op_GreaterThan(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.Boolean System.TimeSpan::op_LessThan(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.Void System.InvalidTimeZoneException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14 (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo/AdjustmentRule::get_DateStart()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo/AdjustmentRule::get_DateEnd()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method);
// System.Boolean System.DateTime::op_Equality(System.DateTime,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool DateTime_op_Equality_m5715465D90806F5305BBA5F690377819C55AF084 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___d10, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___d21, const RuntimeMethod* method);
// System.String System.TimeZoneInfo::get_DisplayName()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_DisplayName_m583E6E48EAA12F6D87191F71AAE821481F8B006A_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method);
// System.Object System.Runtime.Serialization.SerializationInfo::GetValue(System.String,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF (SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * __this, String_t* ___name0, Type_t * ___type1, const RuntimeMethod* method);
// System.DateTime System.DateTime::ToUniversalTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_ToUniversalTime_mA8B74D947E186568C55D9C6F56D59F9A3C7775B1 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo/TransitionTime::get_IsFixedDateRule()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TransitionTime_get_IsFixedDateRule_mC55143797D34E320F86E4B58A265654C634EB38C_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo/TransitionTime::get_Day()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Day_m82E3998C57838AB654EEB696600CF6C0F9EB52B0_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.DateTime System.TimeZoneInfo/TransitionTime::get_TimeOfDay()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TransitionTime_get_TimeOfDay_mC4F5083CF75296341B498E873B2C026A95C4ADDE_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.DayOfWeek System.DateTime::get_DayOfWeek()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_DayOfWeek_m556E45050ECDB336B3559BC395081B0C5CBE4891 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo/TransitionTime::get_Week()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Week_m7708A01103CEADEA75626953931221A1E5CA2F82_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.DayOfWeek System.TimeZoneInfo/TransitionTime::get_DayOfWeek()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_DayOfWeek_m349EE703AD506935676F78DE8438D8C3D5E8C472_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.TimeZoneInfo/AdjustmentRule>::Remove(T)
inline bool List_1_Remove_mF3B9CA9E20C7542FAAD6C966B548492F2C7CD5DD (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___item0, const RuntimeMethod* method)
{
return (( bool (*) (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *, const RuntimeMethod*))List_1_Remove_m908B647BB9F807676DACE34E3E73475C3C3751D4_gshared)(__this, ___item0, method);
}
// System.Boolean System.TimeZoneInfo::ValidTZFile(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_ValidTZFile_mDBAA295AA83624116C0BA67C78FDD8521866A8ED (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___length1, const RuntimeMethod* method);
// System.TimeZoneInfo System.TimeZoneInfo::ParseTZBuffer(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96 (String_t* ___id0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer1, int32_t ___length2, const RuntimeMethod* method);
// System.Void System.InvalidTimeZoneException::.ctor(System.String,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidTimeZoneException__ctor_m45B9443C467C8D8353DBB6F6E7A6E4E7F96CF591 (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * __this, String_t* ___message0, Exception_t * ___innerException1, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m05C12F58ADC2D807613A9301DF438CB3CD09B75A (StringBuilder_t * __this, Il2CppChar ___value0, const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo::SwapInt32(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_SwapInt32_mA8FE2D4B2E2BF9CD763D600F8CE449DA34AE0BFE (int32_t ___i0, const RuntimeMethod* method);
// System.Int32 System.TimeZoneInfo::ReadBigEndianInt32(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___start1, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2<System.Int32,System.String> System.TimeZoneInfo::ParseAbbreviations(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * TimeZoneInfo_ParseAbbreviations_mF9E2B864DA8DDDA370DD9D43D5A7E3D8B7FBA76A (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType> System.TimeZoneInfo::ParseTimesTypes(System.Byte[],System.Int32,System.Int32,System.Collections.Generic.Dictionary`2<System.Int32,System.String>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * TimeZoneInfo_ParseTimesTypes_mDE8026755AF2207FFD76312DB22A472EE850BBA6 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * ___abbreviations3, const RuntimeMethod* method);
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>> System.TimeZoneInfo::ParseTransitions(System.Byte[],System.Int32,System.Int32,System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * TimeZoneInfo_ParseTransitions_mDF9E7750AF2BFA9992708A02AE9429EFC4CF00FE (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * ___time_types3, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>::get_Count()
inline int32_t Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548 (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 *, const RuntimeMethod*))Dictionary_2_get_Count_m69345D9DEE55AA0CE574D19CB7C430AC638C01A9_gshared)(__this, method);
}
// TValue System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>::get_Item(TKey)
inline TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83 (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * (*) (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 *, int32_t, const RuntimeMethod*))Dictionary_2_get_Item_mEFECE2769017AB70A9B1E7F5F8BBA59375620B54_gshared)(__this, ___key0, method);
}
// T System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>::get_Item(System.Int32)
inline KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D List_1_get_Item_m8A44B7C37BB53CF3C22046AE0A17B58B0925A7A1_inline (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D (*) (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 *, int32_t, const RuntimeMethod*))List_1_get_Item_mA3E868C42E65CB3DC3966732D238AF05D6338EF7_gshared_inline)(__this, ___index0, method);
}
// TKey System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>::get_Key()
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 KeyValuePair_2_get_Key_m86B2C62B2D71E058541AD44447FFE99B23E906AE_inline (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D * __this, const RuntimeMethod* method)
{
return (( DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 (*) (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D *, const RuntimeMethod*))KeyValuePair_2_get_Key_m15F31F68F9D7F399DEBCC2328913654D36E79C1E_gshared_inline)(__this, method);
}
// TValue System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>::get_Value()
inline TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * KeyValuePair_2_get_Value_m53E2812960EF279EE483985E7F647EA7958B61C5_inline (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D * __this, const RuntimeMethod* method)
{
return (( TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * (*) (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D *, const RuntimeMethod*))KeyValuePair_2_get_Value_m5AF581973CD6FDFDA5540F0A0AAD90D97CC45D5D_gshared_inline)(__this, method);
}
// System.DateTime System.DateTime::AddYears(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_AddYears_m4D66AFB61758D852CEEFE29D103C88106C6847A2 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo/TransitionTime::op_Inequality(System.TimeZoneInfo/TransitionTime,System.TimeZoneInfo/TransitionTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TransitionTime_op_Inequality_m8E95819760E1035F55168B42B474A0F401BDEA58 (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___t10, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___t21, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::op_Subtraction(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_op_Subtraction_m5978CE5FCEB3D59AF0BC52AF838BFE3237AE8B23 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method);
// System.TimeSpan System.TimeSpan::FromMinutes(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromMinutes_m3038BAC5BAB62262567D7BB3AE6DD845FC985BC2 (double ___value0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>::get_Count()
inline int32_t List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_inline (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 *, const RuntimeMethod*))List_1_get_Count_mB556AE5EB3416A032123DE8D7E96B5FFD8CC8242_gshared_inline)(__this, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.String>::.ctor()
inline void Dictionary_2__ctor_m6C6B59C12BD62E890CCF5AF0366E3DA0F29ADE6C (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C *, const RuntimeMethod*))Dictionary_2__ctor_m7D745ADE56151C2895459668F4A4242985E526D8_gshared)(__this, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.String>::Add(TKey,TValue)
inline void Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * __this, int32_t ___key0, String_t* ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C *, int32_t, String_t*, const RuntimeMethod*))Dictionary_2_Add_mF7AEA0EFA07EEBC1A4B283A26A7CB720EE7A4C20_gshared)(__this, ___key0, ___value1, method);
}
// System.Int32 System.Text.StringBuilder::get_Length()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t StringBuilder_get_Length_m44BCD2BF32D45E9376761FF33AA429BFBD902F07 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.String System.Text.StringBuilder::ToString(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* StringBuilder_ToString_mB91781E31C1CF168F780733E67EA40A5386693C6 (StringBuilder_t * __this, int32_t ___startIndex0, int32_t ___length1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>::.ctor(System.Int32)
inline void Dictionary_2__ctor_m2D8C7B37F04BBE07E0D052A019C914E9AE6815D8 (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 *, int32_t, const RuntimeMethod*))Dictionary_2__ctor_m6015B3C75A1DAB939EB443D59748227888900331_gshared)(__this, ___capacity0, method);
}
// TValue System.Collections.Generic.Dictionary`2<System.Int32,System.String>::get_Item(TKey)
inline String_t* Dictionary_2_get_Item_m832206501573309C2C9C1E4F96AAC39AACE24906 (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( String_t* (*) (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C *, int32_t, const RuntimeMethod*))Dictionary_2_get_Item_mEFECE2769017AB70A9B1E7F5F8BBA59375620B54_gshared)(__this, ___key0, method);
}
// System.Void System.TimeType::.ctor(System.Int32,System.Boolean,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeType__ctor_m28FA06EC6A851C81414A6435BE25D1FD494FFE03 (TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * __this, int32_t ___offset0, bool ___is_dst1, String_t* ___abbrev2, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>::Add(TKey,TValue)
inline void Dictionary_2_Add_m1CF588B67718D0CF03E628AEB7A822E58F1F5517 (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * __this, int32_t ___key0, TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 *, int32_t, TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 *, const RuntimeMethod*))Dictionary_2_Add_mF7AEA0EFA07EEBC1A4B283A26A7CB720EE7A4C20_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>::.ctor(System.Int32)
inline void List_1__ctor_mC454D22A181DBFE033123BA60EB7503279A2E624 (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 *, int32_t, const RuntimeMethod*))List_1__ctor_mE0334FEEB0DA08C563C9A3EBC9841C917C6E8E2E_gshared)(__this, ___capacity0, method);
}
// System.DateTime System.TimeZoneInfo::DateTimeFromUnixTime(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_DateTimeFromUnixTime_m2EB7BE33769CB44A09ED1C1389AB3E8AF707A83D (int64_t ___unix_time0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>::.ctor(TKey,TValue)
inline void KeyValuePair_2__ctor_m69CD5926C1F3E83585430B234312999946C55C53 (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___key0, TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * ___value1, const RuntimeMethod* method)
{
(( void (*) (KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D *, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 , TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 *, const RuntimeMethod*))KeyValuePair_2__ctor_mDE04093EC61BE2A8488E791E66598DE871AA96AF_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>>::Add(T)
inline void List_1_Add_m76DF40E97717AE8F7F5CD0D1965BB34D12BE0C75 (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * __this, KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 *, KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D , const RuntimeMethod*))List_1_Add_mA7FDE3694EEBB4C98536E78A885B8ADBDD00CE1D_gshared)(__this, ___item0, method);
}
// System.DateTime System.DateTime::AddSeconds(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_AddSeconds_m36DC8835432569A70AC5120359527350DD65D6B2 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, double ___value0, const RuntimeMethod* method);
// System.Boolean System.TimeZoneInfo::IsAmbiguousTime(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550 (const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m46015CEDA36D3948DEC9E120338956ECA01C907E (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m46015CEDA36D3948DEC9E120338956ECA01C907E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * L_0 = (U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 *)il2cpp_codegen_object_new(U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_mAC67D3D51A9073130F2F486675676EBFAEC148C7(L_0, /*hidden argument*/NULL);
((U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mAC67D3D51A9073130F2F486675676EBFAEC148C7 (U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation_<>c::<.cctor>b__7_0(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_cctorU3Eb__7_0_m8D4421278962DBF67E7164884D652DB516D390FD (U3CU3Ec_tF748C28FCC57D11E334B8690066E64FA53D1E8E4 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__7_0_m8D4421278962DBF67E7164884D652DB516D390FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___state0;
NullCheck(((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)CastclassSealed((RuntimeObject*)L_0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var)));
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)CastclassSealed((RuntimeObject*)L_0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean System.Threading.Tasks.Task::AddToActiveTasks(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_activeTasksLock_14();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = V_0;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_1, (bool*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * L_2 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_currentActiveTasks_13();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = ___task0;
NullCheck(L_3);
int32_t L_4 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(L_3, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = ___task0;
NullCheck(L_2);
Dictionary_2_set_Item_m55755723565BE6B8A0576434B1D1E5AFF5BC9E4A(L_2, L_4, L_5, /*hidden argument*/Dictionary_2_set_Item_m55755723565BE6B8A0576434B1D1E5AFF5BC9E4A_RuntimeMethod_var);
IL2CPP_LEAVE(0x2D, FINALLY_0023);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0023;
}
FINALLY_0023:
{ // begin finally (depth: 1)
{
bool L_6 = V_1;
if (!L_6)
{
goto IL_002c;
}
}
IL_0026:
{
RuntimeObject * L_7 = V_0;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_7, /*hidden argument*/NULL);
}
IL_002c:
{
IL2CPP_END_FINALLY(35)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(35)
{
IL2CPP_JUMP_TBL(0x2D, IL_002d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002d:
{
return (bool)1;
}
}
// System.Void System.Threading.Tasks.Task::RemoveFromActiveTasks(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5 (int32_t ___taskId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_activeTasksLock_14();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = V_0;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_1, (bool*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * L_2 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_currentActiveTasks_13();
int32_t L_3 = ___taskId0;
NullCheck(L_2);
Dictionary_2_Remove_m8A775DC3DA045DBE29E44D8FA98E57FEA20B9368(L_2, L_3, /*hidden argument*/Dictionary_2_Remove_m8A775DC3DA045DBE29E44D8FA98E57FEA20B9368_RuntimeMethod_var);
IL2CPP_LEAVE(0x28, FINALLY_001e);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001e;
}
FINALLY_001e:
{ // begin finally (depth: 1)
{
bool L_4 = V_1;
if (!L_4)
{
goto IL_0027;
}
}
IL_0021:
{
RuntimeObject * L_5 = V_0;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_5, /*hidden argument*/NULL);
}
IL_0027:
{
IL2CPP_END_FINALLY(30)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(30)
{
IL2CPP_JUMP_TBL(0x28, IL_0028)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0028:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::.ctor(System.Boolean,System.Threading.Tasks.TaskCreationOptions,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___canceled0, int32_t ___creationOptions1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___ct2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_1 = NULL;
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___creationOptions1;
V_0 = L_0;
bool L_1 = ___canceled0;
if (!L_1)
{
goto IL_003a;
}
}
{
int32_t L_2 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)((int32_t)5242880)|(int32_t)L_2)));
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)il2cpp_codegen_object_new(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_il2cpp_TypeInfo_var);
ContingentProperties__ctor_mD515B94D26AB52AFF131A9C97483E657261B0120(L_3, /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = L_3;
V_1 = L_4;
il2cpp_codegen_memory_barrier();
__this->set_m_contingentProperties_15(L_4);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = V_1;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_6 = ___ct2;
NullCheck(L_5);
L_5->set_m_cancellationToken_3(L_6);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_7 = V_1;
NullCheck(L_7);
il2cpp_codegen_memory_barrier();
L_7->set_m_internalCancellationRequested_5(1);
return;
}
IL_003a:
{
int32_t L_8 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)((int32_t)16777216)|(int32_t)L_8)));
return;
}
}
// System.Void System.Threading.Tasks.Task::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m8E1D8C0B00CDBC75BE82736DC129396F79B7A84D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)33555456));
return;
}
}
// System.Void System.Threading.Tasks.Task::.ctor(System.Object,System.Threading.Tasks.TaskCreationOptions,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m398A0A6E97121F1D54B3A5CE76D0D16D1BE311DC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___state0, int32_t ___creationOptions1, bool ___promiseStyle2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task__ctor_m398A0A6E97121F1D54B3A5CE76D0D16D1BE311DC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___creationOptions1;
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)-69))))
{
goto IL_0017;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_1, _stringLiteral699B142A794903652E588B3D75019329F77A9209, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task__ctor_m398A0A6E97121F1D54B3A5CE76D0D16D1BE311DC_RuntimeMethod_var);
}
IL_0017:
{
int32_t L_2 = ___creationOptions1;
if (!((int32_t)((int32_t)L_2&(int32_t)4)))
{
goto IL_0027;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline(/*hidden argument*/NULL);
__this->set_m_parent_8(L_3);
}
IL_0027:
{
RuntimeObject * L_4 = ___state0;
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_5 = V_0;
int32_t L_6 = ___creationOptions1;
Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C(__this, NULL, L_4, L_5, L_6, ((int32_t)1024), (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::.ctor(System.Delegate,System.Object,System.Threading.Tasks.Task,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Delegate_t * ___action0, RuntimeObject * ___state1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___parent2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, int32_t ___creationOptions4, int32_t ___internalOptions5, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
Delegate_t * L_0 = ___action0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral34EB4C4EF005207E8B8F916B9F1FFFACCCD6945E, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC_RuntimeMethod_var);
}
IL_0014:
{
int32_t L_2 = ___creationOptions4;
if (((int32_t)((int32_t)L_2&(int32_t)4)))
{
goto IL_0024;
}
}
{
int32_t L_3 = ___internalOptions5;
if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)2048))))
{
goto IL_002b;
}
}
IL_0024:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = ___parent2;
__this->set_m_parent_8(L_4);
}
IL_002b:
{
Delegate_t * L_5 = ___action0;
RuntimeObject * L_6 = ___state1;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_7 = ___cancellationToken3;
int32_t L_8 = ___creationOptions4;
int32_t L_9 = ___internalOptions5;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_10 = ___scheduler6;
Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C(__this, L_5, L_6, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::TaskConstructorCore(System.Object,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___action0, RuntimeObject * ___state1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___creationOptions3, int32_t ___internalOptions4, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
RuntimeObject * L_0 = ___action0;
__this->set_m_action_5(L_0);
RuntimeObject * L_1 = ___state1;
__this->set_m_stateObject_6(L_1);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = ___scheduler5;
__this->set_m_taskScheduler_7(L_2);
int32_t L_3 = ___creationOptions3;
if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)-96))))
{
goto IL_0028;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_4 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_4, _stringLiteral699B142A794903652E588B3D75019329F77A9209, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C_RuntimeMethod_var);
}
IL_0028:
{
int32_t L_5 = ___creationOptions3;
if (!((int32_t)((int32_t)L_5&(int32_t)2)))
{
goto IL_0048;
}
}
{
int32_t L_6 = ___internalOptions4;
if (!((int32_t)((int32_t)L_6&(int32_t)((int32_t)2048))))
{
goto IL_0048;
}
}
{
String_t* L_7 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral18134C3172E2C551F0F862780D5C8A01A31AECFF, /*hidden argument*/NULL);
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_8 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, Task_TaskConstructorCore_m6B54AFE9106C1C96AC2B4560FCD65796A8D5525C_RuntimeMethod_var);
}
IL_0048:
{
int32_t L_9 = ___creationOptions3;
int32_t L_10 = ___internalOptions4;
V_0 = ((int32_t)((int32_t)L_9|(int32_t)L_10));
RuntimeObject * L_11 = __this->get_m_action_5();
if (!L_11)
{
goto IL_0060;
}
}
{
int32_t L_12 = ___internalOptions4;
if (!((int32_t)((int32_t)L_12&(int32_t)((int32_t)512))))
{
goto IL_0068;
}
}
IL_0060:
{
int32_t L_13 = V_0;
V_0 = ((int32_t)((int32_t)L_13|(int32_t)((int32_t)33554432)));
}
IL_0068:
{
int32_t L_14 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(L_14);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_15 = __this->get_m_parent_8();
if (!L_15)
{
goto IL_0099;
}
}
{
int32_t L_16 = ___creationOptions3;
if (!((int32_t)((int32_t)L_16&(int32_t)4)))
{
goto IL_0099;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = __this->get_m_parent_8();
NullCheck(L_17);
int32_t L_18 = Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8(L_17, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_18&(int32_t)8)))
{
goto IL_0099;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_19 = __this->get_m_parent_8();
NullCheck(L_19);
Task_AddNewChild_m892592DE6344787DB92036EAB590476E549FA78F(L_19, /*hidden argument*/NULL);
}
IL_0099:
{
bool L_20 = CancellationToken_get_CanBeCanceled_m485B6A386A628048A15D607330E91582012C59EF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken2), /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00ab;
}
}
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_21 = ___cancellationToken2;
Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F(__this, L_21, (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)NULL, (TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)NULL, /*hidden argument*/NULL);
}
IL_00ab:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::AssignCancellationToken(System.Threading.CancellationToken,System.Threading.Tasks.Task,System.Threading.Tasks.TaskContinuation)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___antecedent1, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * ___continuation2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 V_1;
memset((&V_1), 0, sizeof(V_1));
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)0, /*hidden argument*/NULL);
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = ___cancellationToken0;
NullCheck(L_1);
L_1->set_m_cancellationToken_3(L_2);
}
IL_000f:
try
{ // begin try (depth: 1)
{
bool L_3 = ((AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_StaticFields*)il2cpp_codegen_static_fields_for(AppContextSwitches_tAF0B2C874D2BB57032B24C11819205802669FD8D_il2cpp_TypeInfo_var))->get_ThrowExceptionIfDisposedCancellationTokenSource_0();
if (!L_3)
{
goto IL_001d;
}
}
IL_0016:
{
CancellationToken_ThrowIfSourceDisposed_m8E42C0EEDC94CA3AB799D787A25E1BF63EC33271((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken0), /*hidden argument*/NULL);
}
IL_001d:
{
int32_t L_4 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_4&(int32_t)((int32_t)13312))))
{
goto IL_0072;
}
}
IL_002b:
{
bool L_5 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken0), /*hidden argument*/NULL);
if (!L_5)
{
goto IL_003e;
}
}
IL_0034:
{
Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D(__this, (bool)0, /*hidden argument*/NULL);
goto IL_0072;
}
IL_003e:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = ___antecedent1;
if (L_6)
{
goto IL_0051;
}
}
IL_0041:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_7 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCancelCallback_16();
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 L_8 = CancellationToken_InternalRegisterWithoutEC_m2AB5F8C5E8800786BE0825ACE80BAA2EFB719DFF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken0), L_7, __this, /*hidden argument*/NULL);
V_1 = L_8;
goto IL_0066;
}
IL_0051:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_9 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCancelCallback_16();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = ___antecedent1;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_11 = ___continuation2;
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * L_12 = (Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *)il2cpp_codegen_object_new(Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6_il2cpp_TypeInfo_var);
Tuple_3__ctor_mEBEB26F33E2A9546F44BE417D96B1419B7F2EFE9(L_12, __this, L_10, L_11, /*hidden argument*/Tuple_3__ctor_mEBEB26F33E2A9546F44BE417D96B1419B7F2EFE9_RuntimeMethod_var);
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 L_13 = CancellationToken_InternalRegisterWithoutEC_m2AB5F8C5E8800786BE0825ACE80BAA2EFB719DFF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken0), L_9, L_12, /*hidden argument*/NULL);
V_1 = L_13;
}
IL_0066:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_14 = V_0;
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 L_15 = V_1;
Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * L_16 = (Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 *)il2cpp_codegen_object_new(Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2_il2cpp_TypeInfo_var);
Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A(L_16, L_15, /*hidden argument*/Shared_1__ctor_mAFCC38C207B2F85CB2AE05C7C866B8169EAAE24A_RuntimeMethod_var);
NullCheck(L_14);
L_14->set_m_cancellationRegistration_4(L_16);
}
IL_0072:
{
goto IL_00a3;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0074;
throw e;
}
CATCH_0074:
{ // begin catch(System.Object)
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = __this->get_m_parent_8();
if (!L_17)
{
goto IL_00a1;
}
}
IL_007d:
{
int32_t L_18 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_18&(int32_t)4)))
{
goto IL_00a1;
}
}
IL_0087:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_19 = __this->get_m_parent_8();
NullCheck(L_19);
int32_t L_20 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(L_19, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_20&(int32_t)8)))
{
goto IL_00a1;
}
}
IL_0096:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_21 = __this->get_m_parent_8();
NullCheck(L_21);
Task_DisregardChild_mF5C09366D4780D6C6A90B60BAC0C769054EA8771(L_21, /*hidden argument*/NULL);
}
IL_00a1:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00a3:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::TaskCancelCallback(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_TaskCancelCallback_m871E63C611277708EB9BCD3A584958CF427429CF (RuntimeObject * ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_TaskCancelCallback_m871E63C611277708EB9BCD3A584958CF427429CF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * V_1 = NULL;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_2 = NULL;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * V_3 = NULL;
{
RuntimeObject * L_0 = ___o0;
V_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var));
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = V_0;
if (L_1)
{
goto IL_0030;
}
}
{
RuntimeObject * L_2 = ___o0;
V_1 = ((Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 *)IsInstClass((RuntimeObject*)L_2, Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6_il2cpp_TypeInfo_var));
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * L_3 = V_1;
if (!L_3)
{
goto IL_0030;
}
}
{
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * L_4 = V_1;
NullCheck(L_4);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = Tuple_3_get_Item1_mB0C8437E786459C80B0F2CB57ADC3A643F6C4CE2_inline(L_4, /*hidden argument*/Tuple_3_get_Item1_mB0C8437E786459C80B0F2CB57ADC3A643F6C4CE2_RuntimeMethod_var);
V_0 = L_5;
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * L_6 = V_1;
NullCheck(L_6);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_7 = Tuple_3_get_Item2_m64FB7459CA4971DEC4FBC22F9E3BD918557B9BCB_inline(L_6, /*hidden argument*/Tuple_3_get_Item2_m64FB7459CA4971DEC4FBC22F9E3BD918557B9BCB_RuntimeMethod_var);
V_2 = L_7;
Tuple_3_t6CA711BBDA9F641C230A41C8882C886E8934EBF6 * L_8 = V_1;
NullCheck(L_8);
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_9 = Tuple_3_get_Item3_m4361144F0F8FBFA32334368B1C2EAFB8158461F0_inline(L_8, /*hidden argument*/Tuple_3_get_Item3_m4361144F0F8FBFA32334368B1C2EAFB8158461F0_RuntimeMethod_var);
V_3 = L_9;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = V_2;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_11 = V_3;
NullCheck(L_10);
Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4(L_10, L_11, /*hidden argument*/NULL);
}
IL_0030:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = V_0;
NullCheck(L_12);
Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D(L_12, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::PossiblyCaptureContext(System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_PossiblyCaptureContext_m0DB8D1ADD84B044BEBC0A692E45577D2B7ADFDA8 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t* ___stackMark0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_PossiblyCaptureContext_m0DB8D1ADD84B044BEBC0A692E45577D2B7ADFDA8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t* L_0 = ___stackMark0;
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_1 = ExecutionContext_Capture_m03E9840F580CC8E82725D5969D6132B0ABADD5F2((int32_t*)L_0, 3, /*hidden argument*/NULL);
Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::get_Options()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
int32_t L_1 = Task_OptionsMethod_m078D666F0D89BE7D57D02F2E355907A71EA962ED(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::OptionsMethod(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_OptionsMethod_m078D666F0D89BE7D57D02F2E355907A71EA962ED (int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
return (int32_t)(((int32_t)((int32_t)L_0&(int32_t)((int32_t)65535))));
}
}
// System.Boolean System.Threading.Tasks.Task::AtomicStateUpdate(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___newBits0, int32_t ___illegalBits1, const RuntimeMethod* method)
{
SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
{
il2cpp_codegen_initobj((&V_0), sizeof(SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 ));
}
IL_0008:
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
V_1 = L_0;
int32_t L_1 = V_1;
int32_t L_2 = ___illegalBits1;
if (!((int32_t)((int32_t)L_1&(int32_t)L_2)))
{
goto IL_0018;
}
}
{
return (bool)0;
}
IL_0018:
{
int32_t* L_3 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_4 = V_1;
int32_t L_5 = ___newBits0;
int32_t L_6 = V_1;
int32_t L_7 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_3, ((int32_t)((int32_t)L_4|(int32_t)L_5)), L_6, /*hidden argument*/NULL);
int32_t L_8 = V_1;
if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
{
goto IL_002c;
}
}
{
return (bool)1;
}
IL_002c:
{
SpinWait_SpinOnce_mFE80DED71DC333A3F5C6F98AE9B46AB63B854E87((SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 *)(&V_0), /*hidden argument*/NULL);
goto IL_0008;
}
}
// System.Boolean System.Threading.Tasks.Task::AtomicStateUpdate(System.Int32,System.Int32,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AtomicStateUpdate_mC826E87CFCDFFDB8E6225C8D6A7FA0B95AB0C1E0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___newBits0, int32_t ___illegalBits1, int32_t* ___oldFlags2, const RuntimeMethod* method)
{
SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 V_0;
memset((&V_0), 0, sizeof(V_0));
{
il2cpp_codegen_initobj((&V_0), sizeof(SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 ));
}
IL_0008:
{
int32_t* L_0 = ___oldFlags2;
int32_t L_1 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
*((int32_t*)L_0) = (int32_t)L_1;
int32_t* L_2 = ___oldFlags2;
int32_t L_3 = *((int32_t*)L_2);
int32_t L_4 = ___illegalBits1;
if (!((int32_t)((int32_t)L_3&(int32_t)L_4)))
{
goto IL_001a;
}
}
{
return (bool)0;
}
IL_001a:
{
int32_t* L_5 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t* L_6 = ___oldFlags2;
int32_t L_7 = *((int32_t*)L_6);
int32_t L_8 = ___newBits0;
int32_t* L_9 = ___oldFlags2;
int32_t L_10 = *((int32_t*)L_9);
int32_t L_11 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_5, ((int32_t)((int32_t)L_7|(int32_t)L_8)), L_10, /*hidden argument*/NULL);
int32_t* L_12 = ___oldFlags2;
int32_t L_13 = *((int32_t*)L_12);
if ((!(((uint32_t)L_11) == ((uint32_t)L_13))))
{
goto IL_0031;
}
}
{
return (bool)1;
}
IL_0031:
{
SpinWait_SpinOnce_mFE80DED71DC333A3F5C6F98AE9B46AB63B854E87((SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 *)(&V_0), /*hidden argument*/NULL);
goto IL_0008;
}
}
// System.Void System.Threading.Tasks.Task::SetNotificationForWaitCompletion(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_SetNotificationForWaitCompletion_mD1A101A6112916B6B28B86D5A9015348CCDFEC2A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___enabled0, const RuntimeMethod* method)
{
SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
int32_t V_2 = 0;
{
bool L_0 = ___enabled0;
if (!L_0)
{
goto IL_0015;
}
}
{
Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)268435456), ((int32_t)90177536), /*hidden argument*/NULL);
return;
}
IL_0015:
{
il2cpp_codegen_initobj((&V_0), sizeof(SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 ));
}
IL_001d:
{
int32_t L_1 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
V_1 = L_1;
int32_t L_2 = V_1;
V_2 = ((int32_t)((int32_t)L_2&(int32_t)((int32_t)-268435457)));
int32_t* L_3 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_4 = V_2;
int32_t L_5 = V_1;
int32_t L_6 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_3, L_4, L_5, /*hidden argument*/NULL);
int32_t L_7 = V_1;
if ((((int32_t)L_6) == ((int32_t)L_7)))
{
goto IL_0047;
}
}
{
SpinWait_SpinOnce_mFE80DED71DC333A3F5C6F98AE9B46AB63B854E87((SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 *)(&V_0), /*hidden argument*/NULL);
goto IL_001d;
}
IL_0047:
{
return;
}
}
// System.Boolean System.Threading.Tasks.Task::NotifyDebuggerOfWaitCompletionIfNecessary()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_NotifyDebuggerOfWaitCompletionIfNecessary_m71ACB838EB1988C1436F99C7EB0C819D9F025E2A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
bool L_0 = Task_get_IsWaitNotificationEnabled_m2FCD90C6D62FFF78CBE2C5FE3BB9AAB68794DE8E(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0018;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(11 /* System.Boolean System.Threading.Tasks.Task::get_ShouldNotifyDebuggerOfWaitCompletion() */, __this);
if (!L_1)
{
goto IL_0018;
}
}
{
Task_NotifyDebuggerOfWaitCompletion_m29E07DF85245752783EB926AF0698526AE9954F3(__this, /*hidden argument*/NULL);
return (bool)1;
}
IL_0018:
{
return (bool)0;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsWaitNotificationEnabledOrNotRanToCompletion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsWaitNotificationEnabledOrNotRanToCompletion_mEC26269ABD71D03847D81120160D2106C2B3D581 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)285212672)))) == ((int32_t)((int32_t)16777216)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_ShouldNotifyDebuggerOfWaitCompletion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_ShouldNotifyDebuggerOfWaitCompletion_m830DE0385B59FF7DC6A1A6DA1FD6235983C10CB1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
bool L_0 = Task_get_IsWaitNotificationEnabled_m2FCD90C6D62FFF78CBE2C5FE3BB9AAB68794DE8E(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsWaitNotificationEnabled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsWaitNotificationEnabled_m2FCD90C6D62FFF78CBE2C5FE3BB9AAB68794DE8E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)268435456)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Void System.Threading.Tasks.Task::NotifyDebuggerOfWaitCompletion()
IL2CPP_DISABLE_OPTIMIZATIONS
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Task_NotifyDebuggerOfWaitCompletion_m29E07DF85245752783EB926AF0698526AE9954F3 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
Task_SetNotificationForWaitCompletion_mD1A101A6112916B6B28B86D5A9015348CCDFEC2A(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
IL2CPP_ENABLE_OPTIMIZATIONS
// System.Boolean System.Threading.Tasks.Task::MarkStarted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_MarkStarted_mA6657A4058C324CA5277F16D30C25741C4220030 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
bool L_0 = Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)65536), ((int32_t)4259840), /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean System.Threading.Tasks.Task::FireTaskScheduledIfNeeded(System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_FireTaskScheduledIfNeeded_m6792459336CB25D967928EDA5249F2164991E447 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___ts0, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Void System.Threading.Tasks.Task::AddNewChild()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddNewChild_m892592DE6344787DB92036EAB590476E549FA78F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)1, /*hidden argument*/NULL);
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
NullCheck(L_1);
int32_t L_2 = L_1->get_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_002e;
}
}
{
bool L_3 = Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37(__this, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002e;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = L_4;
NullCheck(L_5);
int32_t L_6 = L_5->get_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
NullCheck(L_5);
il2cpp_codegen_memory_barrier();
L_5->set_m_completionCountdown_6(((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)));
return;
}
IL_002e:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_7 = V_0;
NullCheck(L_7);
int32_t* L_8 = L_7->get_address_of_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
Interlocked_Increment_mB6D391197444B8BFD30BAE1EDCF1A255CD2F292F((int32_t*)L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::DisregardChild()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_DisregardChild_mF5C09366D4780D6C6A90B60BAC0C769054EA8771 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)1, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t* L_1 = L_0->get_address_of_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
Interlocked_Decrement_m5C38319E41D5F7C90DFEC9138D58E6E92DFAFCFE((int32_t*)L_1, /*hidden argument*/NULL);
return;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::InternalStartNew(System.Threading.Tasks.Task,System.Delegate,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___creatingTask0, Delegate_t * ___action1, RuntimeObject * ___state2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler4, int32_t ___options5, int32_t ___internalOptions6, int32_t* ___stackMark7, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = ___scheduler4;
if (L_0)
{
goto IL_000f;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral142F817C3EC0586DE0F960C1C0483043B61A0D06, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC_RuntimeMethod_var);
}
IL_000f:
{
Delegate_t * L_2 = ___action1;
RuntimeObject * L_3 = ___state2;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = ___creatingTask0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_5 = ___cancellationToken3;
int32_t L_6 = ___options5;
int32_t L_7 = ___internalOptions6;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_8 = ___scheduler4;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_9 = (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)il2cpp_codegen_object_new(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC(L_9, L_2, L_3, L_4, L_5, L_6, ((int32_t)((int32_t)L_7|(int32_t)((int32_t)8192))), L_8, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = L_9;
int32_t* L_11 = ___stackMark7;
NullCheck(L_10);
Task_PossiblyCaptureContext_m0DB8D1ADD84B044BEBC0A692E45577D2B7ADFDA8(L_10, (int32_t*)L_11, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = L_10;
NullCheck(L_12);
Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF(L_12, (bool)0, /*hidden argument*/NULL);
return L_12;
}
}
// System.Int32 System.Threading.Tasks.Task::NewId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_NewId_m2FA62609A08BE3C277416032922008B5F0870B7F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_NewId_m2FA62609A08BE3C277416032922008B5F0870B7F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
V_0 = 0;
}
IL_0002:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
int32_t L_0 = Interlocked_Increment_mB6D391197444B8BFD30BAE1EDCF1A255CD2F292F((int32_t*)(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_address_of_s_taskIdCounter_2()), /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_0002;
}
}
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Int32 System.Threading.Tasks.Task::get_Id()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_taskId_4();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_001e;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
int32_t L_1 = Task_NewId_m2FA62609A08BE3C277416032922008B5F0870B7F(/*hidden argument*/NULL);
V_0 = L_1;
int32_t* L_2 = __this->get_address_of_m_taskId_4();
il2cpp_codegen_memory_barrier();
int32_t L_3 = V_0;
Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_2, L_3, 0, /*hidden argument*/NULL);
}
IL_001e:
{
int32_t L_4 = __this->get_m_taskId_4();
il2cpp_codegen_memory_barrier();
return L_4;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::get_InternalCurrent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_t_currentTask_0();
return L_0;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::InternalCurrentIfAttached(System.Threading.Tasks.TaskCreationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_InternalCurrentIfAttached_mA6A2C11F69612C4A960BC1FC6BD4E4D181D26A3B (int32_t ___creationOptions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_InternalCurrentIfAttached_mA6A2C11F69612C4A960BC1FC6BD4E4D181D26A3B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___creationOptions0;
if (((int32_t)((int32_t)L_0&(int32_t)4)))
{
goto IL_0007;
}
}
{
return (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)NULL;
}
IL_0007:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline(/*hidden argument*/NULL);
return L_1;
}
}
// System.Threading.Tasks.StackGuard System.Threading.Tasks.Task::get_CurrentStackGuard()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * Task_get_CurrentStackGuard_m74FB437E43F89B8BDCB272A7257024F586421F11 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_CurrentStackGuard_m74FB437E43F89B8BDCB272A7257024F586421F11_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_t_stackGuard_1();
V_0 = L_0;
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_1 = V_0;
if (L_1)
{
goto IL_0015;
}
}
{
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_2 = (StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 *)il2cpp_codegen_object_new(StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9_il2cpp_TypeInfo_var);
StackGuard__ctor_m43A3F9AC18F2D28154D3C5B1434DAAF5A59EB3EB(L_2, /*hidden argument*/NULL);
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_3 = L_2;
V_0 = L_3;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_t_stackGuard_1(L_3);
}
IL_0015:
{
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_4 = V_0;
return L_4;
}
}
// System.AggregateException System.Threading.Tasks.Task::get_Exception()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * Task_get_Exception_mA61AAD3E52CBEB631D1956217B521456E7960B95 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * V_0 = NULL;
{
V_0 = (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)NULL;
bool L_0 = Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0012;
}
}
{
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_1 = Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C(__this, (bool)0, /*hidden argument*/NULL);
V_0 = L_1;
}
IL_0012:
{
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_2 = V_0;
return L_2;
}
}
// System.Threading.Tasks.TaskStatus System.Threading.Tasks.Task::get_Status()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_Status_mE2F9041915F88BAD55956426FDCB259F29D468C1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
V_1 = L_0;
int32_t L_1 = V_1;
if (!((int32_t)((int32_t)L_1&(int32_t)((int32_t)2097152))))
{
goto IL_0016;
}
}
{
V_0 = 7;
goto IL_0066;
}
IL_0016:
{
int32_t L_2 = V_1;
if (!((int32_t)((int32_t)L_2&(int32_t)((int32_t)4194304))))
{
goto IL_0023;
}
}
{
V_0 = 6;
goto IL_0066;
}
IL_0023:
{
int32_t L_3 = V_1;
if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)16777216))))
{
goto IL_0030;
}
}
{
V_0 = 5;
goto IL_0066;
}
IL_0030:
{
int32_t L_4 = V_1;
if (!((int32_t)((int32_t)L_4&(int32_t)((int32_t)8388608))))
{
goto IL_003d;
}
}
{
V_0 = 4;
goto IL_0066;
}
IL_003d:
{
int32_t L_5 = V_1;
if (!((int32_t)((int32_t)L_5&(int32_t)((int32_t)131072))))
{
goto IL_004a;
}
}
{
V_0 = 3;
goto IL_0066;
}
IL_004a:
{
int32_t L_6 = V_1;
if (!((int32_t)((int32_t)L_6&(int32_t)((int32_t)65536))))
{
goto IL_0057;
}
}
{
V_0 = 2;
goto IL_0066;
}
IL_0057:
{
int32_t L_7 = V_1;
if (!((int32_t)((int32_t)L_7&(int32_t)((int32_t)33554432))))
{
goto IL_0064;
}
}
{
V_0 = 1;
goto IL_0066;
}
IL_0064:
{
V_0 = 0;
}
IL_0066:
{
int32_t L_8 = V_0;
return L_8;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsCanceled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)6291456)))) == ((int32_t)((int32_t)4194304)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsCancellationRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCancellationRequested_mEC0D3452C63A295062E6D2C1FCECA529EC9D1C91 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (!L_1)
{
goto IL_0025;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = L_2->get_m_internalCancellationRequested_5();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_0023;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
NullCheck(L_4);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * L_5 = L_4->get_address_of_m_cancellationToken_3();
bool L_6 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)L_5, /*hidden argument*/NULL);
return L_6;
}
IL_0023:
{
return (bool)1;
}
IL_0025:
{
return (bool)0;
}
}
// System.Threading.Tasks.Task_ContingentProperties System.Threading.Tasks.Task::EnsureContingentPropertiesInitialized(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (L_1)
{
goto IL_0014;
}
}
{
bool L_2 = ___needsProtection0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = Task_EnsureContingentPropertiesInitializedCore_mEBABC8AA0C0C53B08D71CC3233E7F9487A645709(__this, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0014:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
return L_4;
}
}
// System.Threading.Tasks.Task_ContingentProperties System.Threading.Tasks.Task::EnsureContingentPropertiesInitializedCore(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * Task_EnsureContingentPropertiesInitializedCore_mEBABC8AA0C0C53B08D71CC3233E7F9487A645709 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_EnsureContingentPropertiesInitializedCore_mEBABC8AA0C0C53B08D71CC3233E7F9487A645709_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
bool L_0 = ___needsProtection0;
if (!L_0)
{
goto IL_0014;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 ** L_1 = __this->get_address_of_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * L_2 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_createContingentProperties_17();
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = LazyInitializer_EnsureInitialized_TisContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_m2F2E8D86C1C1F146E43AA9AA5572B95F333C0EAF((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 **)L_1, L_2, /*hidden argument*/LazyInitializer_EnsureInitialized_TisContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_m2F2E8D86C1C1F146E43AA9AA5572B95F333C0EAF_RuntimeMethod_var);
return L_3;
}
IL_0014:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)il2cpp_codegen_object_new(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_il2cpp_TypeInfo_var);
ContingentProperties__ctor_mD515B94D26AB52AFF131A9C97483E657261B0120(L_4, /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = L_4;
V_0 = L_5;
il2cpp_codegen_memory_barrier();
__this->set_m_contingentProperties_15(L_5);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_6 = V_0;
return L_6;
}
}
// System.Threading.CancellationToken System.Threading.Tasks.Task::get_CancellationToken()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB Task_get_CancellationToken_m3E8D0E96EEC38EC70AEE5F876AF8A0517B463D75 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_1;
memset((&V_1), 0, sizeof(V_1));
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
NullCheck(L_2);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_3 = L_2->get_m_cancellationToken_3();
return L_3;
}
IL_0013:
{
il2cpp_codegen_initobj((&V_1), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = V_1;
return L_4;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsCancellationAcknowledged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCancellationAcknowledged_m8E56396FE6257481F3B2DC98DC1F8ED3BA2E3E9E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)1048576)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsCompleted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_1 = Task_IsCompletedMethod_mDB10A23B3BE87989E50E196D28E2A429ED06C48A(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.Threading.Tasks.Task::IsCompletedMethod(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_IsCompletedMethod_mDB10A23B3BE87989E50E196D28E2A429ED06C48A (int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)23068672)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsRanToCompletion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsRanToCompletion_mCCFB04975336938D365F65C71C75A38CFE3721BC (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)23068672)))) == ((int32_t)((int32_t)16777216)))? 1 : 0);
}
}
// System.Threading.Tasks.TaskCreationOptions System.Threading.Tasks.Task::get_CreationOptions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
return (int32_t)(((int32_t)((int32_t)L_0&(int32_t)((int32_t)-65281))));
}
}
// System.Threading.WaitHandle System.Threading.Tasks.Task::System.IAsyncResult.get_AsyncWaitHandle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * Task_System_IAsyncResult_get_AsyncWaitHandle_mA71710AFB5344BE5442434E14095D5B3930859FB (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_System_IAsyncResult_get_AsyncWaitHandle_mA71710AFB5344BE5442434E14095D5B3930859FB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (!((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)262144)))) <= ((uint32_t)0)))? 1 : 0))
{
goto IL_0024;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralA8214B71D397C96E383069DCF0102B0014B989F9, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_2 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m303CFD09E4B541C36C60AE7B7CBC8B1B7EED66DC(L_2, (String_t*)NULL, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Task_System_IAsyncResult_get_AsyncWaitHandle_mA71710AFB5344BE5442434E14095D5B3930859FB_RuntimeMethod_var);
}
IL_0024:
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_3 = Task_get_CompletedEvent_mE8A47E33273E4C45D6D818F4308903D34C5683DD(__this, /*hidden argument*/NULL);
NullCheck(L_3);
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_4 = ManualResetEventSlim_get_WaitHandle_m1D2F06B07F0563D6E4788305F52284487DCE802B(L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Object System.Threading.Tasks.Task::get_AsyncState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Task_get_AsyncState_mEE6996D21AD9F92E34A30FA73A7D31A5BCE42657 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_m_stateObject_6();
return L_0;
}
}
// System.Boolean System.Threading.Tasks.Task::System.IAsyncResult.get_CompletedSynchronously()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_System_IAsyncResult_get_CompletedSynchronously_m7F41A46FF40F80D4ECA82F71AF265117D7502888 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.Task::get_ExecutingTaskScheduler()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = __this->get_m_taskScheduler_7();
return L_0;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::get_CompletedTask()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_CompletedTask_mBB0764E7FDE04E900FFBE5B1BE6B815193681E86 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_CompletedTask_mBB0764E7FDE04E900FFBE5B1BE6B815193681E86_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_1;
memset((&V_1), 0, sizeof(V_1));
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_completedTask_18();
V_0 = L_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = V_0;
if (L_1)
{
goto IL_0024;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = V_1;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)il2cpp_codegen_object_new(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B(L_3, (bool)0, ((int32_t)16384), L_2, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = L_3;
V_0 = L_4;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_completedTask_18(L_4);
}
IL_0024:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = V_0;
return L_5;
}
}
// System.Threading.ManualResetEventSlim System.Threading.Tasks.Task::get_CompletedEvent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * Task_get_CompletedEvent_mE8A47E33273E4C45D6D818F4308903D34C5683DD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_CompletedEvent_mE8A47E33273E4C45D6D818F4308903D34C5683DD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
bool V_1 = false;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * V_2 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)1, /*hidden argument*/NULL);
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
NullCheck(L_1);
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_2 = L_1->get_m_completionEvent_1();
il2cpp_codegen_memory_barrier();
if (L_2)
{
goto IL_0048;
}
}
{
bool L_3 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
V_1 = L_3;
bool L_4 = V_1;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_5 = (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 *)il2cpp_codegen_object_new(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445_il2cpp_TypeInfo_var);
ManualResetEventSlim__ctor_m8A42F1BAF0BB8E04060ABB7506A3F03EF6EFD6EF(L_5, L_4, /*hidden argument*/NULL);
V_2 = L_5;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_6 = V_0;
NullCheck(L_6);
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 ** L_7 = L_6->get_address_of_m_completionEvent_1();
il2cpp_codegen_memory_barrier();
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_8 = V_2;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_9 = InterlockedCompareExchangeImpl<ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 *>((ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 **)L_7, L_8, (ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 *)NULL);
if (!L_9)
{
goto IL_0037;
}
}
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_10 = V_2;
NullCheck(L_10);
ManualResetEventSlim_Dispose_mDF9E897811F63EA93C87E4D2FE66B138A66146AA(L_10, /*hidden argument*/NULL);
goto IL_0048;
}
IL_0037:
{
bool L_11 = V_1;
if (L_11)
{
goto IL_0048;
}
}
{
bool L_12 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0048;
}
}
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_13 = V_2;
NullCheck(L_13);
ManualResetEventSlim_Set_m2E94D35286055BA81B9DAD85C4CB9DCF89CF0F81(L_13, /*hidden argument*/NULL);
}
IL_0048:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_14 = V_0;
NullCheck(L_14);
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_15 = L_14->get_m_completionEvent_1();
il2cpp_codegen_memory_barrier();
return L_15;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsSelfReplicatingRoot()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
return (bool)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)2304)))) == ((int32_t)((int32_t)2048)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsChildReplica()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsChildReplica_m0C8033A1E772EF6829A2F00F9BB58C455D4DC6AA (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)256)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_ExceptionRecorded()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_ExceptionRecorded_mE7BD1794348DB6D61B6A1D29A57519264BC6722E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (!L_1)
{
goto IL_0024;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
NullCheck(L_2);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_3 = L_2->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
if (!L_3)
{
goto IL_0024;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
NullCheck(L_4);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_5 = L_4->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
NullCheck(L_5);
bool L_6 = TaskExceptionHolder_get_ContainsFaultList_m0BD28A069F49306DC78F74060DF55D2F9F5275E3(L_5, /*hidden argument*/NULL);
return L_6;
}
IL_0024:
{
return (bool)0;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsFaulted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)2097152)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Threading.ExecutionContext System.Threading.Tasks.Task::get_CapturedContext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)536870912)))) == ((uint32_t)((int32_t)536870912)))))
{
goto IL_0017;
}
}
{
return (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 *)NULL;
}
IL_0017:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_1;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
if (!L_2)
{
goto IL_0032;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = V_0;
NullCheck(L_3);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_4 = L_3->get_m_capturedContext_0();
if (!L_4)
{
goto IL_0032;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = V_0;
NullCheck(L_5);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_6 = L_5->get_m_capturedContext_0();
return L_6;
}
IL_0032:
{
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_7 = ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8E_inline(/*hidden argument*/NULL);
return L_7;
}
}
// System.Void System.Threading.Tasks.Task::set_CapturedContext(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___value0, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___value0;
if (L_0)
{
goto IL_001a;
}
}
{
int32_t L_1 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_1|(int32_t)((int32_t)536870912))));
return;
}
IL_001a:
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_2 = ___value0;
NullCheck(L_2);
bool L_3 = ExecutionContext_get_IsPreAllocatedDefault_mFD07D73B6F109B0CC3444D45542A6A63D4B373D4(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002f;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)0, /*hidden argument*/NULL);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_5 = ___value0;
NullCheck(L_4);
L_4->set_m_capturedContext_0(L_5);
}
IL_002f:
{
return;
}
}
// System.Threading.ExecutionContext System.Threading.Tasks.Task::CopyExecutionContext(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53 (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___capturedContext0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___capturedContext0;
if (L_0)
{
goto IL_0005;
}
}
{
return (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 *)NULL;
}
IL_0005:
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_1 = ___capturedContext0;
NullCheck(L_1);
bool L_2 = ExecutionContext_get_IsPreAllocatedDefault_mFD07D73B6F109B0CC3444D45542A6A63D4B373D4(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0013;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_3 = ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8E_inline(/*hidden argument*/NULL);
return L_3;
}
IL_0013:
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_4 = ___capturedContext0;
NullCheck(L_4);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_5 = ExecutionContext_CreateCopy_mD0C2EA5AE6F140C566D3DC1B0E7896AEDBBAA6F1(L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Void System.Threading.Tasks.Task::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Dispose_m3AA92D9D01DCD7403745E720B87C677D3A1AE7EA (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Dispose_m3AA92D9D01DCD7403745E720B87C677D3A1AE7EA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
VirtActionInvoker1< bool >::Invoke(12 /* System.Void System.Threading.Tasks.Task::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Dispose_m4DC74A584F1834D9BC586CAA5721CA9D23579ABF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Dispose_m4DC74A584F1834D9BC586CAA5721CA9D23579ABF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * V_1 = NULL;
{
bool L_0 = ___disposing0;
if (!L_0)
{
goto IL_005f;
}
}
{
int32_t L_1 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_1&(int32_t)((int32_t)16384))))
{
goto IL_0012;
}
}
{
return;
}
IL_0012:
{
bool L_2 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_002a;
}
}
{
String_t* L_3 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral5825EBA52D444C4CF3772B7FE2D74FB2186DA93F, /*hidden argument*/NULL);
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_4 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Task_Dispose_m4DC74A584F1834D9BC586CAA5721CA9D23579ABF_RuntimeMethod_var);
}
IL_002a:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_5;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_6 = V_0;
if (!L_6)
{
goto IL_005f;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_7 = V_0;
NullCheck(L_7);
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_8 = L_7->get_m_completionEvent_1();
il2cpp_codegen_memory_barrier();
V_1 = L_8;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_9 = V_1;
if (!L_9)
{
goto IL_005f;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_10 = V_0;
NullCheck(L_10);
il2cpp_codegen_memory_barrier();
L_10->set_m_completionEvent_1((ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 *)NULL);
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_11 = V_1;
NullCheck(L_11);
bool L_12 = ManualResetEventSlim_get_IsSet_mF9C923A1085E5C05A4A9B4844FD43D33F9B51EFC(L_11, /*hidden argument*/NULL);
if (L_12)
{
goto IL_0059;
}
}
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_13 = V_1;
NullCheck(L_13);
ManualResetEventSlim_Set_m2E94D35286055BA81B9DAD85C4CB9DCF89CF0F81(L_13, /*hidden argument*/NULL);
}
IL_0059:
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_14 = V_1;
NullCheck(L_14);
ManualResetEventSlim_Dispose_mDF9E897811F63EA93C87E4D2FE66B138A66146AA(L_14, /*hidden argument*/NULL);
}
IL_005f:
{
int32_t L_15 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_15|(int32_t)((int32_t)262144))));
return;
}
}
// System.Void System.Threading.Tasks.Task::ScheduleAndStart(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___needsProtection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * V_0 = NULL;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = ___needsProtection0;
if (!L_0)
{
goto IL_000c;
}
}
{
bool L_1 = Task_MarkStarted_mA6657A4058C324CA5277F16D30C25741C4220030(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0022;
}
}
{
return;
}
IL_000c:
{
int32_t L_2 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_2|(int32_t)((int32_t)65536))));
}
IL_0022:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_3 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_3)
{
goto IL_0030;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421(__this, /*hidden argument*/NULL);
}
IL_0030:
{
bool L_4 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_4)
{
goto IL_0072;
}
}
{
int32_t L_5 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_5&(int32_t)((int32_t)512))))
{
goto IL_0072;
}
}
{
int32_t L_6 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
RuntimeObject * L_7 = __this->get_m_action_5();
NullCheck(((Delegate_t *)CastclassClass((RuntimeObject*)L_7, Delegate_t_il2cpp_TypeInfo_var)));
MethodInfo_t * L_8 = Delegate_get_Method_m0AC85D2B0C4CA63C471BC37FFDC3A5EA1E8ED048(((Delegate_t *)CastclassClass((RuntimeObject*)L_7, Delegate_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
NullCheck(L_8);
String_t* L_9 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Reflection.MemberInfo::get_Name() */, L_8);
String_t* L_10 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteralD70E053DA23EA4B83C24F6829CA81D7ADEB19D59, L_9, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCreation_m7B5DBD272BC20E986A5120FBF6665241BBACF060(0, L_6, L_10, (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
}
IL_0072:
{
}
IL_0073:
try
{ // begin try (depth: 1)
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_11 = __this->get_m_taskScheduler_7();
NullCheck(L_11);
TaskScheduler_InternalQueueTask_m08940F911E3B4987803048AC88CAE4FB803E1B30(L_11, __this, /*hidden argument*/NULL);
goto IL_00cc;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0081;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0093;
throw e;
}
CATCH_0081:
{ // begin catch(System.Threading.ThreadAbortException)
V_0 = ((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)__exception_local);
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * L_12 = V_0;
Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54(__this, L_12, /*hidden argument*/NULL);
Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760(__this, (bool)1, (bool)0, /*hidden argument*/NULL);
goto IL_00cc;
} // end catch (depth: 1)
CATCH_0093:
{ // begin catch(System.Exception)
{
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_13 = (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 *)il2cpp_codegen_object_new(TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var);
TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63(L_13, ((Exception_t *)__exception_local), /*hidden argument*/NULL);
V_1 = L_13;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_14 = V_1;
Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54(__this, L_14, /*hidden argument*/NULL);
Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F(__this, (bool)0, /*hidden argument*/NULL);
int32_t L_15 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_15&(int32_t)((int32_t)512))))
{
goto IL_00ca;
}
}
IL_00b5:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_16 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_16);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_17 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_16)->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
NullCheck(L_17);
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(L_17, (bool)0, /*hidden argument*/NULL);
}
IL_00ca:
{
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_18 = V_1;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_00cc:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::AddException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___exceptionObject0;
Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E(__this, L_0, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::AddException(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___exceptionObject0, bool ___representsCancellation1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * V_1 = NULL;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_2 = NULL;
bool V_3 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)1, /*hidden argument*/NULL);
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
NullCheck(L_1);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_2 = L_1->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
if (L_2)
{
goto IL_002f;
}
}
{
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_3 = (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 *)il2cpp_codegen_object_new(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
TaskExceptionHolder__ctor_m9DFCF5C093112C5273718737871BB34B2677A842(L_3, __this, /*hidden argument*/NULL);
V_1 = L_3;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
NullCheck(L_4);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 ** L_5 = L_4->get_address_of_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_6 = V_1;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_7 = InterlockedCompareExchangeImpl<TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 *>((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 **)L_5, L_6, (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 *)NULL);
if (!L_7)
{
goto IL_002f;
}
}
{
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_8 = V_1;
NullCheck(L_8);
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(L_8, (bool)0, /*hidden argument*/NULL);
}
IL_002f:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_9 = V_0;
V_2 = L_9;
V_3 = (bool)0;
}
IL_0033:
try
{ // begin try (depth: 1)
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_10 = V_2;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_10, (bool*)(&V_3), /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_11 = V_0;
NullCheck(L_11);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_12 = L_11->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
RuntimeObject * L_13 = ___exceptionObject0;
bool L_14 = ___representsCancellation1;
NullCheck(L_12);
TaskExceptionHolder_Add_m474EACCFF78EE2092046D28A549140F2DB721109(L_12, L_13, L_14, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x56, FINALLY_004c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_004c;
}
FINALLY_004c:
{ // begin finally (depth: 1)
{
bool L_15 = V_3;
if (!L_15)
{
goto IL_0055;
}
}
IL_004f:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_16 = V_2;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_16, /*hidden argument*/NULL);
}
IL_0055:
{
IL2CPP_END_FINALLY(76)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(76)
{
IL2CPP_JUMP_TBL(0x56, IL_0056)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0056:
{
return;
}
}
// System.AggregateException System.Threading.Tasks.Task::GetExceptions(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___includeTaskCanceledExceptions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * V_0 = NULL;
{
V_0 = (Exception_t *)NULL;
bool L_0 = ___includeTaskCanceledExceptions0;
if (!L_0)
{
goto IL_0014;
}
}
{
bool L_1 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0014;
}
}
{
TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * L_2 = (TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 *)il2cpp_codegen_object_new(TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48_il2cpp_TypeInfo_var);
TaskCanceledException__ctor_m45DC90A53B1AF6B996D2B1BEA655A8D2C08C6AE7(L_2, __this, /*hidden argument*/NULL);
V_0 = L_2;
}
IL_0014:
{
bool L_3 = Task_get_ExceptionRecorded_mE7BD1794348DB6D61B6A1D29A57519264BC6722E(__this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0033;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_4);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_5 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_4)->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
Exception_t * L_6 = V_0;
NullCheck(L_5);
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_7 = TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214(L_5, (bool)0, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0033:
{
Exception_t * L_8 = V_0;
if (!L_8)
{
goto IL_0046;
}
}
{
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_9 = (ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209*)(ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209*)SZArrayNew(ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209_il2cpp_TypeInfo_var, (uint32_t)1);
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_10 = L_9;
Exception_t * L_11 = V_0;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_11);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(0), (Exception_t *)L_11);
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_12 = (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)il2cpp_codegen_object_new(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var);
AggregateException__ctor_m4BE6D1A4009BE2081C418E517FFDFE415B6CF908(L_12, L_10, /*hidden argument*/NULL);
return L_12;
}
IL_0046:
{
return (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)NULL;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo> System.Threading.Tasks.Task::GetExceptionDispatchInfos()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * Task_GetExceptionDispatchInfos_m2658FC327172C934AF3149E49345FF3319E92AFB (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_GetExceptionDispatchInfos_m2658FC327172C934AF3149E49345FF3319E92AFB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B3_0 = 0;
{
bool L_0 = Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0010;
}
}
{
bool L_1 = Task_get_ExceptionRecorded_mE7BD1794348DB6D61B6A1D29A57519264BC6722E(__this, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_1));
goto IL_0011;
}
IL_0010:
{
G_B3_0 = 0;
}
IL_0011:
{
if (G_B3_0)
{
goto IL_001f;
}
}
{
ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF* L_2 = (ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF*)(ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF*)SZArrayNew(ExceptionDispatchInfoU5BU5D_tAF0992800B1E727A3311A160A519F842B8E28DFF_il2cpp_TypeInfo_var, (uint32_t)0);
ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * L_3 = (ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 *)il2cpp_codegen_object_new(ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1_il2cpp_TypeInfo_var);
ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F(L_3, (RuntimeObject*)(RuntimeObject*)L_2, /*hidden argument*/ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F_RuntimeMethod_var);
return L_3;
}
IL_001f:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_4);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_5 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_4)->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
NullCheck(L_5);
ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * L_6 = TaskExceptionHolder_GetExceptionDispatchInfos_m22C52A36D4F57DA10A82F4193B5DB26C2761C40E(L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.Runtime.ExceptionServices.ExceptionDispatchInfo System.Threading.Tasks.Task::GetCancellationExceptionDispatchInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * Task_GetCancellationExceptionDispatchInfo_mFA27045118F89271EC672CE42F4105F95C9B95B3 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * V_1 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (L_1)
{
goto IL_000e;
}
}
{
return (ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A *)NULL;
}
IL_000e:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
NullCheck(L_2);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_3 = L_2->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
V_1 = L_3;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_4 = V_1;
if (L_4)
{
goto IL_001c;
}
}
{
return (ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A *)NULL;
}
IL_001c:
{
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_5 = V_1;
NullCheck(L_5);
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_6 = TaskExceptionHolder_GetCancellationExceptionDispatchInfo_m6F7AB65EF187AEE62E6704ED3C85C4BC58C6F369_inline(L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.Void System.Threading.Tasks.Task::ThrowIfExceptional(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___includeTaskCanceledExceptions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * V_0 = NULL;
{
bool L_0 = ___includeTaskCanceledExceptions0;
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_1 = Task_GetExceptions_m347C0AF20DE3E85C6F4CD4D7C6BE386C652D136C(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
Exception_t * L_2 = V_0;
if (!L_2)
{
goto IL_0013;
}
}
{
Task_UpdateExceptionObservedStatus_m1B934C758DC3C80A3B26410F4A246767EEEBE05A(__this, /*hidden argument*/NULL);
Exception_t * L_3 = V_0;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37_RuntimeMethod_var);
}
IL_0013:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::UpdateExceptionObservedStatus()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_UpdateExceptionObservedStatus_m1B934C758DC3C80A3B26410F4A246767EEEBE05A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_UpdateExceptionObservedStatus_m1B934C758DC3C80A3B26410F4A246767EEEBE05A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = __this->get_m_parent_8();
if (!L_0)
{
goto IL_0044;
}
}
{
int32_t L_1 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_1&(int32_t)4)))
{
goto IL_0044;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = __this->get_m_parent_8();
NullCheck(L_2);
int32_t L_3 = Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8(L_2, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_3&(int32_t)8)))
{
goto IL_0044;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline(/*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = __this->get_m_parent_8();
if ((!(((RuntimeObject*)(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)L_4) == ((RuntimeObject*)(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)L_5))))
{
goto IL_0044;
}
}
{
int32_t L_6 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_6|(int32_t)((int32_t)524288))));
}
IL_0044:
{
return;
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsExceptionObservedByParent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsExceptionObservedByParent_mF76B3BAD34F96F98D1A8E8ACFF533728CEA7EE07 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)524288)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean System.Threading.Tasks.Task::get_IsDelegateInvoked()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_get_IsDelegateInvoked_m45C6B668A20D03726083A730EFC33873B10B5735 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)131072)))) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Void System.Threading.Tasks.Task::Finish(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bUserDelegateExecuted0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_1 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_2 = NULL;
bool V_3 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * G_B11_0 = NULL;
{
bool L_0 = ___bUserDelegateExecuted0;
if (L_0)
{
goto IL_000a;
}
}
{
Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487(__this, /*hidden argument*/NULL);
return;
}
IL_000a:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_1;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
if (!L_2)
{
goto IL_0036;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = V_0;
NullCheck(L_3);
int32_t L_4 = L_3->get_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0029;
}
}
{
bool L_5 = Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37(__this, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0036;
}
}
IL_0029:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_6 = V_0;
NullCheck(L_6);
int32_t* L_7 = L_6->get_address_of_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
int32_t L_8 = Interlocked_Decrement_m5C38319E41D5F7C90DFEC9138D58E6E92DFAFCFE((int32_t*)L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_003e;
}
}
IL_0036:
{
Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487(__this, /*hidden argument*/NULL);
goto IL_004f;
}
IL_003e:
{
Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)8388608), ((int32_t)23068672), /*hidden argument*/NULL);
}
IL_004f:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_9 = V_0;
if (L_9)
{
goto IL_0055;
}
}
{
G_B11_0 = ((List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *)(NULL));
goto IL_005d;
}
IL_0055:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_10 = V_0;
NullCheck(L_10);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_11 = L_10->get_m_exceptionalChildren_7();
il2cpp_codegen_memory_barrier();
G_B11_0 = L_11;
}
IL_005d:
{
V_1 = G_B11_0;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_12 = V_1;
if (!L_12)
{
goto IL_0085;
}
}
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_13 = V_1;
V_2 = L_13;
V_3 = (bool)0;
}
IL_0065:
try
{ // begin try (depth: 1)
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_14 = V_2;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_14, (bool*)(&V_3), /*hidden argument*/NULL);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_15 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * L_16 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_IsExceptionObservedByParentPredicate_19();
NullCheck(L_15);
List_1_RemoveAll_mC4FEA0EA2929D9530115A00BFA5AF6C1BBAB74A8(L_15, L_16, /*hidden argument*/List_1_RemoveAll_mC4FEA0EA2929D9530115A00BFA5AF6C1BBAB74A8_RuntimeMethod_var);
IL2CPP_LEAVE(0x85, FINALLY_007b);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_007b;
}
FINALLY_007b:
{ // begin finally (depth: 1)
{
bool L_17 = V_3;
if (!L_17)
{
goto IL_0084;
}
}
IL_007e:
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_18 = V_2;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_18, /*hidden argument*/NULL);
}
IL_0084:
{
IL2CPP_END_FINALLY(123)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(123)
{
IL2CPP_JUMP_TBL(0x85, IL_0085)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0085:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::FinishStageTwo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_1 = NULL;
{
Task_AddExceptionsFromChildren_mC22CD99033D0071A1CB17FD39752202CE3E31E26(__this, /*hidden argument*/NULL);
bool L_0 = Task_get_ExceptionRecorded_mE7BD1794348DB6D61B6A1D29A57519264BC6722E(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_003c;
}
}
{
V_0 = ((int32_t)2097152);
bool L_1 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_1)
{
goto IL_0028;
}
}
{
int32_t L_2 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_2, 3, /*hidden argument*/NULL);
}
IL_0028:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_3 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_3)
{
goto IL_00a6;
}
}
{
int32_t L_4 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_4, /*hidden argument*/NULL);
goto IL_00a6;
}
IL_003c:
{
bool L_5 = Task_get_IsCancellationRequested_mEC0D3452C63A295062E6D2C1FCECA529EC9D1C91(__this, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_007a;
}
}
{
bool L_6 = Task_get_IsCancellationAcknowledged_m8E56396FE6257481F3B2DC98DC1F8ED3BA2E3E9E(__this, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_007a;
}
}
{
V_0 = ((int32_t)4194304);
bool L_7 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_7)
{
goto IL_0066;
}
}
{
int32_t L_8 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_8, 2, /*hidden argument*/NULL);
}
IL_0066:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_9 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_9)
{
goto IL_00a6;
}
}
{
int32_t L_10 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_10, /*hidden argument*/NULL);
goto IL_00a6;
}
IL_007a:
{
V_0 = ((int32_t)16777216);
bool L_11 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_11)
{
goto IL_0094;
}
}
{
int32_t L_12 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_12, 1, /*hidden argument*/NULL);
}
IL_0094:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_13 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_13)
{
goto IL_00a6;
}
}
{
int32_t L_14 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_14, /*hidden argument*/NULL);
}
IL_00a6:
{
int32_t* L_15 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_16 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_17 = V_0;
Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5((int32_t*)L_15, ((int32_t)((int32_t)L_16|(int32_t)L_17)), /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_18 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_1 = L_18;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_19 = V_1;
if (!L_19)
{
goto IL_00d4;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_20 = V_1;
NullCheck(L_20);
ContingentProperties_SetCompleted_m3CB1941CBE9F1D241A2AFA4E3F739C98B493E6DE(L_20, /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_21 = V_1;
NullCheck(L_21);
ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900(L_21, /*hidden argument*/NULL);
}
IL_00d4:
{
Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::FinishStageThree()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
__this->set_m_action_5(NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = __this->get_m_parent_8();
if (!L_0)
{
goto IL_003c;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = __this->get_m_parent_8();
NullCheck(L_1);
int32_t L_2 = Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8(L_1, /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_2&(int32_t)8)))
{
goto IL_003c;
}
}
{
int32_t L_3 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (!((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)65535)))&(int32_t)4)))
{
goto IL_003c;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = __this->get_m_parent_8();
NullCheck(L_4);
Task_ProcessChildCompletion_mC85680C81FB2CC825B8525B112630786F41C3B3B(L_4, __this, /*hidden argument*/NULL);
}
IL_003c:
{
Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::ProcessChildCompletion(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ProcessChildCompletion_mC85680C81FB2CC825B8525B112630786F41C3B3B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___childTask0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ProcessChildCompletion_mC85680C81FB2CC825B8525B112630786F41C3B3B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_1 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_2 = NULL;
bool V_3 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = ___childTask0;
NullCheck(L_1);
bool L_2 = Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0060;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = ___childTask0;
NullCheck(L_3);
bool L_4 = Task_get_IsExceptionObservedByParent_mF76B3BAD34F96F98D1A8E8ACFF533728CEA7EE07(L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_0060;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = V_0;
NullCheck(L_5);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_6 = L_5->get_m_exceptionalChildren_7();
il2cpp_codegen_memory_barrier();
if (L_6)
{
goto IL_0035;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_7 = V_0;
NullCheck(L_7);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E ** L_8 = L_7->get_address_of_m_exceptionalChildren_7();
il2cpp_codegen_memory_barrier();
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_9 = (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *)il2cpp_codegen_object_new(List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E_il2cpp_TypeInfo_var);
List_1__ctor_mC06B02C45D781C1EBF33F5D2380FF522713EF33B(L_9, /*hidden argument*/List_1__ctor_mC06B02C45D781C1EBF33F5D2380FF522713EF33B_RuntimeMethod_var);
InterlockedCompareExchangeImpl<List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *>((List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E **)L_8, L_9, (List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *)NULL);
}
IL_0035:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_10 = V_0;
NullCheck(L_10);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_11 = L_10->get_m_exceptionalChildren_7();
il2cpp_codegen_memory_barrier();
V_1 = L_11;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_12 = V_1;
if (!L_12)
{
goto IL_0060;
}
}
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_13 = V_1;
V_2 = L_13;
V_3 = (bool)0;
}
IL_0045:
try
{ // begin try (depth: 1)
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_14 = V_2;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_14, (bool*)(&V_3), /*hidden argument*/NULL);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_15 = V_1;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_16 = ___childTask0;
NullCheck(L_15);
List_1_Add_mAC067166AEB86D01BCC2364DAC32CF05E89AF135(L_15, L_16, /*hidden argument*/List_1_Add_mAC067166AEB86D01BCC2364DAC32CF05E89AF135_RuntimeMethod_var);
IL2CPP_LEAVE(0x60, FINALLY_0056);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0056;
}
FINALLY_0056:
{ // begin finally (depth: 1)
{
bool L_17 = V_3;
if (!L_17)
{
goto IL_005f;
}
}
IL_0059:
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_18 = V_2;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_18, /*hidden argument*/NULL);
}
IL_005f:
{
IL2CPP_END_FINALLY(86)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(86)
{
IL2CPP_JUMP_TBL(0x60, IL_0060)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0060:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_19 = V_0;
NullCheck(L_19);
int32_t* L_20 = L_19->get_address_of_m_completionCountdown_6();
il2cpp_codegen_memory_barrier();
int32_t L_21 = Interlocked_Decrement_m5C38319E41D5F7C90DFEC9138D58E6E92DFAFCFE((int32_t*)L_20, /*hidden argument*/NULL);
if (L_21)
{
goto IL_0073;
}
}
{
Task_FinishStageTwo_mA282DAF0F6678A55ABBBC388218EE1936C93D487(__this, /*hidden argument*/NULL);
}
IL_0073:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::AddExceptionsFromChildren()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddExceptionsFromChildren_mC22CD99033D0071A1CB17FD39752202CE3E31E26 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AddExceptionsFromChildren_mC22CD99033D0071A1CB17FD39752202CE3E31E26_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_1 = NULL;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * V_2 = NULL;
bool V_3 = false;
Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 V_4;
memset((&V_4), 0, sizeof(V_4));
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_5 = NULL;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * V_6 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * G_B3_0 = NULL;
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = V_0;
if (L_1)
{
goto IL_000f;
}
}
{
G_B3_0 = ((List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *)(NULL));
goto IL_0017;
}
IL_000f:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = V_0;
NullCheck(L_2);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_3 = L_2->get_m_exceptionalChildren_7();
il2cpp_codegen_memory_barrier();
G_B3_0 = L_3;
}
IL_0017:
{
V_1 = G_B3_0;
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_4 = V_1;
if (!L_4)
{
goto IL_0099;
}
}
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_5 = V_1;
V_2 = L_5;
V_3 = (bool)0;
}
IL_001f:
try
{ // begin try (depth: 1)
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_6 = V_2;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_6, (bool*)(&V_3), /*hidden argument*/NULL);
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_7 = V_1;
NullCheck(L_7);
Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 L_8 = List_1_GetEnumerator_mFF8F45C64E3BA8B5E05FE814FC09A80F81903598(L_7, /*hidden argument*/List_1_GetEnumerator_mFF8F45C64E3BA8B5E05FE814FC09A80F81903598_RuntimeMethod_var);
V_4 = L_8;
}
IL_002f:
try
{ // begin try (depth: 2)
{
goto IL_006d;
}
IL_0031:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_9 = Enumerator_get_Current_m7225F86A35D26BD382863FC6FE84CAF3DA11CF9F_inline((Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *)(&V_4), /*hidden argument*/Enumerator_get_Current_m7225F86A35D26BD382863FC6FE84CAF3DA11CF9F_RuntimeMethod_var);
V_5 = L_9;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = V_5;
NullCheck(L_10);
bool L_11 = Task_get_IsFaulted_m7337D2694F4BF380C5B8893B4A924D7F0E762A48(L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_006d;
}
}
IL_0043:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = V_5;
NullCheck(L_12);
bool L_13 = Task_get_IsExceptionObservedByParent_mF76B3BAD34F96F98D1A8E8ACFF533728CEA7EE07(L_12, /*hidden argument*/NULL);
if (L_13)
{
goto IL_006d;
}
}
IL_004c:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_14 = V_5;
NullCheck(L_14);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_15 = L_14->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_15);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_16 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_15)->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
V_6 = L_16;
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_17 = V_6;
NullCheck(L_17);
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_18 = TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214(L_17, (bool)0, (Exception_t *)NULL, /*hidden argument*/NULL);
Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54(__this, L_18, /*hidden argument*/NULL);
}
IL_006d:
{
bool L_19 = Enumerator_MoveNext_m5A9F52ABE68EC7C100DB7A788C4B6BBB48358FFD((Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *)(&V_4), /*hidden argument*/Enumerator_MoveNext_m5A9F52ABE68EC7C100DB7A788C4B6BBB48358FFD_RuntimeMethod_var);
if (L_19)
{
goto IL_0031;
}
}
IL_0076:
{
IL2CPP_LEAVE(0x90, FINALLY_0078);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0078;
}
FINALLY_0078:
{ // begin finally (depth: 2)
Enumerator_Dispose_m83CB993D2CC4222537751945D972767270313F45((Enumerator_t09237C45B0676E896BFA29675719D3E7C5D7B718 *)(&V_4), /*hidden argument*/Enumerator_Dispose_m83CB993D2CC4222537751945D972767270313F45_RuntimeMethod_var);
IL2CPP_END_FINALLY(120)
} // end finally (depth: 2)
IL2CPP_CLEANUP(120)
{
IL2CPP_END_CLEANUP(0x90, FINALLY_0086);
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0086;
}
FINALLY_0086:
{ // begin finally (depth: 1)
{
bool L_20 = V_3;
if (!L_20)
{
goto IL_008f;
}
}
IL_0089:
{
List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E * L_21 = V_2;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_21, /*hidden argument*/NULL);
}
IL_008f:
{
IL2CPP_END_FINALLY(134)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(134)
{
IL2CPP_JUMP_TBL(0x90, IL_0090)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0090:
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_22 = V_0;
NullCheck(L_22);
il2cpp_codegen_memory_barrier();
L_22->set_m_exceptionalChildren_7((List_1_tC62C1E1B0AD84992F0A374A5A4679609955E117E *)NULL);
}
IL_0099:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::FinishThreadAbortedTask(System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bTAEAddedToExceptionHolder0, bool ___delegateRan1, const RuntimeMethod* method)
{
{
bool L_0 = ___bTAEAddedToExceptionHolder0;
if (!L_0)
{
goto IL_0018;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_1 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_1);
TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * L_2 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_1)->get_m_exceptionsHolder_2();
il2cpp_codegen_memory_barrier();
NullCheck(L_2);
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(L_2, (bool)0, /*hidden argument*/NULL);
}
IL_0018:
{
bool L_3 = Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)134217728), ((int32_t)157286400), /*hidden argument*/NULL);
if (L_3)
{
goto IL_002b;
}
}
{
return;
}
IL_002b:
{
bool L_4 = ___delegateRan1;
Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F(__this, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::Execute()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * V_0 = NULL;
Exception_t * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_ExecuteSelfReplicating_m04E29BA5B131FD16387C89CACB5B989BE675C1F4(__this, /*hidden argument*/NULL);
return;
}
IL_000f:
{
}
IL_0010:
try
{ // begin try (depth: 1)
VirtActionInvoker0::Invoke(19 /* System.Void System.Threading.Tasks.Task::InnerInvoke() */, __this);
goto IL_003c;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0018;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0032;
throw e;
}
CATCH_0018:
{ // begin catch(System.Threading.ThreadAbortException)
{
V_0 = ((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)__exception_local);
bool L_1 = Task_get_IsChildReplica_m0C8033A1E772EF6829A2F00F9BB58C455D4DC6AA(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0030;
}
}
IL_0021:
{
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * L_2 = V_0;
Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C(__this, L_2, /*hidden argument*/NULL);
Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760(__this, (bool)1, (bool)1, /*hidden argument*/NULL);
}
IL_0030:
{
goto IL_003c;
}
} // end catch (depth: 1)
CATCH_0032:
{ // begin catch(System.Exception)
V_1 = ((Exception_t *)__exception_local);
Exception_t * L_3 = V_1;
Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C(__this, L_3, /*hidden argument*/NULL);
goto IL_003c;
} // end catch (depth: 1)
IL_003c:
{
return;
}
}
// System.Boolean System.Threading.Tasks.Task::ShouldReplicate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_ShouldReplicate_mFF74747243D5972A9ADD3728C0520AE8E41793D0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::CreateReplicaTask(System.Action`1<System.Object>,System.Object,System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_CreateReplicaTask_m7B9111C70A1BF8BA1270121EAF548859CFD48B17 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * ___taskReplicaDelegate0, RuntimeObject * ___stateObject1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___parentTask2, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___taskScheduler3, int32_t ___creationOptionsForReplica4, int32_t ___internalOptionsForReplica5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_CreateReplicaTask_m7B9111C70A1BF8BA1270121EAF548859CFD48B17_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
{
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_0 = ___taskReplicaDelegate0;
RuntimeObject * L_1 = ___stateObject1;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = ___parentTask2;
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_3 = V_0;
int32_t L_4 = ___creationOptionsForReplica4;
int32_t L_5 = ___internalOptionsForReplica5;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = ___parentTask2;
NullCheck(L_6);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_7 = Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline(L_6, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_8 = (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)il2cpp_codegen_object_new(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task__ctor_m0769EBAC32FC56E43AA3EA4697369AD1C68508CC(L_8, L_0, L_1, L_2, L_3, L_4, L_5, L_7, /*hidden argument*/NULL);
return L_8;
}
}
// System.Object System.Threading.Tasks.Task::get_SavedStateForNextReplica()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Task_get_SavedStateForNextReplica_mBD48A8F866C2EEC6F409AD0AB191D6623AA8267F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
return NULL;
}
}
// System.Void System.Threading.Tasks.Task::set_SavedStateFromPreviousReplica(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_set_SavedStateFromPreviousReplica_m7C8551BB9A0EE61AFEAA3AD2815D5AAD137B194C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::get_HandedOverChildReplica()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_HandedOverChildReplica_mD8C135BE510FA91FAD5EB4EF53A1169A9F335E33 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
return (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)NULL;
}
}
// System.Void System.Threading.Tasks.Task::set_HandedOverChildReplica(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_set_HandedOverChildReplica_m08A4FC36FDF21198FBC4DB749C3D1C667C883FD0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___value0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void System.Threading.Tasks.Task::ExecuteSelfReplicating(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ExecuteSelfReplicating_m04E29BA5B131FD16387C89CACB5B989BE675C1F4 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___root0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ExecuteSelfReplicating_m04E29BA5B131FD16387C89CACB5B989BE675C1F4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_0 = (U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass178_0__ctor_mE3AB73DE645CB1E445061A5C3AF7591D19EC1D10(L_0, /*hidden argument*/NULL);
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_1 = L_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = ___root0;
NullCheck(L_1);
L_1->set_root_0(L_2);
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_3 = L_1;
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_4 = L_3;
NullCheck(L_4);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = L_4->get_root_0();
NullCheck(L_5);
int32_t L_6 = Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8(L_5, /*hidden argument*/NULL);
NullCheck(L_4);
L_4->set_creationOptionsForReplicas_3(((int32_t)((int32_t)L_6|(int32_t)4)));
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_7 = L_3;
NullCheck(L_7);
L_7->set_internalOptionsForReplicas_4(((int32_t)10496));
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_8 = L_7;
NullCheck(L_8);
L_8->set_replicasAreQuitting_1((bool)0);
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_9 = L_8;
NullCheck(L_9);
L_9->set_taskReplicaDelegate_2((Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)NULL);
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_10 = L_9;
U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * L_11 = L_10;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_12 = (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)il2cpp_codegen_object_new(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var);
Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510(L_12, L_11, (intptr_t)((intptr_t)U3CU3Ec__DisplayClass178_0_U3CExecuteSelfReplicatingU3Eb__0_mAF07405204F1F6B3977A5E367931D33F38CAB548_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_RuntimeMethod_var);
NullCheck(L_11);
L_11->set_taskReplicaDelegate_2(L_12);
NullCheck(L_10);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_13 = L_10->get_taskReplicaDelegate_2();
NullCheck(L_13);
Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5(L_13, NULL, /*hidden argument*/Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_RuntimeMethod_var);
return;
}
}
// System.Void System.Threading.Tasks.Task::System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_System_Threading_IThreadPoolWorkItem_ExecuteWorkItem_mC1BA43723C6978E65DC754912A25FDF565F2ED05 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::System.Threading.IThreadPoolWorkItem.MarkAborted(System.Threading.ThreadAbortException)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_System_Threading_IThreadPoolWorkItem_MarkAborted_mE30F2902ACC25B4CA9ED103520CA2BFCFD17841F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * ___tae0, const RuntimeMethod* method)
{
{
bool L_0 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0017;
}
}
{
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * L_1 = ___tae0;
Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C(__this, L_1, /*hidden argument*/NULL);
Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760(__this, (bool)1, (bool)0, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.Boolean System.Threading.Tasks.Task::ExecuteEntry(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bPreventDoubleExecution0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
bool L_0 = ___bPreventDoubleExecution0;
if (L_0)
{
goto IL_0011;
}
}
{
int32_t L_1 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_1&(int32_t)((int32_t)2048))))
{
goto IL_0032;
}
}
IL_0011:
{
V_0 = 0;
bool L_2 = Task_AtomicStateUpdate_mC826E87CFCDFFDB8E6225C8D6A7FA0B95AB0C1E0(__this, ((int32_t)131072), ((int32_t)23199744), (int32_t*)(&V_0), /*hidden argument*/NULL);
if (L_2)
{
goto IL_0048;
}
}
{
int32_t L_3 = V_0;
if (((int32_t)((int32_t)L_3&(int32_t)((int32_t)4194304))))
{
goto IL_0048;
}
}
{
return (bool)0;
}
IL_0032:
{
int32_t L_4 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_4|(int32_t)((int32_t)131072))));
}
IL_0048:
{
bool L_5 = Task_get_IsCancellationRequested_mEC0D3452C63A295062E6D2C1FCECA529EC9D1C91(__this, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0065;
}
}
{
bool L_6 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(__this, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0065;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_ExecuteWithThreadLocal_mFF23F3F9C0796B0EE2AC70CB51AD7D2A2867D733(__this, (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 **)(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_address_of_t_currentTask_0()), /*hidden argument*/NULL);
goto IL_0094;
}
IL_0065:
{
bool L_7 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(__this, /*hidden argument*/NULL);
if (L_7)
{
goto IL_0094;
}
}
{
int32_t* L_8 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_9 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_10 = Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5((int32_t*)L_8, ((int32_t)((int32_t)L_9|(int32_t)((int32_t)4194304))), /*hidden argument*/NULL);
if (((int32_t)((int32_t)L_10&(int32_t)((int32_t)4194304))))
{
goto IL_0094;
}
}
{
Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2(__this, /*hidden argument*/NULL);
}
IL_0094:
{
return (bool)1;
}
}
// System.Void System.Threading.Tasks.Task::ExecuteWithThreadLocal(System.Threading.Tasks.Task&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ExecuteWithThreadLocal_mFF23F3F9C0796B0EE2AC70CB51AD7D2A2867D733 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** ___currentTaskSlot0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ExecuteWithThreadLocal_mFF23F3F9C0796B0EE2AC70CB51AD7D2A2867D733_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * V_1 = NULL;
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** L_0 = ___currentTaskSlot0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = *((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 **)L_0);
V_0 = L_1;
}
IL_0003:
try
{ // begin try (depth: 1)
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** L_2 = ___currentTaskSlot0;
*((RuntimeObject **)L_2) = (RuntimeObject *)__this;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_2, (void*)(RuntimeObject *)__this);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_3 = Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1(__this, /*hidden argument*/NULL);
V_1 = L_3;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_4 = V_1;
if (L_4)
{
goto IL_0018;
}
}
IL_0010:
{
Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF(__this, /*hidden argument*/NULL);
goto IL_0059;
}
IL_0018:
{
bool L_5 = Task_get_IsSelfReplicatingRoot_m8E6E3BDE25EE52DCDFF58787B9E81CE7EA7CFA37(__this, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0028;
}
}
IL_0020:
{
bool L_6 = Task_get_IsChildReplica_m0C8033A1E772EF6829A2F00F9BB58C455D4DC6AA(__this, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0034;
}
}
IL_0028:
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_7 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_8 = Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53(L_7, /*hidden argument*/NULL);
Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B(__this, L_8, /*hidden argument*/NULL);
}
IL_0034:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_9 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_ecCallback_20();
V_2 = L_9;
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_10 = V_2;
if (L_10)
{
goto IL_0050;
}
}
IL_003d:
{
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_11 = (ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 *)il2cpp_codegen_object_new(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676_il2cpp_TypeInfo_var);
ContextCallback__ctor_m079F8FC3EE21C47D9FDD09FD90C14BDD34539493(L_11, NULL, (intptr_t)((intptr_t)Task_ExecutionContextCallback_mBF57BB299B4B1FC4E76F5394FDA527B0BD99A4B4_RuntimeMethod_var), /*hidden argument*/NULL);
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_12 = L_11;
V_2 = L_12;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_ecCallback_20(L_12);
}
IL_0050:
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_13 = V_1;
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_14 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_Run_mFF76DDA6501D993EB4A4B79EFDAF1F6476920945(L_13, L_14, __this, (bool)1, /*hidden argument*/NULL);
}
IL_0059:
{
bool L_15 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_15)
{
goto IL_0067;
}
}
IL_0060:
{
AsyncCausalityTracer_TraceSynchronousWorkCompletion_m55EB5CB50B1797EDC8071C3D1BF3FDEB92D5025C(0, 2, /*hidden argument*/NULL);
}
IL_0067:
{
Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F(__this, (bool)1, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x74, FINALLY_0070);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0070;
}
FINALLY_0070:
{ // begin finally (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 ** L_16 = ___currentTaskSlot0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = V_0;
*((RuntimeObject **)L_16) = (RuntimeObject *)L_17;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_16, (void*)(RuntimeObject *)L_17);
IL2CPP_END_FINALLY(112)
} // end finally (depth: 1)
IL2CPP_CLEANUP(112)
{
IL2CPP_JUMP_TBL(0x74, IL_0074)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0074:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::ExecutionContextCallback(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ExecutionContextCallback_mBF57BB299B4B1FC4E76F5394FDA527B0BD99A4B4 (RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ExecutionContextCallback_mBF57BB299B4B1FC4E76F5394FDA527B0BD99A4B4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___obj0;
NullCheck(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var)));
Task_Execute_mF91032F33896912C3A3CC6A568220EBC5D439CFF(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::InnerInvoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_InnerInvoke_m6FFFFD064498002E4FA34012E770F1C71FCCF98A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_InnerInvoke_m6FFFFD064498002E4FA34012E770F1C71FCCF98A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * V_0 = NULL;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * V_1 = NULL;
{
RuntimeObject * L_0 = __this->get_m_action_5();
V_0 = ((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)IsInstSealed((RuntimeObject*)L_0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var));
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_1 = V_0;
if (!L_1)
{
goto IL_0016;
}
}
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_2 = V_0;
NullCheck(L_2);
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(L_2, /*hidden argument*/NULL);
return;
}
IL_0016:
{
RuntimeObject * L_3 = __this->get_m_action_5();
V_1 = ((Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)IsInstSealed((RuntimeObject*)L_3, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var));
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_4 = V_1;
if (!L_4)
{
goto IL_0032;
}
}
{
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_5 = V_1;
RuntimeObject * L_6 = __this->get_m_stateObject_6();
NullCheck(L_5);
Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5(L_5, L_6, /*hidden argument*/Action_1_Invoke_mB86FC1B303E77C41ED0E94FC3592A9CF8DA571D5_RuntimeMethod_var);
return;
}
IL_0032:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::InnerInvokeWithArg(System.Threading.Tasks.Task)
IL2CPP_DISABLE_OPTIMIZATIONS
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Task_InnerInvokeWithArg_m8313756145BF2BCE95AA05D0B896E4780788DD86 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___childTask0, const RuntimeMethod* method)
{
{
VirtActionInvoker0::Invoke(19 /* System.Void System.Threading.Tasks.Task::InnerInvoke() */, __this);
return;
}
}
IL2CPP_ENABLE_OPTIMIZATIONS
// System.Void System.Threading.Tasks.Task::HandleException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Exception_t * ___unhandledException0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * V_0 = NULL;
{
Exception_t * L_0 = ___unhandledException0;
V_0 = ((OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 *)IsInstClass((RuntimeObject*)L_0, OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90_il2cpp_TypeInfo_var));
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * L_1 = V_0;
if (!L_1)
{
goto IL_003b;
}
}
{
bool L_2 = Task_get_IsCancellationRequested_mEC0D3452C63A295062E6D2C1FCECA529EC9D1C91(__this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_003b;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
NullCheck(L_3);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = ((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_3)->get_m_cancellationToken_3();
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * L_5 = V_0;
NullCheck(L_5);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_6 = OperationCanceledException_get_CancellationToken_mE0079552C3600A6DB8324958CA288DB19AF05B66_inline(L_5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_il2cpp_TypeInfo_var);
bool L_7 = CancellationToken_op_Equality_m21CD07CDD7FE9C6920F3806BE460A35DC4A0332D(L_4, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_003b;
}
}
{
Task_SetCancellationAcknowledged_m5C4A001B268D335A8AAD044071B8DDD5C3024EF5(__this, /*hidden argument*/NULL);
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * L_8 = V_0;
Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E(__this, L_8, (bool)1, /*hidden argument*/NULL);
return;
}
IL_003b:
{
Exception_t * L_9 = ___unhandledException0;
Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54(__this, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Runtime.CompilerServices.TaskAwaiter System.Threading.Tasks.Task::GetAwaiter()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F Task_GetAwaiter_m73027D5E4C16E961C658B83526BED8E32FD2AC6C (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F L_0;
memset((&L_0), 0, sizeof(L_0));
TaskAwaiter__ctor_m097495CE8729E030CC08F2C46FEA4BAD6AD4228B_inline((&L_0), __this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Runtime.CompilerServices.ConfiguredTaskAwaitable System.Threading.Tasks.Task::ConfigureAwait(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 Task_ConfigureAwait_m2FB91172F9031B0CC520D9D09B658ACC5FD6CE02 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___continueOnCapturedContext0, const RuntimeMethod* method)
{
{
bool L_0 = ___continueOnCapturedContext0;
ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 L_1;
memset((&L_1), 0, sizeof(L_1));
ConfiguredTaskAwaitable__ctor_m8FEE38F1343FC69A8D97E4FFB076E6377592693F((&L_1), __this, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void System.Threading.Tasks.Task::SetContinuationForAwait(System.Action,System.Boolean,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_SetContinuationForAwait_m61A00AF4A1112055BAC121B40C9B357B953EEB94 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___continuationAction0, bool ___continueOnCapturedContext1, bool ___flowExecutionContext2, int32_t* ___stackMark3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_SetContinuationForAwait_m61A00AF4A1112055BAC121B40C9B357B953EEB94_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * V_0 = NULL;
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * V_1 = NULL;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * V_2 = NULL;
{
V_0 = (TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)NULL;
bool L_0 = ___continueOnCapturedContext1;
if (!L_0)
{
goto IL_004e;
}
}
{
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * L_1 = SynchronizationContext_get_CurrentNoFlow_m27FCFE7342796044E2ADD701D2E86F2517D64194(/*hidden argument*/NULL);
V_1 = L_1;
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * L_2 = V_1;
if (!L_2)
{
goto IL_0032;
}
}
{
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * L_3 = V_1;
NullCheck(L_3);
Type_t * L_4 = Object_GetType_m2E0B62414ECCAA3094B703790CE88CBB2F83EA60(L_3, /*hidden argument*/NULL);
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_5 = { reinterpret_cast<intptr_t> (SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_6 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_5, /*hidden argument*/NULL);
bool L_7 = Type_op_Inequality_m615014191FB05FD50F63A24EB9A6CCA785E7CEC9(L_4, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0032;
}
}
{
SynchronizationContext_t06AEFE2C7CFCFC242D0A5729A74464AF18CF84E7 * L_8 = V_1;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_9 = ___continuationAction0;
bool L_10 = ___flowExecutionContext2;
int32_t* L_11 = ___stackMark3;
SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE * L_12 = (SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE *)il2cpp_codegen_object_new(SynchronizationContextAwaitTaskContinuation_tB493909736544B54BD250AC8DB4D2343FBE581FE_il2cpp_TypeInfo_var);
SynchronizationContextAwaitTaskContinuation__ctor_m050FFB1926E4E85CF18607F93821E1CDA6308A4E(L_12, L_8, L_9, L_10, (int32_t*)L_11, /*hidden argument*/NULL);
V_0 = L_12;
goto IL_004e;
}
IL_0032:
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_13 = TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C(/*hidden argument*/NULL);
V_2 = L_13;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_14 = V_2;
if (!L_14)
{
goto IL_004e;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_15 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_16 = TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_15) == ((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_16)))
{
goto IL_004e;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_17 = V_2;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_18 = ___continuationAction0;
bool L_19 = ___flowExecutionContext2;
int32_t* L_20 = ___stackMark3;
TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * L_21 = (TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 *)il2cpp_codegen_object_new(TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6_il2cpp_TypeInfo_var);
TaskSchedulerAwaitTaskContinuation__ctor_m173C68019B0FDEB8F679AED48DDD37B4DD9ED470(L_21, L_17, L_18, L_19, (int32_t*)L_20, /*hidden argument*/NULL);
V_0 = L_21;
}
IL_004e:
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_22 = V_0;
bool L_23 = ___flowExecutionContext2;
if (!((int32_t)((int32_t)((((RuntimeObject*)(TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)L_22) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)&(int32_t)L_23)))
{
goto IL_0060;
}
}
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_24 = ___continuationAction0;
int32_t* L_25 = ___stackMark3;
AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F * L_26 = (AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F *)il2cpp_codegen_object_new(AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F_il2cpp_TypeInfo_var);
AwaitTaskContinuation__ctor_mBEDA16F5D33081AF421A009449B3A1D2B0A0121A(L_26, L_24, (bool)1, (int32_t*)L_25, /*hidden argument*/NULL);
V_0 = L_26;
}
IL_0060:
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_27 = V_0;
if (!L_27)
{
goto IL_0076;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_28 = V_0;
bool L_29 = Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0(__this, L_28, (bool)0, /*hidden argument*/NULL);
if (L_29)
{
goto IL_0087;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_30 = V_0;
NullCheck(L_30);
VirtActionInvoker2< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(4 /* System.Void System.Threading.Tasks.TaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean) */, L_30, __this, (bool)0);
return;
}
IL_0076:
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_31 = ___continuationAction0;
bool L_32 = Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0(__this, L_31, (bool)0, /*hidden argument*/NULL);
if (L_32)
{
goto IL_0087;
}
}
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_33 = ___continuationAction0;
AwaitTaskContinuation_UnsafeScheduleAction_m6FE5A227F1E782EC26CA755419E7CE146B43FF4B(L_33, __this, /*hidden argument*/NULL);
}
IL_0087:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::Wait()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_Wait_m7793234C16E5D2B719519CE3C55653EA4D1A815A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
{
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = V_0;
Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72(__this, (-1), L_0, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Tasks.Task::Wait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___millisecondsTimeout0;
if ((((int32_t)L_0) >= ((int32_t)(-1))))
{
goto IL_000f;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_1, _stringLiteral9D9BED981884AC3D4D16BF22ED725A5686CEF15B, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_Wait_m937DA145B3571DD253A6FB99CBC824F0839FDA72_RuntimeMethod_var);
}
IL_000f:
{
bool L_2 = Task_get_IsWaitNotificationEnabledOrNotRanToCompletion_mEC26269ABD71D03847D81120160D2106C2B3D581_inline(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0019;
}
}
{
return (bool)1;
}
IL_0019:
{
int32_t L_3 = ___millisecondsTimeout0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = ___cancellationToken1;
bool L_5 = Task_InternalWait_m7F1436A365C066C8D9BDEB6740118206B0EFAD45(__this, L_3, L_4, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0025;
}
}
{
return (bool)0;
}
IL_0025:
{
bool L_6 = Task_get_IsWaitNotificationEnabledOrNotRanToCompletion_mEC26269ABD71D03847D81120160D2106C2B3D581_inline(__this, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004a;
}
}
{
Task_NotifyDebuggerOfWaitCompletionIfNecessary_m71ACB838EB1988C1436F99C7EB0C819D9F025E2A(__this, /*hidden argument*/NULL);
bool L_7 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(__this, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0043;
}
}
{
CancellationToken_ThrowIfCancellationRequested_m13AB667F961F83D8ED759BA402325638F43B0938((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken1), /*hidden argument*/NULL);
}
IL_0043:
{
Task_ThrowIfExceptional_m57A30F74DDD3039C2EB41FA235A897626CE23A37(__this, (bool)1, /*hidden argument*/NULL);
}
IL_004a:
{
return (bool)1;
}
}
// System.Boolean System.Threading.Tasks.Task::WrappedTryRunInline()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Exception_t * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = __this->get_m_taskScheduler_7();
if (L_0)
{
goto IL_000a;
}
}
{
return (bool)0;
}
IL_000a:
{
}
IL_000b:
try
{ // begin try (depth: 1)
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = __this->get_m_taskScheduler_7();
NullCheck(L_1);
bool L_2 = TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B(L_1, __this, (bool)1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_002d;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_001b;
throw e;
}
CATCH_001b:
{ // begin catch(System.Exception)
{
V_1 = ((Exception_t *)__exception_local);
Exception_t * L_3 = V_1;
if (((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_3, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_002b;
}
}
IL_0024:
{
Exception_t * L_4 = V_1;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_5 = (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 *)il2cpp_codegen_object_new(TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var);
TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B_RuntimeMethod_var);
}
IL_002b:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_002d:
{
bool L_6 = V_0;
return L_6;
}
}
// System.Boolean System.Threading.Tasks.Task::InternalWait(System.Int32,System.Threading.CancellationToken)
IL2CPP_DISABLE_OPTIMIZATIONS
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_InternalWait_m7F1436A365C066C8D9BDEB6740118206B0EFAD45 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_InternalWait_m7F1436A365C066C8D9BDEB6740118206B0EFAD45_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
bool L_0 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = V_0;
if (L_1)
{
goto IL_0039;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debugger_t3DB04278A3AA5DF846CC56744D05F18B7037C22E_il2cpp_TypeInfo_var);
Debugger_NotifyOfCrossThreadDependency_m8387594B996D7068C44BA22E2D85266D3BAF4307(/*hidden argument*/NULL);
int32_t L_2 = ___millisecondsTimeout0;
if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
{
goto IL_0030;
}
}
{
bool L_3 = CancellationToken_get_CanBeCanceled_m485B6A386A628048A15D607330E91582012C59EF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken1), /*hidden argument*/NULL);
if (L_3)
{
goto IL_0030;
}
}
{
bool L_4 = Task_WrappedTryRunInline_m6F79A792A8ADAAB725796FA1144A67AB82B0AF1B(__this, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0030;
}
}
{
bool L_5 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0030;
}
}
{
V_0 = (bool)1;
goto IL_0039;
}
IL_0030:
{
int32_t L_6 = ___millisecondsTimeout0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_7 = ___cancellationToken1;
bool L_8 = Task_SpinThenBlockingWait_mBAB3ADF8D2F624A0DC70F6BE0D7C2B0E291E635F(__this, L_6, L_7, /*hidden argument*/NULL);
V_0 = L_8;
}
IL_0039:
{
bool L_9 = V_0;
return L_9;
}
}
IL2CPP_ENABLE_OPTIMIZATIONS
// System.Boolean System.Threading.Tasks.Task::SpinThenBlockingWait(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_SpinThenBlockingWait_mBAB3ADF8D2F624A0DC70F6BE0D7C2B0E291E635F (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_SpinThenBlockingWait_mBAB3ADF8D2F624A0DC70F6BE0D7C2B0E291E635F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
uint32_t V_1 = 0;
bool V_2 = false;
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * V_3 = NULL;
uint32_t V_4 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B3_0 = 0;
{
int32_t L_0 = ___millisecondsTimeout0;
V_0 = (bool)((((int32_t)L_0) == ((int32_t)(-1)))? 1 : 0);
bool L_1 = V_0;
if (L_1)
{
goto IL_000f;
}
}
{
int32_t L_2 = Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C(/*hidden argument*/NULL);
G_B3_0 = L_2;
goto IL_0010;
}
IL_000f:
{
G_B3_0 = 0;
}
IL_0010:
{
V_1 = G_B3_0;
int32_t L_3 = ___millisecondsTimeout0;
bool L_4 = Task_SpinWait_mE21B8AFD42111D5E49A949853AAF5576AAAFB93A(__this, L_3, /*hidden argument*/NULL);
V_2 = L_4;
bool L_5 = V_2;
if (L_5)
{
goto IL_0069;
}
}
{
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * L_6 = (SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 *)il2cpp_codegen_object_new(SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9_il2cpp_TypeInfo_var);
SetOnInvokeMres__ctor_m5687AFB1292311BE5361EDDC64D893359D4DA8BD(L_6, /*hidden argument*/NULL);
V_3 = L_6;
}
IL_0022:
try
{ // begin try (depth: 1)
{
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * L_7 = V_3;
Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580(__this, L_7, (bool)1, /*hidden argument*/NULL);
bool L_8 = V_0;
if (!L_8)
{
goto IL_0038;
}
}
IL_002d:
{
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * L_9 = V_3;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_10 = ___cancellationToken1;
NullCheck(L_9);
bool L_11 = ManualResetEventSlim_Wait_mBBC47852C86E2A3D08FADAF3DE0588A2CE720B2F(L_9, (-1), L_10, /*hidden argument*/NULL);
V_2 = L_11;
IL2CPP_LEAVE(0x69, FINALLY_0059);
}
IL_0038:
{
int32_t L_12 = Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C(/*hidden argument*/NULL);
uint32_t L_13 = V_1;
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)L_13));
uint32_t L_14 = V_4;
int32_t L_15 = ___millisecondsTimeout0;
if ((((int64_t)(((int64_t)((uint64_t)L_14)))) >= ((int64_t)(((int64_t)((int64_t)L_15))))))
{
goto IL_0057;
}
}
IL_0048:
{
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * L_16 = V_3;
int32_t L_17 = ___millisecondsTimeout0;
uint32_t L_18 = V_4;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_19 = ___cancellationToken1;
NullCheck(L_16);
bool L_20 = ManualResetEventSlim_Wait_mBBC47852C86E2A3D08FADAF3DE0588A2CE720B2F(L_16, (((int32_t)((int32_t)((int64_t)il2cpp_codegen_subtract((int64_t)(((int64_t)((int64_t)L_17))), (int64_t)(((int64_t)((uint64_t)L_18)))))))), L_19, /*hidden argument*/NULL);
V_2 = L_20;
}
IL_0057:
{
IL2CPP_LEAVE(0x69, FINALLY_0059);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0059;
}
FINALLY_0059:
{ // begin finally (depth: 1)
{
bool L_21 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (L_21)
{
goto IL_0068;
}
}
IL_0061:
{
SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * L_22 = V_3;
Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4(__this, L_22, /*hidden argument*/NULL);
}
IL_0068:
{
IL2CPP_END_FINALLY(89)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(89)
{
IL2CPP_JUMP_TBL(0x69, IL_0069)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0069:
{
bool L_23 = V_2;
return L_23;
}
}
// System.Boolean System.Threading.Tasks.Task::SpinWait(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_SpinWait_mE21B8AFD42111D5E49A949853AAF5576AAAFB93A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, int32_t ___millisecondsTimeout0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t G_B7_0 = 0;
{
bool L_0 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
int32_t L_1 = ___millisecondsTimeout0;
if (L_1)
{
goto IL_000f;
}
}
{
return (bool)0;
}
IL_000f:
{
bool L_2 = PlatformHelper_get_IsSingleProcessor_m87507D435831F72BC807223D20139EE006CC3106(/*hidden argument*/NULL);
if (L_2)
{
goto IL_001a;
}
}
{
G_B7_0 = ((int32_t)10);
goto IL_001b;
}
IL_001a:
{
G_B7_0 = 1;
}
IL_001b:
{
V_0 = G_B7_0;
V_1 = 0;
goto IL_004d;
}
IL_0020:
{
bool L_3 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_002a;
}
}
{
return (bool)1;
}
IL_002a:
{
int32_t L_4 = V_1;
int32_t L_5 = V_0;
if ((!(((uint32_t)L_4) == ((uint32_t)((int32_t)((int32_t)L_5/(int32_t)2))))))
{
goto IL_0038;
}
}
{
Thread_Yield_m04E310FE49602AEB72AE630E371CFAC36AAA718B(/*hidden argument*/NULL);
goto IL_0049;
}
IL_0038:
{
int32_t L_6 = PlatformHelper_get_ProcessorCount_mED31378FF99FA52193863291A42F4EA623F62E13(/*hidden argument*/NULL);
int32_t L_7 = V_1;
Thread_SpinWait_m78B41D34DB11B07C0E7776FD3150DFB10AC63BB4(((int32_t)il2cpp_codegen_multiply((int32_t)L_6, (int32_t)((int32_t)((int32_t)4<<(int32_t)((int32_t)((int32_t)L_7&(int32_t)((int32_t)31))))))), /*hidden argument*/NULL);
}
IL_0049:
{
int32_t L_8 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_004d:
{
int32_t L_9 = V_1;
int32_t L_10 = V_0;
if ((((int32_t)L_9) < ((int32_t)L_10)))
{
goto IL_0020;
}
}
{
bool L_11 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
return L_11;
}
}
// System.Boolean System.Threading.Tasks.Task::InternalCancel(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, bool ___bCancelNonExecutingOnly0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * V_2 = NULL;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * V_3 = NULL;
bool V_4 = false;
Exception_t * V_5 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B5_0 = 0;
int32_t G_B13_0 = 0;
{
V_0 = (bool)0;
V_1 = (bool)0;
V_2 = (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 *)NULL;
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)65536))))
{
goto IL_007d;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = __this->get_m_taskScheduler_7();
V_3 = L_1;
}
IL_001d:
try
{ // begin try (depth: 1)
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = V_3;
if (!L_2)
{
goto IL_0029;
}
}
IL_0020:
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_3 = V_3;
NullCheck(L_3);
bool L_4 = VirtFuncInvoker1< bool, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(6 /* System.Boolean System.Threading.Tasks.TaskScheduler::TryDequeue(System.Threading.Tasks.Task) */, L_3, __this);
G_B5_0 = ((int32_t)(L_4));
goto IL_002a;
}
IL_0029:
{
G_B5_0 = 0;
}
IL_002a:
{
V_0 = (bool)G_B5_0;
goto IL_0042;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_002d;
throw e;
}
CATCH_002d:
{ // begin catch(System.Exception)
{
V_5 = ((Exception_t *)__exception_local);
Exception_t * L_5 = V_5;
if (((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_5, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_0040;
}
}
IL_0038:
{
Exception_t * L_6 = V_5;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_7 = (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 *)il2cpp_codegen_object_new(TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var);
TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63(L_7, L_6, /*hidden argument*/NULL);
V_2 = L_7;
}
IL_0040:
{
goto IL_0042;
}
} // end catch (depth: 1)
IL_0042:
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_8 = V_3;
if (!L_8)
{
goto IL_004d;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_9 = V_3;
NullCheck(L_9);
bool L_10 = VirtFuncInvoker0< bool >::Invoke(8 /* System.Boolean System.Threading.Tasks.TaskScheduler::get_RequiresAtomicStartTransition() */, L_9);
if (L_10)
{
goto IL_005e;
}
}
IL_004d:
{
int32_t L_11 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(__this, /*hidden argument*/NULL);
G_B13_0 = ((!(((uint32_t)((int32_t)((int32_t)L_11&(int32_t)((int32_t)2048)))) <= ((uint32_t)0)))? 1 : 0);
goto IL_005f;
}
IL_005e:
{
G_B13_0 = 1;
}
IL_005f:
{
V_4 = (bool)G_B13_0;
bool L_12 = V_0;
bool L_13 = ___bCancelNonExecutingOnly0;
bool L_14 = V_4;
if (!((int32_t)((int32_t)((int32_t)((int32_t)((((int32_t)L_12) == ((int32_t)0))? 1 : 0)&(int32_t)L_13))&(int32_t)L_14)))
{
goto IL_007d;
}
}
{
bool L_15 = Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)4194304), ((int32_t)4325376), /*hidden argument*/NULL);
V_1 = L_15;
}
IL_007d:
{
bool L_16 = ___bCancelNonExecutingOnly0;
bool L_17 = V_0;
bool L_18 = V_1;
if (!((int32_t)((int32_t)((int32_t)((int32_t)((((int32_t)L_16) == ((int32_t)0))? 1 : 0)|(int32_t)L_17))|(int32_t)L_18)))
{
goto IL_00d0;
}
}
{
Task_RecordInternalCancellationRequest_m3438B1196A36F51DBC6585D4824CFD492851A395(__this, /*hidden argument*/NULL);
bool L_19 = V_0;
if (!L_19)
{
goto IL_00a3;
}
}
{
bool L_20 = Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)4194304), ((int32_t)4325376), /*hidden argument*/NULL);
V_1 = L_20;
goto IL_00c7;
}
IL_00a3:
{
bool L_21 = V_1;
if (L_21)
{
goto IL_00c7;
}
}
{
int32_t L_22 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (((int32_t)((int32_t)L_22&(int32_t)((int32_t)65536))))
{
goto IL_00c7;
}
}
{
bool L_23 = Task_AtomicStateUpdate_m8453A8B2D404F085626BC0BCFCB2593AA373F530(__this, ((int32_t)4194304), ((int32_t)23265280), /*hidden argument*/NULL);
V_1 = L_23;
}
IL_00c7:
{
bool L_24 = V_1;
if (!L_24)
{
goto IL_00d0;
}
}
{
Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2(__this, /*hidden argument*/NULL);
}
IL_00d0:
{
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_25 = V_2;
if (!L_25)
{
goto IL_00d5;
}
}
{
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_26 = V_2;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_26, NULL, Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D_RuntimeMethod_var);
}
IL_00d5:
{
bool L_27 = V_1;
return L_27;
}
}
// System.Void System.Threading.Tasks.Task::RecordInternalCancellationRequest()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RecordInternalCancellationRequest_m3438B1196A36F51DBC6585D4824CFD492851A395 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = Task_EnsureContingentPropertiesInitialized_mFEF35F7CCA43B6FC6843167E62779F6C09100475(__this, (bool)1, /*hidden argument*/NULL);
NullCheck(L_0);
il2cpp_codegen_memory_barrier();
L_0->set_m_internalCancellationRequested_5(1);
return;
}
}
// System.Void System.Threading.Tasks.Task::RecordInternalCancellationRequest(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RecordInternalCancellationRequest_m4FA35104DF2C193AC71BD6B1AD951684B9F5E8C3 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___tokenToRecord0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_RecordInternalCancellationRequest_m4FA35104DF2C193AC71BD6B1AD951684B9F5E8C3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
{
Task_RecordInternalCancellationRequest_m3438B1196A36F51DBC6585D4824CFD492851A395(__this, /*hidden argument*/NULL);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = ___tokenToRecord0;
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB_il2cpp_TypeInfo_var);
bool L_2 = CancellationToken_op_Inequality_mF123C167BD2B2C2FD542C282C0968790E400C540(L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0025;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = ___tokenToRecord0;
NullCheck(L_3);
((ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)L_3)->set_m_cancellationToken_3(L_4);
}
IL_0025:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::RecordInternalCancellationRequest(System.Threading.CancellationToken,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RecordInternalCancellationRequest_m013F01E4EAD86112C78A242191F3A3887F0A15BB (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___tokenToRecord0, RuntimeObject * ___cancellationException1, const RuntimeMethod* method)
{
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = ___tokenToRecord0;
Task_RecordInternalCancellationRequest_m4FA35104DF2C193AC71BD6B1AD951684B9F5E8C3(__this, L_0, /*hidden argument*/NULL);
RuntimeObject * L_1 = ___cancellationException1;
if (!L_1)
{
goto IL_0012;
}
}
{
RuntimeObject * L_2 = ___cancellationException1;
Task_AddException_mE85F41BF5164A62313993DB0EB1FDAF1B7A53D5E(__this, L_2, (bool)1, /*hidden argument*/NULL);
}
IL_0012:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::CancellationCleanupLogic()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_CancellationCleanupLogic_m85636A9F2412CDC73F9CFC7CEB87A3C48ECF6BB2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * V_0 = NULL;
{
int32_t* L_0 = __this->get_address_of_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
int32_t L_1 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5((int32_t*)L_0, ((int32_t)((int32_t)L_1|(int32_t)((int32_t)4194304))), /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_2 = __this->get_m_contingentProperties_15();
il2cpp_codegen_memory_barrier();
V_0 = L_2;
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_3 = V_0;
if (!L_3)
{
goto IL_0032;
}
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_4 = V_0;
NullCheck(L_4);
ContingentProperties_SetCompleted_m3CB1941CBE9F1D241A2AFA4E3F739C98B493E6DE(L_4, /*hidden argument*/NULL);
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_5 = V_0;
NullCheck(L_5);
ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900(L_5, /*hidden argument*/NULL);
}
IL_0032:
{
bool L_6 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_6)
{
goto IL_0046;
}
}
{
int32_t L_7 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_7, 2, /*hidden argument*/NULL);
}
IL_0046:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_8 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_8)
{
goto IL_0058;
}
}
{
int32_t L_9 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_9, /*hidden argument*/NULL);
}
IL_0058:
{
Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::SetCancellationAcknowledged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_SetCancellationAcknowledged_m5C4A001B268D335A8AAD044071B8DDD5C3024EF5 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_stateFlags_9(((int32_t)((int32_t)L_0|(int32_t)((int32_t)1048576))));
return;
}
}
// System.Void System.Threading.Tasks.Task::FinishContinuations()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
bool V_1 = false;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * V_2 = NULL;
RuntimeObject* V_3 = NULL;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * V_4 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_5 = NULL;
int32_t V_6 = 0;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_7 = NULL;
bool V_8 = false;
int32_t V_9 = 0;
StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * V_10 = NULL;
int32_t V_11 = 0;
RuntimeObject * V_12 = NULL;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * V_13 = NULL;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * V_14 = NULL;
RuntimeObject* V_15 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B7_0 = 0;
{
RuntimeObject ** L_0 = __this->get_address_of_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_1 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCompletionSentinel_11();
RuntimeObject * L_2 = Interlocked_Exchange_m3D17D94F59C9010A3116C2016D1C066E54049E38((RuntimeObject **)L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
RuntimeObject * L_3 = V_0;
if (!L_3)
{
goto IL_01ca;
}
}
{
bool L_4 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_4)
{
goto IL_002b;
}
}
{
int32_t L_5 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceSynchronousWorkStart_m1A1EE1813BE623AF47CA240A8DA14DAE98A6279D(0, L_5, 0, /*hidden argument*/NULL);
}
IL_002b:
{
int32_t L_6 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (((int32_t)((int32_t)L_6&(int32_t)((int32_t)134217728))))
{
goto IL_005c;
}
}
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_7 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_7);
int32_t L_8 = Thread_get_ThreadState_m8F398B10B485BC5FC7499B53452230A604989C10(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)((int32_t)128))))
{
goto IL_005c;
}
}
{
int32_t L_9 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
G_B7_0 = ((((int32_t)((int32_t)((int32_t)L_9&(int32_t)((int32_t)64)))) == ((int32_t)0))? 1 : 0);
goto IL_005d;
}
IL_005c:
{
G_B7_0 = 0;
}
IL_005d:
{
V_1 = (bool)G_B7_0;
RuntimeObject * L_10 = V_0;
V_2 = ((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)IsInstSealed((RuntimeObject*)L_10, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var));
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_11 = V_2;
if (!L_11)
{
goto IL_007b;
}
}
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_12 = V_2;
bool L_13 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101(L_12, L_13, (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 **)(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_address_of_t_currentTask_0()), /*hidden argument*/NULL);
Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9(__this, /*hidden argument*/NULL);
return;
}
IL_007b:
{
RuntimeObject * L_14 = V_0;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_14, ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var));
RuntimeObject* L_15 = V_3;
if (!L_15)
{
goto IL_00a5;
}
}
{
bool L_16 = V_1;
if (!L_16)
{
goto IL_0091;
}
}
{
RuntimeObject* L_17 = V_3;
NullCheck(L_17);
InterfaceActionInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(0 /* System.Void System.Threading.Tasks.ITaskCompletionAction::Invoke(System.Threading.Tasks.Task) */, ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var, L_17, __this);
goto IL_009e;
}
IL_0091:
{
RuntimeObject* L_18 = V_3;
CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C * L_19 = (CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C *)il2cpp_codegen_object_new(CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C_il2cpp_TypeInfo_var);
CompletionActionInvoker__ctor_m99DE9FFDBB3B8A79C61EA35DDE340DF5FB54F158(L_19, L_18, __this, /*hidden argument*/NULL);
ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568(L_19, (bool)0, /*hidden argument*/NULL);
}
IL_009e:
{
Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9(__this, /*hidden argument*/NULL);
return;
}
IL_00a5:
{
RuntimeObject * L_20 = V_0;
V_4 = ((TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)IsInstClass((RuntimeObject*)L_20, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9_il2cpp_TypeInfo_var));
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_21 = V_4;
if (!L_21)
{
goto IL_00c1;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_22 = V_4;
bool L_23 = V_1;
NullCheck(L_22);
VirtActionInvoker2< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(4 /* System.Void System.Threading.Tasks.TaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean) */, L_22, __this, L_23);
Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9(__this, /*hidden argument*/NULL);
return;
}
IL_00c1:
{
RuntimeObject * L_24 = V_0;
V_5 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)IsInstClass((RuntimeObject*)L_24, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_25 = V_5;
if (L_25)
{
goto IL_00d4;
}
}
{
Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9(__this, /*hidden argument*/NULL);
return;
}
IL_00d4:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_26 = V_5;
V_7 = L_26;
V_8 = (bool)0;
}
IL_00db:
try
{ // begin try (depth: 1)
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_27 = V_7;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_27, (bool*)(&V_8), /*hidden argument*/NULL);
IL2CPP_LEAVE(0xF2, FINALLY_00e6);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00e6;
}
FINALLY_00e6:
{ // begin finally (depth: 1)
{
bool L_28 = V_8;
if (!L_28)
{
goto IL_00f1;
}
}
IL_00ea:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_29 = V_7;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_29, /*hidden argument*/NULL);
}
IL_00f1:
{
IL2CPP_END_FINALLY(230)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(230)
{
IL2CPP_JUMP_TBL(0xF2, IL_00f2)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00f2:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_30 = V_5;
NullCheck(L_30);
int32_t L_31 = List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_inline(L_30, /*hidden argument*/List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_RuntimeMethod_var);
V_6 = L_31;
V_9 = 0;
goto IL_013c;
}
IL_0100:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_32 = V_5;
int32_t L_33 = V_9;
NullCheck(L_32);
RuntimeObject * L_34 = List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_inline(L_32, L_33, /*hidden argument*/List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_RuntimeMethod_var);
V_10 = ((StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC *)IsInstClass((RuntimeObject*)L_34, StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC_il2cpp_TypeInfo_var));
StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * L_35 = V_10;
if (!L_35)
{
goto IL_0136;
}
}
{
StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * L_36 = V_10;
NullCheck(L_36);
int32_t L_37 = L_36->get_m_options_1();
if (((int32_t)((int32_t)L_37&(int32_t)((int32_t)524288))))
{
goto IL_0136;
}
}
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_38 = V_5;
int32_t L_39 = V_9;
NullCheck(L_38);
List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E(L_38, L_39, NULL, /*hidden argument*/List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_RuntimeMethod_var);
StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * L_40 = V_10;
bool L_41 = V_1;
NullCheck(L_40);
VirtActionInvoker2< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(4 /* System.Void System.Threading.Tasks.TaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean) */, L_40, __this, L_41);
}
IL_0136:
{
int32_t L_42 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
}
IL_013c:
{
int32_t L_43 = V_9;
int32_t L_44 = V_6;
if ((((int32_t)L_43) < ((int32_t)L_44)))
{
goto IL_0100;
}
}
{
V_11 = 0;
goto IL_01be;
}
IL_0147:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_45 = V_5;
int32_t L_46 = V_11;
NullCheck(L_45);
RuntimeObject * L_47 = List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_inline(L_45, L_46, /*hidden argument*/List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_RuntimeMethod_var);
V_12 = L_47;
RuntimeObject * L_48 = V_12;
if (!L_48)
{
goto IL_01b8;
}
}
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_49 = V_5;
int32_t L_50 = V_11;
NullCheck(L_49);
List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E(L_49, L_50, NULL, /*hidden argument*/List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_RuntimeMethod_var);
RuntimeObject * L_51 = V_12;
V_13 = ((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)IsInstSealed((RuntimeObject*)L_51, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var));
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_52 = V_13;
if (!L_52)
{
goto IL_017c;
}
}
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_53 = V_13;
bool L_54 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101(L_53, L_54, (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 **)(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_address_of_t_currentTask_0()), /*hidden argument*/NULL);
goto IL_01b8;
}
IL_017c:
{
RuntimeObject * L_55 = V_12;
V_14 = ((TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)IsInstClass((RuntimeObject*)L_55, TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9_il2cpp_TypeInfo_var));
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_56 = V_14;
if (!L_56)
{
goto IL_0194;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_57 = V_14;
bool L_58 = V_1;
NullCheck(L_57);
VirtActionInvoker2< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(4 /* System.Void System.Threading.Tasks.TaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean) */, L_57, __this, L_58);
goto IL_01b8;
}
IL_0194:
{
RuntimeObject * L_59 = V_12;
V_15 = ((RuntimeObject*)Castclass((RuntimeObject*)L_59, ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var));
bool L_60 = V_1;
if (!L_60)
{
goto IL_01aa;
}
}
{
RuntimeObject* L_61 = V_15;
NullCheck(L_61);
InterfaceActionInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(0 /* System.Void System.Threading.Tasks.ITaskCompletionAction::Invoke(System.Threading.Tasks.Task) */, ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var, L_61, __this);
goto IL_01b8;
}
IL_01aa:
{
RuntimeObject* L_62 = V_15;
CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C * L_63 = (CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C *)il2cpp_codegen_object_new(CompletionActionInvoker_t247917E953A483BD742647A46E17E43D1740D03C_il2cpp_TypeInfo_var);
CompletionActionInvoker__ctor_m99DE9FFDBB3B8A79C61EA35DDE340DF5FB54F158(L_63, L_62, __this, /*hidden argument*/NULL);
ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568(L_63, (bool)0, /*hidden argument*/NULL);
}
IL_01b8:
{
int32_t L_64 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_64, (int32_t)1));
}
IL_01be:
{
int32_t L_65 = V_11;
int32_t L_66 = V_6;
if ((((int32_t)L_65) < ((int32_t)L_66)))
{
goto IL_0147;
}
}
{
Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9(__this, /*hidden argument*/NULL);
}
IL_01ca:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::LogFinishCompletionNotification()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_LogFinishCompletionNotification_mE4370F520CEBA341AE78844DA43AA6CD730F31E9 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
bool L_0 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_0)
{
goto IL_000e;
}
}
{
AsyncCausalityTracer_TraceSynchronousWorkCompletion_m55EB5CB50B1797EDC8071C3D1BF3FDEB92D5025C(0, 0, /*hidden argument*/NULL);
}
IL_000e:
{
return;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`1<System.Threading.Tasks.Task>)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_mC71D3CE9DF20879884F2D08D363BA6E47EF87638 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * ___continuationAction0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ContinueWith_mC71D3CE9DF20879884F2D08D363BA6E47EF87638_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_1;
memset((&V_1), 0, sizeof(V_1));
{
V_0 = 1;
Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * L_0 = ___continuationAction0;
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = TaskScheduler_get_Current_m650D09DC411D00985B24BEF41984F4FDEE0D91D7(/*hidden argument*/NULL);
il2cpp_codegen_initobj((&V_1), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = V_1;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B(__this, L_0, L_1, L_2, 0, (int32_t*)(&V_0), /*hidden argument*/NULL);
return L_3;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`1<System.Threading.Tasks.Task>,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * ___continuationAction0, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___continuationOptions3, int32_t* ___stackMark4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_2 = NULL;
{
Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * L_0 = ___continuationAction0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteralC7CEDF5531BF0EE471FAF3F68BF9D5FCE0C45607, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B_RuntimeMethod_var);
}
IL_000e:
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = ___scheduler1;
if (L_2)
{
goto IL_001c;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_3 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_3, _stringLiteral142F817C3EC0586DE0F960C1C0483043B61A0D06, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Task_ContinueWith_m9B5987FB2709FB98AD32D3083DC203748C43D04B_RuntimeMethod_var);
}
IL_001c:
{
int32_t L_4 = ___continuationOptions3;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08(L_4, (int32_t*)(&V_0), (int32_t*)(&V_1), /*hidden argument*/NULL);
Action_1_t965212EDC10FB8052CC3E9BF3FBDF913BEFD4827 * L_5 = ___continuationAction0;
int32_t L_6 = V_0;
int32_t L_7 = V_1;
int32_t* L_8 = ___stackMark4;
ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F * L_9 = (ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F *)il2cpp_codegen_object_new(ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F_il2cpp_TypeInfo_var);
ContinuationTaskFromTask__ctor_m7804EC000E1BA147597C861D81912A1A20EA35D9(L_9, __this, L_5, NULL, L_6, L_7, (int32_t*)L_8, /*hidden argument*/NULL);
V_2 = L_9;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = V_2;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_11 = ___scheduler1;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_12 = ___cancellationToken2;
int32_t L_13 = ___continuationOptions3;
Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D(__this, L_10, L_11, L_12, L_13, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_14 = V_2;
return L_14;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`2<System.Threading.Tasks.Task,System.Object>,System.Object,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_m77623659683CA3E09520D79D60D8A04214E4CE5A (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * ___continuationAction0, RuntimeObject * ___state1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___continuationOptions3, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler4, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 1;
Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * L_0 = ___continuationAction0;
RuntimeObject * L_1 = ___state1;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = ___scheduler4;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_3 = ___cancellationToken2;
int32_t L_4 = ___continuationOptions3;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76(__this, L_0, L_1, L_2, L_3, L_4, (int32_t*)(&V_0), /*hidden argument*/NULL);
return L_5;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::ContinueWith(System.Action`2<System.Threading.Tasks.Task,System.Object>,System.Object,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * ___continuationAction0, RuntimeObject * ___state1, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler2, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken3, int32_t ___continuationOptions4, int32_t* ___stackMark5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_2 = NULL;
{
Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * L_0 = ___continuationAction0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteralC7CEDF5531BF0EE471FAF3F68BF9D5FCE0C45607, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76_RuntimeMethod_var);
}
IL_000e:
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = ___scheduler2;
if (L_2)
{
goto IL_001c;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_3 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_3, _stringLiteral142F817C3EC0586DE0F960C1C0483043B61A0D06, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Task_ContinueWith_m9CE1D5EA7825C598CB0B59D1DB296C684CBF2C76_RuntimeMethod_var);
}
IL_001c:
{
int32_t L_4 = ___continuationOptions4;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08(L_4, (int32_t*)(&V_0), (int32_t*)(&V_1), /*hidden argument*/NULL);
Action_2_tC5CBC473593FC52892A3A27575658B0C050584D8 * L_5 = ___continuationAction0;
RuntimeObject * L_6 = ___state1;
int32_t L_7 = V_0;
int32_t L_8 = V_1;
int32_t* L_9 = ___stackMark5;
ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F * L_10 = (ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F *)il2cpp_codegen_object_new(ContinuationTaskFromTask_tFE42871D04E441714667326AD03132B52E75777F_il2cpp_TypeInfo_var);
ContinuationTaskFromTask__ctor_m7804EC000E1BA147597C861D81912A1A20EA35D9(L_10, __this, L_5, L_6, L_7, L_8, (int32_t*)L_9, /*hidden argument*/NULL);
V_2 = L_10;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_11 = V_2;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_12 = ___scheduler2;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_13 = ___cancellationToken3;
int32_t L_14 = ___continuationOptions4;
Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D(__this, L_11, L_12, L_13, L_14, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_15 = V_2;
return L_15;
}
}
// System.Void System.Threading.Tasks.Task::CreationOptionsFromContinuationOptions(System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskCreationOptions&,System.Threading.Tasks.InternalTaskOptions&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08 (int32_t ___continuationOptions0, int32_t* ___creationOptions1, int32_t* ___internalOptions2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
V_0 = ((int32_t)458752);
V_1 = ((int32_t)95);
V_2 = ((int32_t)524290);
int32_t L_0 = ___continuationOptions0;
int32_t L_1 = V_2;
int32_t L_2 = V_2;
if ((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)L_1))) == ((uint32_t)L_2))))
{
goto IL_002a;
}
}
{
String_t* L_3 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralB7A59C1214B081A2AF0561DFF2E17294228556D4, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_4 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_4, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_RuntimeMethod_var);
}
IL_002a:
{
int32_t L_5 = ___continuationOptions0;
int32_t L_6 = V_1;
int32_t L_7 = V_0;
if (!((int32_t)((int32_t)L_5&(int32_t)((~((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_6|(int32_t)L_7))|(int32_t)((int32_t)32)))|(int32_t)((int32_t)524288))))))))
{
goto IL_0046;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_8 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_8, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_RuntimeMethod_var);
}
IL_0046:
{
int32_t L_9 = ___continuationOptions0;
int32_t L_10 = V_0;
int32_t L_11 = V_0;
if ((!(((uint32_t)((int32_t)((int32_t)L_9&(int32_t)L_10))) == ((uint32_t)L_11))))
{
goto IL_0061;
}
}
{
String_t* L_12 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral4BCCDABF897E38A4B92A38BE1212932A6B9649C0, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_13 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_13, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, Task_CreationOptionsFromContinuationOptions_m316B62774ED835AD3DB52803990E10A58CFF3B08_RuntimeMethod_var);
}
IL_0061:
{
int32_t* L_14 = ___creationOptions1;
int32_t L_15 = ___continuationOptions0;
int32_t L_16 = V_1;
*((int32_t*)L_14) = (int32_t)((int32_t)((int32_t)L_15&(int32_t)L_16));
int32_t* L_17 = ___internalOptions2;
*((int32_t*)L_17) = (int32_t)((int32_t)512);
int32_t L_18 = ___continuationOptions0;
if (!((int32_t)((int32_t)L_18&(int32_t)((int32_t)32))))
{
goto IL_007d;
}
}
{
int32_t* L_19 = ___internalOptions2;
int32_t* L_20 = ___internalOptions2;
int32_t L_21 = *((int32_t*)L_20);
*((int32_t*)L_19) = (int32_t)((int32_t)((int32_t)L_21|(int32_t)((int32_t)4096)));
}
IL_007d:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::ContinueWithCore(System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler,System.Threading.CancellationToken,System.Threading.Tasks.TaskContinuationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___continuationTask0, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler1, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken2, int32_t ___options3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_ContinueWithCore_mD177BCBA1127C701937530F6CE9BF4DC23AF692D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * V_0 = NULL;
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___continuationTask0;
int32_t L_1 = ___options3;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = ___scheduler1;
StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC * L_3 = (StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC *)il2cpp_codegen_object_new(StandardTaskContinuation_t881642FBF59AF2A7969C82E4CC21276501D549EC_il2cpp_TypeInfo_var);
StandardTaskContinuation__ctor_m7CB15782CC00DD5A95EB9B98D988BE433A26CD9D(L_3, L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
bool L_4 = CancellationToken_get_CanBeCanceled_m485B6A386A628048A15D607330E91582012C59EF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken2), /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0038;
}
}
{
bool L_5 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0024;
}
}
{
bool L_6 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken2), /*hidden argument*/NULL);
if (!L_6)
{
goto IL_002f;
}
}
IL_0024:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_7 = ___continuationTask0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_8 = ___cancellationToken2;
NullCheck(L_7);
Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F(L_7, L_8, (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)NULL, (TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 *)NULL, /*hidden argument*/NULL);
goto IL_0038;
}
IL_002f:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_9 = ___continuationTask0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_10 = ___cancellationToken2;
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_11 = V_0;
NullCheck(L_9);
Task_AssignCancellationToken_m49B51C0263DAE4EF7573885594D1F99DF81C300F(L_9, L_10, __this, L_11, /*hidden argument*/NULL);
}
IL_0038:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = ___continuationTask0;
NullCheck(L_12);
bool L_13 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_12, /*hidden argument*/NULL);
if (L_13)
{
goto IL_0052;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_14 = V_0;
bool L_15 = Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0(__this, L_14, (bool)0, /*hidden argument*/NULL);
if (L_15)
{
goto IL_0052;
}
}
{
TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * L_16 = V_0;
NullCheck(L_16);
VirtActionInvoker2< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(4 /* System.Void System.Threading.Tasks.TaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean) */, L_16, __this, (bool)1);
}
IL_0052:
{
return;
}
}
// System.Void System.Threading.Tasks.Task::AddCompletionAction(System.Threading.Tasks.ITaskCompletionAction)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddCompletionAction_m211F80F6F259D8F8CBB408A901101B91923800C1 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject* ___action0, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = ___action0;
Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580(__this, L_0, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task::AddCompletionAction(System.Threading.Tasks.ITaskCompletionAction,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject* ___action0, bool ___addBeforeOthers1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AddCompletionAction_m0B91D1C446207F2632CFCFE45B499E98A6DD8580_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject* L_0 = ___action0;
bool L_1 = ___addBeforeOthers1;
bool L_2 = Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0(__this, L_0, L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0011;
}
}
{
RuntimeObject* L_3 = ___action0;
NullCheck(L_3);
InterfaceActionInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(0 /* System.Void System.Threading.Tasks.ITaskCompletionAction::Invoke(System.Threading.Tasks.Task) */, ITaskCompletionAction_tB83E2DB0F3297A73CDBE338B6F2CA81D84E9C978_il2cpp_TypeInfo_var, L_3, __this);
}
IL_0011:
{
return;
}
}
// System.Boolean System.Threading.Tasks.Task::AddTaskContinuationComplex(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddTaskContinuationComplex_mA7A1D0E407A59EC369D7879BB76F406CF1B5E848 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___tc0, bool ___addBeforeOthers1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_AddTaskContinuationComplex_mA7A1D0E407A59EC369D7879BB76F406CF1B5E848_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_1 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_2 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_3 = NULL;
bool V_4 = false;
bool V_5 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RuntimeObject * L_0 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_2 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCompletionSentinel_11();
if ((((RuntimeObject*)(RuntimeObject *)L_1) == ((RuntimeObject*)(RuntimeObject *)L_2)))
{
goto IL_0034;
}
}
{
RuntimeObject * L_3 = V_0;
if (((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)IsInstClass((RuntimeObject*)L_3, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var)))
{
goto IL_0034;
}
}
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var);
List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3(L_4, /*hidden argument*/List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_RuntimeMethod_var);
V_2 = L_4;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_5 = V_2;
RuntimeObject * L_6 = V_0;
NullCheck(L_5);
List_1_Add_m6930161974C7504C80F52EC379EF012387D43138(L_5, L_6, /*hidden argument*/List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_RuntimeMethod_var);
RuntimeObject ** L_7 = __this->get_address_of_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_8 = V_2;
RuntimeObject * L_9 = V_0;
Interlocked_CompareExchange_m92F692322F12C6FD29B3834B380639DCD094B651((RuntimeObject **)L_7, L_8, L_9, /*hidden argument*/NULL);
}
IL_0034:
{
RuntimeObject * L_10 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
V_1 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)IsInstClass((RuntimeObject*)L_10, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_11 = V_1;
if (!L_11)
{
goto IL_00a1;
}
}
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = V_1;
V_3 = L_12;
V_4 = (bool)0;
}
IL_004a:
try
{ // begin try (depth: 1)
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_13 = V_3;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_13, (bool*)(&V_4), /*hidden argument*/NULL);
RuntimeObject * L_14 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_15 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCompletionSentinel_11();
if ((((RuntimeObject*)(RuntimeObject *)L_14) == ((RuntimeObject*)(RuntimeObject *)L_15)))
{
goto IL_0094;
}
}
IL_0061:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_16 = V_1;
NullCheck(L_16);
int32_t L_17 = List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_inline(L_16, /*hidden argument*/List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_RuntimeMethod_var);
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_18 = V_1;
NullCheck(L_18);
int32_t L_19 = List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B(L_18, /*hidden argument*/List_1_get_Capacity_mB976106DA11B4155CBC654A4FEAF355280834D8B_RuntimeMethod_var);
if ((!(((uint32_t)L_17) == ((uint32_t)L_19))))
{
goto IL_007b;
}
}
IL_006f:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_20 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_21 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_IsTaskContinuationNullPredicate_21();
NullCheck(L_20);
List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF(L_20, L_21, /*hidden argument*/List_1_RemoveAll_m568E7007C316A2B83B0D08A324AA8A9C8D2796DF_RuntimeMethod_var);
}
IL_007b:
{
bool L_22 = ___addBeforeOthers1;
if (!L_22)
{
goto IL_0088;
}
}
IL_007e:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_23 = V_1;
RuntimeObject * L_24 = ___tc0;
NullCheck(L_23);
List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52(L_23, 0, L_24, /*hidden argument*/List_1_Insert_m327E513FB78F72441BBF2756AFCC788F89A4FA52_RuntimeMethod_var);
goto IL_008f;
}
IL_0088:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_25 = V_1;
RuntimeObject * L_26 = ___tc0;
NullCheck(L_25);
List_1_Add_m6930161974C7504C80F52EC379EF012387D43138(L_25, L_26, /*hidden argument*/List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_RuntimeMethod_var);
}
IL_008f:
{
V_5 = (bool)1;
IL2CPP_LEAVE(0xA3, FINALLY_0096);
}
IL_0094:
{
IL2CPP_LEAVE(0xA1, FINALLY_0096);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0096;
}
FINALLY_0096:
{ // begin finally (depth: 1)
{
bool L_27 = V_4;
if (!L_27)
{
goto IL_00a0;
}
}
IL_009a:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_28 = V_3;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_28, /*hidden argument*/NULL);
}
IL_00a0:
{
IL2CPP_END_FINALLY(150)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(150)
{
IL2CPP_JUMP_TBL(0xA3, IL_00a3)
IL2CPP_JUMP_TBL(0xA1, IL_00a1)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00a1:
{
return (bool)0;
}
IL_00a3:
{
bool L_29 = V_5;
return L_29;
}
}
// System.Boolean System.Threading.Tasks.Task::AddTaskContinuation(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Task_AddTaskContinuation_m16543B86970B0357262A2CD975E006BBC07760C0 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___tc0, bool ___addBeforeOthers1, const RuntimeMethod* method)
{
{
bool L_0 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000a;
}
}
{
return (bool)0;
}
IL_000a:
{
RuntimeObject * L_1 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
if (L_1)
{
goto IL_0023;
}
}
{
RuntimeObject ** L_2 = __this->get_address_of_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
RuntimeObject * L_3 = ___tc0;
RuntimeObject * L_4 = Interlocked_CompareExchange_m92F692322F12C6FD29B3834B380639DCD094B651((RuntimeObject **)L_2, L_3, NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_002c;
}
}
IL_0023:
{
RuntimeObject * L_5 = ___tc0;
bool L_6 = ___addBeforeOthers1;
bool L_7 = Task_AddTaskContinuationComplex_mA7A1D0E407A59EC369D7879BB76F406CF1B5E848(__this, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_002c:
{
return (bool)1;
}
}
// System.Void System.Threading.Tasks.Task::RemoveContinuation(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, RuntimeObject * ___continuationObject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_1 = NULL;
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * V_2 = NULL;
bool V_3 = false;
int32_t V_4 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RuntimeObject * L_0 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
RuntimeObject * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_2 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCompletionSentinel_11();
if ((!(((RuntimeObject*)(RuntimeObject *)L_1) == ((RuntimeObject*)(RuntimeObject *)L_2))))
{
goto IL_0012;
}
}
{
return;
}
IL_0012:
{
RuntimeObject * L_3 = V_0;
V_1 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)IsInstClass((RuntimeObject*)L_3, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var));
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_4 = V_1;
if (L_4)
{
goto IL_0041;
}
}
{
RuntimeObject ** L_5 = __this->get_address_of_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_6 = (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)il2cpp_codegen_object_new(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var);
List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3(L_6, /*hidden argument*/List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_RuntimeMethod_var);
RuntimeObject * L_7 = ___continuationObject0;
RuntimeObject * L_8 = Interlocked_CompareExchange_m92F692322F12C6FD29B3834B380639DCD094B651((RuntimeObject **)L_5, L_6, L_7, /*hidden argument*/NULL);
RuntimeObject * L_9 = ___continuationObject0;
if ((((RuntimeObject*)(RuntimeObject *)L_8) == ((RuntimeObject*)(RuntimeObject *)L_9)))
{
goto IL_0040;
}
}
{
RuntimeObject * L_10 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
V_1 = ((List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D *)IsInstClass((RuntimeObject*)L_10, List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_il2cpp_TypeInfo_var));
goto IL_0041;
}
IL_0040:
{
return;
}
IL_0041:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_11 = V_1;
if (!L_11)
{
goto IL_0084;
}
}
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_12 = V_1;
V_2 = L_12;
V_3 = (bool)0;
}
IL_0048:
try
{ // begin try (depth: 1)
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_13 = V_2;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_13, (bool*)(&V_3), /*hidden argument*/NULL);
RuntimeObject * L_14 = __this->get_m_continuationObject_10();
il2cpp_codegen_memory_barrier();
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
RuntimeObject * L_15 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_taskCompletionSentinel_11();
if ((!(((RuntimeObject*)(RuntimeObject *)L_14) == ((RuntimeObject*)(RuntimeObject *)L_15))))
{
goto IL_0061;
}
}
IL_005f:
{
IL2CPP_LEAVE(0x84, FINALLY_007a);
}
IL_0061:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_16 = V_1;
RuntimeObject * L_17 = ___continuationObject0;
NullCheck(L_16);
int32_t L_18 = List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728(L_16, L_17, /*hidden argument*/List_1_IndexOf_m98E4245F46A6D90AE3E96EFF3880D50ED6E2C728_RuntimeMethod_var);
V_4 = L_18;
int32_t L_19 = V_4;
if ((((int32_t)L_19) == ((int32_t)(-1))))
{
goto IL_0078;
}
}
IL_006f:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_20 = V_1;
int32_t L_21 = V_4;
NullCheck(L_20);
List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E(L_20, L_21, NULL, /*hidden argument*/List_1_set_Item_m451452782977192583A6374A799099FCCD9BD83E_RuntimeMethod_var);
}
IL_0078:
{
IL2CPP_LEAVE(0x84, FINALLY_007a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_007a;
}
FINALLY_007a:
{ // begin finally (depth: 1)
{
bool L_22 = V_3;
if (!L_22)
{
goto IL_0083;
}
}
IL_007d:
{
List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * L_23 = V_2;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_23, /*hidden argument*/NULL);
}
IL_0083:
{
IL2CPP_END_FINALLY(122)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(122)
{
IL2CPP_JUMP_TBL(0x84, IL_0084)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0084:
{
return;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::FromException(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_FromException_m8D8A19D1CF4B424A3B48F49C7150496075038E54 (Exception_t * ___exception0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_FromException_m8D8A19D1CF4B424A3B48F49C7150496075038E54_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Exception_t * L_0 = ___exception0;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_1_t1359D75350E9D976BFA28AD96E417450DE277673 * L_1 = Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9(L_0, /*hidden argument*/Task_FromException_TisVoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40_mF0D5B2C3E0E9A2245559F271CB88AAA19ADCE0E9_RuntimeMethod_var);
return L_1;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::FromCancellation(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860 (CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken0), /*hidden argument*/NULL);
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_1, _stringLiteralBA7B76F7CEFAFC945D4F1E46E2C21A2894A4FD10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860_RuntimeMethod_var);
}
IL_0014:
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = ___cancellationToken0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)il2cpp_codegen_object_new(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task__ctor_m61EE08D52F4C76A4D8E44B826F02724920D3425B(L_3, (bool)1, 0, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::Run(System.Action)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_Run_m201E4C04F97BCF541633AF913DF20C6FF7872E44 (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Run_m201E4C04F97BCF541633AF913DF20C6FF7872E44_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_1;
memset((&V_1), 0, sizeof(V_1));
{
V_0 = 1;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_0 = ___action0;
il2cpp_codegen_initobj((&V_1), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_1 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = Task_InternalStartNew_mC0053D3F586953AC3989875B67F9D60947C68BEC((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)NULL, L_0, NULL, L_1, L_2, 8, 0, (int32_t*)(&V_0), /*hidden argument*/NULL);
return L_3;
}
}
// System.Threading.Tasks.Task System.Threading.Tasks.Task::Delay(System.Int32,System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_Delay_mE765C93596171D57A356BCCCEFE49392CA925AFA (int32_t ___millisecondsDelay0, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_Delay_mE765C93596171D57A356BCCCEFE49392CA925AFA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * V_0 = NULL;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * G_B9_0 = NULL;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * G_B9_1 = NULL;
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * G_B9_2 = NULL;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * G_B8_0 = NULL;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB * G_B8_1 = NULL;
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * G_B8_2 = NULL;
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * G_B13_0 = NULL;
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * G_B13_1 = NULL;
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * G_B12_0 = NULL;
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * G_B12_1 = NULL;
{
int32_t L_0 = ___millisecondsDelay0;
if ((((int32_t)L_0) >= ((int32_t)(-1))))
{
goto IL_0019;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral704E89153833A67B5C6F82E1207A4D09B77B49D2, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_2 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_2, _stringLiteralC345D79431223595C0658582F663D5FE489CE4EA, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Task_Delay_mE765C93596171D57A356BCCCEFE49392CA925AFA_RuntimeMethod_var);
}
IL_0019:
{
bool L_3 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken1), /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0029;
}
}
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = ___cancellationToken1;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = Task_FromCancellation_m2106218A961C3950EA87A16189081D7DFB42B860(L_4, /*hidden argument*/NULL);
return L_5;
}
IL_0029:
{
int32_t L_6 = ___millisecondsDelay0;
if (L_6)
{
goto IL_0032;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_7 = Task_get_CompletedTask_mBB0764E7FDE04E900FFBE5B1BE6B815193681E86(/*hidden argument*/NULL);
return L_7;
}
IL_0032:
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_8 = ___cancellationToken1;
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_9 = (DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 *)il2cpp_codegen_object_new(DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var);
DelayPromise__ctor_m3A76D411C11904928F0FF700384FFA1668669B15(L_9, L_8, /*hidden argument*/NULL);
V_0 = L_9;
bool L_10 = CancellationToken_get_CanBeCanceled_m485B6A386A628048A15D607330E91582012C59EF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&___cancellationToken1), /*hidden argument*/NULL);
if (!L_10)
{
goto IL_006f;
}
}
{
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_11 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_12 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9__276_0_1();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_13 = L_12;
G_B8_0 = L_13;
G_B8_1 = (&___cancellationToken1);
G_B8_2 = L_11;
if (L_13)
{
G_B9_0 = L_13;
G_B9_1 = (&___cancellationToken1);
G_B9_2 = L_11;
goto IL_0064;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_14 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_15 = (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)il2cpp_codegen_object_new(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var);
Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510(L_15, L_14, (intptr_t)((intptr_t)U3CU3Ec_U3CDelayU3Eb__276_0_m5AB12E46C061368D100FF6C69F9D056E65A6AE2C_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_RuntimeMethod_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_16 = L_15;
((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->set_U3CU3E9__276_0_1(L_16);
G_B9_0 = L_16;
G_B9_1 = G_B8_1;
G_B9_2 = G_B8_2;
}
IL_0064:
{
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_17 = V_0;
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 L_18 = CancellationToken_InternalRegisterWithoutEC_m2AB5F8C5E8800786BE0825ACE80BAA2EFB719DFF((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)G_B9_1, G_B9_0, L_17, /*hidden argument*/NULL);
NullCheck(G_B9_2);
G_B9_2->set_Registration_26(L_18);
}
IL_006f:
{
int32_t L_19 = ___millisecondsDelay0;
if ((((int32_t)L_19) == ((int32_t)(-1))))
{
goto IL_00ab;
}
}
{
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_20 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_21 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9__276_1_2();
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_22 = L_21;
G_B12_0 = L_22;
G_B12_1 = L_20;
if (L_22)
{
G_B13_0 = L_22;
G_B13_1 = L_20;
goto IL_0093;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_23 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_24 = (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 *)il2cpp_codegen_object_new(TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219_il2cpp_TypeInfo_var);
TimerCallback__ctor_m6B85BEF2F0E429E5F8E4FA2F527B42247E95A690(L_24, L_23, (intptr_t)((intptr_t)U3CU3Ec_U3CDelayU3Eb__276_1_m54F939B4DD3A17936C0D754419E2A01555DB8D6A_RuntimeMethod_var), /*hidden argument*/NULL);
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_25 = L_24;
((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->set_U3CU3E9__276_1_2(L_25);
G_B13_0 = L_25;
G_B13_1 = G_B12_1;
}
IL_0093:
{
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_26 = V_0;
int32_t L_27 = ___millisecondsDelay0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_28 = (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)il2cpp_codegen_object_new(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
Timer__ctor_mD4A4B4616E25E39A422DD8083930951535AE8BA1(L_28, G_B13_0, L_26, L_27, (-1), /*hidden argument*/NULL);
NullCheck(G_B13_1);
G_B13_1->set_Timer_27(L_28);
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_29 = V_0;
NullCheck(L_29);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_30 = L_29->get_Timer_27();
NullCheck(L_30);
Timer_KeepRootedWhileScheduled_mDB50A8671E3759074432E0E4EEBF1BD90B721829(L_30, /*hidden argument*/NULL);
}
IL_00ab:
{
DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * L_31 = V_0;
return L_31;
}
}
// System.Threading.Tasks.Task`1<System.Threading.Tasks.Task> System.Threading.Tasks.Task::WhenAny(System.Threading.Tasks.Task[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F (TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* ___tasks0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* V_1 = NULL;
int32_t V_2 = 0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_3 = NULL;
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_0 = ___tasks0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral55D8727A05EB80B0788AF57A5317F3E0A1F4AA55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_RuntimeMethod_var);
}
IL_000e:
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_2 = ___tasks0;
NullCheck(L_2);
if ((((RuntimeArray*)L_2)->max_length))
{
goto IL_0027;
}
}
{
String_t* L_3 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralECD044A1043B44632AC8663CA77996470922BCAD, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_4 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_4, L_3, _stringLiteral55D8727A05EB80B0788AF57A5317F3E0A1F4AA55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_RuntimeMethod_var);
}
IL_0027:
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_5 = ___tasks0;
NullCheck(L_5);
V_0 = (((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length))));
int32_t L_6 = V_0;
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_7 = (TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE*)(TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE*)SZArrayNew(TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE_il2cpp_TypeInfo_var, (uint32_t)L_6);
V_1 = L_7;
V_2 = 0;
goto IL_005a;
}
IL_0036:
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_8 = ___tasks0;
int32_t L_9 = V_2;
NullCheck(L_8);
int32_t L_10 = L_9;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = V_3;
if (L_12)
{
goto IL_0052;
}
}
{
String_t* L_13 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral9527141004011DE14AE7F1E3643C59B23A00BC38, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_14 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_14, L_13, _stringLiteral55D8727A05EB80B0788AF57A5317F3E0A1F4AA55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, Task_WhenAny_mBC42BCB13C1F576DE6DAA08EB4F704D8176E674F_RuntimeMethod_var);
}
IL_0052:
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_15 = V_1;
int32_t L_16 = V_2;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = V_3;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_17);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(L_16), (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)L_17);
int32_t L_18 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
}
IL_005a:
{
int32_t L_19 = V_2;
int32_t L_20 = V_0;
if ((((int32_t)L_19) < ((int32_t)L_20)))
{
goto IL_0036;
}
}
{
TaskU5BU5D_tE4155ED1F21E503C57CC7066D9B6AB64EE0DDDCE* L_21 = V_1;
Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * L_22 = TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565((RuntimeObject*)(RuntimeObject*)L_21, /*hidden argument*/NULL);
return L_22;
}
}
// System.Void System.Threading.Tasks.Task::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Task__cctor_m7AFA29A4CA3EA811384CCCB500558E02711767B7 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task__cctor_m7AFA29A4CA3EA811384CCCB500558E02711767B7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * L_0 = (TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 *)il2cpp_codegen_object_new(TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155_il2cpp_TypeInfo_var);
TaskFactory__ctor_m56921654C22946B66D728E86E5989E0397303233(L_0, /*hidden argument*/NULL);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_factory_3(L_0);
RuntimeObject * L_1 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(L_1, /*hidden argument*/NULL);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_taskCompletionSentinel_11(L_1);
Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F * L_2 = (Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F *)il2cpp_codegen_object_new(Dictionary_2_t70161CFEB8DA3C79E19E31D0ED948D3C2925095F_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m9E5909F2240E8B4B0B9CA7DDA4075EF6C3B7BCA5(L_2, /*hidden argument*/Dictionary_2__ctor_m9E5909F2240E8B4B0B9CA7DDA4075EF6C3B7BCA5_RuntimeMethod_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_currentActiveTasks_13(L_2);
RuntimeObject * L_3 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(L_3, /*hidden argument*/NULL);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_activeTasksLock_14(L_3);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_4 = (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)il2cpp_codegen_object_new(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var);
Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510(L_4, NULL, (intptr_t)((intptr_t)Task_TaskCancelCallback_m871E63C611277708EB9BCD3A584958CF427429CF_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_RuntimeMethod_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_taskCancelCallback_16(L_4);
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_5 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F * L_6 = (Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F *)il2cpp_codegen_object_new(Func_1_t48C2978A48CE3F2F6EB5B6DE269D00746483BB1F_il2cpp_TypeInfo_var);
Func_1__ctor_mE9C2E3D8D0214538F8B9ABE57AA858D03EB20169(L_6, L_5, (intptr_t)((intptr_t)U3CU3Ec_U3C_cctorU3Eb__295_0_mDCF5EBEFFB333327107E40BF44507418FE7BBFDD_RuntimeMethod_var), /*hidden argument*/Func_1__ctor_mE9C2E3D8D0214538F8B9ABE57AA858D03EB20169_RuntimeMethod_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_createContingentProperties_17(L_6);
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_7 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 * L_8 = (Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335 *)il2cpp_codegen_object_new(Predicate_1_tF4286C34BB184CE5690FDCEBA7F09FC68D229335_il2cpp_TypeInfo_var);
Predicate_1__ctor_m1481B0BA718AF9DAD320321A0CF4E8FB952E1E23(L_8, L_7, (intptr_t)((intptr_t)U3CU3Ec_U3C_cctorU3Eb__295_1_m44A2EA1ECE75C2BBF322DB9FC58C4D292B857963_RuntimeMethod_var), /*hidden argument*/Predicate_1__ctor_m1481B0BA718AF9DAD320321A0CF4E8FB952E1E23_RuntimeMethod_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_IsExceptionObservedByParentPredicate_19(L_8);
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_9 = ((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * L_10 = (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 *)il2cpp_codegen_object_new(Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979_il2cpp_TypeInfo_var);
Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C(L_10, L_9, (intptr_t)((intptr_t)U3CU3Ec_U3C_cctorU3Eb__295_2_mE59AFDA5091AFFCF6A8D7C9F147A2EB2534B4F3C_RuntimeMethod_var), /*hidden argument*/Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_RuntimeMethod_var);
((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->set_s_IsTaskContinuationNullPredicate_21(L_10);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.Task_<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_mD421A18D7B3D53CD889B2E9FB6B14A042E480477 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_mD421A18D7B3D53CD889B2E9FB6B14A042E480477_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * L_0 = (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 *)il2cpp_codegen_object_new(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m5074370076D060EDD4DE2D93ABCD6E80B6AA2574(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Threading.Tasks.Task_<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m5074370076D060EDD4DE2D93ABCD6E80B6AA2574 (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task_<>c::<Delay>b__276_0(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3CDelayU3Eb__276_0_m5AB12E46C061368D100FF6C69F9D056E65A6AE2C (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CDelayU3Eb__276_0_m5AB12E46C061368D100FF6C69F9D056E65A6AE2C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___state0;
NullCheck(((DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 *)CastclassSealed((RuntimeObject*)L_0, DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var)));
DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD(((DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 *)CastclassSealed((RuntimeObject*)L_0, DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task_<>c::<Delay>b__276_1(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3CDelayU3Eb__276_1_m54F939B4DD3A17936C0D754419E2A01555DB8D6A (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CDelayU3Eb__276_1_m54F939B4DD3A17936C0D754419E2A01555DB8D6A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___state0;
NullCheck(((DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 *)CastclassSealed((RuntimeObject*)L_0, DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var)));
DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD(((DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 *)CastclassSealed((RuntimeObject*)L_0, DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
// System.Threading.Tasks.Task_ContingentProperties System.Threading.Tasks.Task_<>c::<.cctor>b__295_0()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * U3CU3Ec_U3C_cctorU3Eb__295_0_mDCF5EBEFFB333327107E40BF44507418FE7BBFDD (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3C_cctorU3Eb__295_0_mDCF5EBEFFB333327107E40BF44507418FE7BBFDD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * L_0 = (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 *)il2cpp_codegen_object_new(ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08_il2cpp_TypeInfo_var);
ContingentProperties__ctor_mD515B94D26AB52AFF131A9C97483E657261B0120(L_0, /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean System.Threading.Tasks.Task_<>c::<.cctor>b__295_1(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec_U3C_cctorU3Eb__295_1_m44A2EA1ECE75C2BBF322DB9FC58C4D292B857963 (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___t0, const RuntimeMethod* method)
{
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___t0;
NullCheck(L_0);
bool L_1 = Task_get_IsExceptionObservedByParent_mF76B3BAD34F96F98D1A8E8ACFF533728CEA7EE07(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.Threading.Tasks.Task_<>c::<.cctor>b__295_2(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec_U3C_cctorU3Eb__295_2_mE59AFDA5091AFFCF6A8D7C9F147A2EB2534B4F3C (U3CU3Ec_t07DD323FAAF5A7EC9AE5E0DA9748D2EA6B39DCD3 * __this, RuntimeObject * ___tc0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___tc0;
return (bool)((((RuntimeObject*)(RuntimeObject *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.Task_<>c__DisplayClass178_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass178_0__ctor_mE3AB73DE645CB1E445061A5C3AF7591D19EC1D10 (U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task_<>c__DisplayClass178_0::<ExecuteSelfReplicating>b__0(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass178_0_U3CExecuteSelfReplicatingU3Eb__0_mAF07405204F1F6B3977A5E367931D33F38CAB548 (U3CU3Ec__DisplayClass178_0_tDB7F53582BFA1879573CC515D119580A06752F7E * __this, RuntimeObject * ___U3Cp0U3E0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__DisplayClass178_0_U3CExecuteSelfReplicatingU3Eb__0_mAF07405204F1F6B3977A5E367931D33F38CAB548_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_1 = NULL;
RuntimeObject * V_2 = NULL;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * V_3 = NULL;
Exception_t * V_4 = NULL;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * V_5 = NULL;
Exception_t * V_6 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 4);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline(/*hidden argument*/NULL);
V_0 = L_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = V_0;
NullCheck(L_1);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = VirtFuncInvoker0< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(17 /* System.Threading.Tasks.Task System.Threading.Tasks.Task::get_HandedOverChildReplica() */, L_1);
V_1 = L_2;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = V_1;
if (L_3)
{
goto IL_0085;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = __this->get_root_0();
NullCheck(L_4);
bool L_5 = VirtFuncInvoker0< bool >::Invoke(13 /* System.Boolean System.Threading.Tasks.Task::ShouldReplicate() */, L_4);
if (L_5)
{
goto IL_001e;
}
}
{
return;
}
IL_001e:
{
bool* L_6 = __this->get_address_of_replicasAreQuitting_1();
bool L_7 = VolatileRead((bool*)L_6);
if (!L_7)
{
goto IL_002c;
}
}
{
return;
}
IL_002c:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_8 = __this->get_root_0();
NullCheck(L_8);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_9 = Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1(L_8, /*hidden argument*/NULL);
V_3 = L_9;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = __this->get_root_0();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_11 = __this->get_taskReplicaDelegate_2();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = __this->get_root_0();
NullCheck(L_12);
RuntimeObject * L_13 = L_12->get_m_stateObject_6();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_14 = __this->get_root_0();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_15 = __this->get_root_0();
NullCheck(L_15);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_16 = Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline(L_15, /*hidden argument*/NULL);
int32_t L_17 = __this->get_creationOptionsForReplicas_3();
int32_t L_18 = __this->get_internalOptionsForReplicas_4();
NullCheck(L_10);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_19 = VirtFuncInvoker6< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *, RuntimeObject *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *, int32_t, int32_t >::Invoke(14 /* System.Threading.Tasks.Task System.Threading.Tasks.Task::CreateReplicaTask(System.Action`1<System.Object>,System.Object,System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions) */, L_10, L_11, L_13, L_14, L_16, L_17, L_18);
V_1 = L_19;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_20 = V_1;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_21 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_22 = Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53(L_21, /*hidden argument*/NULL);
NullCheck(L_20);
Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B(L_20, L_22, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_23 = V_1;
NullCheck(L_23);
Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF(L_23, (bool)0, /*hidden argument*/NULL);
}
IL_0085:
{
}
IL_0086:
try
{ // begin try (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_24 = __this->get_root_0();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_25 = V_0;
NullCheck(L_24);
Task_InnerInvokeWithArg_m8313756145BF2BCE95AA05D0B896E4780788DD86(L_24, L_25, /*hidden argument*/NULL);
goto IL_00b6;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0094;
throw e;
}
CATCH_0094:
{ // begin catch(System.Exception)
{
V_4 = ((Exception_t *)__exception_local);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_26 = __this->get_root_0();
Exception_t * L_27 = V_4;
NullCheck(L_26);
Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C(L_26, L_27, /*hidden argument*/NULL);
Exception_t * L_28 = V_4;
if (!((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_28, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_00b4;
}
}
IL_00ac:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_29 = V_0;
NullCheck(L_29);
Task_FinishThreadAbortedTask_m68ACB8E7C1B325A01E7CFB23448F60DF56328760(L_29, (bool)0, (bool)1, /*hidden argument*/NULL);
}
IL_00b4:
{
goto IL_00b6;
}
} // end catch (depth: 1)
IL_00b6:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_30 = V_0;
NullCheck(L_30);
RuntimeObject * L_31 = VirtFuncInvoker0< RuntimeObject * >::Invoke(15 /* System.Object System.Threading.Tasks.Task::get_SavedStateForNextReplica() */, L_30);
V_2 = L_31;
RuntimeObject * L_32 = V_2;
if (!L_32)
{
goto IL_0128;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_33 = __this->get_root_0();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_34 = __this->get_taskReplicaDelegate_2();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_35 = __this->get_root_0();
NullCheck(L_35);
RuntimeObject * L_36 = L_35->get_m_stateObject_6();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_37 = __this->get_root_0();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_38 = __this->get_root_0();
NullCheck(L_38);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_39 = Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline(L_38, /*hidden argument*/NULL);
int32_t L_40 = __this->get_creationOptionsForReplicas_3();
int32_t L_41 = __this->get_internalOptionsForReplicas_4();
NullCheck(L_33);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_42 = VirtFuncInvoker6< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *, RuntimeObject *, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *, int32_t, int32_t >::Invoke(14 /* System.Threading.Tasks.Task System.Threading.Tasks.Task::CreateReplicaTask(System.Action`1<System.Object>,System.Object,System.Threading.Tasks.Task,System.Threading.Tasks.TaskScheduler,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.InternalTaskOptions) */, L_33, L_34, L_36, L_37, L_39, L_40, L_41);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_43 = __this->get_root_0();
NullCheck(L_43);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_44 = Task_get_CapturedContext_m0BF410316395E27B89095D1070AB0D0875B0AAF1(L_43, /*hidden argument*/NULL);
V_5 = L_44;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_45 = L_42;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_46 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_47 = Task_CopyExecutionContext_m8B27D58B28710B2B9CDA52970404E67039F0EE53(L_46, /*hidden argument*/NULL);
NullCheck(L_45);
Task_set_CapturedContext_mB7C98613F94CB2B97DB8B283F18E0E47C42B887B(L_45, L_47, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_48 = L_45;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_49 = V_1;
NullCheck(L_48);
VirtActionInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(18 /* System.Void System.Threading.Tasks.Task::set_HandedOverChildReplica(System.Threading.Tasks.Task) */, L_48, L_49);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_50 = L_48;
RuntimeObject * L_51 = V_2;
NullCheck(L_50);
VirtActionInvoker1< RuntimeObject * >::Invoke(16 /* System.Void System.Threading.Tasks.Task::set_SavedStateFromPreviousReplica(System.Object) */, L_50, L_51);
NullCheck(L_50);
Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF(L_50, (bool)0, /*hidden argument*/NULL);
return;
}
IL_0128:
{
__this->set_replicasAreQuitting_1((bool)1);
}
IL_012f:
try
{ // begin try (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_52 = V_1;
NullCheck(L_52);
Task_InternalCancel_m745407E41B4B25AA01E7DBAD85A4857D1F7F520D(L_52, (bool)1, /*hidden argument*/NULL);
goto IL_014a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0139;
throw e;
}
CATCH_0139:
{ // begin catch(System.Exception)
V_6 = ((Exception_t *)__exception_local);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_53 = __this->get_root_0();
Exception_t * L_54 = V_6;
NullCheck(L_53);
Task_HandleException_m6B4C1844450535E0938234A9A696060C28A5F74C(L_53, L_54, /*hidden argument*/NULL);
goto IL_014a;
} // end catch (depth: 1)
IL_014a:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.Task_ContingentProperties::SetCompleted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties_SetCompleted_m3CB1941CBE9F1D241A2AFA4E3F739C98B493E6DE (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method)
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * V_0 = NULL;
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_0 = __this->get_m_completionEvent_1();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_1 = V_0;
if (!L_1)
{
goto IL_0012;
}
}
{
ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445 * L_2 = V_0;
NullCheck(L_2);
ManualResetEventSlim_Set_m2E94D35286055BA81B9DAD85C4CB9DCF89CF0F81(L_2, /*hidden argument*/NULL);
}
IL_0012:
{
return;
}
}
// System.Void System.Threading.Tasks.Task_ContingentProperties::DeregisterCancellationCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900 (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContingentProperties_DeregisterCancellationCallback_mE1C7DC05011B37760179381194AA813E6646C900_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * L_0 = __this->get_m_cancellationRegistration_4();
if (!L_0)
{
goto IL_0024;
}
}
IL_0008:
try
{ // begin try (depth: 1)
Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 * L_1 = __this->get_m_cancellationRegistration_4();
NullCheck(L_1);
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 * L_2 = L_1->get_address_of_Value_0();
CancellationTokenRegistration_Dispose_m12C09B73DC2913C85C776E611EF48DCA63405457((CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 *)L_2, /*hidden argument*/NULL);
goto IL_001d;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_001a;
throw e;
}
CATCH_001a:
{ // begin catch(System.ObjectDisposedException)
goto IL_001d;
} // end catch (depth: 1)
IL_001d:
{
__this->set_m_cancellationRegistration_4((Shared_1_t6EFAE49AC0A1E070F87779D3DD8273B35F28E7D2 *)NULL);
}
IL_0024:
{
return;
}
}
// System.Void System.Threading.Tasks.Task_ContingentProperties::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContingentProperties__ctor_mD515B94D26AB52AFF131A9C97483E657261B0120 (ContingentProperties_t7149A27D01507C74E8BDAAA3848B45D2644FDF08 * __this, const RuntimeMethod* method)
{
{
il2cpp_codegen_memory_barrier();
__this->set_m_completionCountdown_6(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.Task_DelayPromise::.ctor(System.Threading.CancellationToken)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DelayPromise__ctor_m3A76D411C11904928F0FF700384FFA1668669B15 (DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___token0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DelayPromise__ctor_m3A76D411C11904928F0FF700384FFA1668669B15_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_1_t1359D75350E9D976BFA28AD96E417450DE277673_il2cpp_TypeInfo_var);
Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4(__this, /*hidden argument*/Task_1__ctor_mB6BFCB1A119B19A4AE30679E41E1F4EC47797EB4_RuntimeMethod_var);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = ___token0;
__this->set_Token_25(L_0);
bool L_1 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_1)
{
goto IL_0027;
}
}
{
int32_t L_2 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCreation_m7B5DBD272BC20E986A5120FBF6665241BBACF060(0, L_2, _stringLiteralB016278EAF5A66B124AA177BADC28CD1550C586F, (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
}
IL_0027:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_3 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_3)
{
goto IL_0035;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421(__this, /*hidden argument*/NULL);
}
IL_0035:
{
return;
}
}
// System.Void System.Threading.Tasks.Task_DelayPromise::Complete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD (DelayPromise_t7C7AB82D097218CCDB5A68ED80ED47BC56DE10D2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DelayPromise_Complete_m0CE65AE222FFF596F849ACDF12710DA631C673AD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_1;
memset((&V_1), 0, sizeof(V_1));
VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 V_2;
memset((&V_2), 0, sizeof(V_2));
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = __this->get_Token_25();
V_1 = L_0;
bool L_1 = CancellationToken_get_IsCancellationRequested_mCF3521778F20F7048B7121885794B9562324447D((CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB *)(&V_1), /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001f;
}
}
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = __this->get_Token_25();
bool L_3 = Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C(__this, L_2, /*hidden argument*/Task_1_TrySetCanceled_mF517585BF4AC77744F212A6F236047C47E7CB45C_RuntimeMethod_var);
V_0 = L_3;
goto IL_0055;
}
IL_001f:
{
bool L_4 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_4)
{
goto IL_0033;
}
}
{
int32_t L_5 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_5, 1, /*hidden argument*/NULL);
}
IL_0033:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_6 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_6)
{
goto IL_0045;
}
}
{
int32_t L_7 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_7, /*hidden argument*/NULL);
}
IL_0045:
{
il2cpp_codegen_initobj((&V_2), sizeof(VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 ));
VoidTaskResult_t66EBC10DDE738848DB00F6EC1A2536D7D4715F40 L_8 = V_2;
bool L_9 = Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543(__this, L_8, /*hidden argument*/Task_1_TrySetResult_mAD80B9B3A23B94A6798C589669A06F1D25D46543_RuntimeMethod_var);
V_0 = L_9;
}
IL_0055:
{
bool L_10 = V_0;
if (!L_10)
{
goto IL_0076;
}
}
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_11 = __this->get_Timer_27();
if (!L_11)
{
goto IL_006b;
}
}
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_12 = __this->get_Timer_27();
NullCheck(L_12);
Timer_Dispose_mAD09E4EAC3D4A4732B55911919A60CACCF8173D9(L_12, /*hidden argument*/NULL);
}
IL_006b:
{
CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 * L_13 = __this->get_address_of_Registration_26();
CancellationTokenRegistration_Dispose_m12C09B73DC2913C85C776E611EF48DCA63405457((CancellationTokenRegistration_tCDB9825D1854DD0D7FF737C82B099FC468107BB2 *)L_13, /*hidden argument*/NULL);
}
IL_0076:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.Task_SetOnInvokeMres::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SetOnInvokeMres__ctor_m5687AFB1292311BE5361EDDC64D893359D4DA8BD (SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SetOnInvokeMres__ctor_m5687AFB1292311BE5361EDDC64D893359D4DA8BD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ManualResetEventSlim_t085E880B24016C42F7DE42113674D0A41B4FB445_il2cpp_TypeInfo_var);
ManualResetEventSlim__ctor_m9755B7ADD1C06A7CA340D730FD1E3694BB563B94(__this, (bool)0, 0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.Task_SetOnInvokeMres::Invoke(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SetOnInvokeMres_Invoke_m157A2CD514960373752C978636DE35C42FAB083C (SetOnInvokeMres_tBDCEA7BE3061614FC83A82D8E6FBD5903C3FD2A9 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___completingTask0, const RuntimeMethod* method)
{
{
ManualResetEventSlim_Set_m2E94D35286055BA81B9DAD85C4CB9DCF89CF0F81(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskCanceledException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCanceledException__ctor_m050669D6A0AFCADF5E7EE761F1E32860C187D2D4 (TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskCanceledException__ctor_m050669D6A0AFCADF5E7EE761F1E32860C187D2D4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral8F3F5E0527993BEB4010B7A1444A093EDA2F42EF, /*hidden argument*/NULL);
OperationCanceledException__ctor_m2B7CD7E9C467C67E91F869D2418897991E05CC2F(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskCanceledException::.ctor(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCanceledException__ctor_m45DC90A53B1AF6B996D2B1BEA655A8D2C08C6AE7 (TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskCanceledException__ctor_m45DC90A53B1AF6B996D2B1BEA655A8D2C08C6AE7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
String_t* G_B2_0 = NULL;
TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * G_B2_1 = NULL;
String_t* G_B1_0 = NULL;
TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * G_B1_1 = NULL;
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB G_B3_0;
memset((&G_B3_0), 0, sizeof(G_B3_0));
String_t* G_B3_1 = NULL;
TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * G_B3_2 = NULL;
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral8F3F5E0527993BEB4010B7A1444A093EDA2F42EF, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = ___task0;
G_B1_0 = L_0;
G_B1_1 = __this;
if (L_1)
{
G_B2_0 = L_0;
G_B2_1 = __this;
goto IL_0019;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = V_0;
G_B3_0 = L_2;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_001f;
}
IL_0019:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = ___task0;
NullCheck(L_3);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_4 = Task_get_CancellationToken_m3E8D0E96EEC38EC70AEE5F876AF8A0517B463D75(L_3, /*hidden argument*/NULL);
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_001f:
{
NullCheck(G_B3_2);
OperationCanceledException__ctor_mFA31130275508696794961415B1C9F0AC2308DB0(G_B3_2, G_B3_1, G_B3_0, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = ___task0;
__this->set_m_canceledTask_18(L_5);
return;
}
}
// System.Void System.Threading.Tasks.TaskCanceledException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskCanceledException__ctor_mF6F50812A6475FF25AFA7C541D18C1A3FB02ADFD (TaskCanceledException_tB1E5209054F302F814E18BBCACDF6546BAF2EC48 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
OperationCanceledException__ctor_m8FCB4255C71E7CCCD49CF391BC5CE8EF39F47700(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskContinuation::InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskContinuation_InlineIfPossibleOrElseQueue_m7CCFD190C3F783A343C1103BF27BFE4D19C66FEF (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___needsProtection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskContinuation_InlineIfPossibleOrElseQueue_m7CCFD190C3F783A343C1103BF27BFE4D19C66FEF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * V_0 = NULL;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = ___needsProtection1;
if (!L_0)
{
goto IL_000c;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = ___task0;
NullCheck(L_1);
bool L_2 = Task_MarkStarted_mA6657A4058C324CA5277F16D30C25741C4220030(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0022;
}
}
{
return;
}
IL_000c:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = ___task0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = L_3;
NullCheck(L_4);
int32_t L_5 = L_4->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
NullCheck(L_4);
il2cpp_codegen_memory_barrier();
L_4->set_m_stateFlags_9(((int32_t)((int32_t)L_5|(int32_t)((int32_t)65536))));
}
IL_0022:
{
}
IL_0023:
try
{ // begin try (depth: 1)
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = ___task0;
NullCheck(L_6);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_7 = L_6->get_m_taskScheduler_7();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_8 = ___task0;
NullCheck(L_7);
bool L_9 = TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B(L_7, L_8, (bool)0, /*hidden argument*/NULL);
if (L_9)
{
goto IL_003e;
}
}
IL_0032:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_10 = ___task0;
NullCheck(L_10);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_11 = L_10->get_m_taskScheduler_7();
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_12 = ___task0;
NullCheck(L_11);
TaskScheduler_InternalQueueTask_m08940F911E3B4987803048AC88CAE4FB803E1B30(L_11, L_12, /*hidden argument*/NULL);
}
IL_003e:
{
goto IL_0070;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0040;
throw e;
}
CATCH_0040:
{ // begin catch(System.Exception)
{
V_0 = ((Exception_t *)__exception_local);
Exception_t * L_13 = V_0;
if (!((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_13, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_0059;
}
}
IL_0049:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_14 = ___task0;
NullCheck(L_14);
int32_t L_15 = L_14->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
if (((int32_t)((int32_t)L_15&(int32_t)((int32_t)134217728))))
{
goto IL_006e;
}
}
IL_0059:
{
Exception_t * L_16 = V_0;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_17 = (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 *)il2cpp_codegen_object_new(TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var);
TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63(L_17, L_16, /*hidden argument*/NULL);
V_1 = L_17;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_18 = ___task0;
TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * L_19 = V_1;
NullCheck(L_18);
Task_AddException_m07648B13C5D6B6517EEC4C84D5C022965ED1AE54(L_18, L_19, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_20 = ___task0;
NullCheck(L_20);
Task_Finish_m3CBED2C27D7A1E20A9D2A659D4DEA38FCC47DF8F(L_20, (bool)0, /*hidden argument*/NULL);
}
IL_006e:
{
goto IL_0070;
}
} // end catch (depth: 1)
IL_0070:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskContinuation::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskContinuation__ctor_m80CED39EAC26BB41224D948D7197F1251E4F4631 (TaskContinuation_t870BBF430CE7A3B6DF15EE1ED7940F1ABA9EEEE9 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskExceptionHolder::.ctor(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder__ctor_m9DFCF5C093112C5273718737871BB34B2677A842 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder__ctor_m9DFCF5C093112C5273718737871BB34B2677A842_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
__this->set_m_task_3(L_0);
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
TaskExceptionHolder_EnsureADUnloadCallbackRegistered_m9143F763B1A627B480F5E1B9993FF68DE28BD080(/*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Tasks.TaskExceptionHolder::ShouldFailFastOnUnobservedException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskExceptionHolder_ShouldFailFastOnUnobservedException_m598AC45A67885B2AECE374ACE0EC8863F733CD1B (const RuntimeMethod* method)
{
{
bool L_0 = CLRConfig_CheckThrowUnobservedTaskExceptions_m7E817CDBB28FAAD9A350E189D536A84EA75A37D3(/*hidden argument*/NULL);
return L_0;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::EnsureADUnloadCallbackRegistered()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_EnsureADUnloadCallbackRegistered_m9143F763B1A627B480F5E1B9993FF68DE28BD080 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_EnsureADUnloadCallbackRegistered_m9143F763B1A627B480F5E1B9993FF68DE28BD080_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * L_0 = ((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->get_s_adUnloadEventHandler_2();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_0033;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * L_1 = (EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C *)il2cpp_codegen_object_new(EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C_il2cpp_TypeInfo_var);
EventHandler__ctor_m497A2BCD46DB769EAFFDE919303FCAE226906B6F(L_1, NULL, (intptr_t)((intptr_t)TaskExceptionHolder_AppDomainUnloadCallback_mAC27C1E4D2719B110D952A915FCC2B763C0FDBAA_RuntimeMethod_var), /*hidden argument*/NULL);
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * L_2 = InterlockedCompareExchangeImpl<EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C *>((EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C **)(((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->get_address_of_s_adUnloadEventHandler_2()), L_1, (EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C *)NULL);
if (L_2)
{
goto IL_0033;
}
}
{
AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * L_3 = AppDomain_get_CurrentDomain_m3D3D52C9382D6853E49551DA6182DBC5F1118BF0(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
EventHandler_t2B84E745E28BA26C49C4E99A387FC3B534D1110C * L_4 = ((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->get_s_adUnloadEventHandler_2();
il2cpp_codegen_memory_barrier();
NullCheck(L_3);
AppDomain_add_DomainUnload_mF24D35CA25C3C808EC78600D0C603B396EC8765F(L_3, L_4, /*hidden argument*/NULL);
}
IL_0033:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::AppDomainUnloadCallback(System.Object,System.EventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_AppDomainUnloadCallback_mAC27C1E4D2719B110D952A915FCC2B763C0FDBAA (RuntimeObject * ___sender0, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___e1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_AppDomainUnloadCallback_mAC27C1E4D2719B110D952A915FCC2B763C0FDBAA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
il2cpp_codegen_memory_barrier();
((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->set_s_domainUnloadStarted_1(1);
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_Finalize_mDB06081495D64A2708A09991B67929EDF79EF3FA (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_Finalize_mDB06081495D64A2708A09991B67929EDF79EF3FA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * V_0 = NULL;
UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * V_1 = NULL;
Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 V_2;
memset((&V_2), 0, sizeof(V_2));
Exception_t * V_3 = NULL;
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * V_4 = NULL;
RuntimeObject* V_5 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_0 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
if (!L_0)
{
goto IL_0103;
}
}
IL_000d:
{
bool L_1 = __this->get_m_isHandled_6();
il2cpp_codegen_memory_barrier();
if (L_1)
{
goto IL_0103;
}
}
IL_001a:
{
bool L_2 = Environment_get_HasShutdownStarted_m722CC30F8A3C58FE3165427FF2858922C13F7A5C(/*hidden argument*/NULL);
if (L_2)
{
goto IL_0103;
}
}
IL_0024:
{
AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * L_3 = AppDomain_get_CurrentDomain_m3D3D52C9382D6853E49551DA6182DBC5F1118BF0(/*hidden argument*/NULL);
NullCheck(L_3);
bool L_4 = AppDomain_IsFinalizingForUnload_m1B3D0DA1C7AEA3D6FA5D7D52161B2FF52B2D9912(L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_0103;
}
}
IL_0033:
{
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
bool L_5 = ((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->get_s_domainUnloadStarted_1();
il2cpp_codegen_memory_barrier();
if (L_5)
{
goto IL_0103;
}
}
IL_003f:
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_6 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
NullCheck(L_6);
Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 L_7 = List_1_GetEnumerator_mE27BF65BB76485B01C35B9F6A1D44C4560BF5370(L_6, /*hidden argument*/List_1_GetEnumerator_mE27BF65BB76485B01C35B9F6A1D44C4560BF5370_RuntimeMethod_var);
V_2 = L_7;
}
IL_004d:
try
{ // begin try (depth: 2)
{
goto IL_00ae;
}
IL_004f:
{
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_8 = Enumerator_get_Current_m2EA6C5DB454F479076AF2C9098A477B943F7CF71_inline((Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *)(&V_2), /*hidden argument*/Enumerator_get_Current_m2EA6C5DB454F479076AF2C9098A477B943F7CF71_RuntimeMethod_var);
NullCheck(L_8);
Exception_t * L_9 = ExceptionDispatchInfo_get_SourceException_m212F50A437B8B18AFECE39F2A9F7231787F45F28_inline(L_8, /*hidden argument*/NULL);
V_3 = L_9;
Exception_t * L_10 = V_3;
V_4 = ((AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)IsInstClass((RuntimeObject*)L_10, AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var));
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_11 = V_4;
if (!L_11)
{
goto IL_00a4;
}
}
IL_0068:
{
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_12 = V_4;
NullCheck(L_12);
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_13 = AggregateException_Flatten_mDA4D8AD18CD6E4E13B69A3CDC8F341D825AFE05C(L_12, /*hidden argument*/NULL);
NullCheck(L_13);
ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * L_14 = AggregateException_get_InnerExceptions_mB81D2B3BD56A3E938B83B0AF766474ED66057040_inline(L_13, /*hidden argument*/NULL);
NullCheck(L_14);
RuntimeObject* L_15 = ReadOnlyCollection_1_GetEnumerator_mB3A1708B473BA7EE3CED5959613B2AA11A4920BA(L_14, /*hidden argument*/ReadOnlyCollection_1_GetEnumerator_mB3A1708B473BA7EE3CED5959613B2AA11A4920BA_RuntimeMethod_var);
V_5 = L_15;
}
IL_007b:
try
{ // begin try (depth: 3)
{
goto IL_008d;
}
IL_007d:
{
RuntimeObject* L_16 = V_5;
NullCheck(L_16);
Exception_t * L_17 = InterfaceFuncInvoker0< Exception_t * >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Exception>::get_Current() */, IEnumerator_1_t2281FCF251CD51C1F13587450034F0E08EBFAD0E_il2cpp_TypeInfo_var, L_16);
if (!((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_17, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_008d;
}
}
IL_008b:
{
IL2CPP_LEAVE(0x10C, FINALLY_0098);
}
IL_008d:
{
RuntimeObject* L_18 = V_5;
NullCheck(L_18);
bool L_19 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_18);
if (L_19)
{
goto IL_007d;
}
}
IL_0096:
{
IL2CPP_LEAVE(0xAE, FINALLY_0098);
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0098;
}
FINALLY_0098:
{ // begin finally (depth: 3)
{
RuntimeObject* L_20 = V_5;
if (!L_20)
{
goto IL_00a3;
}
}
IL_009c:
{
RuntimeObject* L_21 = V_5;
NullCheck(L_21);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_21);
}
IL_00a3:
{
IL2CPP_END_FINALLY(152)
}
} // end finally (depth: 3)
IL2CPP_CLEANUP(152)
{
IL2CPP_END_CLEANUP(0x10C, FINALLY_00b9);
IL2CPP_JUMP_TBL(0xAE, IL_00ae)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00a4:
{
Exception_t * L_22 = V_3;
if (!((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)IsInstSealed((RuntimeObject*)L_22, ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var)))
{
goto IL_00ae;
}
}
IL_00ac:
{
IL2CPP_LEAVE(0x10C, FINALLY_00b9);
}
IL_00ae:
{
bool L_23 = Enumerator_MoveNext_mDBF08ABE6CCFA1D4FCF82C5D409C18615C300000((Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *)(&V_2), /*hidden argument*/Enumerator_MoveNext_mDBF08ABE6CCFA1D4FCF82C5D409C18615C300000_RuntimeMethod_var);
if (L_23)
{
goto IL_004f;
}
}
IL_00b7:
{
IL2CPP_LEAVE(0xC7, FINALLY_00b9);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00b9;
}
FINALLY_00b9:
{ // begin finally (depth: 2)
Enumerator_Dispose_m60AD9FD2AC64440B5E23B200EAE9B55F366379AB((Enumerator_t23D7E95BCDD5032F1F9E007FFC1937FDFB0BE911 *)(&V_2), /*hidden argument*/Enumerator_Dispose_m60AD9FD2AC64440B5E23B200EAE9B55F366379AB_RuntimeMethod_var);
IL2CPP_END_FINALLY(185)
} // end finally (depth: 2)
IL2CPP_CLEANUP(185)
{
IL2CPP_END_CLEANUP(0x10C, FINALLY_0105);
IL2CPP_JUMP_TBL(0xC7, IL_00c7)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00c7:
{
String_t* L_24 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral4502F52BE77394F4C0ECBD9DEA423CB819129CE0, /*hidden argument*/NULL);
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_25 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_26 = (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)il2cpp_codegen_object_new(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var);
AggregateException__ctor_m49EF2FE10BC147085D49932EDE07AD581C461818(L_26, L_24, L_25, /*hidden argument*/NULL);
V_0 = L_26;
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_27 = V_0;
UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * L_28 = (UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 *)il2cpp_codegen_object_new(UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7_il2cpp_TypeInfo_var);
UnobservedTaskExceptionEventArgs__ctor_mD866CEFA881E8B9F5C7FB00C62B3575E97BFEED3(L_28, L_27, /*hidden argument*/NULL);
V_1 = L_28;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_29 = __this->get_m_task_3();
UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * L_30 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_PublishUnobservedTaskException_mA2CFE30AA160C2A0FEDAB216CEF09B86AD16ECA4(L_29, L_30, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var);
bool L_31 = ((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->get_s_failFastOnUnobservedException_0();
if (!L_31)
{
goto IL_0103;
}
}
IL_00f9:
{
UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * L_32 = V_1;
NullCheck(L_32);
bool L_33 = L_32->get_m_observed_2();
if (L_33)
{
goto IL_0103;
}
}
IL_0101:
{
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_34 = V_0;
IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, NULL, TaskExceptionHolder_Finalize_mDB06081495D64A2708A09991B67929EDF79EF3FA_RuntimeMethod_var);
}
IL_0103:
{
IL2CPP_LEAVE(0x10C, FINALLY_0105);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0105;
}
FINALLY_0105:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(261)
} // end finally (depth: 1)
IL2CPP_CLEANUP(261)
{
IL2CPP_JUMP_TBL(0x10C, IL_010c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_010c:
{
return;
}
}
// System.Boolean System.Threading.Tasks.TaskExceptionHolder::get_ContainsFaultList()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskExceptionHolder_get_ContainsFaultList_m0BD28A069F49306DC78F74060DF55D2F9F5275E3 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_0 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
return (bool)((!(((RuntimeObject*)(List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::Add(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_Add_m474EACCFF78EE2092046D28A549140F2DB721109 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, bool ___representsCancellation1, const RuntimeMethod* method)
{
{
bool L_0 = ___representsCancellation1;
if (!L_0)
{
goto IL_000b;
}
}
{
RuntimeObject * L_1 = ___exceptionObject0;
TaskExceptionHolder_SetCancellationException_m98201054DD08F08C9DABEDA502FFDC926412EB35(__this, L_1, /*hidden argument*/NULL);
return;
}
IL_000b:
{
RuntimeObject * L_2 = ___exceptionObject0;
TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505(__this, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::SetCancellationException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_SetCancellationException_m98201054DD08F08C9DABEDA502FFDC926412EB35 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_SetCancellationException_m98201054DD08F08C9DABEDA502FFDC926412EB35_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * V_0 = NULL;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * V_1 = NULL;
{
RuntimeObject * L_0 = ___exceptionObject0;
V_0 = ((OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 *)IsInstClass((RuntimeObject*)L_0, OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90_il2cpp_TypeInfo_var));
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * L_1 = V_0;
if (!L_1)
{
goto IL_0018;
}
}
{
OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * L_2 = V_0;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_3 = ExceptionDispatchInfo_Capture_m8E5F721466EDFE9AA8BC532F9AE7A859E0766E23(L_2, /*hidden argument*/NULL);
__this->set_m_cancellationException_5(L_3);
goto IL_0026;
}
IL_0018:
{
RuntimeObject * L_4 = ___exceptionObject0;
V_1 = ((ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A *)IsInstSealed((RuntimeObject*)L_4, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A_il2cpp_TypeInfo_var));
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_5 = V_1;
__this->set_m_cancellationException_5(L_5);
}
IL_0026:
{
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::AddFaultException(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, RuntimeObject * ___exceptionObject0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * V_0 = NULL;
Exception_t * V_1 = NULL;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * V_2 = NULL;
RuntimeObject* V_3 = NULL;
RuntimeObject* V_4 = NULL;
Exception_t * V_5 = NULL;
RuntimeObject* V_6 = NULL;
int32_t V_7 = 0;
Type_t * V_8 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_0 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_1 = V_0;
if (L_1)
{
goto IL_001c;
}
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_2 = (List_1_tCD04260AE1254C438132446F1E6892AB86D18743 *)il2cpp_codegen_object_new(List_1_tCD04260AE1254C438132446F1E6892AB86D18743_il2cpp_TypeInfo_var);
List_1__ctor_m5D913FDA1B5B3FFD94223C59B5A70B418F569213(L_2, 1, /*hidden argument*/List_1__ctor_m5D913FDA1B5B3FFD94223C59B5A70B418F569213_RuntimeMethod_var);
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_3 = L_2;
V_0 = L_3;
il2cpp_codegen_memory_barrier();
__this->set_m_faultExceptions_4(L_3);
}
IL_001c:
{
RuntimeObject * L_4 = ___exceptionObject0;
V_1 = ((Exception_t *)IsInstClass((RuntimeObject*)L_4, Exception_t_il2cpp_TypeInfo_var));
Exception_t * L_5 = V_1;
if (!L_5)
{
goto IL_0034;
}
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_6 = V_0;
Exception_t * L_7 = V_1;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_8 = ExceptionDispatchInfo_Capture_m8E5F721466EDFE9AA8BC532F9AE7A859E0766E23(L_7, /*hidden argument*/NULL);
NullCheck(L_6);
List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279(L_6, L_8, /*hidden argument*/List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279_RuntimeMethod_var);
goto IL_00b3;
}
IL_0034:
{
RuntimeObject * L_9 = ___exceptionObject0;
V_2 = ((ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A *)IsInstSealed((RuntimeObject*)L_9, ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A_il2cpp_TypeInfo_var));
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_10 = V_2;
if (!L_10)
{
goto IL_0047;
}
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_11 = V_0;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_12 = V_2;
NullCheck(L_11);
List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279(L_11, L_12, /*hidden argument*/List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279_RuntimeMethod_var);
goto IL_00b3;
}
IL_0047:
{
RuntimeObject * L_13 = ___exceptionObject0;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_13, IEnumerable_1_t6B3D33CE5B4DC884E5267C7B8CBC12380D09B3F1_il2cpp_TypeInfo_var));
RuntimeObject* L_14 = V_3;
if (!L_14)
{
goto IL_0088;
}
}
{
RuntimeObject* L_15 = V_3;
NullCheck(L_15);
RuntimeObject* L_16 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<System.Exception>::GetEnumerator() */, IEnumerable_1_t6B3D33CE5B4DC884E5267C7B8CBC12380D09B3F1_il2cpp_TypeInfo_var, L_15);
V_4 = L_16;
}
IL_0059:
try
{ // begin try (depth: 1)
{
goto IL_0071;
}
IL_005b:
{
RuntimeObject* L_17 = V_4;
NullCheck(L_17);
Exception_t * L_18 = InterfaceFuncInvoker0< Exception_t * >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.Exception>::get_Current() */, IEnumerator_1_t2281FCF251CD51C1F13587450034F0E08EBFAD0E_il2cpp_TypeInfo_var, L_17);
V_5 = L_18;
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_19 = V_0;
Exception_t * L_20 = V_5;
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_21 = ExceptionDispatchInfo_Capture_m8E5F721466EDFE9AA8BC532F9AE7A859E0766E23(L_20, /*hidden argument*/NULL);
NullCheck(L_19);
List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279(L_19, L_21, /*hidden argument*/List_1_Add_m3A0B8640D1A4B9BDC91742284BC44B969CC78279_RuntimeMethod_var);
}
IL_0071:
{
RuntimeObject* L_22 = V_4;
NullCheck(L_22);
bool L_23 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_22);
if (L_23)
{
goto IL_005b;
}
}
IL_007a:
{
IL2CPP_LEAVE(0xB3, FINALLY_007c);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_007c;
}
FINALLY_007c:
{ // begin finally (depth: 1)
{
RuntimeObject* L_24 = V_4;
if (!L_24)
{
goto IL_0087;
}
}
IL_0080:
{
RuntimeObject* L_25 = V_4;
NullCheck(L_25);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_25);
}
IL_0087:
{
IL2CPP_END_FINALLY(124)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(124)
{
IL2CPP_JUMP_TBL(0xB3, IL_00b3)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0088:
{
RuntimeObject * L_26 = ___exceptionObject0;
V_6 = ((RuntimeObject*)IsInst((RuntimeObject*)L_26, IEnumerable_1_t37B4D1EEBA6E5098A0F018A779067097451BAD2C_il2cpp_TypeInfo_var));
RuntimeObject* L_27 = V_6;
if (!L_27)
{
goto IL_009e;
}
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_28 = V_0;
RuntimeObject* L_29 = V_6;
NullCheck(L_28);
List_1_AddRange_m931E984DEC4E3137C263958DE8354032E8784003(L_28, L_29, /*hidden argument*/List_1_AddRange_m931E984DEC4E3137C263958DE8354032E8784003_RuntimeMethod_var);
goto IL_00b3;
}
IL_009e:
{
String_t* L_30 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralA5303371A1DD00CB948B4C58C88CC7779A494241, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_31 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_31, L_30, _stringLiteral8D35B56BCE74A9F8AC3CB4260050F19B572F5AC7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, NULL, TaskExceptionHolder_AddFaultException_mAED32CEEF853B1EECD7CDD5285BD8E1F079DF505_RuntimeMethod_var);
}
IL_00b3:
{
V_7 = 0;
goto IL_0112;
}
IL_00b8:
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_32 = V_0;
int32_t L_33 = V_7;
NullCheck(L_32);
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_34 = List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_inline(L_32, L_33, /*hidden argument*/List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_RuntimeMethod_var);
NullCheck(L_34);
Exception_t * L_35 = ExceptionDispatchInfo_get_SourceException_m212F50A437B8B18AFECE39F2A9F7231787F45F28_inline(L_34, /*hidden argument*/NULL);
NullCheck(L_35);
Type_t * L_36 = Exception_GetType_mA3390B9D538D5FAC3802D9D8A2FCAC31465130F3(L_35, /*hidden argument*/NULL);
V_8 = L_36;
Type_t * L_37 = V_8;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_38 = { reinterpret_cast<intptr_t> (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_39 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_38, /*hidden argument*/NULL);
bool L_40 = Type_op_Inequality_m615014191FB05FD50F63A24EB9A6CCA785E7CEC9(L_37, L_39, /*hidden argument*/NULL);
if (!L_40)
{
goto IL_00f9;
}
}
{
Type_t * L_41 = V_8;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_42 = { reinterpret_cast<intptr_t> (AppDomainUnloadedException_t8DFC322660E43B2A11853B62BF43078F42496A35_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_43 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_42, /*hidden argument*/NULL);
bool L_44 = Type_op_Inequality_m615014191FB05FD50F63A24EB9A6CCA785E7CEC9(L_41, L_43, /*hidden argument*/NULL);
if (!L_44)
{
goto IL_00f9;
}
}
{
TaskExceptionHolder_MarkAsUnhandled_mD22F977332D7F3EAE91FE0665BAEE1873B342301(__this, /*hidden argument*/NULL);
return;
}
IL_00f9:
{
int32_t L_45 = V_7;
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_46 = V_0;
NullCheck(L_46);
int32_t L_47 = List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_inline(L_46, /*hidden argument*/List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_RuntimeMethod_var);
if ((!(((uint32_t)L_45) == ((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_47, (int32_t)1))))))
{
goto IL_010c;
}
}
{
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(__this, (bool)0, /*hidden argument*/NULL);
}
IL_010c:
{
int32_t L_48 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)1));
}
IL_0112:
{
int32_t L_49 = V_7;
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_50 = V_0;
NullCheck(L_50);
int32_t L_51 = List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_inline(L_50, /*hidden argument*/List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_RuntimeMethod_var);
if ((((int32_t)L_49) < ((int32_t)L_51)))
{
goto IL_00b8;
}
}
{
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::MarkAsUnhandled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_MarkAsUnhandled_mD22F977332D7F3EAE91FE0665BAEE1873B342301 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_MarkAsUnhandled_mD22F977332D7F3EAE91FE0665BAEE1873B342301_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_isHandled_6();
il2cpp_codegen_memory_barrier();
if (!L_0)
{
goto IL_0019;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_ReRegisterForFinalize_m4978CBD78D693FF77EA40D4000F0EF9F2C2E54C8(__this, /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
__this->set_m_isHandled_6(0);
}
IL_0019:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::MarkAsHandled(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, bool ___calledFromFinalizer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_isHandled_6();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_001c;
}
}
{
bool L_1 = ___calledFromFinalizer0;
if (L_1)
{
goto IL_0013;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425(__this, /*hidden argument*/NULL);
}
IL_0013:
{
il2cpp_codegen_memory_barrier();
__this->set_m_isHandled_6(1);
}
IL_001c:
{
return;
}
}
// System.AggregateException System.Threading.Tasks.TaskExceptionHolder::CreateExceptionObject(System.Boolean,System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, bool ___calledFromFinalizer0, Exception_t * ___includeThisException1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_CreateExceptionObject_m054A22256E85C2AF24F5E4253F1FD9ED7698D214_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * V_0 = NULL;
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* V_1 = NULL;
int32_t V_2 = 0;
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_0 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
bool L_1 = ___calledFromFinalizer0;
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(__this, L_1, /*hidden argument*/NULL);
Exception_t * L_2 = ___includeThisException1;
if (L_2)
{
goto IL_001a;
}
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_3 = V_0;
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_4 = (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)il2cpp_codegen_object_new(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var);
AggregateException__ctor_m863A7C10A5AC7652F73FD1DD2441F9FF5544311E(L_4, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_001a:
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_inline(L_5, /*hidden argument*/List_1_get_Count_m3DAF7D49CDFC1C5CB1461E2030F6FDDA59DBBE1F_RuntimeMethod_var);
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_7 = (ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209*)(ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209*)SZArrayNew(ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)));
V_1 = L_7;
V_2 = 0;
goto IL_003f;
}
IL_002c:
{
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_8 = V_1;
int32_t L_9 = V_2;
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_10 = V_0;
int32_t L_11 = V_2;
NullCheck(L_10);
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_12 = List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_inline(L_10, L_11, /*hidden argument*/List_1_get_Item_m1F6363F6A46963C8CCA039EF719B7933A3817FF3_RuntimeMethod_var);
NullCheck(L_12);
Exception_t * L_13 = ExceptionDispatchInfo_get_SourceException_m212F50A437B8B18AFECE39F2A9F7231787F45F28_inline(L_12, /*hidden argument*/NULL);
NullCheck(L_8);
ArrayElementTypeCheck (L_8, L_13);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (Exception_t *)L_13);
int32_t L_14 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
}
IL_003f:
{
int32_t L_15 = V_2;
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_16 = V_1;
NullCheck(L_16);
if ((((int32_t)L_15) < ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))), (int32_t)1)))))
{
goto IL_002c;
}
}
{
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_17 = V_1;
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_18 = V_1;
NullCheck(L_18);
Exception_t * L_19 = ___includeThisException1;
NullCheck(L_17);
ArrayElementTypeCheck (L_17, L_19);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))), (int32_t)1))), (Exception_t *)L_19);
ExceptionU5BU5D_t09C3EFFA7CF3F84DA802016E2017E1608442F209* L_20 = V_1;
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_21 = (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E *)il2cpp_codegen_object_new(AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E_il2cpp_TypeInfo_var);
AggregateException__ctor_m4BE6D1A4009BE2081C418E517FFDFE415B6CF908(L_21, L_20, /*hidden argument*/NULL);
return L_21;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.Runtime.ExceptionServices.ExceptionDispatchInfo> System.Threading.Tasks.TaskExceptionHolder::GetExceptionDispatchInfos()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * TaskExceptionHolder_GetExceptionDispatchInfos_m22C52A36D4F57DA10A82F4193B5DB26C2761C40E (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder_GetExceptionDispatchInfos_m22C52A36D4F57DA10A82F4193B5DB26C2761C40E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_tCD04260AE1254C438132446F1E6892AB86D18743 * L_0 = __this->get_m_faultExceptions_4();
il2cpp_codegen_memory_barrier();
TaskExceptionHolder_MarkAsHandled_mDF29FF00633189AAC6A4D341F14D7DC6E0250835(__this, (bool)0, /*hidden argument*/NULL);
ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 * L_1 = (ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1 *)il2cpp_codegen_object_new(ReadOnlyCollection_1_t5DE493537EE0E554797BF0DA823DCBF1903CECC1_il2cpp_TypeInfo_var);
ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F(L_1, L_0, /*hidden argument*/ReadOnlyCollection_1__ctor_m7B7B9545500B72A83AC286C66E80177D48BE2F7F_RuntimeMethod_var);
return L_1;
}
}
// System.Runtime.ExceptionServices.ExceptionDispatchInfo System.Threading.Tasks.TaskExceptionHolder::GetCancellationExceptionDispatchInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * TaskExceptionHolder_GetCancellationExceptionDispatchInfo_m6F7AB65EF187AEE62E6704ED3C85C4BC58C6F369 (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
{
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_0 = __this->get_m_cancellationException_5();
return L_0;
}
}
// System.Void System.Threading.Tasks.TaskExceptionHolder::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskExceptionHolder__cctor_mC036402D0A2253FCC9204F39FEF446B74DD69CEE (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskExceptionHolder__cctor_mC036402D0A2253FCC9204F39FEF446B74DD69CEE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = TaskExceptionHolder_ShouldFailFastOnUnobservedException_m598AC45A67885B2AECE374ACE0EC8863F733CD1B(/*hidden argument*/NULL);
((TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_StaticFields*)il2cpp_codegen_static_fields_for(TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811_il2cpp_TypeInfo_var))->set_s_failFastOnUnobservedException_0(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskFactory::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory__ctor_m56921654C22946B66D728E86E5989E0397303233 (TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * __this, const RuntimeMethod* method)
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB V_0;
memset((&V_0), 0, sizeof(V_0));
{
il2cpp_codegen_initobj((&V_0), sizeof(CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ));
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = V_0;
TaskFactory__ctor_m2490F91C5D8A538976744AC434628767958D5EEA(__this, L_0, 0, 0, (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskFactory::.ctor(System.Threading.CancellationToken,System.Threading.Tasks.TaskCreationOptions,System.Threading.Tasks.TaskContinuationOptions,System.Threading.Tasks.TaskScheduler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory__ctor_m2490F91C5D8A538976744AC434628767958D5EEA (TaskFactory_tF3C6D983390ACFB40B4979E225368F78006D6155 * __this, CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB ___cancellationToken0, int32_t ___creationOptions1, int32_t ___continuationOptions2, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler3, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___continuationOptions2;
TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640(L_0, /*hidden argument*/NULL);
int32_t L_1 = ___creationOptions1;
TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370(L_1, /*hidden argument*/NULL);
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_2 = ___cancellationToken0;
__this->set_m_defaultCancellationToken_0(L_2);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_3 = ___scheduler3;
__this->set_m_defaultScheduler_1(L_3);
int32_t L_4 = ___creationOptions1;
__this->set_m_defaultCreationOptions_2(L_4);
int32_t L_5 = ___continuationOptions2;
__this->set_m_defaultContinuationOptions_3(L_5);
return;
}
}
// System.Void System.Threading.Tasks.TaskFactory::CheckCreationOptions(System.Threading.Tasks.TaskCreationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370 (int32_t ___creationOptions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___creationOptions0;
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)-96))))
{
goto IL_0011;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_1, _stringLiteral699B142A794903652E588B3D75019329F77A9209, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TaskFactory_CheckCreationOptions_m03F3C7D571E26A63D8DF838F1F99C28429CB3370_RuntimeMethod_var);
}
IL_0011:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskFactory::CheckFromAsyncOptions(System.Threading.Tasks.TaskCreationOptions,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8 (int32_t ___creationOptions0, bool ___hasBeginMethod1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ___hasBeginMethod1;
if (!L_0)
{
goto IL_0037;
}
}
{
int32_t L_1 = ___creationOptions0;
if (!((int32_t)((int32_t)L_1&(int32_t)2)))
{
goto IL_001d;
}
}
{
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral971DF08BCC359B15F724471A4DEB2F0A6002B6CD, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_3 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_3, _stringLiteral699B142A794903652E588B3D75019329F77A9209, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_RuntimeMethod_var);
}
IL_001d:
{
int32_t L_4 = ___creationOptions0;
if (!((int32_t)((int32_t)L_4&(int32_t)1)))
{
goto IL_0037;
}
}
{
String_t* L_5 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral9280A89163CCC6C8BEC940F5E045F6A6B5B08681, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_6 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_6, _stringLiteral699B142A794903652E588B3D75019329F77A9209, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_RuntimeMethod_var);
}
IL_0037:
{
int32_t L_7 = ___creationOptions0;
if (!((int32_t)((int32_t)L_7&(int32_t)((int32_t)-32))))
{
goto IL_0048;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_8 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_8, _stringLiteral699B142A794903652E588B3D75019329F77A9209, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, TaskFactory_CheckFromAsyncOptions_mE2DF3772379C6577D30BF685E85B55B79C090ED8_RuntimeMethod_var);
}
IL_0048:
{
return;
}
}
// System.Threading.Tasks.Task`1<System.Threading.Tasks.Task> System.Threading.Tasks.TaskFactory::CommonCWAnyLogic(System.Collections.Generic.IList`1<System.Threading.Tasks.Task>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138 * TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565 (RuntimeObject* ___tasks0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * V_0 = NULL;
bool V_1 = false;
int32_t V_2 = 0;
int32_t V_3 = 0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_4 = NULL;
{
RuntimeObject* L_0 = ___tasks0;
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_1 = (CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 *)il2cpp_codegen_object_new(CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86_il2cpp_TypeInfo_var);
CompleteOnInvokePromise__ctor_mFA5EA438CE61E8FDEB375E5CA2D7D5D1FFE0F175(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
V_1 = (bool)0;
RuntimeObject* L_2 = ___tasks0;
NullCheck(L_2);
int32_t L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Threading.Tasks.Task>::get_Count() */, ICollection_1_t39808D274D411213DCFE09BAE8F3041B974A1A4E_il2cpp_TypeInfo_var, L_2);
V_2 = L_3;
V_3 = 0;
goto IL_0076;
}
IL_0014:
{
RuntimeObject* L_4 = ___tasks0;
int32_t L_5 = V_3;
NullCheck(L_4);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = InterfaceFuncInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, int32_t >::Invoke(0 /* T System.Collections.Generic.IList`1<System.Threading.Tasks.Task>::get_Item(System.Int32) */, IList_1_t93C6282CDBF781012E10B912A9AD946F53099551_il2cpp_TypeInfo_var, L_4, L_5);
V_4 = L_6;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_7 = V_4;
if (L_7)
{
goto IL_0036;
}
}
{
String_t* L_8 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral9527141004011DE14AE7F1E3643C59B23A00BC38, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_9 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_9, L_8, _stringLiteral55D8727A05EB80B0788AF57A5317F3E0A1F4AA55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, TaskFactory_CommonCWAnyLogic_m49CC1C06031409C5D34990993262A531609D9565_RuntimeMethod_var);
}
IL_0036:
{
bool L_10 = V_1;
if (L_10)
{
goto IL_0072;
}
}
{
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_11 = V_0;
NullCheck(L_11);
bool L_12 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0045;
}
}
{
V_1 = (bool)1;
goto IL_0072;
}
IL_0045:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_13 = V_4;
NullCheck(L_13);
bool L_14 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_005a;
}
}
{
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_15 = V_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_16 = V_4;
NullCheck(L_15);
CompleteOnInvokePromise_Invoke_mAA9922CF17CC5F9186EEE5672444AC40BA0ACC3A(L_15, L_16, /*hidden argument*/NULL);
V_1 = (bool)1;
goto IL_0072;
}
IL_005a:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = V_4;
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_18 = V_0;
NullCheck(L_17);
Task_AddCompletionAction_m211F80F6F259D8F8CBB408A901101B91923800C1(L_17, L_18, /*hidden argument*/NULL);
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_19 = V_0;
NullCheck(L_19);
bool L_20 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_19, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_0072;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_21 = V_4;
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_22 = V_0;
NullCheck(L_21);
Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4(L_21, L_22, /*hidden argument*/NULL);
}
IL_0072:
{
int32_t L_23 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_0076:
{
int32_t L_24 = V_3;
int32_t L_25 = V_2;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_0014;
}
}
{
CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * L_26 = V_0;
return L_26;
}
}
// System.Void System.Threading.Tasks.TaskFactory::CheckMultiTaskContinuationOptions(System.Threading.Tasks.TaskContinuationOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640 (int32_t ___continuationOptions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___continuationOptions0;
if ((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)524290)))) == ((uint32_t)((int32_t)524290)))))
{
goto IL_0023;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralB7A59C1214B081A2AF0561DFF2E17294228556D4, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_2 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_2, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_RuntimeMethod_var);
}
IL_0023:
{
int32_t L_3 = ___continuationOptions0;
if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)-983104))))
{
goto IL_0037;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_4 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_4, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_RuntimeMethod_var);
}
IL_0037:
{
int32_t L_5 = ___continuationOptions0;
if (!((int32_t)((int32_t)L_5&(int32_t)((int32_t)458752))))
{
goto IL_0055;
}
}
{
String_t* L_6 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralDC6963166E9D5E488CF23C5F20C1BCD34C9C9B72, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_7 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_7, _stringLiteral8EFECA76BCED966AFD1E6DF59938C647C9C83F78, L_6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, TaskFactory_CheckMultiTaskContinuationOptions_mB15FB0D6FD62C8A4AD85751B8605B57420B99640_RuntimeMethod_var);
}
IL_0055:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskFactory_CompleteOnInvokePromise::.ctor(System.Collections.Generic.IList`1<System.Threading.Tasks.Task>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompleteOnInvokePromise__ctor_mFA5EA438CE61E8FDEB375E5CA2D7D5D1FFE0F175 (CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * __this, RuntimeObject* ___tasks0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CompleteOnInvokePromise__ctor_mFA5EA438CE61E8FDEB375E5CA2D7D5D1FFE0F175_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_1_t6E4E91059C08F359F21A42B8BFA51E8BBFA47138_il2cpp_TypeInfo_var);
Task_1__ctor_m4008D170A16EFA60DD6E4D059D75FAAC9D57AD85(__this, /*hidden argument*/Task_1__ctor_m4008D170A16EFA60DD6E4D059D75FAAC9D57AD85_RuntimeMethod_var);
RuntimeObject* L_0 = ___tasks0;
__this->set__tasks_25(L_0);
bool L_1 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_1)
{
goto IL_0027;
}
}
{
int32_t L_2 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCreation_m7B5DBD272BC20E986A5120FBF6665241BBACF060(0, L_2, _stringLiteralE7C8B6C9A3407F1CFA5D484A50D6659DB304A143, (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
}
IL_0027:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_3 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_3)
{
goto IL_0035;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_AddToActiveTasks_m840B00A5EE550016686305EDB927B9A7FE37C421(__this, /*hidden argument*/NULL);
}
IL_0035:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskFactory_CompleteOnInvokePromise::Invoke(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CompleteOnInvokePromise_Invoke_mAA9922CF17CC5F9186EEE5672444AC40BA0ACC3A (CompleteOnInvokePromise_t5A1CFB5E935FFD61858B0F0CE081BBD8B96B1E86 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___completingTask0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CompleteOnInvokePromise_Invoke_mAA9922CF17CC5F9186EEE5672444AC40BA0ACC3A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_3 = NULL;
{
int32_t* L_0 = __this->get_address_of_m_firstTaskAlreadyCompleted_26();
int32_t L_1 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_0, 1, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0085;
}
}
{
bool L_2 = AsyncCausalityTracer_get_LoggingOn_m1A633E7FCD4DF7D870FFF917FDCDBEDAF24725B7(/*hidden argument*/NULL);
if (!L_2)
{
goto IL_0030;
}
}
{
int32_t L_3 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationRelation_mA7691DAE55DF8387322376648D9CCBB54EFFC490(1, L_3, 2, /*hidden argument*/NULL);
int32_t L_4 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
AsyncCausalityTracer_TraceOperationCompletion_m63C07B707D3034D2F0F4B395636B410ACC9A78D6(0, L_4, 1, /*hidden argument*/NULL);
}
IL_0030:
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
bool L_5 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_StaticFields*)il2cpp_codegen_static_fields_for(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_s_asyncDebuggingEnabled_12();
if (!L_5)
{
goto IL_0042;
}
}
{
int32_t L_6 = Task_get_Id_mA2A4DA7A476AFEF6FF4B4F29BF1F98D0481E28AD(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_RemoveFromActiveTasks_mEDE131DB4C29D967D6D717CAB002C6C02583BDF5(L_6, /*hidden argument*/NULL);
}
IL_0042:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_7 = ___completingTask0;
Task_1_TrySetResult_m8370C01E1E5614744D78DCC74E06F8FCAFDA11C8(__this, L_7, /*hidden argument*/Task_1_TrySetResult_m8370C01E1E5614744D78DCC74E06F8FCAFDA11C8_RuntimeMethod_var);
RuntimeObject* L_8 = __this->get__tasks_25();
V_0 = L_8;
RuntimeObject* L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<System.Threading.Tasks.Task>::get_Count() */, ICollection_1_t39808D274D411213DCFE09BAE8F3041B974A1A4E_il2cpp_TypeInfo_var, L_9);
V_1 = L_10;
V_2 = 0;
goto IL_007a;
}
IL_005c:
{
RuntimeObject* L_11 = V_0;
int32_t L_12 = V_2;
NullCheck(L_11);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_13 = InterfaceFuncInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, int32_t >::Invoke(0 /* T System.Collections.Generic.IList`1<System.Threading.Tasks.Task>::get_Item(System.Int32) */, IList_1_t93C6282CDBF781012E10B912A9AD946F53099551_il2cpp_TypeInfo_var, L_11, L_12);
V_3 = L_13;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_14 = V_3;
if (!L_14)
{
goto IL_0076;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_15 = V_3;
NullCheck(L_15);
bool L_16 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_15, /*hidden argument*/NULL);
if (L_16)
{
goto IL_0076;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = V_3;
NullCheck(L_17);
Task_RemoveContinuation_m09A569E89BF4CCCF31646AB74A88BCDFC093DAE4(L_17, __this, /*hidden argument*/NULL);
}
IL_0076:
{
int32_t L_18 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
}
IL_007a:
{
int32_t L_19 = V_2;
int32_t L_20 = V_1;
if ((((int32_t)L_19) < ((int32_t)L_20)))
{
goto IL_005c;
}
}
{
__this->set__tasks_25((RuntimeObject*)NULL);
}
IL_0085:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean System.Threading.Tasks.TaskScheduler::TryRunInline(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___taskWasPreviouslyQueued1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * V_0 = NULL;
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * V_1 = NULL;
bool V_2 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
NullCheck(L_0);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline(L_0, /*hidden argument*/NULL);
V_0 = L_1;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = V_0;
if ((((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_2) == ((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)__this)))
{
goto IL_0017;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_3 = V_0;
if (!L_3)
{
goto IL_0017;
}
}
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_4 = V_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = ___task0;
bool L_6 = ___taskWasPreviouslyQueued1;
NullCheck(L_4);
bool L_7 = TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B(L_4, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0017:
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_8 = V_0;
if (!L_8)
{
goto IL_0040;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_9 = ___task0;
NullCheck(L_9);
RuntimeObject * L_10 = L_9->get_m_action_5();
if (!L_10)
{
goto IL_0040;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_11 = ___task0;
NullCheck(L_11);
bool L_12 = Task_get_IsDelegateInvoked_m45C6B668A20D03726083A730EFC33873B10B5735(L_11, /*hidden argument*/NULL);
if (L_12)
{
goto IL_0040;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_13 = ___task0;
NullCheck(L_13);
bool L_14 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(L_13, /*hidden argument*/NULL);
if (L_14)
{
goto IL_0040;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_15 = Task_get_CurrentStackGuard_m74FB437E43F89B8BDCB272A7257024F586421F11(/*hidden argument*/NULL);
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_16 = L_15;
V_1 = L_16;
NullCheck(L_16);
bool L_17 = StackGuard_TryBeginInliningScope_mE32F6AC0F440280CD1E98D273645CD08AF844B33(L_16, /*hidden argument*/NULL);
if (L_17)
{
goto IL_0042;
}
}
IL_0040:
{
return (bool)0;
}
IL_0042:
{
V_2 = (bool)0;
}
IL_0044:
try
{ // begin try (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_18 = ___task0;
NullCheck(L_18);
Task_FireTaskScheduledIfNeeded_m6792459336CB25D967928EDA5249F2164991E447_inline(L_18, __this, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_19 = ___task0;
bool L_20 = ___taskWasPreviouslyQueued1;
bool L_21 = VirtFuncInvoker2< bool, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *, bool >::Invoke(5 /* System.Boolean System.Threading.Tasks.TaskScheduler::TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean) */, __this, L_19, L_20);
V_2 = L_21;
IL2CPP_LEAVE(0x5E, FINALLY_0057);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0057;
}
FINALLY_0057:
{ // begin finally (depth: 1)
StackGuard_tE431ED3BBD1A18705FEE6F948EBF7FA2E99D64A9 * L_22 = V_1;
NullCheck(L_22);
StackGuard_EndInliningScope_mEC7A78B71CB01216F0A7B0462E319234F0F05C39(L_22, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(87)
} // end finally (depth: 1)
IL2CPP_CLEANUP(87)
{
IL2CPP_JUMP_TBL(0x5E, IL_005e)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005e:
{
bool L_23 = V_2;
if (!L_23)
{
goto IL_0081;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_24 = ___task0;
NullCheck(L_24);
bool L_25 = Task_get_IsDelegateInvoked_m45C6B668A20D03726083A730EFC33873B10B5735(L_24, /*hidden argument*/NULL);
if (L_25)
{
goto IL_0081;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_26 = ___task0;
NullCheck(L_26);
bool L_27 = Task_get_IsCanceled_m42A47FCA2C6F33308A08C92C8489E802448F6F42(L_26, /*hidden argument*/NULL);
if (L_27)
{
goto IL_0081;
}
}
{
String_t* L_28 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral8858D34A5DF81344D5F1195DDACDFB8E8448C5E6, /*hidden argument*/NULL);
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_29 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_29, L_28, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_29, NULL, TaskScheduler_TryRunInline_m9FBFA8F615D96CC9902CA2CBC3D51BCF7444E67B_RuntimeMethod_var);
}
IL_0081:
{
bool L_30 = V_2;
return L_30;
}
}
// System.Boolean System.Threading.Tasks.TaskScheduler::TryDequeue(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskScheduler_TryDequeue_mC345958DE6521AF6A74EEFCEC8B19D3FC4BD83E1 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::NotifyWorkItemProgress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_NotifyWorkItemProgress_m506178A0A8525B4CA209DCF00CAA3CDFDF6B677C (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean System.Threading.Tasks.TaskScheduler::get_RequiresAtomicStartTransition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskScheduler_get_RequiresAtomicStartTransition_m7EA647713F7B96548610FEB4C45F6EAE6B3A277C (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::InternalQueueTask(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_InternalQueueTask_m08940F911E3B4987803048AC88CAE4FB803E1B30 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
NullCheck(L_0);
Task_FireTaskScheduledIfNeeded_m6792459336CB25D967928EDA5249F2164991E447_inline(L_0, __this, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = ___task0;
VirtActionInvoker1< Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * >::Invoke(4 /* System.Void System.Threading.Tasks.TaskScheduler::QueueTask(System.Threading.Tasks.Task) */, __this, L_1);
return;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler__ctor_mD337C4A20B49427C777B496030923E94CA7BC5EF (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler__ctor_mD337C4A20B49427C777B496030923E94CA7BC5EF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debugger_t3DB04278A3AA5DF846CC56744D05F18B7037C22E_il2cpp_TypeInfo_var);
bool L_0 = Debugger_get_IsAttached_mFCFAAB7A47FA4DEC80A3A68FE13C307C439E9013(/*hidden argument*/NULL);
if (!L_0)
{
goto IL_0013;
}
}
{
TaskScheduler_AddToActiveTaskSchedulers_m7BFCDD58D6FCD18D27017C309E8D683D642A7F06(__this, /*hidden argument*/NULL);
}
IL_0013:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::AddToActiveTaskSchedulers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_AddToActiveTaskSchedulers_m7BFCDD58D6FCD18D27017C309E8D683D642A7F06 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_AddToActiveTaskSchedulers_m7BFCDD58D6FCD18D27017C309E8D683D642A7F06_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * L_0 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_s_activeTaskSchedulers_0();
V_0 = L_0;
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * L_1 = V_0;
if (L_1)
{
goto IL_0020;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * L_2 = (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C *)il2cpp_codegen_object_new(ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C_il2cpp_TypeInfo_var);
ConditionalWeakTable_2__ctor_m532318C6B13DB33AB8E1A63999A30FBE81BE2FCC(L_2, /*hidden argument*/ConditionalWeakTable_2__ctor_m532318C6B13DB33AB8E1A63999A30FBE81BE2FCC_RuntimeMethod_var);
InterlockedCompareExchangeImpl<ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C *>((ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C **)(((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_address_of_s_activeTaskSchedulers_0()), L_2, (ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C *)NULL);
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * L_3 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_s_activeTaskSchedulers_0();
V_0 = L_3;
}
IL_0020:
{
ConditionalWeakTable_2_t9E56EEB44502999EDAA6E212D522D7863829D95C * L_4 = V_0;
NullCheck(L_4);
ConditionalWeakTable_2_Add_m5066B6CF71B4388CE9668A469B274DA1F1CE8267(L_4, __this, NULL, /*hidden argument*/ConditionalWeakTable_2_Add_m5066B6CF71B4388CE9668A469B274DA1F1CE8267_RuntimeMethod_var);
return;
}
}
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_Default()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_s_defaultTaskScheduler_1();
return L_0;
}
}
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_Current_m650D09DC411D00985B24BEF41984F4FDEE0D91D7 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_get_Current_m650D09DC411D00985B24BEF41984F4FDEE0D91D7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * G_B2_0 = NULL;
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * G_B1_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C(/*hidden argument*/NULL);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_000e;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_2 = TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline(/*hidden argument*/NULL);
G_B2_0 = L_2;
}
IL_000e:
{
return G_B2_0;
}
}
// System.Threading.Tasks.TaskScheduler System.Threading.Tasks.TaskScheduler::get_InternalCurrent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline(/*hidden argument*/NULL);
V_0 = L_0;
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = V_0;
if (!L_1)
{
goto IL_0014;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = Task_get_CreationOptions_m1013CF6F9F645BFA03F13F89DFA749ADABA541C8(L_2, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_3&(int32_t)((int32_t)16))))
{
goto IL_0016;
}
}
IL_0014:
{
return (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)NULL;
}
IL_0016:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_4 = V_0;
NullCheck(L_4);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_5 = Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline(L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Int32 System.Threading.Tasks.TaskScheduler::get_Id()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TaskScheduler_get_Id_mF6A6B32C47D838C93694AAD06998F85B61F71DA7 (TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_get_Id_mF6A6B32C47D838C93694AAD06998F85B61F71DA7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_taskSchedulerId_3();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_0028;
}
}
{
V_0 = 0;
}
IL_000c:
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
int32_t L_1 = Interlocked_Increment_mB6D391197444B8BFD30BAE1EDCF1A255CD2F292F((int32_t*)(((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_address_of_s_taskSchedulerIdCounter_2()), /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_000c;
}
}
{
int32_t* L_3 = __this->get_address_of_m_taskSchedulerId_3();
il2cpp_codegen_memory_barrier();
int32_t L_4 = V_0;
Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_3, L_4, 0, /*hidden argument*/NULL);
}
IL_0028:
{
int32_t L_5 = __this->get_m_taskSchedulerId_3();
il2cpp_codegen_memory_barrier();
return L_5;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::PublishUnobservedTaskException(System.Object,System.Threading.Tasks.UnobservedTaskExceptionEventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler_PublishUnobservedTaskException_mA2CFE30AA160C2A0FEDAB216CEF09B86AD16ECA4 (RuntimeObject * ___sender0, UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * ___ueea1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_PublishUnobservedTaskException_mA2CFE30AA160C2A0FEDAB216CEF09B86AD16ECA4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
bool V_1 = false;
EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
RuntimeObject * L_0 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get__unobservedTaskExceptionLockObject_5();
V_0 = L_0;
V_1 = (bool)0;
}
IL_0008:
try
{ // begin try (depth: 1)
{
RuntimeObject * L_1 = V_0;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_1, (bool*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * L_2 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get__unobservedTaskException_4();
V_2 = L_2;
EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * L_3 = V_2;
if (!L_3)
{
goto IL_0021;
}
}
IL_0019:
{
EventHandler_1_tF704D003AB4792AFE4B10D9127FF82EEC18615BC * L_4 = V_2;
RuntimeObject * L_5 = ___sender0;
UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * L_6 = ___ueea1;
NullCheck(L_4);
EventHandler_1_Invoke_m5A2B682142BD5C458A2C93E0300172955DBBCEA6(L_4, L_5, L_6, /*hidden argument*/EventHandler_1_Invoke_m5A2B682142BD5C458A2C93E0300172955DBBCEA6_RuntimeMethod_var);
}
IL_0021:
{
IL2CPP_LEAVE(0x2D, FINALLY_0023);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0023;
}
FINALLY_0023:
{ // begin finally (depth: 1)
{
bool L_7 = V_1;
if (!L_7)
{
goto IL_002c;
}
}
IL_0026:
{
RuntimeObject * L_8 = V_0;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_8, /*hidden argument*/NULL);
}
IL_002c:
{
IL2CPP_END_FINALLY(35)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(35)
{
IL2CPP_JUMP_TBL(0x2D, IL_002d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002d:
{
return;
}
}
// System.Void System.Threading.Tasks.TaskScheduler::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskScheduler__cctor_m6A38803AE79B8830C4324685C554D545EB68C14E (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler__cctor_m6A38803AE79B8830C4324685C554D545EB68C14E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * L_0 = (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD *)il2cpp_codegen_object_new(ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_il2cpp_TypeInfo_var);
ThreadPoolTaskScheduler__ctor_mC0B9F37DBA25F766F01EE56C8460330C3708FF1D(L_0, /*hidden argument*/NULL);
((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->set_s_defaultTaskScheduler_1(L_0);
RuntimeObject * L_1 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(L_1, /*hidden argument*/NULL);
((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->set__unobservedTaskExceptionLockObject_5(L_1);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation::.ctor(System.Threading.Tasks.TaskScheduler,System.Action,System.Boolean,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerAwaitTaskContinuation__ctor_m173C68019B0FDEB8F679AED48DDD37B4DD9ED470 (TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___scheduler0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action1, bool ___flowExecutionContext2, int32_t* ___stackMark3, const RuntimeMethod* method)
{
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_0 = ___action1;
bool L_1 = ___flowExecutionContext2;
int32_t* L_2 = ___stackMark3;
AwaitTaskContinuation__ctor_mBEDA16F5D33081AF421A009449B3A1D2B0A0121A(__this, L_0, L_1, (int32_t*)L_2, /*hidden argument*/NULL);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_3 = ___scheduler0;
__this->set_m_scheduler_3(L_3);
return;
}
}
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation::Run(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerAwaitTaskContinuation_Run_m12898EF0B89FD0CA5D26DC91995257B334E937BA (TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___ignored0, bool ___canInlineContinuationTask1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskSchedulerAwaitTaskContinuation_Run_m12898EF0B89FD0CA5D26DC91995257B334E937BA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B7_0 = 0;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * G_B9_0 = NULL;
TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * G_B9_1 = NULL;
int32_t G_B9_2 = 0;
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * G_B8_0 = NULL;
TaskSchedulerAwaitTaskContinuation_t08B24138EF6D3AC7A821332F15F5A5A0F08543B6 * G_B8_1 = NULL;
int32_t G_B8_2 = 0;
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = __this->get_m_scheduler_3();
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_1 = TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_0) == ((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_1))))
{
goto IL_0016;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = ___ignored0;
bool L_3 = ___canInlineContinuationTask1;
AwaitTaskContinuation_Run_mFF38B07062EFB3E2CD42AAB929B2902BB1FFBBC2(__this, L_2, L_3, /*hidden argument*/NULL);
return;
}
IL_0016:
{
bool L_4 = ___canInlineContinuationTask1;
if (!L_4)
{
goto IL_0035;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_5 = TaskScheduler_get_InternalCurrent_m792B2A13D81A8BD8A724321AFA4633B09FF1259C(/*hidden argument*/NULL);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_6 = __this->get_m_scheduler_3();
if ((((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_5) == ((RuntimeObject*)(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 *)L_6)))
{
goto IL_0032;
}
}
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_7 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_7);
bool L_8 = Thread_get_IsThreadPoolThread_m3CF4788DEF7D552D12D5E54E10CF1BD0F763ED55(L_7, /*hidden argument*/NULL);
G_B7_0 = ((int32_t)(L_8));
goto IL_0036;
}
IL_0032:
{
G_B7_0 = 1;
goto IL_0036;
}
IL_0035:
{
G_B7_0 = 0;
}
IL_0036:
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_9 = ((U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var))->get_U3CU3E9__2_0_1();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_10 = L_9;
G_B8_0 = L_10;
G_B8_1 = __this;
G_B8_2 = G_B7_0;
if (L_10)
{
G_B9_0 = L_10;
G_B9_1 = __this;
G_B9_2 = G_B7_0;
goto IL_0056;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var);
U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * L_11 = ((U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_12 = (Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 *)il2cpp_codegen_object_new(Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0_il2cpp_TypeInfo_var);
Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510(L_12, L_11, (intptr_t)((intptr_t)U3CU3Ec_U3CRunU3Eb__2_0_m09230CC3C4A5FF796AD9270851A6F374D8FC23BE_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mAFC7442D9D3CEC6701C3C5599F8CF12476095510_RuntimeMethod_var);
Action_1_t551A279CEADCF6EEAE8FA2B1E1E757D0D15290D0 * L_13 = L_12;
((U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var))->set_U3CU3E9__2_0_1(L_13);
G_B9_0 = L_13;
G_B9_1 = G_B8_1;
G_B9_2 = G_B8_2;
}
IL_0056:
{
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_14 = ((AwaitTaskContinuation_t883E8FB9C34A1024B54F2D4A9CCBA21CC595286F *)__this)->get_m_action_1();
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_15 = __this->get_m_scheduler_3();
NullCheck(G_B9_1);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_16 = AwaitTaskContinuation_CreateTask_m0C24724576818E738998F3EB48C8DAE22EBA2889(G_B9_1, G_B9_0, L_14, L_15, /*hidden argument*/NULL);
V_0 = L_16;
if (!G_B9_2)
{
goto IL_0072;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_17 = V_0;
TaskContinuation_InlineIfPossibleOrElseQueue_m7CCFD190C3F783A343C1103BF27BFE4D19C66FEF(L_17, (bool)0, /*hidden argument*/NULL);
return;
}
IL_0072:
{
}
IL_0073:
try
{ // begin try (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_18 = V_0;
NullCheck(L_18);
Task_ScheduleAndStart_m7A3334C89BD4B47370D0A3CAE575EA54CCA01AEF(L_18, (bool)0, /*hidden argument*/NULL);
goto IL_007f;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_007c;
throw e;
}
CATCH_007c:
{ // begin catch(System.Threading.Tasks.TaskSchedulerException)
goto IL_007f;
} // end catch (depth: 1)
IL_007f:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m14A2B19DAD1F9934C7714F31E34E70544869F269 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m14A2B19DAD1F9934C7714F31E34E70544869F269_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * L_0 = (U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 *)il2cpp_codegen_object_new(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m7385A27A6BD7D377F64C862AEAC9F9D6DDE64CA8(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m7385A27A6BD7D377F64C862AEAC9F9D6DDE64CA8 (U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskSchedulerAwaitTaskContinuation_<>c::<Run>b__2_0(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3CRunU3Eb__2_0_m09230CC3C4A5FF796AD9270851A6F374D8FC23BE (U3CU3Ec_t596A8131DC5C38096B959F07E58C349AAAFE3439 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec_U3CRunU3Eb__2_0_m09230CC3C4A5FF796AD9270851A6F374D8FC23BE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
RuntimeObject * L_0 = ___state0;
NullCheck(((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)CastclassSealed((RuntimeObject*)L_0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var)));
Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(((Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)CastclassSealed((RuntimeObject*)L_0, Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
goto IL_0014;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_000d;
throw e;
}
CATCH_000d:
{ // begin catch(System.Exception)
AwaitTaskContinuation_ThrowAsyncIfNecessary_mD1B7B962FF8ED8EC2F105A42998347BDF99FED05(((Exception_t *)__exception_local), /*hidden argument*/NULL);
goto IL_0014;
} // end catch (depth: 1)
IL_0014:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskSchedulerException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerException__ctor_m63156F8498549786866AEA93F820A250BE5B691E (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskSchedulerException__ctor_m63156F8498549786866AEA93F820A250BE5B691E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralA2FE0B065EA50F6641CB120F487D334AC723A859, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m89BADFF36C3B170013878726E07729D51AA9FBE0(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskSchedulerException::.ctor(System.Exception)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63 (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * __this, Exception_t * ___innerException0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskSchedulerException__ctor_mFFF7423FCD3DFC4F8A6F7E6028AE6CB1D5865F63_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralA2FE0B065EA50F6641CB120F487D334AC723A859, /*hidden argument*/NULL);
Exception_t * L_1 = ___innerException0;
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m62590BC1925B7B354EBFD852E162CD170FEB861D(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskSchedulerException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskSchedulerException__ctor_m54DE71B0C4FFC10BE930F776BE82782F4384D469 (TaskSchedulerException_tE0888B47136E7B61EAF20A145EF053023F8C7B24 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskSchedulerException__ctor_m54DE71B0C4FFC10BE930F776BE82782F4384D469_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_mBFF5996A1B65FCEEE0054A95A652BA3DD6366618(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IAsyncResult System.Threading.Tasks.TaskToApm::Begin(System.Threading.Tasks.Task,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TaskToApm_Begin_m42DFEB73E3BB1B51E0E8D115AFD215F9F2BF4175 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject * ___state2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskToApm_Begin_m42DFEB73E3BB1B51E0E8D115AFD215F9F2BF4175_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
RuntimeObject* V_1 = NULL;
RuntimeObject* G_B6_0 = NULL;
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
NullCheck(L_0);
bool L_1 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_2 = ___task0;
RuntimeObject * L_3 = ___state2;
TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * L_4 = (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE *)il2cpp_codegen_object_new(TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE_il2cpp_TypeInfo_var);
TaskWrapperAsyncResult__ctor_m47C91370D59B60FE3A5C49786EF699AD63784A3B(L_4, L_2, L_3, (bool)1, /*hidden argument*/NULL);
V_0 = L_4;
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_5 = ___callback1;
if (!L_5)
{
goto IL_0041;
}
}
{
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_6 = ___callback1;
RuntimeObject* L_7 = V_0;
NullCheck(L_6);
AsyncCallback_Invoke_m1830E56CD41BDD255C144AA16A9426EEE301617C(L_6, L_7, /*hidden argument*/NULL);
goto IL_0041;
}
IL_001d:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_8 = ___task0;
NullCheck(L_8);
RuntimeObject * L_9 = Task_get_AsyncState_mEE6996D21AD9F92E34A30FA73A7D31A5BCE42657_inline(L_8, /*hidden argument*/NULL);
RuntimeObject * L_10 = ___state2;
if ((((RuntimeObject*)(RuntimeObject *)L_9) == ((RuntimeObject*)(RuntimeObject *)L_10)))
{
goto IL_0032;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_11 = ___task0;
RuntimeObject * L_12 = ___state2;
TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * L_13 = (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE *)il2cpp_codegen_object_new(TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE_il2cpp_TypeInfo_var);
TaskWrapperAsyncResult__ctor_m47C91370D59B60FE3A5C49786EF699AD63784A3B(L_13, L_11, L_12, (bool)0, /*hidden argument*/NULL);
V_1 = L_13;
RuntimeObject* L_14 = V_1;
G_B6_0 = L_14;
goto IL_0035;
}
IL_0032:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_15 = ___task0;
V_1 = L_15;
RuntimeObject* L_16 = V_1;
G_B6_0 = L_16;
}
IL_0035:
{
V_0 = G_B6_0;
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_17 = ___callback1;
if (!L_17)
{
goto IL_0041;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_18 = ___task0;
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_19 = ___callback1;
RuntimeObject* L_20 = V_0;
TaskToApm_InvokeCallbackWhenTaskCompletes_m46DC53C5C7C58E9F10B0EE7AE711C90A4B1CE494(L_18, L_19, L_20, /*hidden argument*/NULL);
}
IL_0041:
{
RuntimeObject* L_21 = V_0;
return L_21;
}
}
// System.Void System.Threading.Tasks.TaskToApm::End(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskToApm_End_m1BCAAEC9A8AED75C16537F0D568BE8AE8670FD1A (RuntimeObject* ___asyncResult0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskToApm_End_m1BCAAEC9A8AED75C16537F0D568BE8AE8670FD1A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * V_0 = NULL;
TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * V_1 = NULL;
TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F V_2;
memset((&V_2), 0, sizeof(V_2));
{
RuntimeObject* L_0 = ___asyncResult0;
V_1 = ((TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE *)IsInstSealed((RuntimeObject*)L_0, TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE_il2cpp_TypeInfo_var));
TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * L_1 = V_1;
if (!L_1)
{
goto IL_0013;
}
}
{
TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * L_2 = V_1;
NullCheck(L_2);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = L_2->get_Task_0();
V_0 = L_3;
goto IL_001a;
}
IL_0013:
{
RuntimeObject* L_4 = ___asyncResult0;
V_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_4, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var));
}
IL_001a:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = V_0;
if (L_5)
{
goto IL_0022;
}
}
{
__Error_WrongAsyncResult_m612D2B72EAE5B009FFB4DFD0831140EE6819B909(/*hidden argument*/NULL);
}
IL_0022:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = V_0;
NullCheck(L_6);
TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F L_7 = Task_GetAwaiter_m73027D5E4C16E961C658B83526BED8E32FD2AC6C(L_6, /*hidden argument*/NULL);
V_2 = L_7;
TaskAwaiter_GetResult_m89868C01592AC2B06CE1FD42D9B9C187C6FD928A((TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F *)(&V_2), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskToApm::InvokeCallbackWhenTaskCompletes(System.Threading.Tasks.Task,System.AsyncCallback,System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskToApm_InvokeCallbackWhenTaskCompletes_m46DC53C5C7C58E9F10B0EE7AE711C90A4B1CE494 (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___antecedent0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject* ___asyncResult2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskToApm_InvokeCallbackWhenTaskCompletes_m46DC53C5C7C58E9F10B0EE7AE711C90A4B1CE494_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * V_0 = NULL;
ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 V_1;
memset((&V_1), 0, sizeof(V_1));
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 V_2;
memset((&V_2), 0, sizeof(V_2));
{
U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * L_0 = (U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass3_0__ctor_m349D6D5C702DDC66F2490654813695CE39A0B3B2(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * L_1 = V_0;
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_2 = ___callback1;
NullCheck(L_1);
L_1->set_callback_0(L_2);
U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * L_3 = V_0;
RuntimeObject* L_4 = ___asyncResult2;
NullCheck(L_3);
L_3->set_asyncResult_1(L_4);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = ___antecedent0;
NullCheck(L_5);
ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 L_6 = Task_ConfigureAwait_m2FB91172F9031B0CC520D9D09B658ACC5FD6CE02(L_5, (bool)0, /*hidden argument*/NULL);
V_1 = L_6;
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 L_7 = ConfiguredTaskAwaitable_GetAwaiter_m1EF40F198D32924E2D0F41E20B99CADBF5DDD303_inline((ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 *)(&V_1), /*hidden argument*/NULL);
V_2 = L_7;
U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * L_8 = V_0;
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * L_9 = (Action_t591D2A86165F896B4B800BB5C25CE18672A55579 *)il2cpp_codegen_object_new(Action_t591D2A86165F896B4B800BB5C25CE18672A55579_il2cpp_TypeInfo_var);
Action__ctor_m570E96B2A0C48BC1DC6788460316191F24572760(L_9, L_8, (intptr_t)((intptr_t)U3CU3Ec__DisplayClass3_0_U3CInvokeCallbackWhenTaskCompletesU3Eb__0_m4C9A107F12D2BC7B54398E44A44D45AB3F8B6D18_RuntimeMethod_var), /*hidden argument*/NULL);
ConfiguredTaskAwaiter_OnCompleted_m847B280BD99B29C570B6EC0993E6BC8977871872((ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 *)(&V_2), L_9, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskToApm_<>c__DisplayClass3_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0__ctor_m349D6D5C702DDC66F2490654813695CE39A0B3B2 (U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.TaskToApm_<>c__DisplayClass3_0::<InvokeCallbackWhenTaskCompletes>b__0()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass3_0_U3CInvokeCallbackWhenTaskCompletesU3Eb__0_m4C9A107F12D2BC7B54398E44A44D45AB3F8B6D18 (U3CU3Ec__DisplayClass3_0_t657F9DBC5A9094840EFCD15D64F27D75F148FD86 * __this, const RuntimeMethod* method)
{
{
AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * L_0 = __this->get_callback_0();
RuntimeObject* L_1 = __this->get_asyncResult_1();
NullCheck(L_0);
AsyncCallback_Invoke_m1830E56CD41BDD255C144AA16A9426EEE301617C(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::.ctor(System.Threading.Tasks.Task,System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TaskWrapperAsyncResult__ctor_m47C91370D59B60FE3A5C49786EF699AD63784A3B (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, RuntimeObject * ___state1, bool ___completedSynchronously2, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
__this->set_Task_0(L_0);
RuntimeObject * L_1 = ___state1;
__this->set_m_state_1(L_1);
bool L_2 = ___completedSynchronously2;
__this->set_m_completedSynchronously_2(L_2);
return;
}
}
// System.Object System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::System.IAsyncResult.get_AsyncState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * TaskWrapperAsyncResult_System_IAsyncResult_get_AsyncState_mFF874F0FB65ADDA52351D6C069DE13049BA7E0F3 (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_m_state_1();
return L_0;
}
}
// System.Boolean System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::System.IAsyncResult.get_CompletedSynchronously()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskWrapperAsyncResult_System_IAsyncResult_get_CompletedSynchronously_m5EB2861460E43DC86C8597E1154471FD70A7EB9E (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_m_completedSynchronously_2();
return L_0;
}
}
// System.Boolean System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::System.IAsyncResult.get_IsCompleted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TaskWrapperAsyncResult_System_IAsyncResult_get_IsCompleted_m07D4F30FEFE7852AFF3DDA6D35837D2C7876E62E (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, const RuntimeMethod* method)
{
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = __this->get_Task_0();
NullCheck(L_0);
bool L_1 = Task_get_IsCompleted_mA675F47CE1DBD1948BDC9215DCAE93F07FC32E19(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Threading.WaitHandle System.Threading.Tasks.TaskToApm_TaskWrapperAsyncResult::System.IAsyncResult.get_AsyncWaitHandle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * TaskWrapperAsyncResult_System_IAsyncResult_get_AsyncWaitHandle_m2F6AA2661CF059788F85AE7C1B3BB1E3E126200A (TaskWrapperAsyncResult_t27D147DA04A6C23A69D2663E205435DC3567E2FE * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskWrapperAsyncResult_System_IAsyncResult_get_AsyncWaitHandle_m2F6AA2661CF059788F85AE7C1B3BB1E3E126200A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = __this->get_Task_0();
NullCheck(L_0);
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_1 = InterfaceFuncInvoker0< WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * >::Invoke(1 /* System.Threading.WaitHandle System.IAsyncResult::get_AsyncWaitHandle() */, IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598_il2cpp_TypeInfo_var, L_0);
return L_1;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler__ctor_mC0B9F37DBA25F766F01EE56C8460330C3708FF1D (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolTaskScheduler__ctor_mC0B9F37DBA25F766F01EE56C8460330C3708FF1D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler__ctor_mD337C4A20B49427C777B496030923E94CA7BC5EF(__this, /*hidden argument*/NULL);
TaskScheduler_get_Id_mF6A6B32C47D838C93694AAD06998F85B61F71DA7(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::LongRunningThreadWork(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler_LongRunningThreadWork_m961ED397785555AF2C24A4C8723246BA355CE21D (RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolTaskScheduler_LongRunningThreadWork_m961ED397785555AF2C24A4C8723246BA355CE21D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___obj0;
NullCheck(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var)));
Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1(((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 *)IsInstClass((RuntimeObject*)L_0, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var)), (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::QueueTask(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler_QueueTask_mE9B3A295B7D2E31848AF3DECA7A89CC814F3F20A (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolTaskScheduler_QueueTask_mE9B3A295B7D2E31848AF3DECA7A89CC814F3F20A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
NullCheck(L_0);
int32_t L_1 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(L_0, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_1&(int32_t)2)))
{
goto IL_0022;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_il2cpp_TypeInfo_var);
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * L_2 = ((ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_il2cpp_TypeInfo_var))->get_s_longRunningThreadWork_6();
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_3 = (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 *)il2cpp_codegen_object_new(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var);
Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD(L_3, L_2, /*hidden argument*/NULL);
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_4 = L_3;
NullCheck(L_4);
Thread_set_IsBackground_mF62551A195DCB09D44E512F52916145E39362D39(L_4, (bool)1, /*hidden argument*/NULL);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_5 = ___task0;
NullCheck(L_4);
Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933(L_4, L_5, /*hidden argument*/NULL);
return;
}
IL_0022:
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_6 = ___task0;
NullCheck(L_6);
int32_t L_7 = Task_get_Options_mFCA12B2A5EFA9C47CD82DC7017B770F26B7C512A(L_6, /*hidden argument*/NULL);
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_7&(int32_t)1))) <= ((uint32_t)0)))? 1 : 0);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_8 = ___task0;
bool L_9 = V_0;
ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568(L_8, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Tasks.ThreadPoolTaskScheduler::TryExecuteTaskInline(System.Threading.Tasks.Task,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolTaskScheduler_TryExecuteTaskInline_m1C5D63C98E1736A378030295A07D2DF097B5B376 (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, bool ___taskWasPreviouslyQueued1, const RuntimeMethod* method)
{
bool V_0 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = ___taskWasPreviouslyQueued1;
if (!L_0)
{
goto IL_000d;
}
}
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_1 = ___task0;
bool L_2 = ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_000d;
}
}
{
return (bool)0;
}
IL_000d:
{
V_0 = (bool)0;
}
IL_000f:
try
{ // begin try (depth: 1)
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_3 = ___task0;
NullCheck(L_3);
bool L_4 = Task_ExecuteEntry_mA04E6FA3370CA2AB19B6AB209E44E993B14621F1(L_3, (bool)0, /*hidden argument*/NULL);
V_0 = L_4;
IL2CPP_LEAVE(0x23, FINALLY_0019);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0019;
}
FINALLY_0019:
{ // begin finally (depth: 1)
{
bool L_5 = ___taskWasPreviouslyQueued1;
if (!L_5)
{
goto IL_0022;
}
}
IL_001c:
{
VirtActionInvoker0::Invoke(7 /* System.Void System.Threading.Tasks.TaskScheduler::NotifyWorkItemProgress() */, __this);
}
IL_0022:
{
IL2CPP_END_FINALLY(25)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(25)
{
IL2CPP_JUMP_TBL(0x23, IL_0023)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0023:
{
bool L_6 = V_0;
return L_6;
}
}
// System.Boolean System.Threading.Tasks.ThreadPoolTaskScheduler::TryDequeue(System.Threading.Tasks.Task)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolTaskScheduler_TryDequeue_mB6EFEE0952C802BA6C48DA6F3260AFF9B1732483 (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
bool L_1 = ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::NotifyWorkItemProgress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler_NotifyWorkItemProgress_mDA29D3C763A19CA46096B1A4211CE72B6BA2ECF5 (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, const RuntimeMethod* method)
{
{
ThreadPool_NotifyWorkItemProgress_mD041D082A87EAE7A34E6AE21CB7AF8819422B40A(/*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Tasks.ThreadPoolTaskScheduler::get_RequiresAtomicStartTransition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolTaskScheduler_get_RequiresAtomicStartTransition_mFE4B45D3646489E6819079FC9D7B5F80B0659F31 (ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Void System.Threading.Tasks.ThreadPoolTaskScheduler::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolTaskScheduler__cctor_mC425D1140B5A638568A6350B38102E68BFFE263B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolTaskScheduler__cctor_mC425D1140B5A638568A6350B38102E68BFFE263B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * L_0 = (ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)il2cpp_codegen_object_new(ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var);
ParameterizedThreadStart__ctor_m236F11FFFC55CB6AC611B16302E2F5F58C60346B(L_0, NULL, (intptr_t)((intptr_t)ThreadPoolTaskScheduler_LongRunningThreadWork_m961ED397785555AF2C24A4C8723246BA355CE21D_RuntimeMethod_var), /*hidden argument*/NULL);
((ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolTaskScheduler_t881DB3BB8EFB9D969F86C70D01288AF7CE5F8CAD_il2cpp_TypeInfo_var))->set_s_longRunningThreadWork_6(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Tasks.UnobservedTaskExceptionEventArgs::.ctor(System.AggregateException)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnobservedTaskExceptionEventArgs__ctor_mD866CEFA881E8B9F5C7FB00C62B3575E97BFEED3 (UnobservedTaskExceptionEventArgs_tFE11214527E226372281384AC73C2B792170A3B7 * __this, AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * ___exception0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (UnobservedTaskExceptionEventArgs__ctor_mD866CEFA881E8B9F5C7FB00C62B3575E97BFEED3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_il2cpp_TypeInfo_var);
EventArgs__ctor_m3551293259861C5A78CD47689D559F828ED29DF7(__this, /*hidden argument*/NULL);
AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * L_0 = ___exception0;
__this->set_m_exception_1(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Thread::.ctor(System.Threading.ThreadStart)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * ___start0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CriticalFinalizerObject__ctor_m99FA3656B2AAC4F7E53A8BFE9E361E7C1F8867C5(__this, /*hidden argument*/NULL);
ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * L_0 = ___start0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral2B020927D3C6EB407223A1BAA3D6CE3597A3F88D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD_RuntimeMethod_var);
}
IL_0014:
{
ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * L_2 = ___start0;
Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4(__this, L_2, 0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::.ctor(System.Threading.ParameterizedThreadStart)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * ___start0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CriticalFinalizerObject__ctor_m99FA3656B2AAC4F7E53A8BFE9E361E7C1F8867C5(__this, /*hidden argument*/NULL);
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * L_0 = ___start0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral2B020927D3C6EB407223A1BAA3D6CE3597A3F88D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Thread__ctor_m10768310462BE1A521AB4BB70F483741C993ADFD_RuntimeMethod_var);
}
IL_0014:
{
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * L_2 = ___start0;
Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4(__this, L_2, 0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::Start()
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Thread_Start_mE2AC4744AFD147FDC84E8D9317B4E3AB890BC2D6 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 1;
Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830(__this, (int32_t*)(&V_0), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::Start(System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR void Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, RuntimeObject * ___parameter0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
MulticastDelegate_t * L_0 = __this->get_m_Delegate_12();
if (!((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)IsInstSealed((RuntimeObject*)L_0, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)))
{
goto IL_001d;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral61AD634E557CA4E72090257EF5F68EA067B4226A, /*hidden argument*/NULL);
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_2 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Thread_Start_m3D27E6E9735ED3B6BF2CD332B8D90E7E8CE21933_RuntimeMethod_var);
}
IL_001d:
{
RuntimeObject * L_3 = ___parameter0;
__this->set_m_ThreadStartArg_7(L_3);
V_0 = 1;
Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830(__this, (int32_t*)(&V_0), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::Start(System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, int32_t* ___stackMark0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_Start_mFA3CA96DB8FDA3248DF49692ADE09BBD1B894830_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * V_1 = NULL;
{
MulticastDelegate_t * L_0 = __this->get_m_Delegate_12();
if (!L_0)
{
goto IL_0026;
}
}
{
MulticastDelegate_t * L_1 = __this->get_m_Delegate_12();
NullCheck(L_1);
RuntimeObject * L_2 = Delegate_get_Target_m5371341CE435E001E9FD407AE78F728824CE20E2_inline(L_1, /*hidden argument*/NULL);
int32_t* L_3 = ___stackMark0;
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_4 = ExecutionContext_Capture_m03E9840F580CC8E82725D5969D6132B0ABADD5F2((int32_t*)L_3, 1, /*hidden argument*/NULL);
V_1 = L_4;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_5 = V_1;
NullCheck(((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 *)CastclassClass((RuntimeObject*)L_2, ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var)));
ThreadHelper_SetExecutionContextHelper_m253F9206E5C01BE9A6BC3ED65106B5C2DB7240FF_inline(((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 *)CastclassClass((RuntimeObject*)L_2, ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var)), L_5, /*hidden argument*/NULL);
}
IL_0026:
{
V_0 = (RuntimeObject*)NULL;
RuntimeObject* L_6 = V_0;
int32_t* L_7 = ___stackMark0;
Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0(__this, L_6, (int32_t*)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Threading.ExecutionContext_Reader System.Threading.Thread::GetExecutionContextReader()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B Thread_GetExecutionContextReader_m94A554E99BC4602CE1703DFBA4C96373208D1A4B (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = __this->get_m_ExecutionContext_13();
Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B L_1;
memset((&L_1), 0, sizeof(L_1));
Reader__ctor_mDB8E37FABE15D47E2E78E77EA6702D0FBAB8FC5E_inline((&L_1), L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.Threading.Thread::get_ExecutionContextBelongsToCurrentScope()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_ExecutionContextBelongsToCurrentScope_m0F37C83CC64B2AB00FC01FBC704D161DDE18766A (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_m_ExecutionContextBelongsToOuterScope_14();
return (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.Threading.Thread::set_ExecutionContextBelongsToCurrentScope(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_ExecutionContextBelongsToCurrentScope_mD8B987510AE88BD907A27ACC54F4022A04FB30C2 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_m_ExecutionContextBelongsToOuterScope_14((bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0));
return;
}
}
// System.Threading.ExecutionContext System.Threading.Thread::GetMutableExecutionContext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Thread_GetMutableExecutionContext_mD22CBCEAD2B95B779612C42D8B634B8B5163BA72 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_GetMutableExecutionContext_mD22CBCEAD2B95B779612C42D8B634B8B5163BA72_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * V_0 = NULL;
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = __this->get_m_ExecutionContext_13();
if (L_0)
{
goto IL_0015;
}
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_1 = (ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 *)il2cpp_codegen_object_new(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext__ctor_m60AAAF7CF4BF6DB4192982A1822C4379355DAC64(L_1, /*hidden argument*/NULL);
__this->set_m_ExecutionContext_13(L_1);
goto IL_0030;
}
IL_0015:
{
bool L_2 = Thread_get_ExecutionContextBelongsToCurrentScope_m0F37C83CC64B2AB00FC01FBC704D161DDE18766A(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0030;
}
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_3 = __this->get_m_ExecutionContext_13();
NullCheck(L_3);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_4 = ExecutionContext_CreateMutableCopy_mA3CD86A88C02101A1E6F33D0111FBE1DD926238F(L_3, /*hidden argument*/NULL);
V_0 = L_4;
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_5 = V_0;
__this->set_m_ExecutionContext_13(L_5);
}
IL_0030:
{
Thread_set_ExecutionContextBelongsToCurrentScope_mD8B987510AE88BD907A27ACC54F4022A04FB30C2(__this, (bool)1, /*hidden argument*/NULL);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_6 = __this->get_m_ExecutionContext_13();
return L_6;
}
}
// System.Void System.Threading.Thread::SetExecutionContext(System.Threading.ExecutionContext,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetExecutionContext_m1728EF01137D3CD57C6C59DB07A6314D9A1341AA (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___value0, bool ___belongsToCurrentScope1, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___value0;
__this->set_m_ExecutionContext_13(L_0);
bool L_1 = ___belongsToCurrentScope1;
Thread_set_ExecutionContextBelongsToCurrentScope_mD8B987510AE88BD907A27ACC54F4022A04FB30C2(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::SetExecutionContext(System.Threading.ExecutionContext_Reader,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetExecutionContext_m5EEA0CB200E2C224E4B72C1A17BEF16E566D8926 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B ___value0, bool ___belongsToCurrentScope1, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = Reader_DangerousGetRawExecutionContext_m0AAF58869F7AC7C33242B7C6A6ABFA2EF5100EBA_inline((Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B *)(&___value0), /*hidden argument*/NULL);
__this->set_m_ExecutionContext_13(L_0);
bool L_1 = ___belongsToCurrentScope1;
Thread_set_ExecutionContextBelongsToCurrentScope_mD8B987510AE88BD907A27ACC54F4022A04FB30C2(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::SleepInternal(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SleepInternal_m69943350F67E5C693262A6278FB7A835AE1942CE (int32_t ___millisecondsTimeout0, const RuntimeMethod* method)
{
typedef void (*Thread_SleepInternal_m69943350F67E5C693262A6278FB7A835AE1942CE_ftn) (int32_t);
using namespace il2cpp::icalls;
((Thread_SleepInternal_m69943350F67E5C693262A6278FB7A835AE1942CE_ftn)mscorlib::System::Threading::Thread::SleepInternal) (___millisecondsTimeout0);
}
// System.Void System.Threading.Thread::Sleep(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Sleep_m2CD320EAB7BE02CC1F395EAFE9970D53A5F9EAEF (int32_t ___millisecondsTimeout0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_Sleep_m2CD320EAB7BE02CC1F395EAFE9970D53A5F9EAEF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___millisecondsTimeout0;
if ((((int32_t)L_0) >= ((int32_t)(-1))))
{
goto IL_0019;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_2 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_2, _stringLiteral9D9BED981884AC3D4D16BF22ED725A5686CEF15B, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, Thread_Sleep_m2CD320EAB7BE02CC1F395EAFE9970D53A5F9EAEF_RuntimeMethod_var);
}
IL_0019:
{
int32_t L_3 = ___millisecondsTimeout0;
Thread_SleepInternal_m69943350F67E5C693262A6278FB7A835AE1942CE(L_3, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Thread::YieldInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_YieldInternal_mA0081B312A19ECA8D0A7E49DD9DF8AF5A0C7F851 (const RuntimeMethod* method)
{
typedef bool (*Thread_YieldInternal_mA0081B312A19ECA8D0A7E49DD9DF8AF5A0C7F851_ftn) ();
using namespace il2cpp::icalls;
return ((Thread_YieldInternal_mA0081B312A19ECA8D0A7E49DD9DF8AF5A0C7F851_ftn)mscorlib::System::Threading::Thread::YieldInternal) ();
}
// System.Boolean System.Threading.Thread::Yield()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_Yield_m04E310FE49602AEB72AE630E371CFAC36AAA718B (const RuntimeMethod* method)
{
{
bool L_0 = Thread_YieldInternal_mA0081B312A19ECA8D0A7E49DD9DF8AF5A0C7F851(/*hidden argument*/NULL);
return L_0;
}
}
// System.Void System.Threading.Thread::SetStartHelper(System.Delegate,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, Delegate_t * ___start0, int32_t ___maxStackSize1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_SetStartHelper_mA0ABB42BEDC02848CDF5378338F32B71493E5DD4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * V_0 = NULL;
{
int32_t L_0 = ___maxStackSize1;
int32_t L_1 = Thread_GetProcessDefaultStackSize_m876EFB49B410ED044DBFA47B7EE2D4F16D7731EC(L_0, /*hidden argument*/NULL);
___maxStackSize1 = L_1;
Delegate_t * L_2 = ___start0;
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_3 = (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 *)il2cpp_codegen_object_new(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var);
ThreadHelper__ctor_m8262A0EF0381251FDDFA4696B84F68AF3A01411B(L_3, L_2, /*hidden argument*/NULL);
V_0 = L_3;
Delegate_t * L_4 = ___start0;
if (!((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)IsInstSealed((RuntimeObject*)L_4, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)))
{
goto IL_002b;
}
}
{
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_5 = V_0;
ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * L_6 = (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)il2cpp_codegen_object_new(ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var);
ThreadStart__ctor_m692348FEAEBAF381D62984EE95B217CC024A77D5(L_6, L_5, (intptr_t)((intptr_t)ThreadHelper_ThreadStart_m8CB657ADE8F96ED7949120D441D40F2A23EECBD2_RuntimeMethod_var), /*hidden argument*/NULL);
int32_t L_7 = ___maxStackSize1;
Thread_SetStart_m22F9A89D5768A9EF04A85F3FA4E8090CE2667FFE(__this, L_6, L_7, /*hidden argument*/NULL);
return;
}
IL_002b:
{
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_8 = V_0;
ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F * L_9 = (ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)il2cpp_codegen_object_new(ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var);
ParameterizedThreadStart__ctor_m236F11FFFC55CB6AC611B16302E2F5F58C60346B(L_9, L_8, (intptr_t)((intptr_t)ThreadHelper_ThreadStart_m21D0954583D43BCACDABE0E2ABB694FC4A0D43A3_RuntimeMethod_var), /*hidden argument*/NULL);
int32_t L_10 = ___maxStackSize1;
Thread_SetStart_m22F9A89D5768A9EF04A85F3FA4E8090CE2667FFE(__this, L_9, L_10, /*hidden argument*/NULL);
return;
}
}
// System.Globalization.CultureInfo System.Threading.Thread::get_CurrentUICulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_get_CurrentUICulture_m7D91997747DB8A3780F0305A337D5389DB58194F (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_0 = Thread_GetCurrentUICultureNoAppX_m3443520354B118E074F79BF5D5BDBB5B6E31B5AB(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Globalization.CultureInfo System.Threading.Thread::GetCurrentUICultureNoAppX()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_GetCurrentUICultureNoAppX_m3443520354B118E074F79BF5D5BDBB5B6E31B5AB (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_GetCurrentUICultureNoAppX_m3443520354B118E074F79BF5D5BDBB5B6E31B5AB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * V_0 = NULL;
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_0 = ((Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var))->get_m_CurrentUICulture_3();
if (L_0)
{
goto IL_0018;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_1 = CultureInfo_get_DefaultThreadCurrentUICulture_mEB6BC8E5CB2D0BBBB6B7AD860E55683284CCAF3B(/*hidden argument*/NULL);
V_0 = L_1;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_2 = V_0;
if (L_2)
{
goto IL_0016;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_3 = CultureInfo_get_UserDefaultUICulture_m65D62A67F22DFB25EDD7E629AC3381824704DE40(/*hidden argument*/NULL);
return L_3;
}
IL_0016:
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_4 = V_0;
return L_4;
}
IL_0018:
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_5 = ((Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var))->get_m_CurrentUICulture_3();
return L_5;
}
}
// System.Globalization.CultureInfo System.Threading.Thread::get_CurrentCulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_get_CurrentCulture_m97A15448A16FB3B5EC1E21A0538C9FC1F84AEE66 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_0 = Thread_GetCurrentCultureNoAppX_mCD2B90A28EFEFFDB4B5855B71ADF1337C6E36843(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Globalization.CultureInfo System.Threading.Thread::GetCurrentCultureNoAppX()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * Thread_GetCurrentCultureNoAppX_mCD2B90A28EFEFFDB4B5855B71ADF1337C6E36843 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_GetCurrentCultureNoAppX_mCD2B90A28EFEFFDB4B5855B71ADF1337C6E36843_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * V_0 = NULL;
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_0 = ((Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var))->get_m_CurrentCulture_2();
if (L_0)
{
goto IL_0018;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_1 = CultureInfo_get_DefaultThreadCurrentCulture_mCC52FEEF31992F66C3A74D4566C1CB2C6D2CE581(/*hidden argument*/NULL);
V_0 = L_1;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_2 = V_0;
if (L_2)
{
goto IL_0016;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_3 = CultureInfo_get_UserDefaultCulture_m1057FA0B6C68E6EE22B119A3FA7F6678151CEBEB(/*hidden argument*/NULL);
return L_3;
}
IL_0016:
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_4 = V_0;
return L_4;
}
IL_0018:
{
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_5 = ((Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var))->get_m_CurrentCulture_2();
return L_5;
}
}
// System.Void System.Threading.Thread::MemoryBarrier()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_MemoryBarrier_mAB9F6B8404ACCE0D17BEDBD656782FEDDBC9FB8A (const RuntimeMethod* method)
{
typedef void (*Thread_MemoryBarrier_mAB9F6B8404ACCE0D17BEDBD656782FEDDBC9FB8A_ftn) ();
using namespace il2cpp::icalls;
((Thread_MemoryBarrier_mAB9F6B8404ACCE0D17BEDBD656782FEDDBC9FB8A_ftn)mscorlib::System::Threading::Thread::MemoryBarrier_) ();
}
// System.Void System.Threading.Thread::ConstructInternalThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_ConstructInternalThread_mC11ABFE9172C63CDFD66A11AFB82B9EA2DE8FE33 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
typedef void (*Thread_ConstructInternalThread_mC11ABFE9172C63CDFD66A11AFB82B9EA2DE8FE33_ftn) (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 *);
using namespace il2cpp::icalls;
((Thread_ConstructInternalThread_mC11ABFE9172C63CDFD66A11AFB82B9EA2DE8FE33_ftn)mscorlib::System::Threading::Thread::ConstructInternalThread) (__this);
}
// System.Threading.InternalThread System.Threading.Thread::get_Internal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = __this->get_internal_thread_6();
if (L_0)
{
goto IL_000e;
}
}
{
Thread_ConstructInternalThread_mC11ABFE9172C63CDFD66A11AFB82B9EA2DE8FE33(__this, /*hidden argument*/NULL);
}
IL_000e:
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = __this->get_internal_thread_6();
return L_1;
}
}
// System.Runtime.Remoting.Contexts.Context System.Threading.Thread::get_CurrentContext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Context_tE86AB6B3D9759C8E715184808579EFE761683724 * Thread_get_CurrentContext_mD4C5716B63A293947733813B4D9256925CB90A44 (const RuntimeMethod* method)
{
{
Context_tE86AB6B3D9759C8E715184808579EFE761683724 * L_0 = AppDomain_InternalGetContext_mAA54924C2DC3349E29D79D76403F803BD966031F(/*hidden argument*/NULL);
return L_0;
}
}
// System.Threading.Thread System.Threading.Thread::GetCurrentThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * Thread_GetCurrentThread_m7CFEF67B239579F733823B39EC3D56F77E96BC0E (const RuntimeMethod* method)
{
typedef Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * (*Thread_GetCurrentThread_m7CFEF67B239579F733823B39EC3D56F77E96BC0E_ftn) ();
using namespace il2cpp::icalls;
return ((Thread_GetCurrentThread_m7CFEF67B239579F733823B39EC3D56F77E96BC0E_ftn)mscorlib::System::Threading::Thread::GetCurrentThread) ();
}
// System.Threading.Thread System.Threading.Thread::get_CurrentThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * V_0 = NULL;
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = ((Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var))->get_current_thread_11();
V_0 = L_0;
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_1 = V_0;
if (!L_1)
{
goto IL_000b;
}
}
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_2 = V_0;
return L_2;
}
IL_000b:
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_3 = Thread_GetCurrentThread_m7CFEF67B239579F733823B39EC3D56F77E96BC0E(/*hidden argument*/NULL);
return L_3;
}
}
// System.Int32 System.Threading.Thread::get_CurrentThreadId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_CurrentThreadId_m4E5AF50F663EA2F6891B44EABD11D9B05C75CF4F (const RuntimeMethod* method)
{
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_0);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = L_0->get_internal_thread_6();
NullCheck(L_1);
int64_t L_2 = L_1->get_thread_id_9();
return (((int32_t)((int32_t)L_2)));
}
}
// System.Int32 System.Threading.Thread::GetDomainID()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetDomainID_m7C6DEB9A3289C82B0B17F7234DCA9D2677731547 (const RuntimeMethod* method)
{
typedef int32_t (*Thread_GetDomainID_m7C6DEB9A3289C82B0B17F7234DCA9D2677731547_ftn) ();
using namespace il2cpp::icalls;
return ((Thread_GetDomainID_m7C6DEB9A3289C82B0B17F7234DCA9D2677731547_ftn)mscorlib::System::Threading::Thread::GetDomainID) ();
}
// System.IntPtr System.Threading.Thread::Thread_internal(System.MulticastDelegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR intptr_t Thread_Thread_internal_m43DFA96F34ADF78F99F0F24267EC34A8E7A57849 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, MulticastDelegate_t * ___start0, const RuntimeMethod* method)
{
typedef intptr_t (*Thread_Thread_internal_m43DFA96F34ADF78F99F0F24267EC34A8E7A57849_ftn) (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 *, MulticastDelegate_t *);
using namespace il2cpp::icalls;
return ((Thread_Thread_internal_m43DFA96F34ADF78F99F0F24267EC34A8E7A57849_ftn)mscorlib::System::Threading::Thread::Thread_internal) (__this, ___start0);
}
// System.Void System.Threading.Thread::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Finalize_m919EB0391B111DAC087F3DC2A7248E8740C5CFAB (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
IL2CPP_LEAVE(0x9, FINALLY_0002);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0002;
}
FINALLY_0002:
{ // begin finally (depth: 1)
CriticalFinalizerObject_Finalize_m36B07F0B4F395452E3EFB45EF4887C763388AFA7(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(2)
} // end finally (depth: 1)
IL2CPP_CLEANUP(2)
{
IL2CPP_JUMP_TBL(0x9, IL_0009)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0009:
{
return;
}
}
// System.Boolean System.Threading.Thread::get_IsThreadPoolThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_IsThreadPoolThread_m3CF4788DEF7D552D12D5E54E10CF1BD0F763ED55 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
bool L_0 = Thread_get_IsThreadPoolThreadInternal_m909FDD574165BF8D5D02D414E2F55D44299F95AC(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean System.Threading.Thread::get_IsThreadPoolThreadInternal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Thread_get_IsThreadPoolThreadInternal_m909FDD574165BF8D5D02D414E2F55D44299F95AC (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_1 = L_0->get_threadpool_thread_20();
return L_1;
}
}
// System.Void System.Threading.Thread::set_IsBackground(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_IsBackground_mF62551A195DCB09D44E512F52916145E39362D39 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, bool ___value0, const RuntimeMethod* method)
{
{
Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3(__this, /*hidden argument*/NULL);
bool L_0 = ___value0;
if (!L_0)
{
goto IL_0017;
}
}
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
Thread_SetState_mF0035267AC3FECD199B63396E7B1097D4FC2C7C5(L_1, 4, /*hidden argument*/NULL);
return;
}
IL_0017:
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_2 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
Thread_ClrState_m108E95E5905DB3F3301DF8FF8A04B956A5136F77(L_2, 4, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Thread::SetName_internal(System.Threading.InternalThread,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetName_internal_mE41978DFBCB89086CBFF60F479FCF0A241500B31 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, String_t* ___name1, const RuntimeMethod* method)
{
typedef void (*Thread_SetName_internal_mE41978DFBCB89086CBFF60F479FCF0A241500B31_ftn) (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 *, String_t*);
using namespace il2cpp::icalls;
((Thread_SetName_internal_mE41978DFBCB89086CBFF60F479FCF0A241500B31_ftn)mscorlib::System::Threading::Thread::SetName_internal40) (___thread0, ___name1);
}
// System.Void System.Threading.Thread::set_Name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_set_Name_mEBD0DF20D69C49612949EA6F24E8E4EADB7F5E77 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
String_t* L_1 = ___value0;
Thread_SetName_internal_mE41978DFBCB89086CBFF60F479FCF0A241500B31(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Threading.ThreadState System.Threading.Thread::get_ThreadState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ThreadState_m8F398B10B485BC5FC7499B53452230A604989C10 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
int32_t L_1 = Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void System.Threading.Thread::SpinWait_nop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_nop_mDCFDC9E11E3D93EF2261C217649468A3F3A151D7 (const RuntimeMethod* method)
{
typedef void (*Thread_SpinWait_nop_mDCFDC9E11E3D93EF2261C217649468A3F3A151D7_ftn) ();
using namespace il2cpp::icalls;
((Thread_SpinWait_nop_mDCFDC9E11E3D93EF2261C217649468A3F3A151D7_ftn)mscorlib::System::Threading::Thread::SpinWait_nop) ();
}
// System.Void System.Threading.Thread::SpinWait(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_m78B41D34DB11B07C0E7776FD3150DFB10AC63BB4 (int32_t ___iterations0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___iterations0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000a;
}
}
{
return;
}
IL_0005:
{
Thread_SpinWait_nop_mDCFDC9E11E3D93EF2261C217649468A3F3A151D7(/*hidden argument*/NULL);
}
IL_000a:
{
int32_t L_1 = ___iterations0;
int32_t L_2 = L_1;
___iterations0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1));
if ((((int32_t)L_2) > ((int32_t)0)))
{
goto IL_0005;
}
}
{
return;
}
}
// System.Void System.Threading.Thread::StartInternal(System.Security.Principal.IPrincipal,System.Threading.StackCrawlMark&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, RuntimeObject* ___principal0, int32_t* ___stackMark1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MulticastDelegate_t * L_0 = __this->get_m_Delegate_12();
intptr_t L_1 = Thread_Thread_internal_m43DFA96F34ADF78F99F0F24267EC34A8E7A57849(__this, L_0, /*hidden argument*/NULL);
bool L_2 = IntPtr_op_Equality_mEE8D9FD2DFE312BBAA8B4ED3BF7976B3142A5934((intptr_t)L_1, (intptr_t)(0), /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0023;
}
}
{
SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 * L_3 = (SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 *)il2cpp_codegen_object_new(SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782_il2cpp_TypeInfo_var);
SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A(L_3, _stringLiteralC499D2FE766B2B37D326CC48A70E7DFFCE14E67E, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Thread_StartInternal_mA1F40AE1915B601089920427BCD391C814D624E0_RuntimeMethod_var);
}
IL_0023:
{
__this->set_m_ThreadStartArg_7(NULL);
return;
}
}
// System.Void System.Threading.Thread::SetState(System.Threading.InternalThread,System.Threading.ThreadState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetState_mF0035267AC3FECD199B63396E7B1097D4FC2C7C5 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, int32_t ___set1, const RuntimeMethod* method)
{
typedef void (*Thread_SetState_mF0035267AC3FECD199B63396E7B1097D4FC2C7C5_ftn) (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 *, int32_t);
using namespace il2cpp::icalls;
((Thread_SetState_mF0035267AC3FECD199B63396E7B1097D4FC2C7C5_ftn)mscorlib::System::Threading::Thread::SetState40) (___thread0, ___set1);
}
// System.Void System.Threading.Thread::ClrState(System.Threading.InternalThread,System.Threading.ThreadState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_ClrState_m108E95E5905DB3F3301DF8FF8A04B956A5136F77 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, int32_t ___clr1, const RuntimeMethod* method)
{
typedef void (*Thread_ClrState_m108E95E5905DB3F3301DF8FF8A04B956A5136F77_ftn) (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 *, int32_t);
using namespace il2cpp::icalls;
((Thread_ClrState_m108E95E5905DB3F3301DF8FF8A04B956A5136F77_ftn)mscorlib::System::Threading::Thread::ClrState40) (___thread0, ___clr1);
}
// System.Threading.ThreadState System.Threading.Thread::GetState(System.Threading.InternalThread)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2 (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * ___thread0, const RuntimeMethod* method)
{
typedef int32_t (*Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2_ftn) (InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 *);
using namespace il2cpp::icalls;
return ((Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2_ftn)mscorlib::System::Threading::Thread::GetState40) (___thread0);
}
// System.Int32 System.Threading.Thread::SystemMaxStackStize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_SystemMaxStackStize_m2FD92A285AAEB56862E208375C03D537B13BA3EB (const RuntimeMethod* method)
{
typedef int32_t (*Thread_SystemMaxStackStize_m2FD92A285AAEB56862E208375C03D537B13BA3EB_ftn) ();
using namespace il2cpp::icalls;
return ((Thread_SystemMaxStackStize_m2FD92A285AAEB56862E208375C03D537B13BA3EB_ftn)mscorlib::System::Threading::Thread::SystemMaxStackStize) ();
}
// System.Int32 System.Threading.Thread::GetProcessDefaultStackSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetProcessDefaultStackSize_m876EFB49B410ED044DBFA47B7EE2D4F16D7731EC (int32_t ___maxStackSize0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_GetProcessDefaultStackSize_m876EFB49B410ED044DBFA47B7EE2D4F16D7731EC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
int32_t L_0 = ___maxStackSize0;
if (L_0)
{
goto IL_0005;
}
}
{
return 0;
}
IL_0005:
{
int32_t L_1 = ___maxStackSize0;
if ((((int32_t)L_1) >= ((int32_t)((int32_t)131072))))
{
goto IL_0013;
}
}
{
return ((int32_t)131072);
}
IL_0013:
{
int32_t L_2 = Environment_GetPageSize_m9DDEBE89C1AD0F93124F0DC120F4495B5A72515E(/*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = ___maxStackSize0;
int32_t L_4 = V_0;
if (!((int32_t)((int32_t)L_3%(int32_t)L_4)))
{
goto IL_0027;
}
}
{
int32_t L_5 = ___maxStackSize0;
int32_t L_6 = V_0;
int32_t L_7 = V_0;
___maxStackSize0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)((int32_t)L_5/(int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1)))), (int32_t)L_7));
}
IL_0027:
{
int32_t L_8 = ___maxStackSize0;
int32_t L_9 = Thread_SystemMaxStackStize_m2FD92A285AAEB56862E208375C03D537B13BA3EB(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var);
int32_t L_10 = Math_Min_mC950438198519FB2B0260FCB91220847EE4BB525(L_8, L_9, /*hidden argument*/NULL);
return L_10;
}
}
// System.Void System.Threading.Thread::SetStart(System.MulticastDelegate,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SetStart_m22F9A89D5768A9EF04A85F3FA4E8090CE2667FFE (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, MulticastDelegate_t * ___start0, int32_t ___maxStackSize1, const RuntimeMethod* method)
{
{
MulticastDelegate_t * L_0 = ___start0;
__this->set_m_Delegate_12(L_0);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
int32_t L_2 = ___maxStackSize1;
NullCheck(L_1);
L_1->set_stack_size_22(L_2);
return;
}
}
// System.Int32 System.Threading.Thread::get_ManagedThreadId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ManagedThreadId_m7FA85162CB00713B94EF5708B19120F791D3AAD1 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = L_0->get_managed_id_25();
return L_1;
}
}
// System.Void System.Threading.Thread::BeginCriticalRegion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_BeginCriticalRegion_m55EE44EB61B3CA75D6458FACAB208D7FA6D32D44 (const RuntimeMethod* method)
{
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_0);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(L_0, /*hidden argument*/NULL);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_2 = L_1;
NullCheck(L_2);
int32_t L_3 = L_2->get_critical_region_level_24();
il2cpp_codegen_memory_barrier();
NullCheck(L_2);
il2cpp_codegen_memory_barrier();
L_2->set_critical_region_level_24(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Void System.Threading.Thread::EndCriticalRegion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_EndCriticalRegion_mD3B15BD6F84DE9EFC254F87275F4EE52E4F0A96E (const RuntimeMethod* method)
{
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_0);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_1 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(L_0, /*hidden argument*/NULL);
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_2 = L_1;
NullCheck(L_2);
int32_t L_3 = L_2->get_critical_region_level_24();
il2cpp_codegen_memory_barrier();
NullCheck(L_2);
il2cpp_codegen_memory_barrier();
L_2->set_critical_region_level_24(((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Int32 System.Threading.Thread::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_GetHashCode_mB6A27CBCCB9B4026E30A6B434D9F5392242231E6 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = Thread_get_ManagedThreadId_m7FA85162CB00713B94EF5708B19120F791D3AAD1(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Threading.ThreadState System.Threading.Thread::ValidateThreadState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3 (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B2_0 = 0;
int32_t G_B1_0 = 0;
{
InternalThread_tA4C58C2A7D15AF43C3E7507375E6D31DBBE7D192 * L_0 = Thread_get_Internal_m4A69329DACC9037BDF9CA582CF4FC9734817D225(__this, /*hidden argument*/NULL);
int32_t L_1 = Thread_GetState_m32A1BAF338D3CCCAE4CC2DD9F3E3CD68AF66C9F2(L_0, /*hidden argument*/NULL);
int32_t L_2 = L_1;
G_B1_0 = L_2;
if (!((int32_t)((int32_t)L_2&(int32_t)((int32_t)16))))
{
G_B2_0 = L_2;
goto IL_001c;
}
}
{
ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE * L_3 = (ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE *)il2cpp_codegen_object_new(ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE_il2cpp_TypeInfo_var);
ThreadStateException__ctor_m8269A7EE51BF315AD8C0A4B64C2B2319035BB767(L_3, _stringLiteral37C3F47C38A5EBF7F5BAFAA6AA4ED8778E9A2C87, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Thread_ValidateThreadState_mEBF62A50922AE3BABE5C6603386D5370DEA385F3_RuntimeMethod_var);
}
IL_001c:
{
return G_B2_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadAbortException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadAbortException__ctor_m35D7B5B282C1E7366DDEA8AD89D8B78E30D76C8C (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadAbortException__ctor_m35D7B5B282C1E7366DDEA8AD89D8B78E30D76C8C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
String_t* L_0 = Exception_GetMessageFromNativeResources_m0C3FB5994F1AC0C76785E05972E3E405E8A0F087(1, /*hidden argument*/NULL);
SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233040), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadAbortException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadAbortException__ctor_m4693972A14E01B566384F740777BDEA8D3B38AF7 (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
SystemException__ctor_mB0550111A1A8D18B697B618F811A5B20C160D949(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadHelper::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper__cctor_mCE60860371B3C99D4CF548A8B1B6F2B9E6542602 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadHelper__cctor_mCE60860371B3C99D4CF548A8B1B6F2B9E6542602_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_0 = (ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 *)il2cpp_codegen_object_new(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676_il2cpp_TypeInfo_var);
ContextCallback__ctor_m079F8FC3EE21C47D9FDD09FD90C14BDD34539493(L_0, NULL, (intptr_t)((intptr_t)ThreadHelper_ThreadStart_Context_mE293651E7B7060DAC2F7FA75B354BF206DA774A6_RuntimeMethod_var), /*hidden argument*/NULL);
((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_StaticFields*)il2cpp_codegen_static_fields_for(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var))->set__ccb_3(L_0);
return;
}
}
// System.Void System.Threading.ThreadHelper::.ctor(System.Delegate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper__ctor_m8262A0EF0381251FDDFA4696B84F68AF3A01411B (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, Delegate_t * ___start0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
Delegate_t * L_0 = ___start0;
__this->set__start_0(L_0);
return;
}
}
// System.Void System.Threading.ThreadHelper::SetExecutionContextHelper(System.Threading.ExecutionContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper_SetExecutionContextHelper_m253F9206E5C01BE9A6BC3ED65106B5C2DB7240FF (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___ec0, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___ec0;
__this->set__executionContext_2(L_0);
return;
}
}
// System.Void System.Threading.ThreadHelper::ThreadStart_Context(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper_ThreadStart_Context_mE293651E7B7060DAC2F7FA75B354BF206DA774A6 (RuntimeObject * ___state0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadHelper_ThreadStart_Context_mE293651E7B7060DAC2F7FA75B354BF206DA774A6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * V_0 = NULL;
{
RuntimeObject * L_0 = ___state0;
V_0 = ((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 *)CastclassClass((RuntimeObject*)L_0, ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var));
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_1 = V_0;
NullCheck(L_1);
Delegate_t * L_2 = L_1->get__start_0();
if (!((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)IsInstSealed((RuntimeObject*)L_2, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)))
{
goto IL_0025;
}
}
{
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_3 = V_0;
NullCheck(L_3);
Delegate_t * L_4 = L_3->get__start_0();
NullCheck(((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)CastclassSealed((RuntimeObject*)L_4, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)));
ThreadStart_Invoke_m11B6A66E82F02C74399A7314C14C7F52393CC4B4(((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)CastclassSealed((RuntimeObject*)L_4, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
IL_0025:
{
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_5 = V_0;
NullCheck(L_5);
Delegate_t * L_6 = L_5->get__start_0();
ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * L_7 = V_0;
NullCheck(L_7);
RuntimeObject * L_8 = L_7->get__startArg_1();
NullCheck(((ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)CastclassSealed((RuntimeObject*)L_6, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var)));
ParameterizedThreadStart_Invoke_m5A5DFBAD0D99A39DF7ADA9F75D97B068A8809C14(((ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)CastclassSealed((RuntimeObject*)L_6, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var)), L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadHelper::ThreadStart(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper_ThreadStart_m21D0954583D43BCACDABE0E2ABB694FC4A0D43A3 (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadHelper_ThreadStart_m21D0954583D43BCACDABE0E2ABB694FC4A0D43A3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___obj0;
__this->set__startArg_1(L_0);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_1 = __this->get__executionContext_2();
if (!L_1)
{
goto IL_0021;
}
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_2 = __this->get__executionContext_2();
IL2CPP_RUNTIME_CLASS_INIT(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var);
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_3 = ((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_StaticFields*)il2cpp_codegen_static_fields_for(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var))->get__ccb_3();
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_Run_m97152E1791C019905F6297946D7411CA6683CCEB(L_2, L_3, __this, /*hidden argument*/NULL);
return;
}
IL_0021:
{
Delegate_t * L_4 = __this->get__start_0();
RuntimeObject * L_5 = ___obj0;
NullCheck(((ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)CastclassSealed((RuntimeObject*)L_4, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var)));
ParameterizedThreadStart_Invoke_m5A5DFBAD0D99A39DF7ADA9F75D97B068A8809C14(((ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F *)CastclassSealed((RuntimeObject*)L_4, ParameterizedThreadStart_tB0BBCC1B5B33EBCFE37B9B91840464DBF124218F_il2cpp_TypeInfo_var)), L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadHelper::ThreadStart()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadHelper_ThreadStart_m8CB657ADE8F96ED7949120D441D40F2A23EECBD2 (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadHelper_ThreadStart_m8CB657ADE8F96ED7949120D441D40F2A23EECBD2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = __this->get__executionContext_2();
if (!L_0)
{
goto IL_001a;
}
}
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_1 = __this->get__executionContext_2();
IL2CPP_RUNTIME_CLASS_INIT(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var);
ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * L_2 = ((ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_StaticFields*)il2cpp_codegen_static_fields_for(ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13_il2cpp_TypeInfo_var))->get__ccb_3();
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_Run_m97152E1791C019905F6297946D7411CA6683CCEB(L_1, L_2, __this, /*hidden argument*/NULL);
return;
}
IL_001a:
{
Delegate_t * L_3 = __this->get__start_0();
NullCheck(((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)CastclassSealed((RuntimeObject*)L_3, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)));
ThreadStart_Invoke_m11B6A66E82F02C74399A7314C14C7F52393CC4B4(((ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)CastclassSealed((RuntimeObject*)L_3, ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadInterruptedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadInterruptedException__ctor_m7D7CD66D20D7E9C12C3FD88B9DC0AF9F6EFB22A5 (ThreadInterruptedException_t40D8296AA9D9E8B74E29BFAE1089CFACC5F03751 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadInterruptedException__ctor_m7D7CD66D20D7E9C12C3FD88B9DC0AF9F6EFB22A5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
String_t* L_0 = Exception_GetMessageFromNativeResources_m0C3FB5994F1AC0C76785E05972E3E405E8A0F087(2, /*hidden argument*/NULL);
SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233063), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadInterruptedException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadInterruptedException__ctor_m52C3C5BD6F529E4BE56FAA20F6BAE883E0109BD3 (ThreadInterruptedException_t40D8296AA9D9E8B74E29BFAE1089CFACC5F03751 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
SystemException__ctor_mB0550111A1A8D18B697B618F811A5B20C160D949(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Threading.RegisteredWaitHandle System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean,System.Threading.StackCrawlMark&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___waitObject0, WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * ___callBack1, RuntimeObject * ___state2, uint32_t ___millisecondsTimeOutInterval3, bool ___executeOnlyOnce4, int32_t* ___stackMark5, bool ___compressStack6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * V_0 = NULL;
{
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_0 = ___waitObject0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral394CD1DBEAFE1BD9574666651BCC66D1298EA18F, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_RuntimeMethod_var);
}
IL_000e:
{
WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * L_2 = ___callBack1;
if (L_2)
{
goto IL_001c;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_3 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_3, _stringLiteralBEE73CA6E75A8894DD7A547768926EDAEDCD5C1A, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_RuntimeMethod_var);
}
IL_001c:
{
uint32_t L_4 = ___millisecondsTimeOutInterval3;
if ((((int32_t)L_4) == ((int32_t)(-1))))
{
goto IL_0033;
}
}
{
uint32_t L_5 = ___millisecondsTimeOutInterval3;
if ((!(((uint32_t)L_5) > ((uint32_t)((int32_t)2147483647LL)))))
{
goto IL_0033;
}
}
{
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_6 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_6, _stringLiteral73EBEA013EB4C5C11E9834291F0D8CBBC4992FB1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540_RuntimeMethod_var);
}
IL_0033:
{
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_7 = ___waitObject0;
WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * L_8 = ___callBack1;
RuntimeObject * L_9 = ___state2;
uint32_t L_10 = ___millisecondsTimeOutInterval3;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11;
memset((&L_11), 0, sizeof(L_11));
TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5((&L_11), 0, 0, 0, 0, L_10, /*hidden argument*/NULL);
bool L_12 = ___executeOnlyOnce4;
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * L_13 = (RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 *)il2cpp_codegen_object_new(RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0_il2cpp_TypeInfo_var);
RegisteredWaitHandle__ctor_m990C003E1FC4462F986D99BCE3A995F522203483(L_13, L_7, L_8, L_9, L_11, L_12, /*hidden argument*/NULL);
V_0 = L_13;
bool L_14 = ___compressStack6;
if (!L_14)
{
goto IL_0061;
}
}
{
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * L_15 = V_0;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_16 = (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC *)il2cpp_codegen_object_new(WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC_il2cpp_TypeInfo_var);
WaitCallback__ctor_m375A357FD7C64F4182FD88B8276D88FE5BE75B31(L_16, L_15, (intptr_t)((intptr_t)RegisteredWaitHandle_Wait_m0F3673BDD8989B937D7EAF2DDCE685C158192A12_RuntimeMethod_var), /*hidden argument*/NULL);
ThreadPool_QueueUserWorkItem_mF344DA7B44CDBE8C7163C1539D429F27E8553185(L_16, NULL, /*hidden argument*/NULL);
goto IL_0074;
}
IL_0061:
{
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * L_17 = V_0;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_18 = (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC *)il2cpp_codegen_object_new(WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC_il2cpp_TypeInfo_var);
WaitCallback__ctor_m375A357FD7C64F4182FD88B8276D88FE5BE75B31(L_18, L_17, (intptr_t)((intptr_t)RegisteredWaitHandle_Wait_m0F3673BDD8989B937D7EAF2DDCE685C158192A12_RuntimeMethod_var), /*hidden argument*/NULL);
ThreadPool_UnsafeQueueUserWorkItem_mA410427123962A9362AB7314149396196928ECC7(L_18, NULL, /*hidden argument*/NULL);
}
IL_0074:
{
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * L_19 = V_0;
return L_19;
}
}
// System.Threading.RegisteredWaitHandle System.Threading.ThreadPool::RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___waitObject0, WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * ___callBack1, RuntimeObject * ___state2, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___timeout3, bool ___executeOnlyOnce4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
int32_t V_1 = 0;
{
double L_0 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___timeout3), /*hidden argument*/NULL);
V_0 = (((int64_t)((int64_t)L_0)));
int64_t L_1 = V_0;
if ((((int64_t)L_1) >= ((int64_t)(((int64_t)((int64_t)(-1)))))))
{
goto IL_0023;
}
}
{
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_3 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_3, _stringLiteral56D3C9490BE2608AC36F5A4805BFEC2F21F7F982, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E_RuntimeMethod_var);
}
IL_0023:
{
int64_t L_4 = V_0;
if ((((int64_t)L_4) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL)))))))
{
goto IL_0041;
}
}
{
String_t* L_5 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral080C19955B2E8EB7F96E8B1CC1CC77410D38399F, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_6 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_6, _stringLiteral56D3C9490BE2608AC36F5A4805BFEC2F21F7F982, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ThreadPool_RegisterWaitForSingleObject_m1FAE6A729D61DDDF3EE72AEB72D886184A8FA58E_RuntimeMethod_var);
}
IL_0041:
{
V_1 = 1;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_7 = ___waitObject0;
WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * L_8 = ___callBack1;
RuntimeObject * L_9 = ___state2;
int64_t L_10 = V_0;
bool L_11 = ___executeOnlyOnce4;
RegisteredWaitHandle_t25AAC0B53C62CFA0B3F9BFFA87DDA3638F4308C0 * L_12 = ThreadPool_RegisterWaitForSingleObject_m0642BE341A35D9AB577E4611E254BCF7E5C35540(L_7, L_8, L_9, (((int32_t)((uint32_t)L_10))), L_11, (int32_t*)(&V_1), (bool)1, /*hidden argument*/NULL);
return L_12;
}
}
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItem_mF344DA7B44CDBE8C7163C1539D429F27E8553185 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 1;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_0 = ___callBack0;
RuntimeObject * L_1 = ___state1;
bool L_2 = ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB(L_0, L_1, (int32_t*)(&V_0), (bool)1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItem_m2D22C77015012A0C9712F242DCD2B7D692F707E7 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 1;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_0 = ___callBack0;
bool L_1 = ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB(L_0, NULL, (int32_t*)(&V_0), (bool)1, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.Threading.ThreadPool::UnsafeQueueUserWorkItem(System.Threading.WaitCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_UnsafeQueueUserWorkItem_mA410427123962A9362AB7314149396196928ECC7 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 1;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_0 = ___callBack0;
RuntimeObject * L_1 = ___state1;
bool L_2 = ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB(L_0, L_1, (int32_t*)(&V_0), (bool)0, /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItemHelper(System.Threading.WaitCallback,System.Object,System.Threading.StackCrawlMark&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * ___callBack0, RuntimeObject * ___state1, int32_t* ___stackMark2, bool ___compressStack3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (bool)1;
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_0 = ___callBack0;
if (!L_0)
{
goto IL_0025;
}
}
{
ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6(/*hidden argument*/NULL);
}
IL_000a:
try
{ // begin try (depth: 1)
IL2CPP_LEAVE(0x30, FINALLY_000c);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_000c;
}
FINALLY_000c:
{ // begin finally (depth: 1)
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_1 = ___callBack0;
RuntimeObject * L_2 = ___state1;
bool L_3 = ___compressStack3;
int32_t* L_4 = ___stackMark2;
QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 * L_5 = (QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 *)il2cpp_codegen_object_new(QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8_il2cpp_TypeInfo_var);
QueueUserWorkItemCallback__ctor_mA8BAF438B3BC53CFA970E9728870D5B39A3B86A8(L_5, L_1, L_2, L_3, (int32_t*)L_4, /*hidden argument*/NULL);
V_1 = L_5;
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_6 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_workQueue_5();
QueueUserWorkItemCallback_t98440ACF9490D738440F631E378B52AD11EAE8C8 * L_7 = V_1;
NullCheck(L_6);
ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100(L_6, L_7, (bool)1, /*hidden argument*/NULL);
V_0 = (bool)1;
IL2CPP_END_FINALLY(12)
} // end finally (depth: 1)
IL2CPP_CLEANUP(12)
{
IL2CPP_JUMP_TBL(0x30, IL_0030)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0025:
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_8 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_8, _stringLiteral32D4D0CD69E4FCD0E4B1749FED4FE485D5B17F9C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, ThreadPool_QueueUserWorkItemHelper_mD11DD16BA8A1C6C90FC15FB3E47F2C62F19669AB_RuntimeMethod_var);
}
IL_0030:
{
bool L_9 = V_0;
return L_9;
}
}
// System.Void System.Threading.ThreadPool::UnsafeQueueCustomWorkItem(System.Threading.IThreadPoolWorkItem,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568 (RuntimeObject* ___workItem0, bool ___forceGlobal1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_UnsafeQueueCustomWorkItem_m6FAFD01CC75C06858788F29C2430A4CB85E13568_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6(/*hidden argument*/NULL);
}
IL_0005:
try
{ // begin try (depth: 1)
IL2CPP_LEAVE(0x14, FINALLY_0007);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0007;
}
FINALLY_0007:
{ // begin finally (depth: 1)
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_0 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_workQueue_5();
RuntimeObject* L_1 = ___workItem0;
bool L_2 = ___forceGlobal1;
NullCheck(L_0);
ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100(L_0, L_1, L_2, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(7)
} // end finally (depth: 1)
IL2CPP_CLEANUP(7)
{
IL2CPP_JUMP_TBL(0x14, IL_0014)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0014:
{
return;
}
}
// System.Boolean System.Threading.ThreadPool::TryPopCustomWorkItem(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A (RuntimeObject* ___workItem0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_TryPopCustomWorkItem_mCECECEF31175E5AF82E059137F190C0088897A4A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
bool L_0 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_vmTpInitialized_3();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_000b;
}
}
{
return (bool)0;
}
IL_000b:
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_1 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_workQueue_5();
RuntimeObject* L_2 = ___workItem0;
NullCheck(L_1);
bool L_3 = ThreadPoolWorkQueue_LocalFindAndPop_m9BE567E92E0DC532DFEE011D236A1159F63E6434(L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Boolean System.Threading.ThreadPool::RequestWorkerThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_RequestWorkerThread_m7C6D88D442BC1EB2C17B6070F0791C6FC4F8A947 (const RuntimeMethod* method)
{
typedef bool (*ThreadPool_RequestWorkerThread_m7C6D88D442BC1EB2C17B6070F0791C6FC4F8A947_ftn) ();
using namespace il2cpp::icalls;
return ((ThreadPool_RequestWorkerThread_m7C6D88D442BC1EB2C17B6070F0791C6FC4F8A947_ftn)ves_icall_System_Threading_ThreadPool_RequestWorkerThread) ();
}
// System.Void System.Threading.ThreadPool::EnsureVMInitialized()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_EnsureVMInitialized_mA21FAA8238E99EE2F8CDD7E638FEF5E11B5578D6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
bool L_0 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_vmTpInitialized_3();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_001b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A((bool*)(((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_address_of_enableWorkerTracking_4()), /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->set_vmTpInitialized_3(1);
}
IL_001b:
{
return;
}
}
// System.Boolean System.Threading.ThreadPool::NotifyWorkItemComplete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_NotifyWorkItemComplete_m66CC6F7A740C2925320EE3A1D901D9AA5D2B9A77 (const RuntimeMethod* method)
{
typedef bool (*ThreadPool_NotifyWorkItemComplete_m66CC6F7A740C2925320EE3A1D901D9AA5D2B9A77_ftn) ();
using namespace il2cpp::icalls;
return ((ThreadPool_NotifyWorkItemComplete_m66CC6F7A740C2925320EE3A1D901D9AA5D2B9A77_ftn)ves_icall_System_Threading_ThreadPool_NotifyWorkItemComplete) ();
}
// System.Void System.Threading.ThreadPool::ReportThreadStatus(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8 (bool ___isWorking0, const RuntimeMethod* method)
{
typedef void (*ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8_ftn) (bool);
using namespace il2cpp::icalls;
((ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8_ftn)ves_icall_System_Threading_ThreadPool_ReportThreadStatus) (___isWorking0);
}
// System.Void System.Threading.ThreadPool::NotifyWorkItemProgress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_NotifyWorkItemProgress_mD041D082A87EAE7A34E6AE21CB7AF8819422B40A (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPool_NotifyWorkItemProgress_mD041D082A87EAE7A34E6AE21CB7AF8819422B40A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
bool L_0 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_vmTpInitialized_3();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_0013;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A((bool*)(((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_address_of_enableWorkerTracking_4()), /*hidden argument*/NULL);
}
IL_0013:
{
ThreadPool_NotifyWorkItemProgressNative_mF559EE574FF07EF426C9B8342221616C78CB370B(/*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadPool::NotifyWorkItemProgressNative()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_NotifyWorkItemProgressNative_mF559EE574FF07EF426C9B8342221616C78CB370B (const RuntimeMethod* method)
{
typedef void (*ThreadPool_NotifyWorkItemProgressNative_mF559EE574FF07EF426C9B8342221616C78CB370B_ftn) ();
using namespace il2cpp::icalls;
((ThreadPool_NotifyWorkItemProgressNative_mF559EE574FF07EF426C9B8342221616C78CB370B_ftn)ves_icall_System_Threading_ThreadPool_NotifyWorkItemProgressNative) ();
}
// System.Boolean System.Threading.ThreadPool::IsThreadPoolHosted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPool_IsThreadPoolHosted_m4C22092ED436EECC64E79C84EEC327B89D7A7D96 (const RuntimeMethod* method)
{
typedef bool (*ThreadPool_IsThreadPoolHosted_m4C22092ED436EECC64E79C84EEC327B89D7A7D96_ftn) ();
using namespace il2cpp::icalls;
return ((ThreadPool_IsThreadPoolHosted_m4C22092ED436EECC64E79C84EEC327B89D7A7D96_ftn)ves_icall_System_Threading_ThreadPool_IsThreadPoolHosted) ();
}
// System.Void System.Threading.ThreadPool::InitializeVMTp(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A (bool* ___enableWorkerTracking0, const RuntimeMethod* method)
{
typedef void (*ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A_ftn) (bool*);
using namespace il2cpp::icalls;
((ThreadPool_InitializeVMTp_m75941381A968807C339207BE8DF497443200121A_ftn)ves_icall_System_Threading_ThreadPool_InitializeVMTp) (___enableWorkerTracking0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadPoolGlobals::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolGlobals__cctor_mDE5EB5AAA8F84828FE2CBEEEE1301322CD263AA1 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolGlobals__cctor_mDE5EB5AAA8F84828FE2CBEEEE1301322CD263AA1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->set_tpQuantum_0(((int32_t)30));
int32_t L_0 = Environment_get_ProcessorCount_m086119F1D40B7319BFC37F4501C6A73517E9B8CD(/*hidden argument*/NULL);
((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->set_processorCount_1(L_0);
bool L_1 = ThreadPool_IsThreadPoolHosted_m4C22092ED436EECC64E79C84EEC327B89D7A7D96(/*hidden argument*/NULL);
((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->set_tpHosted_2(L_1);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_2 = (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 *)il2cpp_codegen_object_new(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var);
ThreadPoolWorkQueue__ctor_mDAE229D4F94CACC0E1FF97CBDC78F1034C0AF86D(L_2, /*hidden argument*/NULL);
((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->set_workQueue_5(L_2);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadPoolWorkQueue::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue__ctor_mDAE229D4F94CACC0E1FF97CBDC78F1034C0AF86D (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue__ctor_mDAE229D4F94CACC0E1FF97CBDC78F1034C0AF86D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * V_0 = NULL;
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_0 = (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *)il2cpp_codegen_object_new(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE_il2cpp_TypeInfo_var);
QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9(L_0, /*hidden argument*/NULL);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_1 = L_0;
V_0 = L_1;
il2cpp_codegen_memory_barrier();
__this->set_queueHead_0(L_1);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_2 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_queueTail_1(L_2);
return;
}
}
// System.Threading.ThreadPoolWorkQueueThreadLocals System.Threading.ThreadPoolWorkQueue::EnsureCurrentThreadHasQueue()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * ThreadPoolWorkQueue_EnsureCurrentThreadHasQueue_m554E036E163A749F37BEBCE4F6020E145779758A (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_EnsureCurrentThreadHasQueue_m554E036E163A749F37BEBCE4F6020E145779758A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_0 = ((ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var))->get_threadLocals_0();
if (L_0)
{
goto IL_0012;
}
}
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_1 = (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B *)il2cpp_codegen_object_new(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var);
ThreadPoolWorkQueueThreadLocals__ctor_mD46EF22D8EE15E0585EAC6F9DBF3063D14526362(L_1, __this, /*hidden argument*/NULL);
((ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var))->set_threadLocals_0(L_1);
}
IL_0012:
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_2 = ((ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var))->get_threadLocals_0();
return L_2;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue::EnsureThreadRequested()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = __this->get_numOutstandingThreadRequests_3();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
goto IL_0028;
}
IL_000b:
{
int32_t* L_1 = __this->get_address_of_numOutstandingThreadRequests_3();
il2cpp_codegen_memory_barrier();
int32_t L_2 = V_0;
int32_t L_3 = V_0;
int32_t L_4 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_1, ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), L_3, /*hidden argument*/NULL);
V_1 = L_4;
int32_t L_5 = V_1;
int32_t L_6 = V_0;
if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
{
goto IL_0026;
}
}
{
ThreadPool_RequestWorkerThread_m7C6D88D442BC1EB2C17B6070F0791C6FC4F8A947(/*hidden argument*/NULL);
return;
}
IL_0026:
{
int32_t L_7 = V_1;
V_0 = L_7;
}
IL_0028:
{
int32_t L_8 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
int32_t L_9 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_processorCount_1();
if ((((int32_t)L_8) < ((int32_t)L_9)))
{
goto IL_000b;
}
}
{
return;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue::MarkThreadRequestSatisfied()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_MarkThreadRequestSatisfied_m88FE3B0300E0D183244D54B7A7105141432C1955 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = __this->get_numOutstandingThreadRequests_3();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
goto IL_0021;
}
IL_000b:
{
int32_t* L_1 = __this->get_address_of_numOutstandingThreadRequests_3();
il2cpp_codegen_memory_barrier();
int32_t L_2 = V_0;
int32_t L_3 = V_0;
int32_t L_4 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_1, ((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)), L_3, /*hidden argument*/NULL);
V_1 = L_4;
int32_t L_5 = V_1;
int32_t L_6 = V_0;
if ((((int32_t)L_5) == ((int32_t)L_6)))
{
goto IL_0025;
}
}
{
int32_t L_7 = V_1;
V_0 = L_7;
}
IL_0021:
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) > ((int32_t)0)))
{
goto IL_000b;
}
}
IL_0025:
{
return;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue::Enqueue(System.Threading.IThreadPoolWorkItem,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, RuntimeObject* ___callback0, bool ___forceGlobal1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * V_0 = NULL;
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * V_1 = NULL;
{
V_0 = (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B *)NULL;
bool L_0 = ___forceGlobal1;
if (L_0)
{
goto IL_000b;
}
}
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_1 = ((ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var))->get_threadLocals_0();
V_0 = L_1;
}
IL_000b:
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_2 = V_0;
if (!L_2)
{
goto IL_001c;
}
}
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_3 = V_0;
NullCheck(L_3);
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_4 = L_3->get_workStealingQueue_2();
RuntimeObject* L_5 = ___callback0;
NullCheck(L_4);
WorkStealingQueue_LocalPush_mF4807971CDD7F6089AADF28173FEDDDFF4E96455(L_4, L_5, /*hidden argument*/NULL);
goto IL_006c;
}
IL_001c:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_6 = __this->get_queueHead_0();
il2cpp_codegen_memory_barrier();
V_1 = L_6;
goto IL_0063;
}
IL_0027:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_7 = V_1;
NullCheck(L_7);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** L_8 = L_7->get_address_of_Next_2();
il2cpp_codegen_memory_barrier();
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_9 = (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *)il2cpp_codegen_object_new(QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE_il2cpp_TypeInfo_var);
QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9(L_9, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *>((QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE **)L_8, L_9, (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *)NULL);
goto IL_0059;
}
IL_003b:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** L_10 = __this->get_address_of_queueHead_0();
il2cpp_codegen_memory_barrier();
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_11 = V_1;
NullCheck(L_11);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_12 = L_11->get_Next_2();
il2cpp_codegen_memory_barrier();
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_13 = V_1;
InterlockedCompareExchangeImpl<QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *>((QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE **)L_10, L_12, L_13);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_14 = __this->get_queueHead_0();
il2cpp_codegen_memory_barrier();
V_1 = L_14;
}
IL_0059:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_15 = V_1;
NullCheck(L_15);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_16 = L_15->get_Next_2();
il2cpp_codegen_memory_barrier();
if (L_16)
{
goto IL_003b;
}
}
IL_0063:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_17 = V_1;
RuntimeObject* L_18 = ___callback0;
NullCheck(L_17);
bool L_19 = QueueSegment_TryEnqueue_m83AD5DB0A7D19576FC19EF28974EE515E61B8AA5(L_17, L_18, /*hidden argument*/NULL);
if (!L_19)
{
goto IL_0027;
}
}
IL_006c:
{
ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue::LocalFindAndPop(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolWorkQueue_LocalFindAndPop_m9BE567E92E0DC532DFEE011D236A1159F63E6434 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, RuntimeObject* ___callback0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_LocalFindAndPop_m9BE567E92E0DC532DFEE011D236A1159F63E6434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * V_0 = NULL;
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_0 = ((ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B_il2cpp_TypeInfo_var))->get_threadLocals_0();
V_0 = L_0;
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_1 = V_0;
if (L_1)
{
goto IL_000b;
}
}
{
return (bool)0;
}
IL_000b:
{
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_2 = V_0;
NullCheck(L_2);
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_3 = L_2->get_workStealingQueue_2();
RuntimeObject* L_4 = ___callback0;
NullCheck(L_3);
bool L_5 = WorkStealingQueue_LocalFindAndPop_m837487AF74CF9C8104986911FC7E279101AE1DCC(L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue::Dequeue(System.Threading.ThreadPoolWorkQueueThreadLocals,System.Threading.IThreadPoolWorkItem&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue_Dequeue_mC9B6B85A78A962AC577C6474DBF53E2BCE238767 (ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * __this, ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * ___tl0, RuntimeObject** ___callback1, bool* ___missedSteal2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_Dequeue_mC9B6B85A78A962AC577C6474DBF53E2BCE238767_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * V_0 = NULL;
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * V_1 = NULL;
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * V_5 = NULL;
{
RuntimeObject** L_0 = ___callback1;
*((RuntimeObject **)L_0) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_0, (void*)(RuntimeObject *)NULL);
bool* L_1 = ___missedSteal2;
*((int8_t*)L_1) = (int8_t)0;
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_2 = ___tl0;
NullCheck(L_2);
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_3 = L_2->get_workStealingQueue_2();
V_0 = L_3;
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_4 = V_0;
RuntimeObject** L_5 = ___callback1;
NullCheck(L_4);
WorkStealingQueue_LocalPop_m99B519E8984D358D1816A9E01B7A9CD4607B42D0(L_4, (RuntimeObject**)L_5, /*hidden argument*/NULL);
RuntimeObject** L_6 = ___callback1;
RuntimeObject* L_7 = *((RuntimeObject**)L_6);
if (L_7)
{
goto IL_005d;
}
}
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_8 = __this->get_queueTail_1();
il2cpp_codegen_memory_barrier();
V_1 = L_8;
}
IL_0022:
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_9 = V_1;
RuntimeObject** L_10 = ___callback1;
NullCheck(L_9);
bool L_11 = QueueSegment_TryDequeue_m4D5D4F85B81CACAD4B7961DC4EF1FD91A99611D2(L_9, (RuntimeObject**)L_10, /*hidden argument*/NULL);
if (L_11)
{
goto IL_005d;
}
}
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_12 = V_1;
NullCheck(L_12);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_13 = L_12->get_Next_2();
il2cpp_codegen_memory_barrier();
if (!L_13)
{
goto IL_005d;
}
}
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_14 = V_1;
NullCheck(L_14);
bool L_15 = QueueSegment_IsUsedUp_mE4EA87EE6185EAF7C5C6108B4E435CE1D4FB9F0C(L_14, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_005d;
}
}
{
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE ** L_16 = __this->get_address_of_queueTail_1();
il2cpp_codegen_memory_barrier();
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_17 = V_1;
NullCheck(L_17);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_18 = L_17->get_Next_2();
il2cpp_codegen_memory_barrier();
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_19 = V_1;
InterlockedCompareExchangeImpl<QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE *>((QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE **)L_16, L_18, L_19);
QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * L_20 = __this->get_queueTail_1();
il2cpp_codegen_memory_barrier();
V_1 = L_20;
goto IL_0022;
}
IL_005d:
{
RuntimeObject** L_21 = ___callback1;
RuntimeObject* L_22 = *((RuntimeObject**)L_21);
if (L_22)
{
goto IL_00b7;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var);
SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * L_23 = ((ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var))->get_allThreadQueues_2();
NullCheck(L_23);
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* L_24 = SparseArray_1_get_Current_m3B12A0B7ED161127D23F62CC10EDCE7F8ED79051(L_23, /*hidden argument*/SparseArray_1_get_Current_m3B12A0B7ED161127D23F62CC10EDCE7F8ED79051_RuntimeMethod_var);
V_2 = L_24;
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_25 = ___tl0;
NullCheck(L_25);
Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * L_26 = L_25->get_random_3();
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* L_27 = V_2;
NullCheck(L_27);
NullCheck(L_26);
int32_t L_28 = VirtFuncInvoker1< int32_t, int32_t >::Invoke(6 /* System.Int32 System.Random::Next(System.Int32) */, L_26, (((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))));
V_3 = L_28;
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* L_29 = V_2;
NullCheck(L_29);
V_4 = (((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length))));
goto IL_00b2;
}
IL_0082:
{
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* L_30 = V_2;
int32_t L_31 = V_3;
WorkStealingQueueU5BU5D_tB0FC166606C799616475C287839895D7E987FAE9* L_32 = V_2;
NullCheck(L_32);
NullCheck(L_30);
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_33 = VolatileRead((WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB **)((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_31%(int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length))))))))));
V_5 = L_33;
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_34 = V_5;
if (!L_34)
{
goto IL_00a8;
}
}
{
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_35 = V_5;
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_36 = V_0;
if ((((RuntimeObject*)(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB *)L_35) == ((RuntimeObject*)(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB *)L_36)))
{
goto IL_00a8;
}
}
{
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_37 = V_5;
RuntimeObject** L_38 = ___callback1;
bool* L_39 = ___missedSteal2;
NullCheck(L_37);
bool L_40 = WorkStealingQueue_TrySteal_mE129DB3DD6A80B3FAF1391366AABFDD488D7956E(L_37, (RuntimeObject**)L_38, (bool*)L_39, /*hidden argument*/NULL);
if (L_40)
{
goto IL_00b7;
}
}
IL_00a8:
{
int32_t L_41 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1));
int32_t L_42 = V_4;
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_42, (int32_t)1));
}
IL_00b2:
{
int32_t L_43 = V_4;
if ((((int32_t)L_43) > ((int32_t)0)))
{
goto IL_0082;
}
}
IL_00b7:
{
return;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue::Dispatch()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ThreadPoolWorkQueue_Dispatch_mCDF7415E4C9D02B34761CAE8EA15CD33DDF85ADF (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue_Dispatch_mCDF7415E4C9D02B34761CAE8EA15CD33DDF85ADF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
RuntimeObject* V_3 = NULL;
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * V_4 = NULL;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * V_8 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 7);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_0 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_workQueue_5();
V_0 = L_0;
int32_t L_1 = Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C(/*hidden argument*/NULL);
V_1 = L_1;
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_2 = V_0;
NullCheck(L_2);
ThreadPoolWorkQueue_MarkThreadRequestSatisfied_m88FE3B0300E0D183244D54B7A7105141432C1955(L_2, /*hidden argument*/NULL);
V_2 = (bool)1;
V_3 = (RuntimeObject*)NULL;
}
IL_0016:
try
{ // begin try (depth: 1)
try
{ // begin try (depth: 2)
{
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_3 = V_0;
NullCheck(L_3);
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_4 = ThreadPoolWorkQueue_EnsureCurrentThreadHasQueue_m554E036E163A749F37BEBCE4F6020E145779758A(L_3, /*hidden argument*/NULL);
V_4 = L_4;
goto IL_0088;
}
IL_0020:
{
}
IL_0021:
try
{ // begin try (depth: 3)
IL2CPP_LEAVE(0x41, FINALLY_0023);
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0023;
}
FINALLY_0023:
{ // begin finally (depth: 3)
{
V_5 = (bool)0;
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_5 = V_0;
ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * L_6 = V_4;
NullCheck(L_5);
ThreadPoolWorkQueue_Dequeue_mC9B6B85A78A962AC577C6474DBF53E2BCE238767(L_5, L_6, (RuntimeObject**)(&V_3), (bool*)(&V_5), /*hidden argument*/NULL);
RuntimeObject* L_7 = V_3;
if (L_7)
{
goto IL_003a;
}
}
IL_0035:
{
bool L_8 = V_5;
V_2 = L_8;
goto IL_0040;
}
IL_003a:
{
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_9 = V_0;
NullCheck(L_9);
ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E(L_9, /*hidden argument*/NULL);
}
IL_0040:
{
IL2CPP_END_FINALLY(35)
}
} // end finally (depth: 3)
IL2CPP_CLEANUP(35)
{
IL2CPP_JUMP_TBL(0x41, IL_0041)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0041:
{
RuntimeObject* L_10 = V_3;
if (L_10)
{
goto IL_0049;
}
}
IL_0044:
{
V_6 = (bool)1;
IL2CPP_LEAVE(0xBA, FINALLY_00ae);
}
IL_0049:
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
bool L_11 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_enableWorkerTracking_4();
if (!L_11)
{
goto IL_0074;
}
}
IL_0050:
{
V_7 = (bool)0;
}
IL_0053:
try
{ // begin try (depth: 3)
try
{ // begin try (depth: 4)
IL2CPP_LEAVE(0x5F, FINALLY_0055);
} // end try (depth: 4)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0055;
}
FINALLY_0055:
{ // begin finally (depth: 4)
ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8((bool)1, /*hidden argument*/NULL);
V_7 = (bool)1;
IL2CPP_END_FINALLY(85)
} // end finally (depth: 4)
IL2CPP_CLEANUP(85)
{
IL2CPP_JUMP_TBL(0x5F, IL_005f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005f:
{
RuntimeObject* L_12 = V_3;
NullCheck(L_12);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.Threading.IThreadPoolWorkItem::ExecuteWorkItem() */, IThreadPoolWorkItem_t2EF44881BFB1A9C021606D5B0C03B31B62B6C38D_il2cpp_TypeInfo_var, L_12);
V_3 = (RuntimeObject*)NULL;
IL2CPP_LEAVE(0x7C, FINALLY_0069);
}
} // end try (depth: 3)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0069;
}
FINALLY_0069:
{ // begin finally (depth: 3)
{
bool L_13 = V_7;
if (!L_13)
{
goto IL_0073;
}
}
IL_006d:
{
ThreadPool_ReportThreadStatus_m5497425AF41790F625F8A890141EC9570FA82EE8((bool)0, /*hidden argument*/NULL);
}
IL_0073:
{
IL2CPP_END_FINALLY(105)
}
} // end finally (depth: 3)
IL2CPP_CLEANUP(105)
{
IL2CPP_JUMP_TBL(0x7C, IL_007c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0074:
{
RuntimeObject* L_14 = V_3;
NullCheck(L_14);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.Threading.IThreadPoolWorkItem::ExecuteWorkItem() */, IThreadPoolWorkItem_t2EF44881BFB1A9C021606D5B0C03B31B62B6C38D_il2cpp_TypeInfo_var, L_14);
V_3 = (RuntimeObject*)NULL;
}
IL_007c:
{
bool L_15 = ThreadPool_NotifyWorkItemComplete_m66CC6F7A740C2925320EE3A1D901D9AA5D2B9A77(/*hidden argument*/NULL);
if (L_15)
{
goto IL_0088;
}
}
IL_0083:
{
V_6 = (bool)0;
IL2CPP_LEAVE(0xBA, FINALLY_00ae);
}
IL_0088:
{
int32_t L_16 = Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C(/*hidden argument*/NULL);
int32_t L_17 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var);
uint32_t L_18 = ((ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolGlobals_t9DF93E24441362B1D7114B8AD50AF977E96671F5_il2cpp_TypeInfo_var))->get_tpQuantum_0();
if ((((int64_t)(((int64_t)((int64_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)L_17)))))) < ((int64_t)(((int64_t)((uint64_t)L_18))))))
{
goto IL_0020;
}
}
IL_0098:
{
V_6 = (bool)1;
IL2CPP_LEAVE(0xBA, FINALLY_00ae);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_009d;
throw e;
}
CATCH_009d:
{ // begin catch(System.Threading.ThreadAbortException)
{
V_8 = ((ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 *)__exception_local);
RuntimeObject* L_19 = V_3;
if (!L_19)
{
goto IL_00aa;
}
}
IL_00a2:
{
RuntimeObject* L_20 = V_3;
ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * L_21 = V_8;
NullCheck(L_20);
InterfaceActionInvoker1< ThreadAbortException_t0B7CFB34B2901B695FBCFF84E0A1EBDFC8177468 * >::Invoke(1 /* System.Void System.Threading.IThreadPoolWorkItem::MarkAborted(System.Threading.ThreadAbortException) */, IThreadPoolWorkItem_t2EF44881BFB1A9C021606D5B0C03B31B62B6C38D_il2cpp_TypeInfo_var, L_20, L_21);
}
IL_00aa:
{
V_2 = (bool)0;
IL2CPP_LEAVE(0xB8, FINALLY_00ae);
}
} // end catch (depth: 2)
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00ae;
}
FINALLY_00ae:
{ // begin finally (depth: 1)
{
bool L_22 = V_2;
if (!L_22)
{
goto IL_00b7;
}
}
IL_00b1:
{
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_23 = V_0;
NullCheck(L_23);
ThreadPoolWorkQueue_EnsureThreadRequested_mEF1AA9C6BEB164BB3CCC05D39D92FDF531B4C39E(L_23, /*hidden argument*/NULL);
}
IL_00b7:
{
IL2CPP_END_FINALLY(174)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(174)
{
IL2CPP_JUMP_TBL(0xBA, IL_00ba)
IL2CPP_JUMP_TBL(0xB8, IL_00b8)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00b8:
{
return (bool)1;
}
IL_00ba:
{
bool L_24 = V_6;
return L_24;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueue__cctor_m4B8371BEBC112C1C29BFF0AA32296B5BABE4CB6E (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueue__cctor_m4B8371BEBC112C1C29BFF0AA32296B5BABE4CB6E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * L_0 = (SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB *)il2cpp_codegen_object_new(SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB_il2cpp_TypeInfo_var);
SparseArray_1__ctor_m0B0CCA1B07E8D3958BD83EFE5CBC7C40A0A9131A(L_0, ((int32_t)16), /*hidden argument*/SparseArray_1__ctor_m0B0CCA1B07E8D3958BD83EFE5CBC7C40A0A9131A_RuntimeMethod_var);
((ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var))->set_allThreadQueues_2(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadPoolWorkQueue_QueueSegment::GetIndexes(System.Int32&,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueSegment_GetIndexes_mF55461594A0803BA4A598D15A161EF172EB65953 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, int32_t* ___upper0, int32_t* ___lower1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_indexes_1();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
int32_t* L_1 = ___upper0;
int32_t L_2 = V_0;
*((int32_t*)L_1) = (int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_2>>(int32_t)((int32_t)16)))&(int32_t)((int32_t)65535)));
int32_t* L_3 = ___lower1;
int32_t L_4 = V_0;
*((int32_t*)L_3) = (int32_t)((int32_t)((int32_t)L_4&(int32_t)((int32_t)65535)));
return;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_QueueSegment::CompareExchangeIndexes(System.Int32&,System.Int32,System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_CompareExchangeIndexes_m2F262328BC6CD50650808F35D906F986F702E299 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, int32_t* ___prevUpper0, int32_t ___newUpper1, int32_t* ___prevLower2, int32_t ___newLower3, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t* L_0 = ___prevUpper0;
int32_t L_1 = *((int32_t*)L_0);
int32_t* L_2 = ___prevLower2;
int32_t L_3 = *((int32_t*)L_2);
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_1<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)65535)))));
int32_t L_4 = ___newUpper1;
int32_t L_5 = ___newLower3;
V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_4<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)L_5&(int32_t)((int32_t)65535)))));
int32_t* L_6 = __this->get_address_of_indexes_1();
il2cpp_codegen_memory_barrier();
int32_t L_7 = V_1;
int32_t L_8 = V_0;
int32_t L_9 = Interlocked_CompareExchange_mD830160E95D6C589AD31EE9DC8D19BD4A8DCDC03((int32_t*)L_6, L_7, L_8, /*hidden argument*/NULL);
V_2 = L_9;
int32_t* L_10 = ___prevUpper0;
int32_t L_11 = V_2;
*((int32_t*)L_10) = (int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_11>>(int32_t)((int32_t)16)))&(int32_t)((int32_t)65535)));
int32_t* L_12 = ___prevLower2;
int32_t L_13 = V_2;
*((int32_t*)L_12) = (int32_t)((int32_t)((int32_t)L_13&(int32_t)((int32_t)65535)));
int32_t L_14 = V_2;
int32_t L_15 = V_0;
return (bool)((((int32_t)L_14) == ((int32_t)L_15))? 1 : 0);
}
}
// System.Void System.Threading.ThreadPoolWorkQueue_QueueSegment::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (QueueSegment__ctor_m7E0672E1810C3887A90DB32CCDE0FC80752495C9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_0 = (IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)SZArrayNew(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
__this->set_nodes_0(L_0);
return;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_QueueSegment::IsUsedUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_IsUsedUp_mE4EA87EE6185EAF7C5C6108B4E435CE1D4FB9F0C (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
QueueSegment_GetIndexes_mF55461594A0803BA4A598D15A161EF172EB65953(__this, (int32_t*)(&V_0), (int32_t*)(&V_1), /*hidden argument*/NULL);
int32_t L_0 = V_0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_1 = __this->get_nodes_0();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_0021;
}
}
{
int32_t L_2 = V_1;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_3 = __this->get_nodes_0();
NullCheck(L_3);
return (bool)((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))))? 1 : 0);
}
IL_0021:
{
return (bool)0;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_QueueSegment::TryEnqueue(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_TryEnqueue_m83AD5DB0A7D19576FC19EF28974EE515E61B8AA5 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, RuntimeObject* ___node0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
QueueSegment_GetIndexes_mF55461594A0803BA4A598D15A161EF172EB65953(__this, (int32_t*)(&V_0), (int32_t*)(&V_1), /*hidden argument*/NULL);
}
IL_000a:
{
int32_t L_0 = V_0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_1 = __this->get_nodes_0();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_0017;
}
}
{
return (bool)0;
}
IL_0017:
{
int32_t L_2 = V_0;
int32_t L_3 = V_1;
bool L_4 = QueueSegment_CompareExchangeIndexes_m2F262328BC6CD50650808F35D906F986F702E299(__this, (int32_t*)(&V_0), ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), (int32_t*)(&V_1), L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_000a;
}
}
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_5 = __this->get_nodes_0();
int32_t L_6 = V_0;
NullCheck(L_5);
RuntimeObject* L_7 = ___node0;
VolatileWrite((RuntimeObject**)((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6))), L_7);
return (bool)1;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_QueueSegment::TryDequeue(System.Threading.IThreadPoolWorkItem&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool QueueSegment_TryDequeue_m4D5D4F85B81CACAD4B7961DC4EF1FD91A99611D2 (QueueSegment_t3F7E9D01C68FF83E06B265B2CF69264953C094EE * __this, RuntimeObject** ___node0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 V_2;
memset((&V_2), 0, sizeof(V_2));
RuntimeObject* V_3 = NULL;
{
QueueSegment_GetIndexes_mF55461594A0803BA4A598D15A161EF172EB65953(__this, (int32_t*)(&V_0), (int32_t*)(&V_1), /*hidden argument*/NULL);
}
IL_000a:
{
int32_t L_0 = V_1;
int32_t L_1 = V_0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_0013;
}
}
{
RuntimeObject** L_2 = ___node0;
*((RuntimeObject **)L_2) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_2, (void*)(RuntimeObject *)NULL);
return (bool)0;
}
IL_0013:
{
int32_t L_3 = V_0;
int32_t L_4 = V_1;
bool L_5 = QueueSegment_CompareExchangeIndexes_m2F262328BC6CD50650808F35D906F986F702E299(__this, (int32_t*)(&V_0), L_3, (int32_t*)(&V_1), ((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/NULL);
if (!L_5)
{
goto IL_000a;
}
}
{
il2cpp_codegen_initobj((&V_2), sizeof(SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 ));
goto IL_0034;
}
IL_002d:
{
SpinWait_SpinOnce_mFE80DED71DC333A3F5C6F98AE9B46AB63B854E87((SpinWait_tE079CCE966DA5879ACBE28273573E447C0BA31B9 *)(&V_2), /*hidden argument*/NULL);
}
IL_0034:
{
RuntimeObject** L_6 = ___node0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_7 = __this->get_nodes_0();
int32_t L_8 = V_1;
NullCheck(L_7);
RuntimeObject* L_9 = VolatileRead((RuntimeObject**)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8))));
RuntimeObject* L_10 = L_9;
V_3 = L_10;
*((RuntimeObject **)L_6) = (RuntimeObject *)L_10;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_6, (void*)(RuntimeObject *)L_10);
RuntimeObject* L_11 = V_3;
if (!L_11)
{
goto IL_002d;
}
}
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_12 = __this->get_nodes_0();
int32_t L_13 = V_1;
NullCheck(L_12);
ArrayElementTypeCheck (L_12, NULL);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(L_13), (RuntimeObject*)NULL);
return (bool)1;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::LocalPush(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkStealingQueue_LocalPush_mF4807971CDD7F6089AADF28173FEDDDFF4E96455 (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject* ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WorkStealingQueue_LocalPush_mF4807971CDD7F6089AADF28173FEDDDFF4E96455_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
bool V_2 = false;
int32_t V_3 = 0;
int32_t V_4 = 0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* V_5 = NULL;
int32_t V_6 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
int32_t L_0 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
int32_t L_1 = V_0;
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)2147483647LL)))))
{
goto IL_0075;
}
}
{
V_1 = (bool)0;
}
IL_0013:
try
{ // begin try (depth: 1)
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_2 = __this->get_address_of_m_foreignLock_4();
SpinLock_Enter_mF3E9D6327B1767595E94264ABB9526C5CF3CFC3B((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_2, (bool*)(&V_1), /*hidden argument*/NULL);
int32_t L_3 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)L_3) == ((uint32_t)((int32_t)2147483647LL)))))
{
goto IL_0063;
}
}
IL_002f:
{
int32_t L_4 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_5 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_headIndex_2(((int32_t)((int32_t)L_4&(int32_t)L_5)));
int32_t L_6 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
int32_t L_7 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
int32_t L_8 = ((int32_t)((int32_t)L_6&(int32_t)L_7));
V_0 = L_8;
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(L_8);
}
IL_0063:
{
IL2CPP_LEAVE(0x75, FINALLY_0065);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0065;
}
FINALLY_0065:
{ // begin finally (depth: 1)
{
bool L_9 = V_1;
if (!L_9)
{
goto IL_0074;
}
}
IL_0068:
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_10 = __this->get_address_of_m_foreignLock_4();
SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_10, (bool)1, /*hidden argument*/NULL);
}
IL_0074:
{
IL2CPP_END_FINALLY(101)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(101)
{
IL2CPP_JUMP_TBL(0x75, IL_0075)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0075:
{
int32_t L_11 = V_0;
int32_t L_12 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_13 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_11) >= ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13)))))
{
goto IL_00b2;
}
}
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_14 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_15 = V_0;
int32_t L_16 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_14);
RuntimeObject* L_17 = ___obj0;
VolatileWrite((RuntimeObject**)((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_15&(int32_t)L_16))))), L_17);
int32_t L_18 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1)));
return;
}
IL_00b2:
{
V_2 = (bool)0;
}
IL_00b4:
try
{ // begin try (depth: 1)
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_19 = __this->get_address_of_m_foreignLock_4();
SpinLock_Enter_mF3E9D6327B1767595E94264ABB9526C5CF3CFC3B((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_19, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_20 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
V_3 = L_20;
int32_t L_21 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
int32_t L_22 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)L_22));
int32_t L_23 = V_4;
int32_t L_24 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_23) < ((int32_t)L_24)))
{
goto IL_0163;
}
}
IL_00e9:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_25 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
NullCheck(L_25);
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_26 = (IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)SZArrayNew(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length))))<<(int32_t)1)));
V_5 = L_26;
V_6 = 0;
goto IL_0122;
}
IL_0101:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_27 = V_5;
int32_t L_28 = V_6;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_29 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_30 = V_6;
int32_t L_31 = V_3;
int32_t L_32 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_29);
int32_t L_33 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)L_31))&(int32_t)L_32));
RuntimeObject* L_34 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
NullCheck(L_27);
ArrayElementTypeCheck (L_27, L_34);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(L_28), (RuntimeObject*)L_34);
int32_t L_35 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)1));
}
IL_0122:
{
int32_t L_36 = V_6;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_37 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
NullCheck(L_37);
if ((((int32_t)L_36) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))))
{
goto IL_0101;
}
}
IL_0130:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_38 = V_5;
il2cpp_codegen_memory_barrier();
__this->set_m_array_0(L_38);
il2cpp_codegen_memory_barrier();
__this->set_m_headIndex_2(0);
int32_t L_39 = V_4;
int32_t L_40 = L_39;
V_0 = L_40;
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(L_40);
int32_t L_41 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_mask_1(((int32_t)((int32_t)((int32_t)((int32_t)L_41<<(int32_t)1))|(int32_t)1)));
}
IL_0163:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_42 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_43 = V_0;
int32_t L_44 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_42);
RuntimeObject* L_45 = ___obj0;
VolatileWrite((RuntimeObject**)((L_42)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_43&(int32_t)L_44))))), L_45);
int32_t L_46 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)1)));
IL2CPP_LEAVE(0x19D, FINALLY_018d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_018d;
}
FINALLY_018d:
{ // begin finally (depth: 1)
{
bool L_47 = V_2;
if (!L_47)
{
goto IL_019c;
}
}
IL_0190:
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_48 = __this->get_address_of_m_foreignLock_4();
SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_48, (bool)0, /*hidden argument*/NULL);
}
IL_019c:
{
IL2CPP_END_FINALLY(397)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(397)
{
IL2CPP_JUMP_TBL(0x19D, IL_019d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_019d:
{
return;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::LocalFindAndPop(System.Threading.IThreadPoolWorkItem)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_LocalFindAndPop_m837487AF74CF9C8104986911FC7E279101AE1DCC (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject* ___obj0, const RuntimeMethod* method)
{
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_0 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_1 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
int32_t L_2 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_0);
int32_t L_3 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1))&(int32_t)L_2));
RuntimeObject* L_4 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
RuntimeObject* L_5 = ___obj0;
if ((!(((RuntimeObject*)(RuntimeObject*)L_4) == ((RuntimeObject*)(RuntimeObject*)L_5))))
{
goto IL_002d;
}
}
{
bool L_6 = WorkStealingQueue_LocalPop_m99B519E8984D358D1816A9E01B7A9CD4607B42D0(__this, (RuntimeObject**)(&V_0), /*hidden argument*/NULL);
if (!L_6)
{
goto IL_002b;
}
}
{
return (bool)1;
}
IL_002b:
{
return (bool)0;
}
IL_002d:
{
int32_t L_7 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)2));
goto IL_00f2;
}
IL_003d:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_8 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_9 = V_1;
int32_t L_10 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_8);
int32_t L_11 = ((int32_t)((int32_t)L_9&(int32_t)L_10));
RuntimeObject* L_12 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
RuntimeObject* L_13 = ___obj0;
if ((!(((RuntimeObject*)(RuntimeObject*)L_12) == ((RuntimeObject*)(RuntimeObject*)L_13))))
{
goto IL_00ee;
}
}
{
V_2 = (bool)0;
}
IL_0058:
try
{ // begin try (depth: 1)
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_14 = __this->get_address_of_m_foreignLock_4();
SpinLock_Enter_mF3E9D6327B1767595E94264ABB9526C5CF3CFC3B((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_14, (bool*)(&V_2), /*hidden argument*/NULL);
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_15 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_16 = V_1;
int32_t L_17 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_15);
int32_t L_18 = ((int32_t)((int32_t)L_16&(int32_t)L_17));
RuntimeObject* L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
if (L_19)
{
goto IL_0081;
}
}
IL_007a:
{
V_3 = (bool)0;
IL2CPP_LEAVE(0x102, FINALLY_00de);
}
IL_0081:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_20 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_21 = V_1;
int32_t L_22 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
NullCheck(L_20);
VolatileWrite((RuntimeObject**)((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)((int32_t)L_21&(int32_t)L_22))))), (RuntimeObject*)NULL);
int32_t L_23 = V_1;
int32_t L_24 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)L_23) == ((uint32_t)L_24))))
{
goto IL_00bd;
}
}
IL_00a9:
{
int32_t L_25 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1)));
goto IL_00da;
}
IL_00bd:
{
int32_t L_26 = V_1;
int32_t L_27 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
if ((!(((uint32_t)L_26) == ((uint32_t)L_27))))
{
goto IL_00da;
}
}
IL_00c8:
{
int32_t L_28 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
il2cpp_codegen_memory_barrier();
__this->set_m_headIndex_2(((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1)));
}
IL_00da:
{
V_3 = (bool)1;
IL2CPP_LEAVE(0x102, FINALLY_00de);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00de;
}
FINALLY_00de:
{ // begin finally (depth: 1)
{
bool L_29 = V_2;
if (!L_29)
{
goto IL_00ed;
}
}
IL_00e1:
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_30 = __this->get_address_of_m_foreignLock_4();
SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_30, (bool)0, /*hidden argument*/NULL);
}
IL_00ed:
{
IL2CPP_END_FINALLY(222)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(222)
{
IL2CPP_JUMP_TBL(0x102, IL_0102)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00ee:
{
int32_t L_31 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1));
}
IL_00f2:
{
int32_t L_32 = V_1;
int32_t L_33 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_32) >= ((int32_t)L_33)))
{
goto IL_003d;
}
}
{
return (bool)0;
}
IL_0102:
{
bool L_34 = V_3;
return L_34;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::LocalPop(System.Threading.IThreadPoolWorkItem&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_LocalPop_m99B519E8984D358D1816A9E01B7A9CD4607B42D0 (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
int32_t V_3 = 0;
bool V_4 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
{
int32_t L_0 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
V_0 = L_0;
int32_t L_1 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_2 = V_0;
if ((((int32_t)L_1) < ((int32_t)L_2)))
{
goto IL_0019;
}
}
{
RuntimeObject** L_3 = ___obj0;
*((RuntimeObject **)L_3) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_3, (void*)(RuntimeObject *)NULL);
return (bool)0;
}
IL_0019:
{
int32_t L_4 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1));
int32_t* L_5 = __this->get_address_of_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
int32_t L_6 = V_0;
Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5((int32_t*)L_5, L_6, /*hidden argument*/NULL);
int32_t L_7 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_8 = V_0;
if ((((int32_t)L_7) > ((int32_t)L_8)))
{
goto IL_0066;
}
}
{
int32_t L_9 = V_0;
int32_t L_10 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
V_1 = ((int32_t)((int32_t)L_9&(int32_t)L_10));
RuntimeObject** L_11 = ___obj0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_12 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_13 = V_1;
NullCheck(L_12);
RuntimeObject* L_14 = VolatileRead((RuntimeObject**)((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13))));
*((RuntimeObject **)L_11) = (RuntimeObject *)L_14;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_11, (void*)(RuntimeObject *)L_14);
RuntimeObject** L_15 = ___obj0;
RuntimeObject* L_16 = *((RuntimeObject**)L_15);
if (!L_16)
{
goto IL_0000;
}
}
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_17 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_18 = V_1;
NullCheck(L_17);
ArrayElementTypeCheck (L_17, NULL);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(L_18), (RuntimeObject*)NULL);
return (bool)1;
}
IL_0066:
{
V_2 = (bool)0;
}
IL_0068:
try
{ // begin try (depth: 1)
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_19 = __this->get_address_of_m_foreignLock_4();
SpinLock_Enter_mF3E9D6327B1767595E94264ABB9526C5CF3CFC3B((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_19, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_20 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_21 = V_0;
if ((((int32_t)L_20) > ((int32_t)L_21)))
{
goto IL_00b9;
}
}
IL_0080:
{
int32_t L_22 = V_0;
int32_t L_23 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
V_3 = ((int32_t)((int32_t)L_22&(int32_t)L_23));
RuntimeObject** L_24 = ___obj0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_25 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_26 = V_3;
NullCheck(L_25);
RuntimeObject* L_27 = VolatileRead((RuntimeObject**)((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26))));
*((RuntimeObject **)L_24) = (RuntimeObject *)L_27;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_24, (void*)(RuntimeObject *)L_27);
RuntimeObject** L_28 = ___obj0;
RuntimeObject* L_29 = *((RuntimeObject**)L_28);
if (L_29)
{
goto IL_00a9;
}
}
IL_00a4:
{
IL2CPP_LEAVE(0x0, FINALLY_00cc);
}
IL_00a9:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_30 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_31 = V_3;
NullCheck(L_30);
ArrayElementTypeCheck (L_30, NULL);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(L_31), (RuntimeObject*)NULL);
V_4 = (bool)1;
IL2CPP_LEAVE(0xDC, FINALLY_00cc);
}
IL_00b9:
{
int32_t L_32 = V_0;
il2cpp_codegen_memory_barrier();
__this->set_m_tailIndex_3(((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)1)));
RuntimeObject** L_33 = ___obj0;
*((RuntimeObject **)L_33) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_33, (void*)(RuntimeObject *)NULL);
V_4 = (bool)0;
IL2CPP_LEAVE(0xDC, FINALLY_00cc);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00cc;
}
FINALLY_00cc:
{ // begin finally (depth: 1)
{
bool L_34 = V_2;
if (!L_34)
{
goto IL_00db;
}
}
IL_00cf:
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_35 = __this->get_address_of_m_foreignLock_4();
SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_35, (bool)0, /*hidden argument*/NULL);
}
IL_00db:
{
IL2CPP_END_FINALLY(204)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(204)
{
IL2CPP_JUMP_TBL(0x0, IL_0000)
IL2CPP_JUMP_TBL(0xDC, IL_00dc)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00dc:
{
bool L_36 = V_4;
return L_36;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::TrySteal(System.Threading.IThreadPoolWorkItem&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_TrySteal_mE129DB3DD6A80B3FAF1391366AABFDD488D7956E (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, bool* ___missedSteal1, const RuntimeMethod* method)
{
{
RuntimeObject** L_0 = ___obj0;
bool* L_1 = ___missedSteal1;
bool L_2 = WorkStealingQueue_TrySteal_mB7C9393B530ABEE102EC1955B02A520D01A08E9C(__this, (RuntimeObject**)L_0, (bool*)L_1, 0, /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::TrySteal(System.Threading.IThreadPoolWorkItem&,System.Boolean&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WorkStealingQueue_TrySteal_mB7C9393B530ABEE102EC1955B02A520D01A08E9C (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, RuntimeObject** ___obj0, bool* ___missedSteal1, int32_t ___millisecondsTimeout2, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 4);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RuntimeObject** L_0 = ___obj0;
*((RuntimeObject **)L_0) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_0, (void*)(RuntimeObject *)NULL);
}
IL_0003:
{
int32_t L_1 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_2 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_1) < ((int32_t)L_2)))
{
goto IL_0017;
}
}
{
return (bool)0;
}
IL_0017:
{
V_0 = (bool)0;
}
IL_0019:
try
{ // begin try (depth: 1)
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_3 = __this->get_address_of_m_foreignLock_4();
int32_t L_4 = ___millisecondsTimeout2;
SpinLock_TryEnter_mC40B3AF891D55A2D0DC2AEC8F83926EBB4A28109((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_3, L_4, (bool*)(&V_0), /*hidden argument*/NULL);
bool L_5 = V_0;
if (!L_5)
{
goto IL_0093;
}
}
IL_002a:
{
int32_t L_6 = __this->get_m_headIndex_2();
il2cpp_codegen_memory_barrier();
V_1 = L_6;
int32_t* L_7 = __this->get_address_of_m_headIndex_2();
il2cpp_codegen_memory_barrier();
int32_t L_8 = V_1;
Interlocked_Exchange_mD5CC61AF0F002355912FAAF84F26BE93639B5FD5((int32_t*)L_7, ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)), /*hidden argument*/NULL);
int32_t L_9 = V_1;
int32_t L_10 = __this->get_m_tailIndex_3();
il2cpp_codegen_memory_barrier();
if ((((int32_t)L_9) >= ((int32_t)L_10)))
{
goto IL_0082;
}
}
IL_004d:
{
int32_t L_11 = V_1;
int32_t L_12 = __this->get_m_mask_1();
il2cpp_codegen_memory_barrier();
V_2 = ((int32_t)((int32_t)L_11&(int32_t)L_12));
RuntimeObject** L_13 = ___obj0;
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_14 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_15 = V_2;
NullCheck(L_14);
RuntimeObject* L_16 = VolatileRead((RuntimeObject**)((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15))));
*((RuntimeObject **)L_13) = (RuntimeObject *)L_16;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_13, (void*)(RuntimeObject *)L_16);
RuntimeObject** L_17 = ___obj0;
RuntimeObject* L_18 = *((RuntimeObject**)L_17);
if (L_18)
{
goto IL_0073;
}
}
IL_0071:
{
IL2CPP_LEAVE(0x3, FINALLY_0098);
}
IL_0073:
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_19 = __this->get_m_array_0();
il2cpp_codegen_memory_barrier();
int32_t L_20 = V_2;
NullCheck(L_19);
ArrayElementTypeCheck (L_19, NULL);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(L_20), (RuntimeObject*)NULL);
V_3 = (bool)1;
IL2CPP_LEAVE(0xAA, FINALLY_0098);
}
IL_0082:
{
int32_t L_21 = V_1;
il2cpp_codegen_memory_barrier();
__this->set_m_headIndex_2(L_21);
RuntimeObject** L_22 = ___obj0;
*((RuntimeObject **)L_22) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_22, (void*)(RuntimeObject *)NULL);
bool* L_23 = ___missedSteal1;
*((int8_t*)L_23) = (int8_t)1;
IL2CPP_LEAVE(0xA8, FINALLY_0098);
}
IL_0093:
{
bool* L_24 = ___missedSteal1;
*((int8_t*)L_24) = (int8_t)1;
IL2CPP_LEAVE(0xA8, FINALLY_0098);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0098;
}
FINALLY_0098:
{ // begin finally (depth: 1)
{
bool L_25 = V_0;
if (!L_25)
{
goto IL_00a7;
}
}
IL_009b:
{
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 * L_26 = __this->get_address_of_m_foreignLock_4();
SpinLock_Exit_m85BC505E091C592BE7015391FAD05C5BDC8A1D66((SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 *)L_26, (bool)0, /*hidden argument*/NULL);
}
IL_00a7:
{
IL2CPP_END_FINALLY(152)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(152)
{
IL2CPP_JUMP_TBL(0x3, IL_0003)
IL2CPP_JUMP_TBL(0xAA, IL_00aa)
IL2CPP_JUMP_TBL(0xA8, IL_00a8)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00a8:
{
return (bool)0;
}
IL_00aa:
{
bool L_27 = V_3;
return L_27;
}
}
// System.Void System.Threading.ThreadPoolWorkQueue_WorkStealingQueue::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WorkStealingQueue__ctor_m5A30B12A759E1174AB423856CECBF73B5A5FA91A (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WorkStealingQueue__ctor_m5A30B12A759E1174AB423856CECBF73B5A5FA91A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154* L_0 = (IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154*)SZArrayNew(IThreadPoolWorkItemU5BU5D_tE22F6DA28324647E4F8A3239E9636C050BD4A154_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
il2cpp_codegen_memory_barrier();
__this->set_m_array_0(L_0);
il2cpp_codegen_memory_barrier();
__this->set_m_mask_1(((int32_t)31));
SpinLock_t8C6A214261382587D0A07AD354500141672A1DE1 L_1;
memset((&L_1), 0, sizeof(L_1));
SpinLock__ctor_m2BB2C4BB309BF3C6D004C3BABAE3C8484DA5B6A0((&L_1), (bool)0, /*hidden argument*/NULL);
__this->set_m_foreignLock_4(L_1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadPoolWorkQueueThreadLocals::.ctor(System.Threading.ThreadPoolWorkQueue)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueueThreadLocals__ctor_mD46EF22D8EE15E0585EAC6F9DBF3063D14526362 (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * __this, ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * ___tpq0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueueThreadLocals__ctor_mD46EF22D8EE15E0585EAC6F9DBF3063D14526362_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = Thread_get_ManagedThreadId_m7FA85162CB00713B94EF5708B19120F791D3AAD1(L_0, /*hidden argument*/NULL);
Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F * L_2 = (Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F *)il2cpp_codegen_object_new(Random_t18A28484F67EFA289C256F508A5C71D9E6DEE09F_il2cpp_TypeInfo_var);
Random__ctor_mDD202982FB7CEDE3F31824E919AD2BFA6D66BA27(L_2, L_1, /*hidden argument*/NULL);
__this->set_random_3(L_2);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_3 = ___tpq0;
__this->set_workQueue_1(L_3);
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_4 = (WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB *)il2cpp_codegen_object_new(WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB_il2cpp_TypeInfo_var);
WorkStealingQueue__ctor_m5A30B12A759E1174AB423856CECBF73B5A5FA91A(L_4, /*hidden argument*/NULL);
__this->set_workStealingQueue_2(L_4);
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var);
SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * L_5 = ((ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var))->get_allThreadQueues_2();
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_6 = __this->get_workStealingQueue_2();
NullCheck(L_5);
SparseArray_1_Add_mE48A7F17E902019686E15A72766DD0AB4CE80971(L_5, L_6, /*hidden argument*/SparseArray_1_Add_mE48A7F17E902019686E15A72766DD0AB4CE80971_RuntimeMethod_var);
return;
}
}
// System.Void System.Threading.ThreadPoolWorkQueueThreadLocals::CleanUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueueThreadLocals_CleanUp_m2557E74F088EB8EC68E1DAB43458EDAF62F30C04 (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadPoolWorkQueueThreadLocals_CleanUp_m2557E74F088EB8EC68E1DAB43458EDAF62F30C04_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_0 = __this->get_workStealingQueue_2();
if (!L_0)
{
goto IL_004d;
}
}
{
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_1 = __this->get_workQueue_1();
if (!L_1)
{
goto IL_003d;
}
}
{
V_0 = (bool)0;
goto IL_003a;
}
IL_0014:
{
}
IL_0015:
try
{ // begin try (depth: 1)
IL2CPP_LEAVE(0x3A, FINALLY_0017);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0017;
}
FINALLY_0017:
{ // begin finally (depth: 1)
{
V_1 = (RuntimeObject*)NULL;
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_2 = __this->get_workStealingQueue_2();
NullCheck(L_2);
bool L_3 = WorkStealingQueue_LocalPop_m99B519E8984D358D1816A9E01B7A9CD4607B42D0(L_2, (RuntimeObject**)(&V_1), /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0037;
}
}
IL_0028:
{
ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011 * L_4 = __this->get_workQueue_1();
RuntimeObject* L_5 = V_1;
NullCheck(L_4);
ThreadPoolWorkQueue_Enqueue_m0F5AAE9773892321562E794066DD4DBDF4DCA100(L_4, L_5, (bool)1, /*hidden argument*/NULL);
goto IL_0039;
}
IL_0037:
{
V_0 = (bool)1;
}
IL_0039:
{
IL2CPP_END_FINALLY(23)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(23)
{
IL2CPP_JUMP_TBL(0x3A, IL_003a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_003a:
{
bool L_6 = V_0;
if (!L_6)
{
goto IL_0014;
}
}
IL_003d:
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var);
SparseArray_1_tA9BA23F30984048431C40A4D4B5215A15A64B4EB * L_7 = ((ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_StaticFields*)il2cpp_codegen_static_fields_for(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var))->get_allThreadQueues_2();
WorkStealingQueue_tFC6A568537E943B70FB9A859876D16E7DB7A84DB * L_8 = __this->get_workStealingQueue_2();
NullCheck(L_7);
SparseArray_1_Remove_mEBA9CD59097C8D0C153E48328C21554B81E68414(L_7, L_8, /*hidden argument*/SparseArray_1_Remove_mEBA9CD59097C8D0C153E48328C21554B81E68414_RuntimeMethod_var);
}
IL_004d:
{
return;
}
}
// System.Void System.Threading.ThreadPoolWorkQueueThreadLocals::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadPoolWorkQueueThreadLocals_Finalize_m47A721982E2448A104A4ED364812F834D9A9566A (ThreadPoolWorkQueueThreadLocals_tFFA030E536583A69A43878F3ABA0DEEC02C33F0B * __this, const RuntimeMethod* method)
{
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
bool L_0 = Environment_get_HasShutdownStarted_m722CC30F8A3C58FE3165427FF2858922C13F7A5C(/*hidden argument*/NULL);
if (L_0)
{
goto IL_0019;
}
}
IL_0007:
{
AppDomain_t1B59572328F60585904DF52A59FE47CF5B5FFFF8 * L_1 = AppDomain_get_CurrentDomain_m3D3D52C9382D6853E49551DA6182DBC5F1118BF0(/*hidden argument*/NULL);
NullCheck(L_1);
bool L_2 = AppDomain_IsFinalizingForUnload_m1B3D0DA1C7AEA3D6FA5D7D52161B2FF52B2D9912(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0019;
}
}
IL_0013:
{
ThreadPoolWorkQueueThreadLocals_CleanUp_m2557E74F088EB8EC68E1DAB43458EDAF62F30C04(__this, /*hidden argument*/NULL);
}
IL_0019:
{
IL2CPP_LEAVE(0x22, FINALLY_001b);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001b;
}
FINALLY_001b:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(27)
} // end finally (depth: 1)
IL2CPP_CLEANUP(27)
{
IL2CPP_JUMP_TBL(0x22, IL_0022)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0022:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
IL2CPP_EXTERN_C void DelegatePInvokeWrapper_ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void System.Threading.ThreadStart::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart__ctor_m692348FEAEBAF381D62984EE95B217CC024A77D5 (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void System.Threading.ThreadStart::Invoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart_Invoke_m11B6A66E82F02C74399A7314C14C7F52393CC4B4 (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 0)
{
// open
typedef void (*FunctionPointerType) (const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
else
GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
}
}
else
{
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
}
}
// System.IAsyncResult System.Threading.ThreadStart::BeginInvoke(System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ThreadStart_BeginInvoke_m2CBFF19727A6FBB74BE23E975E904C3A5483FB0F (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
{
void *__d_args[1] = {0};
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
}
// System.Void System.Threading.ThreadStart::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStart_EndInvoke_mC06D26402F1297A8E3932D15140A29577BF2F857 (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.ThreadStateException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStateException__ctor_m45CB0F9C9BFBAE82CD65CB8AEDB9EE9C1A2027FA (ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThreadStateException__ctor_m45CB0F9C9BFBAE82CD65CB8AEDB9EE9C1A2027FA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralAA37CB5B40E647E124F23CC3C27C68F09181CE0D, /*hidden argument*/NULL);
SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233056), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadStateException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStateException__ctor_m8269A7EE51BF315AD8C0A4B64C2B2319035BB767 (ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE * __this, String_t* ___message0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___message0;
SystemException__ctor_mF67B7FA639B457BDFB2103D7C21C8059E806175A(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233056), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.ThreadStateException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThreadStateException__ctor_m977994CF05BB56040152C0F84DF00A8426ACCCB4 (ThreadStateException_tCE60AB1B9E16A6D13E3926137BA55832ABE986AE * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
SystemException__ctor_mB0550111A1A8D18B697B618F811A5B20C160D949(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Timeout::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timeout__cctor_m9C4BFE11D3494ED5DB59176974B66055093F26D9 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timeout__cctor_m9C4BFE11D3494ED5DB59176974B66055093F26D9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0;
memset((&L_0), 0, sizeof(L_0));
TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5((&L_0), 0, 0, 0, 0, (-1), /*hidden argument*/NULL);
((Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04_StaticFields*)il2cpp_codegen_static_fields_for(Timeout_t148C37C092EAF5AFCE1D0C06481466A5F88E4C04_il2cpp_TypeInfo_var))->set_InfiniteTimeSpan_0(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt32 System.Threading.TimeoutHelper::GetTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeoutHelper_GetTime_m6AD4BA5DCA9E4102DC18395A59123E91EB915D98 (const RuntimeMethod* method)
{
{
int32_t L_0 = Environment_get_TickCount_m0A119BE4354EA90C82CC48E559588C987A79FE0C(/*hidden argument*/NULL);
return L_0;
}
}
// System.Int32 System.Threading.TimeoutHelper::UpdateTimeOut(System.UInt32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeoutHelper_UpdateTimeOut_mC735C89ED9256E7BD6B8AC2068A8A50DDDB4F45D (uint32_t ___startTime0, int32_t ___originalWaitMillisecondsTimeout1, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
int32_t V_1 = 0;
{
uint32_t L_0 = TimeoutHelper_GetTime_m6AD4BA5DCA9E4102DC18395A59123E91EB915D98(/*hidden argument*/NULL);
uint32_t L_1 = ___startTime0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1));
uint32_t L_2 = V_0;
if ((!(((uint32_t)L_2) > ((uint32_t)((int32_t)2147483647LL)))))
{
goto IL_0012;
}
}
{
return 0;
}
IL_0012:
{
int32_t L_3 = ___originalWaitMillisecondsTimeout1;
uint32_t L_4 = V_0;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)L_4));
int32_t L_5 = V_1;
if ((((int32_t)L_5) > ((int32_t)0)))
{
goto IL_001c;
}
}
{
return 0;
}
IL_001c:
{
int32_t L_6 = V_1;
return L_6;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Timer::.ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer__ctor_mD4A4B4616E25E39A422DD8083930951535AE8BA1 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback0, RuntimeObject * ___state1, int32_t ___dueTime2, int32_t ___period3, const RuntimeMethod* method)
{
{
MarshalByRefObject__ctor_mD1C6F1D191B1A50DC93E8B214BCCA9BD93FDE850(__this, /*hidden argument*/NULL);
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_0 = ___callback0;
RuntimeObject * L_1 = ___state1;
int32_t L_2 = ___dueTime2;
int32_t L_3 = ___period3;
Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65(__this, L_0, L_1, (((int64_t)((int64_t)L_2))), (((int64_t)((int64_t)L_3))), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Timer::.ctor(System.Threading.TimerCallback,System.Object,System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer__ctor_mE731E24B4A4D66AD0A34BF604E904E403A7959CF (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback0, RuntimeObject * ___state1, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___dueTime2, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___period3, const RuntimeMethod* method)
{
{
MarshalByRefObject__ctor_mD1C6F1D191B1A50DC93E8B214BCCA9BD93FDE850(__this, /*hidden argument*/NULL);
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_0 = ___callback0;
RuntimeObject * L_1 = ___state1;
double L_2 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___dueTime2), /*hidden argument*/NULL);
double L_3 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___period3), /*hidden argument*/NULL);
Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65(__this, L_0, L_1, (((int64_t)((int64_t)L_2))), (((int64_t)((int64_t)L_3))), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Timer::Init(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * ___callback0, RuntimeObject * ___state1, int64_t ___dueTime2, int64_t ___period3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_0 = ___callback0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteralB4D5B37BF7A986C138EDE89E0806F366B5CB1830, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Timer_Init_mF69134A3E2C8A2B79BA925BCF687B3DCBBF4AB65_RuntimeMethod_var);
}
IL_000e:
{
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_2 = ___callback0;
__this->set_callback_2(L_2);
RuntimeObject * L_3 = ___state1;
__this->set_state_3(L_3);
int64_t L_4 = ___dueTime2;
int64_t L_5 = ___period3;
Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6(__this, L_4, L_5, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Timer::Change(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Timer_Change_mF2EE1A30C21C82757352489E6D49FF6D38573694 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___dueTime0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___period1, const RuntimeMethod* method)
{
{
double L_0 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___dueTime0), /*hidden argument*/NULL);
double L_1 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___period1), /*hidden argument*/NULL);
bool L_2 = Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6(__this, (((int64_t)((int64_t)L_0))), (((int64_t)((int64_t)L_1))), (bool)0, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void System.Threading.Timer::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_Dispose_mAD09E4EAC3D4A4732B55911919A60CACCF8173D9 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer_Dispose_mAD09E4EAC3D4A4732B55911919A60CACCF8173D9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_disposed_7();
if (!L_0)
{
goto IL_0009;
}
}
{
return;
}
IL_0009:
{
__this->set_disposed_7((bool)1);
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_1 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_StaticFields*)il2cpp_codegen_static_fields_for(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var))->get_scheduler_1();
NullCheck(L_1);
Scheduler_Remove_m5D87E925B0C6E4BFB7C68F6614C133ADA2628148(L_1, __this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Threading.Timer::Change(System.Int64,System.Int64,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, int64_t ___dueTime0, int64_t ___period1, bool ___first2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
int64_t L_0 = ___dueTime0;
if ((((int64_t)L_0) <= ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-2))))))))))
{
goto IL_0016;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_1, _stringLiteralFD9D0C913A99959CCA8988A4605411D970AF3F59, _stringLiteralEF9A26B1AEA755741D0AC956EF8DC9AFB09E7B01, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var);
}
IL_0016:
{
int64_t L_2 = ___period1;
if ((((int64_t)L_2) <= ((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)((int32_t)-2))))))))))
{
goto IL_002c;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_3 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_3, _stringLiteral54235B8B0E980EBB3355126954C130A816A21AFB, _stringLiteral13F7B4FA7CBA65EC1811F8A5C085117CD3DF5506, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var);
}
IL_002c:
{
int64_t L_4 = ___dueTime0;
if ((((int64_t)L_4) >= ((int64_t)(((int64_t)((int64_t)(-1)))))))
{
goto IL_003c;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_5 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_5, _stringLiteralFD9D0C913A99959CCA8988A4605411D970AF3F59, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var);
}
IL_003c:
{
int64_t L_6 = ___period1;
if ((((int64_t)L_6) >= ((int64_t)(((int64_t)((int64_t)(-1)))))))
{
goto IL_004c;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_7 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_7, _stringLiteral54235B8B0E980EBB3355126954C130A816A21AFB, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var);
}
IL_004c:
{
bool L_8 = __this->get_disposed_7();
if (!L_8)
{
goto IL_0065;
}
}
{
String_t* L_9 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral4A9B136550890770D29DF6A00FAA574C173789AD, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_10 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m303CFD09E4B541C36C60AE7B7CBC8B1B7EED66DC(L_10, (String_t*)NULL, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, Timer_Change_m0D893D7C243B79E85CDD8E06F366F0744F6637D6_RuntimeMethod_var);
}
IL_0065:
{
int64_t L_11 = ___dueTime0;
__this->set_due_time_ms_4(L_11);
int64_t L_12 = ___period1;
__this->set_period_ms_5(L_12);
int64_t L_13 = ___dueTime0;
if (L_13)
{
goto IL_007b;
}
}
{
V_0 = (((int64_t)((int64_t)0)));
goto IL_00a5;
}
IL_007b:
{
int64_t L_14 = ___dueTime0;
if ((((int64_t)L_14) >= ((int64_t)(((int64_t)((int64_t)0))))))
{
goto IL_0096;
}
}
{
V_0 = ((int64_t)(std::numeric_limits<int64_t>::max)());
bool L_15 = ___first2;
if (!L_15)
{
goto IL_00a5;
}
}
{
int64_t L_16 = V_0;
__this->set_next_run_6(L_16);
return (bool)1;
}
IL_0096:
{
int64_t L_17 = ___dueTime0;
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
int64_t L_18 = Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA(/*hidden argument*/NULL);
V_0 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)L_17, (int64_t)(((int64_t)((int64_t)((int32_t)10000)))))), (int64_t)L_18));
}
IL_00a5:
{
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_19 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_StaticFields*)il2cpp_codegen_static_fields_for(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var))->get_scheduler_1();
int64_t L_20 = V_0;
NullCheck(L_19);
Scheduler_Change_m0B2CF9E01BA6732CE701861DFE5142200CD6654C(L_19, __this, L_20, /*hidden argument*/NULL);
return (bool)1;
}
}
// System.Void System.Threading.Timer::KeepRootedWhileScheduled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer_KeepRootedWhileScheduled_mDB50A8671E3759074432E0E4EEBF1BD90B721829 (Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Int64 System.Threading.Timer::GetTimeMonotonic()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA (const RuntimeMethod* method)
{
typedef int64_t (*Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA_ftn) ();
using namespace il2cpp::icalls;
return ((Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA_ftn)mscorlib::System::Threading::Timer::GetTimeMonotonic) ();
}
// System.Void System.Threading.Timer::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Timer__cctor_m0A46AD4FB7C3B912E23811F586FED0391767A2EF (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Timer__cctor_m0A46AD4FB7C3B912E23811F586FED0391767A2EF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var);
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_0 = Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C_inline(/*hidden argument*/NULL);
((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_StaticFields*)il2cpp_codegen_static_fields_for(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var))->set_scheduler_1(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.Timer_Scheduler::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler__cctor_mF399300AD4750C3FA6E8BFE5DDF32162B6F1AB9B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler__cctor_mF399300AD4750C3FA6E8BFE5DDF32162B6F1AB9B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_0 = (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 *)il2cpp_codegen_object_new(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var);
Scheduler__ctor_mA11657BA808AF374E216FDAAA472E18F00B84FEB(L_0, /*hidden argument*/NULL);
((Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_StaticFields*)il2cpp_codegen_static_fields_for(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var))->set_instance_0(L_0);
return;
}
}
// System.Threading.Timer_Scheduler System.Threading.Timer_Scheduler::get_Instance()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var);
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_0 = ((Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_StaticFields*)il2cpp_codegen_static_fields_for(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var))->get_instance_0();
return L_0;
}
}
// System.Void System.Threading.Timer_Scheduler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler__ctor_mA11657BA808AF374E216FDAAA472E18F00B84FEB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler__ctor_mA11657BA808AF374E216FDAAA472E18F00B84FEB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * L_0 = (ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 *)il2cpp_codegen_object_new(ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408_il2cpp_TypeInfo_var);
ManualResetEvent__ctor_m8973D9E3C622B9602641C017A33870F51D0311E1(L_0, (bool)0, /*hidden argument*/NULL);
__this->set_changed_2(L_0);
TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 * L_1 = (TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 *)il2cpp_codegen_object_new(TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015_il2cpp_TypeInfo_var);
TimerComparer__ctor_m4286C1A800BFB3F6A065A9DB0122B7FC1A440F22(L_1, /*hidden argument*/NULL);
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_2 = (SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E *)il2cpp_codegen_object_new(SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E_il2cpp_TypeInfo_var);
SortedList__ctor_mE69C668800C6AF9EE9C745E046E151352D424E79(L_2, L_1, ((int32_t)1024), /*hidden argument*/NULL);
__this->set_list_1(L_2);
ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF * L_3 = (ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF *)il2cpp_codegen_object_new(ThreadStart_t09FFA4371E4B2A713F212B157CC9B8B61983B5BF_il2cpp_TypeInfo_var);
ThreadStart__ctor_m692348FEAEBAF381D62984EE95B217CC024A77D5(L_3, __this, (intptr_t)((intptr_t)Scheduler_SchedulerThread_m9D548ED1E24E29E6CB64A3C7F1FF42FA25054CF1_RuntimeMethod_var), /*hidden argument*/NULL);
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_4 = (Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 *)il2cpp_codegen_object_new(Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7_il2cpp_TypeInfo_var);
Thread__ctor_m36A33B990160C4499E991D288341CA325AE66DDD(L_4, L_3, /*hidden argument*/NULL);
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_5 = L_4;
NullCheck(L_5);
Thread_set_IsBackground_mF62551A195DCB09D44E512F52916145E39362D39(L_5, (bool)1, /*hidden argument*/NULL);
NullCheck(L_5);
Thread_Start_mE2AC4744AFD147FDC84E8D9317B4E3AB890BC2D6(L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Timer_Scheduler::Remove(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Remove_m5D87E925B0C6E4BFB7C68F6614C133ADA2628148 (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method)
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_0 = ___timer0;
NullCheck(L_0);
int64_t L_1 = L_0->get_next_run_6();
if (!L_1)
{
goto IL_0019;
}
}
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_2 = ___timer0;
NullCheck(L_2);
int64_t L_3 = L_2->get_next_run_6();
if ((!(((uint64_t)L_3) == ((uint64_t)((int64_t)(std::numeric_limits<int64_t>::max)())))))
{
goto IL_001a;
}
}
IL_0019:
{
return;
}
IL_001a:
{
V_0 = __this;
V_1 = (bool)0;
}
IL_001e:
try
{ // begin try (depth: 1)
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_4 = V_0;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_4, (bool*)(&V_1), /*hidden argument*/NULL);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_5 = ___timer0;
Scheduler_InternalRemove_m7B12673F6C5012E19754EF3C2E9BD9438D5D23BD(__this, L_5, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x3A, FINALLY_0030);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0030;
}
FINALLY_0030:
{ // begin finally (depth: 1)
{
bool L_6 = V_1;
if (!L_6)
{
goto IL_0039;
}
}
IL_0033:
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_7 = V_0;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_7, /*hidden argument*/NULL);
}
IL_0039:
{
IL2CPP_END_FINALLY(48)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(48)
{
IL2CPP_JUMP_TBL(0x3A, IL_003a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_003a:
{
return;
}
}
// System.Void System.Threading.Timer_Scheduler::Change(System.Threading.Timer,System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Change_m0B2CF9E01BA6732CE701861DFE5142200CD6654C (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, int64_t ___new_next_run1, const RuntimeMethod* method)
{
bool V_0 = false;
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * V_1 = NULL;
bool V_2 = false;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (bool)0;
V_1 = __this;
V_2 = (bool)0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_0 = V_1;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_0, (bool*)(&V_2), /*hidden argument*/NULL);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_1 = ___timer0;
Scheduler_InternalRemove_m7B12673F6C5012E19754EF3C2E9BD9438D5D23BD(__this, L_1, /*hidden argument*/NULL);
int64_t L_2 = ___new_next_run1;
if ((!(((uint64_t)L_2) == ((uint64_t)((int64_t)(std::numeric_limits<int64_t>::max)())))))
{
goto IL_002b;
}
}
IL_0022:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_3 = ___timer0;
int64_t L_4 = ___new_next_run1;
NullCheck(L_3);
L_3->set_next_run_6(L_4);
IL2CPP_LEAVE(0x6C, FINALLY_0053);
}
IL_002b:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_5 = ___timer0;
NullCheck(L_5);
bool L_6 = L_5->get_disposed_7();
if (L_6)
{
goto IL_0051;
}
}
IL_0033:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_7 = ___timer0;
int64_t L_8 = ___new_next_run1;
NullCheck(L_7);
L_7->set_next_run_6(L_8);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_9 = ___timer0;
Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB(__this, L_9, /*hidden argument*/NULL);
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_10 = __this->get_list_1();
NullCheck(L_10);
RuntimeObject * L_11 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_10, 0);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_12 = ___timer0;
V_0 = (bool)((((RuntimeObject*)(RuntimeObject *)L_11) == ((RuntimeObject*)(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)L_12))? 1 : 0);
}
IL_0051:
{
IL2CPP_LEAVE(0x5D, FINALLY_0053);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0053;
}
FINALLY_0053:
{ // begin finally (depth: 1)
{
bool L_13 = V_2;
if (!L_13)
{
goto IL_005c;
}
}
IL_0056:
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_14 = V_1;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_14, /*hidden argument*/NULL);
}
IL_005c:
{
IL2CPP_END_FINALLY(83)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(83)
{
IL2CPP_JUMP_TBL(0x6C, IL_006c)
IL2CPP_JUMP_TBL(0x5D, IL_005d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005d:
{
bool L_15 = V_0;
if (!L_15)
{
goto IL_006c;
}
}
{
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * L_16 = __this->get_changed_2();
NullCheck(L_16);
EventWaitHandle_Set_m7959A86A39735296FC949EC86FDA42A6CFAAB94C(L_16, /*hidden argument*/NULL);
}
IL_006c:
{
return;
}
}
// System.Int32 System.Threading.Timer_Scheduler::FindByDueTime(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Scheduler_FindByDueTime_m2B255CEF6EC7B56CD41F4FD299E09CAAE062D5FB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, int64_t ___nr0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_FindByDueTime_m2B255CEF6EC7B56CD41F4FD299E09CAAE062D5FB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_2 = NULL;
int32_t V_3 = 0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_4 = NULL;
{
V_0 = 0;
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_0 = __this->get_list_1();
NullCheck(L_0);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 System.Collections.SortedList::get_Count() */, L_0);
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1));
int32_t L_2 = V_1;
if ((((int32_t)L_2) >= ((int32_t)0)))
{
goto IL_0016;
}
}
{
return (-1);
}
IL_0016:
{
int32_t L_3 = V_1;
if ((((int32_t)L_3) >= ((int32_t)((int32_t)20))))
{
goto IL_008a;
}
}
{
goto IL_0049;
}
IL_001d:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_4 = __this->get_list_1();
int32_t L_5 = V_0;
NullCheck(L_4);
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_4, L_5);
V_2 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_6, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_7 = V_2;
NullCheck(L_7);
int64_t L_8 = L_7->get_next_run_6();
int64_t L_9 = ___nr0;
if ((!(((uint64_t)L_8) == ((uint64_t)L_9))))
{
goto IL_003a;
}
}
{
int32_t L_10 = V_0;
return L_10;
}
IL_003a:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_11 = V_2;
NullCheck(L_11);
int64_t L_12 = L_11->get_next_run_6();
int64_t L_13 = ___nr0;
if ((((int64_t)L_12) <= ((int64_t)L_13)))
{
goto IL_0045;
}
}
{
return (-1);
}
IL_0045:
{
int32_t L_14 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
}
IL_0049:
{
int32_t L_15 = V_0;
int32_t L_16 = V_1;
if ((((int32_t)L_15) <= ((int32_t)L_16)))
{
goto IL_001d;
}
}
{
return (-1);
}
IL_004f:
{
int32_t L_17 = V_0;
int32_t L_18 = V_1;
int32_t L_19 = V_0;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)L_19))>>(int32_t)1))));
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_20 = __this->get_list_1();
int32_t L_21 = V_3;
NullCheck(L_20);
RuntimeObject * L_22 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_20, L_21);
V_4 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_22, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
int64_t L_23 = ___nr0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_24 = V_4;
NullCheck(L_24);
int64_t L_25 = L_24->get_next_run_6();
if ((!(((uint64_t)L_23) == ((uint64_t)L_25))))
{
goto IL_0076;
}
}
{
int32_t L_26 = V_3;
return L_26;
}
IL_0076:
{
int64_t L_27 = ___nr0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_28 = V_4;
NullCheck(L_28);
int64_t L_29 = L_28->get_next_run_6();
if ((((int64_t)L_27) <= ((int64_t)L_29)))
{
goto IL_0086;
}
}
{
int32_t L_30 = V_3;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
goto IL_008a;
}
IL_0086:
{
int32_t L_31 = V_3;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1));
}
IL_008a:
{
int32_t L_32 = V_0;
int32_t L_33 = V_1;
if ((((int32_t)L_32) <= ((int32_t)L_33)))
{
goto IL_004f;
}
}
{
return (-1);
}
}
// System.Void System.Threading.Timer_Scheduler::Add(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
int32_t G_B4_0 = 0;
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_0 = ___timer0;
NullCheck(L_0);
int64_t L_1 = L_0->get_next_run_6();
int32_t L_2 = Scheduler_FindByDueTime_m2B255CEF6EC7B56CD41F4FD299E09CAAE062D5FB(__this, L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)(-1))))
{
goto IL_0081;
}
}
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_4 = ___timer0;
NullCheck(L_4);
int64_t L_5 = L_4->get_next_run_6();
if ((((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)((int64_t)(std::numeric_limits<int64_t>::max)()), (int64_t)L_5))) > ((int64_t)(((int64_t)((int64_t)((int32_t)20000)))))))
{
goto IL_002c;
}
}
{
G_B4_0 = 0;
goto IL_002d;
}
IL_002c:
{
G_B4_0 = 1;
}
IL_002d:
{
V_1 = (bool)G_B4_0;
}
IL_002e:
{
int32_t L_6 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
bool L_7 = V_1;
if (!L_7)
{
goto IL_0046;
}
}
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_8 = ___timer0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_9 = L_8;
NullCheck(L_9);
int64_t L_10 = L_9->get_next_run_6();
NullCheck(L_9);
L_9->set_next_run_6(((int64_t)il2cpp_codegen_add((int64_t)L_10, (int64_t)(((int64_t)((int64_t)1))))));
goto IL_0055;
}
IL_0046:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_11 = ___timer0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_12 = L_11;
NullCheck(L_12);
int64_t L_13 = L_12->get_next_run_6();
NullCheck(L_12);
L_12->set_next_run_6(((int64_t)il2cpp_codegen_subtract((int64_t)L_13, (int64_t)(((int64_t)((int64_t)1))))));
}
IL_0055:
{
int32_t L_14 = V_0;
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_15 = __this->get_list_1();
NullCheck(L_15);
int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 System.Collections.SortedList::get_Count() */, L_15);
if ((((int32_t)L_14) >= ((int32_t)L_16)))
{
goto IL_0081;
}
}
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_17 = __this->get_list_1();
int32_t L_18 = V_0;
NullCheck(L_17);
RuntimeObject * L_19 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_17, L_18);
NullCheck(((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_19, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var)));
int64_t L_20 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_19, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var))->get_next_run_6();
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_21 = ___timer0;
NullCheck(L_21);
int64_t L_22 = L_21->get_next_run_6();
if ((((int64_t)L_20) == ((int64_t)L_22)))
{
goto IL_002e;
}
}
IL_0081:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_23 = __this->get_list_1();
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_24 = ___timer0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_25 = ___timer0;
NullCheck(L_23);
VirtActionInvoker2< RuntimeObject *, RuntimeObject * >::Invoke(13 /* System.Void System.Collections.SortedList::Add(System.Object,System.Object) */, L_23, L_24, L_25);
return;
}
}
// System.Int32 System.Threading.Timer_Scheduler::InternalRemove(System.Threading.Timer)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Scheduler_InternalRemove_m7B12673F6C5012E19754EF3C2E9BD9438D5D23BD (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * ___timer0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_0 = __this->get_list_1();
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_1 = ___timer0;
NullCheck(L_0);
int32_t L_2 = VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(31 /* System.Int32 System.Collections.SortedList::IndexOfKey(System.Object) */, L_0, L_1);
V_0 = L_2;
int32_t L_3 = V_0;
if ((((int32_t)L_3) < ((int32_t)0)))
{
goto IL_001d;
}
}
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_4 = __this->get_list_1();
int32_t L_5 = V_0;
NullCheck(L_4);
VirtActionInvoker1< int32_t >::Invoke(33 /* System.Void System.Collections.SortedList::RemoveAt(System.Int32) */, L_4, L_5);
}
IL_001d:
{
int32_t L_6 = V_0;
return L_6;
}
}
// System.Void System.Threading.Timer_Scheduler::TimerCB(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_TimerCB_m2EB04474CB0C68B572FDDDBC2641CE749CB3BFB1 (RuntimeObject * ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_TimerCB_m2EB04474CB0C68B572FDDDBC2641CE749CB3BFB1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_0 = NULL;
{
RuntimeObject * L_0 = ___o0;
V_0 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_0, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_1 = V_0;
NullCheck(L_1);
TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * L_2 = L_1->get_callback_2();
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_3 = V_0;
NullCheck(L_3);
RuntimeObject * L_4 = L_3->get_state_3();
NullCheck(L_2);
TimerCallback_Invoke_m64E1279AA84FA0D01697CB6D7B3D8C01959B4A50(L_2, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.Timer_Scheduler::SchedulerThread()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_SchedulerThread_m9D548ED1E24E29E6CB64A3C7F1FF42FA25054CF1 (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_SchedulerThread_m9D548ED1E24E29E6CB64A3C7F1FF42FA25054CF1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * V_0 = NULL;
int32_t V_1 = 0;
int64_t V_2 = 0;
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * V_3 = NULL;
bool V_4 = false;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int64_t V_8 = 0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_9 = NULL;
int64_t V_10 = 0;
int64_t V_11 = 0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_12 = NULL;
int64_t V_13 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B10_0 = 0;
{
Thread_tF60E0A146CD3B5480CB65FF9B6016E84C5460CC7 * L_0 = Thread_get_CurrentThread_mB7A83CAE2B9A74CEA053196DFD1AF1E7AB30A70E(/*hidden argument*/NULL);
NullCheck(L_0);
Thread_set_Name_mEBD0DF20D69C49612949EA6F24E8E4EADB7F5E77(L_0, _stringLiteralE06B0DE168F97FA3ED2ADE13FDB940C9BFE62E87, /*hidden argument*/NULL);
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_1 = (List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 *)il2cpp_codegen_object_new(List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116_il2cpp_TypeInfo_var);
List_1__ctor_m7C148B97DC87A9125BDE2F8876642459D8A30954(L_1, ((int32_t)512), /*hidden argument*/List_1__ctor_m7C148B97DC87A9125BDE2F8876642459D8A30954_RuntimeMethod_var);
V_0 = L_1;
}
IL_001a:
{
V_1 = (-1);
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
int64_t L_2 = Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA(/*hidden argument*/NULL);
V_2 = L_2;
V_3 = __this;
V_4 = (bool)0;
}
IL_0027:
try
{ // begin try (depth: 1)
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_3 = V_3;
Monitor_Enter_mC5B353DD83A0B0155DF6FBCC4DF5A580C25534C5(L_3, (bool*)(&V_4), /*hidden argument*/NULL);
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * L_4 = __this->get_changed_2();
NullCheck(L_4);
EventWaitHandle_Reset_m59EBCEA32BC9C67B4E432BEA5FF0A42ED0CC8A6F(L_4, /*hidden argument*/NULL);
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_5 = __this->get_list_1();
NullCheck(L_5);
int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 System.Collections.SortedList::get_Count() */, L_5);
V_6 = L_6;
V_5 = 0;
goto IL_010c;
}
IL_0050:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_7 = __this->get_list_1();
int32_t L_8 = V_5;
NullCheck(L_7);
RuntimeObject * L_9 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_7, L_8);
V_9 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_9, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_10 = V_9;
NullCheck(L_10);
int64_t L_11 = L_10->get_next_run_6();
int64_t L_12 = V_2;
if ((((int64_t)L_11) > ((int64_t)L_12)))
{
goto IL_0115;
}
}
IL_0071:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_13 = __this->get_list_1();
int32_t L_14 = V_5;
NullCheck(L_13);
VirtActionInvoker1< int32_t >::Invoke(33 /* System.Void System.Collections.SortedList::RemoveAt(System.Int32) */, L_13, L_14);
int32_t L_15 = V_6;
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)1));
int32_t L_16 = V_5;
V_5 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)1));
WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * L_17 = (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC *)il2cpp_codegen_object_new(WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC_il2cpp_TypeInfo_var);
WaitCallback__ctor_m375A357FD7C64F4182FD88B8276D88FE5BE75B31(L_17, NULL, (intptr_t)((intptr_t)Scheduler_TimerCB_m2EB04474CB0C68B572FDDDBC2641CE749CB3BFB1_RuntimeMethod_var), /*hidden argument*/NULL);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_18 = V_9;
ThreadPool_UnsafeQueueUserWorkItem_mA410427123962A9362AB7314149396196928ECC7(L_17, L_18, /*hidden argument*/NULL);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_19 = V_9;
NullCheck(L_19);
int64_t L_20 = L_19->get_period_ms_5();
V_10 = L_20;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_21 = V_9;
NullCheck(L_21);
int64_t L_22 = L_21->get_due_time_ms_4();
V_11 = L_22;
int64_t L_23 = V_10;
if ((((int64_t)L_23) == ((int64_t)(((int64_t)((int64_t)(-1)))))))
{
goto IL_00ce;
}
}
IL_00b6:
{
int64_t L_24 = V_10;
if (!L_24)
{
goto IL_00c0;
}
}
IL_00ba:
{
int64_t L_25 = V_10;
if ((!(((uint64_t)L_25) == ((uint64_t)(((int64_t)((int64_t)(-1))))))))
{
goto IL_00cb;
}
}
IL_00c0:
{
int64_t L_26 = V_11;
G_B10_0 = ((((int32_t)((((int64_t)L_26) == ((int64_t)(((int64_t)((int64_t)(-1))))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_00cf;
}
IL_00cb:
{
G_B10_0 = 0;
goto IL_00cf;
}
IL_00ce:
{
G_B10_0 = 1;
}
IL_00cf:
{
if (!G_B10_0)
{
goto IL_00e3;
}
}
IL_00d1:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_27 = V_9;
NullCheck(L_27);
L_27->set_next_run_6(((int64_t)(std::numeric_limits<int64_t>::max)()));
goto IL_0106;
}
IL_00e3:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_28 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
int64_t L_29 = Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA(/*hidden argument*/NULL);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_30 = V_9;
NullCheck(L_30);
int64_t L_31 = L_30->get_period_ms_5();
NullCheck(L_28);
L_28->set_next_run_6(((int64_t)il2cpp_codegen_add((int64_t)L_29, (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)((int32_t)10000)))), (int64_t)L_31)))));
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_32 = V_0;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_33 = V_9;
NullCheck(L_32);
List_1_Add_mB5A8963C62BC566BF95512C93EA0B5ED6D04B8E9(L_32, L_33, /*hidden argument*/List_1_Add_mB5A8963C62BC566BF95512C93EA0B5ED6D04B8E9_RuntimeMethod_var);
}
IL_0106:
{
int32_t L_34 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
}
IL_010c:
{
int32_t L_35 = V_5;
int32_t L_36 = V_6;
if ((((int32_t)L_35) < ((int32_t)L_36)))
{
goto IL_0050;
}
}
IL_0115:
{
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_37 = V_0;
NullCheck(L_37);
int32_t L_38 = List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_inline(L_37, /*hidden argument*/List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_RuntimeMethod_var);
V_6 = L_38;
V_5 = 0;
goto IL_013a;
}
IL_0122:
{
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_39 = V_0;
int32_t L_40 = V_5;
NullCheck(L_39);
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_41 = List_1_get_Item_m6C76B0438807DFB527E73E6166D012198028ACBE_inline(L_39, L_40, /*hidden argument*/List_1_get_Item_m6C76B0438807DFB527E73E6166D012198028ACBE_RuntimeMethod_var);
V_12 = L_41;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_42 = V_12;
Scheduler_Add_m669D8B05D43F207A8BE1AA1912154AB6F0E9EBEB(__this, L_42, /*hidden argument*/NULL);
int32_t L_43 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_43, (int32_t)1));
}
IL_013a:
{
int32_t L_44 = V_5;
int32_t L_45 = V_6;
if ((((int32_t)L_44) < ((int32_t)L_45)))
{
goto IL_0122;
}
}
IL_0140:
{
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_46 = V_0;
NullCheck(L_46);
List_1_Clear_mACBCDAD884AD8F4AB0A67F8E8626D5FD0C8C6A79(L_46, /*hidden argument*/List_1_Clear_mACBCDAD884AD8F4AB0A67F8E8626D5FD0C8C6A79_RuntimeMethod_var);
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_47 = V_0;
Scheduler_ShrinkIfNeeded_m1DDE9B9B4FECA8D16C922391413085ABCB2B60E4(__this, L_47, ((int32_t)512), /*hidden argument*/NULL);
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_48 = __this->get_list_1();
NullCheck(L_48);
int32_t L_49 = VirtFuncInvoker0< int32_t >::Invoke(14 /* System.Int32 System.Collections.SortedList::get_Capacity() */, L_48);
V_7 = L_49;
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_50 = __this->get_list_1();
NullCheck(L_50);
int32_t L_51 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 System.Collections.SortedList::get_Count() */, L_50);
V_6 = L_51;
int32_t L_52 = V_7;
if ((((int32_t)L_52) <= ((int32_t)((int32_t)1024))))
{
goto IL_0191;
}
}
IL_0175:
{
int32_t L_53 = V_6;
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_0191;
}
}
IL_017a:
{
int32_t L_54 = V_7;
int32_t L_55 = V_6;
if ((((int32_t)((int32_t)((int32_t)L_54/(int32_t)L_55))) <= ((int32_t)3)))
{
goto IL_0191;
}
}
IL_0182:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_56 = __this->get_list_1();
int32_t L_57 = V_6;
NullCheck(L_56);
VirtActionInvoker1< int32_t >::Invoke(15 /* System.Void System.Collections.SortedList::set_Capacity(System.Int32) */, L_56, ((int32_t)il2cpp_codegen_multiply((int32_t)L_57, (int32_t)2)));
}
IL_0191:
{
V_8 = ((int64_t)(std::numeric_limits<int64_t>::max)());
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_58 = __this->get_list_1();
NullCheck(L_58);
int32_t L_59 = VirtFuncInvoker0< int32_t >::Invoke(16 /* System.Int32 System.Collections.SortedList::get_Count() */, L_58);
if ((((int32_t)L_59) <= ((int32_t)0)))
{
goto IL_01c2;
}
}
IL_01aa:
{
SortedList_tC8B7CDE75652EC657C510034F127B9DFDE16BF4E * L_60 = __this->get_list_1();
NullCheck(L_60);
RuntimeObject * L_61 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(25 /* System.Object System.Collections.SortedList::GetByIndex(System.Int32) */, L_60, 0);
NullCheck(((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_61, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var)));
int64_t L_62 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)CastclassSealed((RuntimeObject*)L_61, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var))->get_next_run_6();
V_8 = L_62;
}
IL_01c2:
{
V_1 = (-1);
int64_t L_63 = V_8;
if ((((int64_t)L_63) == ((int64_t)((int64_t)(std::numeric_limits<int64_t>::max)()))))
{
goto IL_01fe;
}
}
IL_01d1:
{
int64_t L_64 = V_8;
IL2CPP_RUNTIME_CLASS_INIT(Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var);
int64_t L_65 = Timer_GetTimeMonotonic_m4B6169CEEE39504646E976FBF26B3EFBD609ABFA(/*hidden argument*/NULL);
V_13 = ((int64_t)((int64_t)((int64_t)il2cpp_codegen_subtract((int64_t)L_64, (int64_t)L_65))/(int64_t)(((int64_t)((int64_t)((int32_t)10000))))));
int64_t L_66 = V_13;
if ((((int64_t)L_66) <= ((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL)))))))
{
goto IL_01f4;
}
}
IL_01ec:
{
V_1 = ((int32_t)2147483646);
IL2CPP_LEAVE(0x20B, FINALLY_0200);
}
IL_01f4:
{
int64_t L_67 = V_13;
V_1 = (((int32_t)((int32_t)L_67)));
int32_t L_68 = V_1;
if ((((int32_t)L_68) >= ((int32_t)0)))
{
goto IL_01fe;
}
}
IL_01fc:
{
V_1 = 0;
}
IL_01fe:
{
IL2CPP_LEAVE(0x20B, FINALLY_0200);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0200;
}
FINALLY_0200:
{ // begin finally (depth: 1)
{
bool L_69 = V_4;
if (!L_69)
{
goto IL_020a;
}
}
IL_0204:
{
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_70 = V_3;
Monitor_Exit_m49A1E5356D984D0B934BB97A305E2E5E207225C2(L_70, /*hidden argument*/NULL);
}
IL_020a:
{
IL2CPP_END_FINALLY(512)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(512)
{
IL2CPP_JUMP_TBL(0x20B, IL_020b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_020b:
{
ManualResetEvent_tDFAF117B200ECA4CCF4FD09593F949A016D55408 * L_71 = __this->get_changed_2();
int32_t L_72 = V_1;
NullCheck(L_71);
VirtFuncInvoker1< bool, int32_t >::Invoke(10 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32) */, L_71, L_72);
goto IL_001a;
}
}
// System.Void System.Threading.Timer_Scheduler::ShrinkIfNeeded(System.Collections.Generic.List`1<System.Threading.Timer>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scheduler_ShrinkIfNeeded_m1DDE9B9B4FECA8D16C922391413085ABCB2B60E4 (Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * __this, List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * ___list0, int32_t ___initial1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_ShrinkIfNeeded_m1DDE9B9B4FECA8D16C922391413085ABCB2B60E4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_0 = ___list0;
NullCheck(L_0);
int32_t L_1 = List_1_get_Capacity_m4E6CC6EB68ACB4009E66AE14C2969F02B644FAE7(L_0, /*hidden argument*/List_1_get_Capacity_m4E6CC6EB68ACB4009E66AE14C2969F02B644FAE7_RuntimeMethod_var);
V_0 = L_1;
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_2 = ___list0;
NullCheck(L_2);
int32_t L_3 = List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_inline(L_2, /*hidden argument*/List_1_get_Count_m102A5956CA038B4503A23CBAE433114532EC22E7_RuntimeMethod_var);
V_1 = L_3;
int32_t L_4 = V_0;
int32_t L_5 = ___initial1;
if ((((int32_t)L_4) <= ((int32_t)L_5)))
{
goto IL_0025;
}
}
{
int32_t L_6 = V_1;
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
int32_t L_7 = V_0;
int32_t L_8 = V_1;
if ((((int32_t)((int32_t)((int32_t)L_7/(int32_t)L_8))) <= ((int32_t)3)))
{
goto IL_0025;
}
}
{
List_1_t0C6DF014BD2D1BE6D428FB761E8C21CDC22C5116 * L_9 = ___list0;
int32_t L_10 = V_1;
NullCheck(L_9);
List_1_set_Capacity_m0DA623E0A9843F83E643A5E032D775F990F3863E(L_9, ((int32_t)il2cpp_codegen_multiply((int32_t)L_10, (int32_t)2)), /*hidden argument*/List_1_set_Capacity_m0DA623E0A9843F83E643A5E032D775F990F3863E_RuntimeMethod_var);
}
IL_0025:
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32 System.Threading.Timer_TimerComparer::Compare(System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimerComparer_Compare_mA323B05AE75107BF3D65BCFB43976A29155A4659 (TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 * __this, RuntimeObject * ___x0, RuntimeObject * ___y1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimerComparer_Compare_mA323B05AE75107BF3D65BCFB43976A29155A4659_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_0 = NULL;
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * V_1 = NULL;
int64_t V_2 = 0;
{
RuntimeObject * L_0 = ___x0;
V_0 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)IsInstSealed((RuntimeObject*)L_0, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_1 = V_0;
if (L_1)
{
goto IL_000c;
}
}
{
return (-1);
}
IL_000c:
{
RuntimeObject * L_2 = ___y1;
V_1 = ((Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 *)IsInstSealed((RuntimeObject*)L_2, Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553_il2cpp_TypeInfo_var));
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_3 = V_1;
if (L_3)
{
goto IL_0018;
}
}
{
return 1;
}
IL_0018:
{
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_4 = V_0;
NullCheck(L_4);
int64_t L_5 = L_4->get_next_run_6();
Timer_t67FAB8E41573B4FA09CA56AE30725AF4297C2553 * L_6 = V_1;
NullCheck(L_6);
int64_t L_7 = L_6->get_next_run_6();
V_2 = ((int64_t)il2cpp_codegen_subtract((int64_t)L_5, (int64_t)L_7));
int64_t L_8 = V_2;
if (L_8)
{
goto IL_0031;
}
}
{
RuntimeObject * L_9 = ___x0;
RuntimeObject * L_10 = ___y1;
if ((((RuntimeObject*)(RuntimeObject *)L_9) == ((RuntimeObject*)(RuntimeObject *)L_10)))
{
goto IL_002f;
}
}
{
return (-1);
}
IL_002f:
{
return 0;
}
IL_0031:
{
int64_t L_11 = V_2;
if ((((int64_t)L_11) > ((int64_t)(((int64_t)((int64_t)0))))))
{
goto IL_0038;
}
}
{
return (-1);
}
IL_0038:
{
return 1;
}
}
// System.Void System.Threading.Timer_TimerComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerComparer__ctor_m4286C1A800BFB3F6A065A9DB0122B7FC1A440F22 (TimerComparer_tC987818CFADF2F3ECEB89C0BD510600DAD816015 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.TimerCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerCallback__ctor_m6B85BEF2F0E429E5F8E4FA2F527B42247E95A690 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void System.Threading.TimerCallback::Invoke(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerCallback_Invoke_m64E1279AA84FA0D01697CB6D7B3D8C01959B4A50 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 1)
{
// open
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, targetMethod);
}
}
else if (___parameterCount != 1)
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, ___state0);
else
GenericVirtActionInvoker0::Invoke(targetMethod, ___state0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___state0);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___state0);
}
}
else
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker1< RuntimeObject * >::Invoke(targetMethod, targetThis, ___state0);
else
GenericVirtActionInvoker1< RuntimeObject * >::Invoke(targetMethod, targetThis, ___state0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___state0);
else
VirtActionInvoker1< RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___state0);
}
}
else
{
typedef void (*FunctionPointerType) (void*, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, targetMethod);
}
}
}
}
// System.IAsyncResult System.Threading.TimerCallback::BeginInvoke(System.Object,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TimerCallback_BeginInvoke_m8C0291B93231EC42260B0FB426CE548E6A5900C7 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject * ___state0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
{
void *__d_args[2] = {0};
__d_args[0] = ___state0;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
}
// System.Void System.Threading.TimerCallback::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimerCallback_EndInvoke_m5783AC9B9655D0D798F57CF8B90EB381A284B3E1 (TimerCallback_tC89F2FB1294A86F64DEB2C1F68024954018AA219 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean System.Threading.Volatile::Read(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Volatile_Read_m0903B72AEBAB1A05DFD4A101411ED4A952B53E8A (bool* ___location0)
{
return VolatileRead(___location0);
}
// System.Void System.Threading.Volatile::Write(System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Volatile_Write_m422B4F442419339E257CFC10CE1793BA06A7A232 (int32_t* ___location0, int32_t ___value1)
{
VolatileWrite(___location0, ___value1);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.WaitCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitCallback__ctor_m375A357FD7C64F4182FD88B8276D88FE5BE75B31 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void System.Threading.WaitCallback::Invoke(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitCallback_Invoke_mB6A858A1792B8E0DE526C3C157624C1A59EEFA16 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * __this, RuntimeObject * ___state0, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 1)
{
// open
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, targetMethod);
}
}
else if (___parameterCount != 1)
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, ___state0);
else
GenericVirtActionInvoker0::Invoke(targetMethod, ___state0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___state0);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___state0);
}
}
else
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker1< RuntimeObject * >::Invoke(targetMethod, targetThis, ___state0);
else
GenericVirtActionInvoker1< RuntimeObject * >::Invoke(targetMethod, targetThis, ___state0);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___state0);
else
VirtActionInvoker1< RuntimeObject * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___state0);
}
}
else
{
typedef void (*FunctionPointerType) (void*, RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, targetMethod);
}
}
}
}
// System.IAsyncResult System.Threading.WaitCallback::BeginInvoke(System.Object,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* WaitCallback_BeginInvoke_m6D50CA2A74AF60AE847EC36236F0E836CFF74B62 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * __this, RuntimeObject * ___state0, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback1, RuntimeObject * ___object2, const RuntimeMethod* method)
{
void *__d_args[2] = {0};
__d_args[0] = ___state0;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback1, (RuntimeObject*)___object2);
}
// System.Void System.Threading.WaitCallback::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitCallback_EndInvoke_m04663D1F0CCF6C5CEE3FE7FC807953BAB0F51965 (WaitCallback_t61C5F053CAC7A7FE923208EFA060693D7997B4EC * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: System.Threading.WaitHandle
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_pinvoke(const WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6& unmarshaled, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_pinvoke& marshaled)
{
marshaled.___waitHandle_3 = unmarshaled.get_waitHandle_3();
if (unmarshaled.get_safeWaitHandle_4() == NULL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_null_exception("unmarshaled_safeWaitHandle"), NULL, NULL);
bool ___safeHandle_reference_incremented_for_unmarshaled_get_safeWaitHandle_4 = false;
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(unmarshaled.get_safeWaitHandle_4(), (&___safeHandle_reference_incremented_for_unmarshaled_get_safeWaitHandle_4), NULL);
marshaled.___safeWaitHandle_4 = reinterpret_cast<void*>((unmarshaled.get_safeWaitHandle_4())->get_handle_0());
marshaled.___hasThreadAffinity_5 = static_cast<int32_t>(unmarshaled.get_hasThreadAffinity_5());
if (unmarshaled.get__identity_0() != NULL)
{
if (il2cpp_codegen_is_import_or_windows_runtime(unmarshaled.get__identity_0()))
{
marshaled.____identity_0 = il2cpp_codegen_com_query_interface<Il2CppIUnknown>(static_cast<Il2CppComObject*>(unmarshaled.get__identity_0()));
(marshaled.____identity_0)->AddRef();
}
else
{
marshaled.____identity_0 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__identity_0());
}
}
else
{
marshaled.____identity_0 = NULL;
}
}
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_pinvoke_back(const WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_pinvoke& marshaled, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_pinvoke_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
intptr_t unmarshaled_waitHandle_temp_0;
memset((&unmarshaled_waitHandle_temp_0), 0, sizeof(unmarshaled_waitHandle_temp_0));
unmarshaled_waitHandle_temp_0 = marshaled.___waitHandle_3;
unmarshaled.set_waitHandle_3(unmarshaled_waitHandle_temp_0);
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_missing_method_exception("A parameterless constructor is required for type 'Microsoft.Win32.SafeHandles.SafeWaitHandle'."), NULL, NULL);
intptr_t unmarshaled_safeWaitHandle_handle_temp;
unmarshaled_safeWaitHandle_handle_temp = (intptr_t)marshaled.___safeWaitHandle_4;
(unmarshaled.get_safeWaitHandle_4())->set_handle_0(unmarshaled_safeWaitHandle_handle_temp);
bool ___safeHandle_reference_incremented_for_unused1 = false;
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(unmarshaled.get_safeWaitHandle_4(), (&___safeHandle_reference_incremented_for_unused1), NULL);
bool unmarshaled_hasThreadAffinity_temp_2 = false;
unmarshaled_hasThreadAffinity_temp_2 = static_cast<bool>(marshaled.___hasThreadAffinity_5);
unmarshaled.set_hasThreadAffinity_5(unmarshaled_hasThreadAffinity_temp_2);
if (marshaled.____identity_0 != NULL)
{
unmarshaled.set__identity_0(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<RuntimeObject>(marshaled.____identity_0, Il2CppComObject_il2cpp_TypeInfo_var));
if (il2cpp_codegen_is_import_or_windows_runtime(unmarshaled.get__identity_0()))
{
il2cpp_codegen_com_cache_queried_interface(static_cast<Il2CppComObject*>(unmarshaled.get__identity_0()), Il2CppIUnknown::IID, marshaled.____identity_0);
}
}
else
{
unmarshaled.set__identity_0(NULL);
}
}
// Conversion method for clean up from marshalling of: System.Threading.WaitHandle
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_pinvoke_cleanup(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_pinvoke& marshaled)
{
if (marshaled.____identity_0 != NULL)
{
(marshaled.____identity_0)->Release();
marshaled.____identity_0 = NULL;
}
}
// Conversion methods for marshalling of: System.Threading.WaitHandle
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_com(const WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6& unmarshaled, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_com& marshaled)
{
marshaled.___waitHandle_3 = unmarshaled.get_waitHandle_3();
if (unmarshaled.get_safeWaitHandle_4() == NULL) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_argument_null_exception("unmarshaled_safeWaitHandle"), NULL, NULL);
bool ___safeHandle_reference_incremented_for_unmarshaled_get_safeWaitHandle_4 = false;
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(unmarshaled.get_safeWaitHandle_4(), (&___safeHandle_reference_incremented_for_unmarshaled_get_safeWaitHandle_4), NULL);
marshaled.___safeWaitHandle_4 = reinterpret_cast<void*>((unmarshaled.get_safeWaitHandle_4())->get_handle_0());
marshaled.___hasThreadAffinity_5 = static_cast<int32_t>(unmarshaled.get_hasThreadAffinity_5());
if (unmarshaled.get__identity_0() != NULL)
{
if (il2cpp_codegen_is_import_or_windows_runtime(unmarshaled.get__identity_0()))
{
marshaled.____identity_0 = il2cpp_codegen_com_query_interface<Il2CppIUnknown>(static_cast<Il2CppComObject*>(unmarshaled.get__identity_0()));
(marshaled.____identity_0)->AddRef();
}
else
{
marshaled.____identity_0 = il2cpp_codegen_com_get_or_create_ccw<Il2CppIUnknown>(unmarshaled.get__identity_0());
}
}
else
{
marshaled.____identity_0 = NULL;
}
}
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_com_back(const WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_com& marshaled, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6& unmarshaled)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_com_FromNativeMethodDefinition_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
intptr_t unmarshaled_waitHandle_temp_0;
memset((&unmarshaled_waitHandle_temp_0), 0, sizeof(unmarshaled_waitHandle_temp_0));
unmarshaled_waitHandle_temp_0 = marshaled.___waitHandle_3;
unmarshaled.set_waitHandle_3(unmarshaled_waitHandle_temp_0);
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_missing_method_exception("A parameterless constructor is required for type 'Microsoft.Win32.SafeHandles.SafeWaitHandle'."), NULL, NULL);
intptr_t unmarshaled_safeWaitHandle_handle_temp;
unmarshaled_safeWaitHandle_handle_temp = (intptr_t)marshaled.___safeWaitHandle_4;
(unmarshaled.get_safeWaitHandle_4())->set_handle_0(unmarshaled_safeWaitHandle_handle_temp);
bool ___safeHandle_reference_incremented_for_unused2 = false;
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(unmarshaled.get_safeWaitHandle_4(), (&___safeHandle_reference_incremented_for_unused2), NULL);
bool unmarshaled_hasThreadAffinity_temp_2 = false;
unmarshaled_hasThreadAffinity_temp_2 = static_cast<bool>(marshaled.___hasThreadAffinity_5);
unmarshaled.set_hasThreadAffinity_5(unmarshaled_hasThreadAffinity_temp_2);
if (marshaled.____identity_0 != NULL)
{
unmarshaled.set__identity_0(il2cpp_codegen_com_get_or_create_rcw_from_iunknown<RuntimeObject>(marshaled.____identity_0, Il2CppComObject_il2cpp_TypeInfo_var));
if (il2cpp_codegen_is_import_or_windows_runtime(unmarshaled.get__identity_0()))
{
il2cpp_codegen_com_cache_queried_interface(static_cast<Il2CppComObject*>(unmarshaled.get__identity_0()), Il2CppIUnknown::IID, marshaled.____identity_0);
}
}
else
{
unmarshaled.set__identity_0(NULL);
}
}
// Conversion method for clean up from marshalling of: System.Threading.WaitHandle
IL2CPP_EXTERN_C void WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshal_com_cleanup(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_marshaled_com& marshaled)
{
if (marshaled.____identity_0 != NULL)
{
(marshaled.____identity_0)->Release();
marshaled.____identity_0 = NULL;
}
}
// System.Void System.Threading.WaitHandle::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle__ctor_mCB89DA137FF9E08F6C96589DD705EBEFBAADE905 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
{
MarshalByRefObject__ctor_mD1C6F1D191B1A50DC93E8B214BCCA9BD93FDE850(__this, /*hidden argument*/NULL);
WaitHandle_Init_m63320FFB796EB59BF6217787185DD0B9BCE7C6FD(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.WaitHandle::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_Init_m63320FFB796EB59BF6217787185DD0B9BCE7C6FD (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_Init_m63320FFB796EB59BF6217787185DD0B9BCE7C6FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4((SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 *)NULL);
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
intptr_t L_0 = ((WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields*)il2cpp_codegen_static_fields_for(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var))->get_InvalidHandle_10();
__this->set_waitHandle_3((intptr_t)L_0);
__this->set_hasThreadAffinity_5((bool)0);
return;
}
}
// System.Void System.Threading.WaitHandle::set_Handle(System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_set_Handle_m174F142FBE3A6EBEF358B389AE825BF2569C2389 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, intptr_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_set_Handle_m174F142FBE3A6EBEF358B389AE825BF2569C2389_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
intptr_t L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
intptr_t L_1 = ((WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields*)il2cpp_codegen_static_fields_for(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var))->get_InvalidHandle_10();
bool L_2 = IntPtr_op_Equality_mEE8D9FD2DFE312BBAA8B4ED3BF7976B3142A5934((intptr_t)L_0, (intptr_t)L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002f;
}
}
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_3 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
if (!L_3)
{
goto IL_003e;
}
}
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_4 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
NullCheck(L_4);
SafeHandle_SetHandleAsInvalid_mAFA4A01F6FB566AB67312B96E5024088BDF255F6(L_4, /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4((SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 *)NULL);
goto IL_003e;
}
IL_002f:
{
intptr_t L_5 = ___value0;
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_6 = (SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 *)il2cpp_codegen_object_new(SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2_il2cpp_TypeInfo_var);
SafeWaitHandle__ctor_m7A02720A5A03917CCA8DD68406A124C4AB76191A(L_6, (intptr_t)L_5, (bool)1, /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4(L_6);
}
IL_003e:
{
intptr_t L_7 = ___value0;
__this->set_waitHandle_3((intptr_t)L_7);
return;
}
}
// Microsoft.Win32.SafeHandles.SafeWaitHandle System.Threading.WaitHandle::get_SafeWaitHandle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_0 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_001d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
intptr_t L_1 = ((WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields*)il2cpp_codegen_static_fields_for(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var))->get_InvalidHandle_10();
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_2 = (SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 *)il2cpp_codegen_object_new(SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2_il2cpp_TypeInfo_var);
SafeWaitHandle__ctor_m7A02720A5A03917CCA8DD68406A124C4AB76191A(L_2, (intptr_t)L_1, (bool)0, /*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4(L_2);
}
IL_001d:
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_3 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
return L_3;
}
}
// System.Void System.Threading.WaitHandle::set_SafeWaitHandle(Microsoft.Win32.SafeHandles.SafeWaitHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_set_SafeWaitHandle_m79F648641723174F50E517BA350953B45F09952E (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_set_SafeWaitHandle_m79F648641723174F50E517BA350953B45F09952E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RuntimeHelpers_PrepareConstrainedRegions_m108F0650C70D15D3CC657AFEBA8E69770EDB9027(/*hidden argument*/NULL);
}
IL_0005:
try
{ // begin try (depth: 1)
IL2CPP_LEAVE(0x3D, FINALLY_0007);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0007;
}
FINALLY_0007:
{ // begin finally (depth: 1)
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_0 = ___value0;
if (L_0)
{
goto IL_0020;
}
}
IL_000a:
{
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4((SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 *)NULL);
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
intptr_t L_1 = ((WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields*)il2cpp_codegen_static_fields_for(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var))->get_InvalidHandle_10();
__this->set_waitHandle_3((intptr_t)L_1);
goto IL_003c;
}
IL_0020:
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_2 = ___value0;
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4(L_2);
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_3 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
NullCheck(L_3);
intptr_t L_4 = SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline(L_3, /*hidden argument*/NULL);
__this->set_waitHandle_3((intptr_t)L_4);
}
IL_003c:
{
IL2CPP_END_FINALLY(7)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(7)
{
IL2CPP_JUMP_TBL(0x3D, IL_003d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_003d:
{
return;
}
}
// System.Void System.Threading.WaitHandle::SetHandleInternal(Microsoft.Win32.SafeHandles.SafeWaitHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_SetHandleInternal_m93850C95BB1DA2F7E474CA98316B3DA7A23799BC (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * ___handle0, const RuntimeMethod* method)
{
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_0 = ___handle0;
il2cpp_codegen_memory_barrier();
__this->set_safeWaitHandle_4(L_0);
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_1 = ___handle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline(L_1, /*hidden argument*/NULL);
__this->set_waitHandle_3((intptr_t)L_2);
return;
}
}
// System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_WaitOne_m0E8BFEEF95DC452E7C5A17DCA57D24F38FF7C467 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, int32_t ___millisecondsTimeout0, bool ___exitContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitOne_m0E8BFEEF95DC452E7C5A17DCA57D24F38FF7C467_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___millisecondsTimeout0;
if ((((int32_t)L_0) >= ((int32_t)(-1))))
{
goto IL_0019;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_2 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_2, _stringLiteral9D9BED981884AC3D4D16BF22ED725A5686CEF15B, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, WaitHandle_WaitOne_m0E8BFEEF95DC452E7C5A17DCA57D24F38FF7C467_RuntimeMethod_var);
}
IL_0019:
{
int32_t L_3 = ___millisecondsTimeout0;
bool L_4 = ___exitContext1;
bool L_5 = WaitHandle_WaitOne_m6283DC18BCD374B579549B156DD30AAA74E64C89(__this, (((int64_t)((int64_t)L_3))), L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Boolean System.Threading.WaitHandle::WaitOne()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_WaitOne_mEB04D9BA65731571C5ED2B68396B47FA686ED8BB (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
{
bool L_0 = VirtFuncInvoker2< bool, int32_t, bool >::Invoke(8 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean) */, __this, (-1), (bool)0);
return L_0;
}
}
// System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_WaitOne_m86F1422A0B09B944119508588110094D9223D7E3 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, int32_t ___millisecondsTimeout0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___millisecondsTimeout0;
bool L_1 = VirtFuncInvoker2< bool, int32_t, bool >::Invoke(8 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32,System.Boolean) */, __this, L_0, (bool)0);
return L_1;
}
}
// System.Boolean System.Threading.WaitHandle::WaitOne(System.Int64,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_WaitOne_m6283DC18BCD374B579549B156DD30AAA74E64C89 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, int64_t ___timeout0, bool ___exitContext1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitOne_m6283DC18BCD374B579549B156DD30AAA74E64C89_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_0 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
int64_t L_1 = ___timeout0;
bool L_2 = __this->get_hasThreadAffinity_5();
bool L_3 = ___exitContext1;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
bool L_4 = WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303(L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Boolean System.Threading.WaitHandle::InternalWaitOne(System.Runtime.InteropServices.SafeHandle,System.Int64,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * ___waitableSafeHandle0, int64_t ___millisecondsTimeout1, bool ___hasThreadAffinity2, bool ___exitContext3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * L_0 = ___waitableSafeHandle0;
if (L_0)
{
goto IL_0014;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral4A9B136550890770D29DF6A00FAA574C173789AD, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_2 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m303CFD09E4B541C36C60AE7B7CBC8B1B7EED66DC(L_2, (String_t*)NULL, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, WaitHandle_InternalWaitOne_m14CF12240D30C25A6C34683080C5A0D982786303_RuntimeMethod_var);
}
IL_0014:
{
SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * L_3 = ___waitableSafeHandle0;
int64_t L_4 = ___millisecondsTimeout1;
bool L_5 = ___hasThreadAffinity2;
bool L_6 = ___exitContext3;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
int32_t L_7 = WaitHandle_WaitOneNative_mC25327F2B99DBB404B62FD48CFCBDB3244F82434(L_3, (((int32_t)((uint32_t)L_4))), L_5, L_6, /*hidden argument*/NULL);
V_0 = L_7;
int32_t L_8 = V_0;
if ((!(((uint32_t)L_8) == ((uint32_t)((int32_t)128)))))
{
goto IL_002c;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C(/*hidden argument*/NULL);
}
IL_002c:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)258))))
{
goto IL_0040;
}
}
{
int32_t L_10 = V_0;
return (bool)((((int32_t)((((int32_t)L_10) == ((int32_t)((int32_t)2147483647LL)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_0040:
{
return (bool)0;
}
}
// System.Int32 System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* ___waitHandles0, int32_t ___millisecondsTimeout1, bool ___exitContext2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * V_3 = NULL;
int32_t V_4 = 0;
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_0 = ___waitHandles0;
if (L_0)
{
goto IL_0013;
}
}
{
String_t* L_1 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral9956E10D0235BEF9C63D0B1D2107F77CF985D4B2, /*hidden argument*/NULL);
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var);
}
IL_0013:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_3 = ___waitHandles0;
NullCheck(L_3);
if ((((RuntimeArray*)L_3)->max_length))
{
goto IL_0027;
}
}
{
String_t* L_4 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralCF76F3CD38A366E96CB2BED7C1D82F777242B6AA, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_5 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var);
}
IL_0027:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_6 = ___waitHandles0;
NullCheck(L_6);
if ((((int32_t)((int32_t)64)) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))))
{
goto IL_003e;
}
}
{
String_t* L_7 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral50DB91C54DC6A6F5B481F31D2A1DA1FD5AA487E7, /*hidden argument*/NULL);
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_8 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_8, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var);
}
IL_003e:
{
int32_t L_9 = ___millisecondsTimeout1;
if ((((int32_t)(-1)) <= ((int32_t)L_9)))
{
goto IL_0057;
}
}
{
String_t* L_10 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_11 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_11, _stringLiteral9D9BED981884AC3D4D16BF22ED725A5686CEF15B, L_10, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var);
}
IL_0057:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_12 = ___waitHandles0;
NullCheck(L_12);
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_13 = (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC*)(WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC*)SZArrayNew(WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))));
V_0 = L_13;
V_2 = 0;
goto IL_0083;
}
IL_0064:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_14 = ___waitHandles0;
int32_t L_15 = V_2;
NullCheck(L_14);
int32_t L_16 = L_15;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
V_3 = L_17;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_18 = V_3;
if (L_18)
{
goto IL_007b;
}
}
{
String_t* L_19 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralC8DFBF5C8D6E2ABCBCD997023A30E88DCEDF08DA, /*hidden argument*/NULL);
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_20 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_20, L_19, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_20, NULL, WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E_RuntimeMethod_var);
}
IL_007b:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_21 = V_0;
int32_t L_22 = V_2;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_23 = V_3;
NullCheck(L_21);
ArrayElementTypeCheck (L_21, L_23);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(L_22), (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 *)L_23);
int32_t L_24 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)1));
}
IL_0083:
{
int32_t L_25 = V_2;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_26 = ___waitHandles0;
NullCheck(L_26);
if ((((int32_t)L_25) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))))
{
goto IL_0064;
}
}
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_27 = V_0;
int32_t L_28 = ___millisecondsTimeout1;
bool L_29 = ___exitContext2;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
int32_t L_30 = WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E(L_27, L_28, L_29, (bool)0, /*hidden argument*/NULL);
V_1 = L_30;
int32_t L_31 = V_1;
if ((((int32_t)((int32_t)128)) > ((int32_t)L_31)))
{
goto IL_00ce;
}
}
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_32 = V_0;
NullCheck(L_32);
int32_t L_33 = V_1;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)128), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length))))))) <= ((int32_t)L_33)))
{
goto IL_00ce;
}
}
{
int32_t L_34 = V_1;
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_34, (int32_t)((int32_t)128)));
int32_t L_35 = V_4;
if ((((int32_t)0) > ((int32_t)L_35)))
{
goto IL_00c9;
}
}
{
int32_t L_36 = V_4;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_37 = V_0;
NullCheck(L_37);
if ((((int32_t)L_36) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))))
{
goto IL_00c9;
}
}
{
int32_t L_38 = V_4;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_39 = V_0;
int32_t L_40 = V_4;
NullCheck(L_39);
int32_t L_41 = L_40;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C(L_38, L_42, /*hidden argument*/NULL);
goto IL_00ce;
}
IL_00c9:
{
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C(/*hidden argument*/NULL);
}
IL_00ce:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_43 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_KeepAlive_mE836EDA45A7C6BFDCEA004B9089FA6B4810BDA89((RuntimeObject *)(RuntimeObject *)L_43, /*hidden argument*/NULL);
int32_t L_44 = V_1;
return L_44;
}
}
// System.Int32 System.Threading.WaitHandle::WaitAny(System.Threading.WaitHandle[],System.TimeSpan,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitAny_mB3F8C574D50E2EC2D056A731B86BC2284D1B85CB (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* ___waitHandles0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___timeout1, bool ___exitContext2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitAny_mB3F8C574D50E2EC2D056A731B86BC2284D1B85CB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
double L_0 = TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___timeout1), /*hidden argument*/NULL);
V_0 = (((int64_t)((int64_t)L_0)));
int64_t L_1 = V_0;
if ((((int64_t)(((int64_t)((int64_t)(-1))))) > ((int64_t)L_1)))
{
goto IL_0017;
}
}
{
int64_t L_2 = V_0;
if ((((int64_t)(((int64_t)((int64_t)((int32_t)2147483647LL))))) >= ((int64_t)L_2)))
{
goto IL_002c;
}
}
IL_0017:
{
String_t* L_3 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral1B8A0FD63D1D605E82838E8FBA940C1207478A60, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_4 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_4, _stringLiteral56D3C9490BE2608AC36F5A4805BFEC2F21F7F982, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, WaitHandle_WaitAny_mB3F8C574D50E2EC2D056A731B86BC2284D1B85CB_RuntimeMethod_var);
}
IL_002c:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_5 = ___waitHandles0;
int64_t L_6 = V_0;
bool L_7 = ___exitContext2;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
int32_t L_8 = WaitHandle_WaitAny_m1CA2DEBC40AB9BAF7ADDC0921B2AC332FA44AB1E(L_5, (((int32_t)((int32_t)L_6))), L_7, /*hidden argument*/NULL);
return L_8;
}
}
// System.Void System.Threading.WaitHandle::ThrowAbandonedMutexException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 * L_0 = (AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 *)il2cpp_codegen_object_new(AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9_il2cpp_TypeInfo_var);
AbandonedMutexException__ctor_mD789CDEE6F2EFECA949F0205C4AA37F140476E05(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, NULL, WaitHandle_ThrowAbandonedMutexException_m4AFC4FEDCA7C3EF6E1C04D4176ABA49CC728224C_RuntimeMethod_var);
}
}
// System.Void System.Threading.WaitHandle::ThrowAbandonedMutexException(System.Int32,System.Threading.WaitHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C (int32_t ___location0, WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * ___handle1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___location0;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_1 = ___handle1;
AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 * L_2 = (AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9 *)il2cpp_codegen_object_new(AbandonedMutexException_tCE41515409705F64C8D2AE1AAB4C1864905803C9_il2cpp_TypeInfo_var);
AbandonedMutexException__ctor_m5D2377FCE41D4EA1068C207B0105C7322D521666(L_2, L_0, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, WaitHandle_ThrowAbandonedMutexException_m69BB8B9A409789BDFA844B2A06303CCB3FD3A69C_RuntimeMethod_var);
}
}
// System.Void System.Threading.WaitHandle::Close()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_Close_m40287CC581A72F1CB4882656D4F91ADDCF5C5434 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_Close_m40287CC581A72F1CB4882656D4F91ADDCF5C5434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
VirtActionInvoker1< bool >::Invoke(12 /* System.Void System.Threading.WaitHandle::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.WaitHandle::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_Dispose_m367477E3B92A15CA02FEBAADFBAA15093D727671 (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, bool ___explicitDisposing0, const RuntimeMethod* method)
{
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_0 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
if (!L_0)
{
goto IL_0017;
}
}
{
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_1 = __this->get_safeWaitHandle_4();
il2cpp_codegen_memory_barrier();
NullCheck(L_1);
SafeHandle_Close_m284B185A04D5FB0A23F55B333737B7DF2CBE1F80(L_1, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.Void System.Threading.WaitHandle::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle_Dispose_m47D6F15A6D36EFBF147D238B794AE6436FD5159C (WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_Dispose_m47D6F15A6D36EFBF147D238B794AE6436FD5159C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
VirtActionInvoker1< bool >::Invoke(12 /* System.Void System.Threading.WaitHandle::Dispose(System.Boolean) */, __this, (bool)1);
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 System.Threading.WaitHandle::WaitMultiple(System.Threading.WaitHandle[],System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E (WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* ___waitHandles0, int32_t ___millisecondsTimeout1, bool ___exitContext2, bool ___WaitAll3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
bool V_2 = false;
intptr_t* V_3 = NULL;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_0 = ___waitHandles0;
NullCheck(L_0);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) <= ((int32_t)((int32_t)64))))
{
goto IL_000d;
}
}
{
return ((int32_t)2147483647LL);
}
IL_000d:
{
V_0 = (-1);
}
IL_000f:
try
{ // begin try (depth: 1)
{
V_1 = 0;
goto IL_002e;
}
IL_0013:
{
}
IL_0014:
try
{ // begin try (depth: 2)
IL2CPP_LEAVE(0x2A, FINALLY_0016);
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0016;
}
FINALLY_0016:
{ // begin finally (depth: 2)
V_2 = (bool)0;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_1 = ___waitHandles0;
int32_t L_2 = V_1;
NullCheck(L_1);
int32_t L_3 = L_2;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
NullCheck(L_4);
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_5 = WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(L_5, (bool*)(&V_2), /*hidden argument*/NULL);
int32_t L_6 = V_1;
V_0 = L_6;
IL2CPP_END_FINALLY(22)
} // end finally (depth: 2)
IL2CPP_CLEANUP(22)
{
IL2CPP_JUMP_TBL(0x2A, IL_002a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002a:
{
int32_t L_7 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
}
IL_002e:
{
int32_t L_8 = V_1;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_9 = ___waitHandles0;
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))))))
{
goto IL_0013;
}
}
IL_0034:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_10 = ___waitHandles0;
NullCheck(L_10);
uint32_t L_11 = sizeof(intptr_t);
if ((uintptr_t)(((uintptr_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))) * (uintptr_t)L_11 > (uintptr_t)kIl2CppUIntPtrMax)
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), NULL, WaitHandle_WaitMultiple_mAE04CACC2ADB312E42B0DF0E09EAB1744B50441E_RuntimeMethod_var);
int8_t* L_12 = (int8_t*) alloca(((intptr_t)il2cpp_codegen_multiply((intptr_t)(((uintptr_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))), (int32_t)L_11)));
memset(L_12, 0, ((intptr_t)il2cpp_codegen_multiply((intptr_t)(((uintptr_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))), (int32_t)L_11)));
V_3 = (intptr_t*)(L_12);
V_4 = 0;
goto IL_0068;
}
IL_0047:
{
intptr_t* L_13 = V_3;
int32_t L_14 = V_4;
uint32_t L_15 = sizeof(intptr_t);
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_16 = ___waitHandles0;
int32_t L_17 = V_4;
NullCheck(L_16);
int32_t L_18 = L_17;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
NullCheck(L_19);
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_20 = WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
intptr_t L_21 = SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline(L_20, /*hidden argument*/NULL);
*((intptr_t*)((intptr_t*)il2cpp_codegen_add((intptr_t)L_13, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_14)), (int32_t)L_15))))) = (intptr_t)L_21;
int32_t L_22 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
}
IL_0068:
{
int32_t L_23 = V_4;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_24 = ___waitHandles0;
NullCheck(L_24);
if ((((int32_t)L_23) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))))
{
goto IL_0047;
}
}
IL_006f:
{
intptr_t* L_25 = V_3;
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_26 = ___waitHandles0;
NullCheck(L_26);
bool L_27 = ___WaitAll3;
int32_t L_28 = ___millisecondsTimeout1;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
int32_t L_29 = WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483((intptr_t*)(intptr_t*)L_25, (((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))), L_27, L_28, /*hidden argument*/NULL);
V_5 = L_29;
IL2CPP_LEAVE(0x9D, FINALLY_007e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_007e;
}
FINALLY_007e:
{ // begin finally (depth: 1)
{
int32_t L_30 = V_0;
V_6 = L_30;
goto IL_0097;
}
IL_0083:
{
WaitHandleU5BU5D_t79FF2E6AC099CC1FDD2B24F21A72D36BA31298CC* L_31 = ___waitHandles0;
int32_t L_32 = V_6;
NullCheck(L_31);
int32_t L_33 = L_32;
WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6 * L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
NullCheck(L_34);
SafeWaitHandle_t51DB35FF382E636FF3B868D87816733894D46CF2 * L_35 = WaitHandle_get_SafeWaitHandle_m9BA6EA0D8DBD059147DE77EE1E36181EEB5A8AB1(L_34, /*hidden argument*/NULL);
NullCheck(L_35);
SafeHandle_DangerousRelease_m3D5C78EBCD583C58AE715F7A8AC1BD3BA976CF01(L_35, /*hidden argument*/NULL);
int32_t L_36 = V_6;
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)1));
}
IL_0097:
{
int32_t L_37 = V_6;
if ((((int32_t)L_37) >= ((int32_t)0)))
{
goto IL_0083;
}
}
IL_009c:
{
IL2CPP_END_FINALLY(126)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(126)
{
IL2CPP_JUMP_TBL(0x9D, IL_009d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_009d:
{
int32_t L_38 = V_5;
return L_38;
}
}
// System.Int32 System.Threading.WaitHandle::WaitOneNative(System.Runtime.InteropServices.SafeHandle,System.UInt32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_WaitOneNative_mC25327F2B99DBB404B62FD48CFCBDB3244F82434 (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * ___waitableSafeHandle0, uint32_t ___millisecondsTimeout1, bool ___hasThreadAffinity2, bool ___exitContext3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle_WaitOneNative_mC25327F2B99DBB404B62FD48CFCBDB3244F82434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
intptr_t V_1;
memset((&V_1), 0, sizeof(V_1));
int32_t V_2 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (bool)0;
}
IL_0002:
try
{ // begin try (depth: 1)
SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * L_0 = ___waitableSafeHandle0;
NullCheck(L_0);
SafeHandle_DangerousAddRef_m38ABCE4B3DF7CEA3B6C79996C22E1D532E10F085(L_0, (bool*)(&V_0), /*hidden argument*/NULL);
SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * L_1 = ___waitableSafeHandle0;
NullCheck(L_1);
intptr_t L_2 = SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline(L_1, /*hidden argument*/NULL);
V_1 = (intptr_t)L_2;
uint32_t L_3 = ___millisecondsTimeout1;
IL2CPP_RUNTIME_CLASS_INIT(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var);
int32_t L_4 = WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483((intptr_t*)(intptr_t*)(((uintptr_t)(&V_1))), 1, (bool)0, L_3, /*hidden argument*/NULL);
V_2 = L_4;
IL2CPP_LEAVE(0x29, FINALLY_001f);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001f;
}
FINALLY_001f:
{ // begin finally (depth: 1)
{
bool L_5 = V_0;
if (!L_5)
{
goto IL_0028;
}
}
IL_0022:
{
SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * L_6 = ___waitableSafeHandle0;
NullCheck(L_6);
SafeHandle_DangerousRelease_m3D5C78EBCD583C58AE715F7A8AC1BD3BA976CF01(L_6, /*hidden argument*/NULL);
}
IL_0028:
{
IL2CPP_END_FINALLY(31)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(31)
{
IL2CPP_JUMP_TBL(0x29, IL_0029)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0029:
{
int32_t L_7 = V_2;
return L_7;
}
}
// System.Int32 System.Threading.WaitHandle::Wait_internal(System.IntPtr*,System.Int32,System.Boolean,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483 (intptr_t* ___handles0, int32_t ___numHandles1, bool ___waitAll2, int32_t ___ms3, const RuntimeMethod* method)
{
typedef int32_t (*WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483_ftn) (intptr_t*, int32_t, bool, int32_t);
using namespace il2cpp::icalls;
return ((WaitHandle_Wait_internal_m8941E096BE6A528D936BCE4B4D931753FCB0F483_ftn)mscorlib::System::Threading::WaitHandle::Wait_internal) (___handles0, ___numHandles1, ___waitAll2, ___ms3);
}
// System.Void System.Threading.WaitHandle::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandle__cctor_m007CFC1D3AC126BF18F2000C962A2C73EB73D671 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandle__cctor_m007CFC1D3AC126BF18F2000C962A2C73EB73D671_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
intptr_t L_0 = IntPtr_op_Explicit_m62A5ED7757661C8DB6AEF4816829ED92A1929F91((-1), /*hidden argument*/NULL);
((WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_StaticFields*)il2cpp_codegen_static_fields_for(WaitHandle_tFD46B5B45A6BB296EA3A104C91DF2A7C03C10AC6_il2cpp_TypeInfo_var))->set_InvalidHandle_10((intptr_t)L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.WaitHandleCannotBeOpenedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandleCannotBeOpenedException__ctor_m7A3521D80FAFFDEE0AA1DAE1C9CE3D643AEA0C6D (WaitHandleCannotBeOpenedException_t869CD999EE7B918C5546E2007AF7C4557281B65B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitHandleCannotBeOpenedException__ctor_m7A3521D80FAFFDEE0AA1DAE1C9CE3D643AEA0C6D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralC66F297D9CFBA91552616C44CE043096BDC566A6, /*hidden argument*/NULL);
ApplicationException__ctor_mDC26CE8ECD0DDA5C8FA50C8E8B2614F3B50FC308(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233044), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.WaitHandleCannotBeOpenedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandleCannotBeOpenedException__ctor_m00FD39B43CE8A42DEFC752F71A7BEA5EAED5C59B (WaitHandleCannotBeOpenedException_t869CD999EE7B918C5546E2007AF7C4557281B65B * __this, String_t* ___message0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___message0;
ApplicationException__ctor_mDC26CE8ECD0DDA5C8FA50C8E8B2614F3B50FC308(__this, L_0, /*hidden argument*/NULL);
Exception_SetErrorCode_m742C1E687C82E56F445893685007EF4FC017F4A7(__this, ((int32_t)-2146233044), /*hidden argument*/NULL);
return;
}
}
// System.Void System.Threading.WaitHandleCannotBeOpenedException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitHandleCannotBeOpenedException__ctor_mF8FACE8B63C48B415DCACE80632C6308AF6D8F38 (WaitHandleCannotBeOpenedException_t869CD999EE7B918C5546E2007AF7C4557281B65B * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 L_1 = ___context1;
ApplicationException__ctor_mFF30CCDE8B078E0ED2E206EEB39611840367607A(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Threading.WaitOrTimerCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitOrTimerCallback__ctor_m3F8B82720682E41B16CC030AF8CDD748F882F67F (WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void System.Threading.WaitOrTimerCallback::Invoke(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitOrTimerCallback_Invoke_m339DD37A56CCF4A02065A78DEE3A981017B80670 (WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * __this, RuntimeObject * ___state0, bool ___timedOut1, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 2)
{
// open
typedef void (*FunctionPointerType) (RuntimeObject *, bool, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, ___timedOut1, targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, RuntimeObject *, bool, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, ___timedOut1, targetMethod);
}
}
else if (___parameterCount != 2)
{
// open
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker1< bool >::Invoke(targetMethod, ___state0, ___timedOut1);
else
GenericVirtActionInvoker1< bool >::Invoke(targetMethod, ___state0, ___timedOut1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___state0, ___timedOut1);
else
VirtActionInvoker1< bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___state0, ___timedOut1);
}
}
else
{
typedef void (*FunctionPointerType) (RuntimeObject *, bool, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, ___timedOut1, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef void (*FunctionPointerType) (RuntimeObject *, bool, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___state0, ___timedOut1, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker2< RuntimeObject *, bool >::Invoke(targetMethod, targetThis, ___state0, ___timedOut1);
else
GenericVirtActionInvoker2< RuntimeObject *, bool >::Invoke(targetMethod, targetThis, ___state0, ___timedOut1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker2< RuntimeObject *, bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___state0, ___timedOut1);
else
VirtActionInvoker2< RuntimeObject *, bool >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___state0, ___timedOut1);
}
}
else
{
typedef void (*FunctionPointerType) (void*, RuntimeObject *, bool, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___state0, ___timedOut1, targetMethod);
}
}
}
}
// System.IAsyncResult System.Threading.WaitOrTimerCallback::BeginInvoke(System.Object,System.Boolean,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* WaitOrTimerCallback_BeginInvoke_m86C8EC9E231C1076272729D07B6331A3253150CF (WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * __this, RuntimeObject * ___state0, bool ___timedOut1, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (WaitOrTimerCallback_BeginInvoke_m86C8EC9E231C1076272729D07B6331A3253150CF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[3] = {0};
__d_args[0] = ___state0;
__d_args[1] = Box(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var, &___timedOut1);
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback2, (RuntimeObject*)___object3);
}
// System.Void System.Threading.WaitOrTimerCallback::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitOrTimerCallback_EndInvoke_m71FFCA3224CF4023B31E50E9B0EAAB639369E801 (WaitOrTimerCallback_tC7370E7654DC005FC74E8E82993FD40C2C6AF8CF * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean System.Threading._ThreadPoolWaitCallback::PerformWaitCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool _ThreadPoolWaitCallback_PerformWaitCallback_mD77C78004E606A2556E66C0D674100581F264C58 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (_ThreadPoolWaitCallback_PerformWaitCallback_mD77C78004E606A2556E66C0D674100581F264C58_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ThreadPoolWorkQueue_t7CD2CD2E30665483DB7D73043AE06270E0220011_il2cpp_TypeInfo_var);
bool L_0 = ThreadPoolWorkQueue_Dispatch_mCDF7415E4C9D02B34761CAE8EA15CD33DDF85ADF(/*hidden argument*/NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.ThrowHelper::ThrowArgumentNullException(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E (int32_t ___argument0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___argument0;
Exception_t * L_1 = ThrowHelper_CreateArgumentNullException_m73D3C5638F0A69939498020AA3AE650DAA0178FD(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ThrowHelper_ThrowArgumentNullException_m4A3AE1D7B45B9E589828B500895B18D7E6A2740E_RuntimeMethod_var);
}
}
// System.Exception System.ThrowHelper::CreateArgumentNullException(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR Exception_t * ThrowHelper_CreateArgumentNullException_m73D3C5638F0A69939498020AA3AE650DAA0178FD (int32_t ___argument0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_CreateArgumentNullException_m73D3C5638F0A69939498020AA3AE650DAA0178FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = Box(ExceptionArgument_tE4C1E083DC891ECF9688A8A0C62D7F7841057B14_il2cpp_TypeInfo_var, (&___argument0));
NullCheck(L_0);
String_t* L_1 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_0);
___argument0 = *(int32_t*)UnBox(L_0);
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550 (const RuntimeMethod* method)
{
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51(((int32_t)13), ((int32_t)22), /*hidden argument*/NULL);
return;
}
}
// System.Void System.ThrowHelper::ThrowWrongValueTypeArgumentException(System.Object,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F (RuntimeObject * ___value0, Type_t * ___targetType1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)2);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = L_0;
RuntimeObject * L_2 = ___value0;
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = L_1;
Type_t * L_4 = ___targetType1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_4);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_4);
String_t* L_5 = Environment_GetResourceString_m7389941B4C0688D875CC647D99A739DA2F907ADB(_stringLiteralC2FE37F547603E5070979129624113F1C6F9D844, L_3, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_6 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_6, L_5, _stringLiteralF32B67C7E26342AF42EFABC674D441DCA0A281C5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ThrowHelper_ThrowWrongValueTypeArgumentException_m81EB12FF3AB8403FBF5D9DC58BF6A4950EE76F5F_RuntimeMethod_var);
}
}
// System.Void System.ThrowHelper::ThrowArgumentException(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84 (int32_t ___resource0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___resource0;
String_t* L_1 = ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E(L_0, /*hidden argument*/NULL);
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(L_1, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ThrowHelper_ThrowArgumentException_mC79DA77CCE9B239510DDD4C46043FC216B2A5B84_RuntimeMethod_var);
}
}
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException(System.ExceptionArgument,System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51 (int32_t ___argument0, int32_t ___resource1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ((CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields*)il2cpp_codegen_static_fields_for(CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_il2cpp_TypeInfo_var))->get_IsAppEarlierThanWindowsPhone8_1();
if (!L_0)
{
goto IL_0018;
}
}
{
int32_t L_1 = ___argument0;
String_t* L_2 = ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C(L_1, /*hidden argument*/NULL);
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_4 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_4, L_2, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51_RuntimeMethod_var);
}
IL_0018:
{
int32_t L_5 = ___argument0;
String_t* L_6 = ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C(L_5, /*hidden argument*/NULL);
int32_t L_7 = ___resource1;
String_t* L_8 = ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E(L_7, /*hidden argument*/NULL);
String_t* L_9 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(L_8, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_10 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_10, L_6, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, ThrowHelper_ThrowArgumentOutOfRangeException_m2C56CC1BC1245743344B9236D279FC9315896F51_RuntimeMethod_var);
}
}
// System.Void System.ThrowHelper::ThrowInvalidOperationException(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowInvalidOperationException_m5FC21125115DA5A3A78175937F96B30333FF2454 (int32_t ___resource0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowInvalidOperationException_m5FC21125115DA5A3A78175937F96B30333FF2454_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___resource0;
String_t* L_1 = ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E(L_0, /*hidden argument*/NULL);
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(L_1, /*hidden argument*/NULL);
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_3 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ThrowHelper_ThrowInvalidOperationException_m5FC21125115DA5A3A78175937F96B30333FF2454_RuntimeMethod_var);
}
}
// System.Void System.ThrowHelper::ThrowNotSupportedException(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowNotSupportedException_mDE950AAFA2110B5EB15127AAD48E54ADF9C180FC (int32_t ___resource0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_ThrowNotSupportedException_mDE950AAFA2110B5EB15127AAD48E54ADF9C180FC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___resource0;
String_t* L_1 = ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E(L_0, /*hidden argument*/NULL);
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(L_1, /*hidden argument*/NULL);
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_3 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ThrowHelper_ThrowNotSupportedException_mDE950AAFA2110B5EB15127AAD48E54ADF9C180FC_RuntimeMethod_var);
}
}
// System.String System.ThrowHelper::GetArgumentName(System.ExceptionArgument)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C (int32_t ___argument0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_GetArgumentName_m557024344066246E63A04D0B1A2DB0F6C6781D2C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
V_0 = (String_t*)NULL;
int32_t L_0 = ___argument0;
switch (L_0)
{
case 0:
{
goto IL_00ed;
}
case 1:
{
goto IL_00ba;
}
case 2:
{
goto IL_00c5;
}
case 3:
{
goto IL_006d;
}
case 4:
{
goto IL_00d5;
}
case 5:
{
goto IL_00dd;
}
case 6:
{
goto IL_008e;
}
case 7:
{
goto IL_0099;
}
case 8:
{
goto IL_00e5;
}
case 9:
{
goto IL_00a4;
}
case 10:
{
goto IL_00f5;
}
case 11:
{
goto IL_00fd;
}
case 12:
{
goto IL_0083;
}
case 13:
{
goto IL_00cd;
}
case 14:
{
goto IL_0105;
}
case 15:
{
goto IL_010d;
}
case 16:
{
goto IL_00af;
}
case 17:
{
goto IL_0078;
}
case 18:
{
goto IL_0115;
}
case 19:
{
goto IL_011d;
}
case 20:
{
goto IL_0125;
}
case 21:
{
goto IL_012d;
}
case 22:
{
goto IL_0135;
}
case 23:
{
goto IL_013d;
}
}
}
{
goto IL_0145;
}
IL_006d:
{
V_0 = _stringLiteral19EDC1210777BA4D45049C29280D9CC5E1064C25;
goto IL_014b;
}
IL_0078:
{
V_0 = _stringLiteralFA5342C4F12AD1A860B71DA5AD002761768999C3;
goto IL_014b;
}
IL_0083:
{
V_0 = _stringLiteral7CB1F56D3FBE09E809244FC8E13671CD876E3860;
goto IL_014b;
}
IL_008e:
{
V_0 = _stringLiteral2037DE437C80264CCBCE8A8B61D0BF9F593D2322;
goto IL_014b;
}
IL_0099:
{
V_0 = _stringLiteral38B62BE4BDDAA5661C7D6B8E36E28159314DF5C7;
goto IL_014b;
}
IL_00a4:
{
V_0 = _stringLiteral2C3199988097E4BB3103E8C34B8DFE8796545D8F;
goto IL_014b;
}
IL_00af:
{
V_0 = _stringLiteralEE9F38E186BA06F57B7B74D7E626B94E13CE2556;
goto IL_014b;
}
IL_00ba:
{
V_0 = _stringLiteralF18BFB74E613AFB11F36BDD80CF05CD5DFAD98D6;
goto IL_014b;
}
IL_00c5:
{
V_0 = _stringLiteralE87A29FAFA6BDE5DB2F2ED78580BDB62061933A0;
goto IL_014b;
}
IL_00cd:
{
V_0 = _stringLiteralE540CDD1328B2B21E29A95405C301B9313B7C346;
goto IL_014b;
}
IL_00d5:
{
V_0 = _stringLiteral59BD0A3FF43B32849B319E645D4798D8A5D1E889;
goto IL_014b;
}
IL_00dd:
{
V_0 = _stringLiteralA62F2225BF70BFACCBC7F1EF2A397836717377DE;
goto IL_014b;
}
IL_00e5:
{
V_0 = _stringLiteralEF5C844EAB88BCACA779BD2F3AD67B573BBBBFCA;
goto IL_014b;
}
IL_00ed:
{
V_0 = _stringLiteral9B5C0B859FABA061DD60FD8070FCE74FCEE29D0B;
goto IL_014b;
}
IL_00f5:
{
V_0 = _stringLiteral1038345ECC525CA37383914C8D7839E94CCF5448;
goto IL_014b;
}
IL_00fd:
{
V_0 = _stringLiteralB26DC72D261A92C1CFD1E643717E450A84CF2122;
goto IL_014b;
}
IL_0105:
{
V_0 = _stringLiteral8972561214BDFD4779823E480036EAF0853E3C56;
goto IL_014b;
}
IL_010d:
{
V_0 = _stringLiteralF32B67C7E26342AF42EFABC674D441DCA0A281C5;
goto IL_014b;
}
IL_0115:
{
V_0 = _stringLiteral6AE999552A0D2DCA14D62E2BC8B764D377B1DD6C;
goto IL_014b;
}
IL_011d:
{
V_0 = _stringLiteralE78FE7049341B36116D8054F5A3E00D01F245FCC;
goto IL_014b;
}
IL_0125:
{
V_0 = _stringLiteral3A7D9767B1233601EBF8B67495C6DC2CE8B8C2AF;
goto IL_014b;
}
IL_012d:
{
V_0 = _stringLiteral513F8DE9259FE7658FE14D1352C54CCF070E911F;
goto IL_014b;
}
IL_0135:
{
V_0 = _stringLiteral8F3A07543988E4673DCAE5E59C35323C5791F370;
goto IL_014b;
}
IL_013d:
{
V_0 = _stringLiteralFC6AE05A55888138AD5ED7FDF85E0CFAF96F0CB1;
goto IL_014b;
}
IL_0145:
{
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_1;
}
IL_014b:
{
String_t* L_2 = V_0;
return L_2;
}
}
// System.String System.ThrowHelper::GetResourceName(System.ExceptionResource)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E (int32_t ___resource0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ThrowHelper_GetResourceName_m13FDAE58B6F545972524C1B952F26628A50ED48E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
V_0 = (String_t*)NULL;
int32_t L_0 = ___resource0;
switch (L_0)
{
case 0:
{
goto IL_00c5;
}
case 1:
{
goto IL_0204;
}
case 2:
{
goto IL_020f;
}
case 3:
{
goto IL_026f;
}
case 4:
{
goto IL_0112;
}
case 5:
{
goto IL_0128;
}
case 6:
{
goto IL_013e;
}
case 7:
{
goto IL_0133;
}
case 8:
{
goto IL_0237;
}
case 9:
{
goto IL_0267;
}
case 10:
{
goto IL_0247;
}
case 11:
{
goto IL_024f;
}
case 12:
{
goto IL_0227;
}
case 13:
{
goto IL_022f;
}
case 14:
{
goto IL_00d0;
}
case 15:
{
goto IL_01e3;
}
case 16:
{
goto IL_01ee;
}
case 17:
{
goto IL_01f9;
}
case 18:
{
goto IL_0149;
}
case 19:
{
goto IL_01b7;
}
case 20:
{
goto IL_01cd;
}
case 21:
{
goto IL_011d;
}
case 22:
{
goto IL_00f1;
}
case 23:
{
goto IL_0154;
}
case 24:
{
goto IL_015f;
}
case 25:
{
goto IL_00e6;
}
case 26:
{
goto IL_00fc;
}
case 27:
{
goto IL_0107;
}
case 28:
{
goto IL_01c2;
}
case 29:
{
goto IL_016a;
}
case 30:
{
goto IL_0175;
}
case 31:
{
goto IL_0180;
}
case 32:
{
goto IL_018b;
}
case 33:
{
goto IL_0196;
}
case 34:
{
goto IL_00db;
}
case 35:
{
goto IL_01a1;
}
case 36:
{
goto IL_01ac;
}
case 37:
{
goto IL_01d8;
}
case 38:
{
goto IL_0217;
}
case 39:
{
goto IL_021f;
}
case 40:
{
goto IL_023f;
}
case 41:
{
goto IL_0257;
}
case 42:
{
goto IL_025f;
}
case 43:
{
goto IL_0277;
}
case 44:
{
goto IL_027f;
}
case 45:
{
goto IL_0287;
}
}
}
{
goto IL_028f;
}
IL_00c5:
{
V_0 = _stringLiteral463C9ACFFA099CA60B83F74DD23B2E4DE31E298B;
goto IL_0295;
}
IL_00d0:
{
V_0 = _stringLiteralE15B6A0A1108C9AC320286F96690841664ACD678;
goto IL_0295;
}
IL_00db:
{
V_0 = _stringLiteralEBA8B69763EB43A139DEA3B8C4A58E9CEDCA4968;
goto IL_0295;
}
IL_00e6:
{
V_0 = _stringLiteral4DDC7DDA06EC167A4193D5F00C1F56AF6DF241EC;
goto IL_0295;
}
IL_00f1:
{
V_0 = _stringLiteral9071A4CB8E2F99F81D5B117DAE3211B994971FFA;
goto IL_0295;
}
IL_00fc:
{
V_0 = _stringLiteral5EE6EC49CF3A25DADF191E62C4851F860A7900C3;
goto IL_0295;
}
IL_0107:
{
V_0 = _stringLiteral1C58A3FE6DCE8C4663334496A6CC60DFDF3BB4EE;
goto IL_0295;
}
IL_0112:
{
V_0 = _stringLiteral314A883D61C1D386E61BE443EB9D3B50BA3FF07D;
goto IL_0295;
}
IL_011d:
{
V_0 = _stringLiteralFB89F8D393DA096100BFDC1D5649D094EFF15377;
goto IL_0295;
}
IL_0128:
{
V_0 = _stringLiteralBC80A496F1C479B70F6EE2BF2F0C3C05463301B8;
goto IL_0295;
}
IL_0133:
{
V_0 = _stringLiteral2D77BE6D598A0A9376398980E66D10E319F1B52A;
goto IL_0295;
}
IL_013e:
{
V_0 = _stringLiteralC363992023785AF013BBCF2E20C19D9835184F82;
goto IL_0295;
}
IL_0149:
{
V_0 = _stringLiteralC44D4E6C6AF3517A1CC72EDF7D1A5FFD7E3368F1;
goto IL_0295;
}
IL_0154:
{
V_0 = _stringLiteral063F5BA07B9A8319201C127A47193BF92C67599A;
goto IL_0295;
}
IL_015f:
{
V_0 = _stringLiteral8F8AE9544C800C5645217FBE5AA94B8E526C7E98;
goto IL_0295;
}
IL_016a:
{
V_0 = _stringLiteralF410B3794614F4946761EA1E8C628608639839C6;
goto IL_0295;
}
IL_0175:
{
V_0 = _stringLiteral1F81AFFE48C2C2B337815693830EBEE586D9A96C;
goto IL_0295;
}
IL_0180:
{
V_0 = _stringLiteral4B7A2452FBAAF02487F5667BCA2E7D64B9707EDC;
goto IL_0295;
}
IL_018b:
{
V_0 = _stringLiteralFAD66767010E09AA6ADD07FA89C43A7F43F44049;
goto IL_0295;
}
IL_0196:
{
V_0 = _stringLiteral2AE9006AA79BCA491D17932D2580DBE509CC1BD7;
goto IL_0295;
}
IL_01a1:
{
V_0 = _stringLiteral700336D6AF60425DC8D362092DE4C0FFB8576432;
goto IL_0295;
}
IL_01ac:
{
V_0 = _stringLiteral672E8F4CE93C075F32B4FD6C0D0EDAC1BDDB9469;
goto IL_0295;
}
IL_01b7:
{
V_0 = _stringLiteralBCA799238FFD9062EADADF1671BF7042DB42CF92;
goto IL_0295;
}
IL_01c2:
{
V_0 = _stringLiteral7C9E4CE229BAFB966C53CA8676C5BAD2046C9B62;
goto IL_0295;
}
IL_01cd:
{
V_0 = _stringLiteral26B5A99C75CDB00D6145F11A983C91ACADFFFFF1;
goto IL_0295;
}
IL_01d8:
{
V_0 = _stringLiteral885F50DCFD6542D03A37B7DE40CFBAEB00164500;
goto IL_0295;
}
IL_01e3:
{
V_0 = _stringLiteralA70F1BF46F12CF5517DAB14A442D77DB24FDDC26;
goto IL_0295;
}
IL_01ee:
{
V_0 = _stringLiteral0446EADE62BBE35D165AAAD965949803B6521089;
goto IL_0295;
}
IL_01f9:
{
V_0 = _stringLiteralD6D1BC79DD62E9F1FB9A49A8F76F4BA8AB71AECD;
goto IL_0295;
}
IL_0204:
{
V_0 = _stringLiteral1C2EBE0E70C4B03074D33C64120CD29EA385AA71;
goto IL_0295;
}
IL_020f:
{
V_0 = _stringLiteralA7CA3604B3B7A0733239DF9F41348D06245AC357;
goto IL_0295;
}
IL_0217:
{
V_0 = _stringLiteralF7F24D49529641003F57A1A7C43CFCCA3D29BD73;
goto IL_0295;
}
IL_021f:
{
V_0 = _stringLiteral3F1100B2ABF8FFBAD088B793AAF302D5435DBE3F;
goto IL_0295;
}
IL_0227:
{
V_0 = _stringLiteral53F7F9602724F5C9D2B64C05462A6DA2F44E2BD0;
goto IL_0295;
}
IL_022f:
{
V_0 = _stringLiteralD7938D08865974650DE95B633047523C268290B9;
goto IL_0295;
}
IL_0237:
{
V_0 = _stringLiteralC34859D7F446AA18DD9260227F587FBA6EB4DB1D;
goto IL_0295;
}
IL_023f:
{
V_0 = _stringLiteral171112507722F18531ACD11A635F712DADCEBE6E;
goto IL_0295;
}
IL_0247:
{
V_0 = _stringLiteralCDD3E50B9E706702A4996E0BC1E08259AF9C1950;
goto IL_0295;
}
IL_024f:
{
V_0 = _stringLiteral7E2E7C38B817DB77D6B12E99B9738E18BDDF9B28;
goto IL_0295;
}
IL_0257:
{
V_0 = _stringLiteral1821AE443912F325AB2E97DF532D1DACF7161739;
goto IL_0295;
}
IL_025f:
{
V_0 = _stringLiteralFF69C2D636503743B153CA52D647A5C19B17092C;
goto IL_0295;
}
IL_0267:
{
V_0 = _stringLiteralA2D9E3AC892A8FEA3180CFBA1F1C9D0F8716EA95;
goto IL_0295;
}
IL_026f:
{
V_0 = _stringLiteral1B08DBA6C41309ED4513414011188E6B4CA2403F;
goto IL_0295;
}
IL_0277:
{
V_0 = _stringLiteral32368864574CE30745E6A3A112FCB36F083BFB0C;
goto IL_0295;
}
IL_027f:
{
V_0 = _stringLiteralD416C225B5075E134E29DFBF7B48B6B0F77F834D;
goto IL_0295;
}
IL_0287:
{
V_0 = _stringLiteral93DEC40AB1B5EF19C715C0EAE5164CC3C700BCAF;
goto IL_0295;
}
IL_028f:
{
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_1;
}
IL_0295:
{
String_t* L_2 = V_0;
return L_2;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.TimeSpan::.ctor(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int64_t ___ticks0, const RuntimeMethod* method)
{
{
int64_t L_0 = ___ticks0;
__this->set__ticks_3(L_0);
return;
}
}
IL2CPP_EXTERN_C void TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_AdjustorThunk (RuntimeObject * __this, int64_t ___ticks0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline(_thisAdjusted, ___ticks0, method);
}
// System.Void System.TimeSpan::.ctor(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int32_t ___hours0, int32_t ___minutes1, int32_t ___seconds2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___hours0;
int32_t L_1 = ___minutes1;
int32_t L_2 = ___seconds2;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
int64_t L_3 = TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632(L_0, L_1, L_2, /*hidden argument*/NULL);
__this->set__ticks_3(L_3);
return;
}
}
IL2CPP_EXTERN_C void TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87_AdjustorThunk (RuntimeObject * __this, int32_t ___hours0, int32_t ___minutes1, int32_t ___seconds2, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87(_thisAdjusted, ___hours0, ___minutes1, ___seconds2, method);
}
// System.Void System.TimeSpan::.ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int32_t ___days0, int32_t ___hours1, int32_t ___minutes2, int32_t ___seconds3, int32_t ___milliseconds4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
int32_t L_0 = ___days0;
int32_t L_1 = ___hours1;
int32_t L_2 = ___minutes2;
int32_t L_3 = ___seconds3;
int32_t L_4 = ___milliseconds4;
V_0 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_0))), (int64_t)(((int64_t)((int64_t)((int32_t)3600)))))), (int64_t)(((int64_t)((int64_t)((int32_t)24)))))), (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_1))), (int64_t)(((int64_t)((int64_t)((int32_t)3600)))))))), (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_2))), (int64_t)(((int64_t)((int64_t)((int32_t)60)))))))), (int64_t)(((int64_t)((int64_t)L_3))))), (int64_t)(((int64_t)((int64_t)((int32_t)1000)))))), (int64_t)(((int64_t)((int64_t)L_4)))));
int64_t L_5 = V_0;
if ((((int64_t)L_5) > ((int64_t)((int64_t)922337203685477LL))))
{
goto IL_0046;
}
}
{
int64_t L_6 = V_0;
if ((((int64_t)L_6) >= ((int64_t)((int64_t)-922337203685477LL))))
{
goto IL_0057;
}
}
IL_0046:
{
String_t* L_7 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_8 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_8, (String_t*)NULL, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5_RuntimeMethod_var);
}
IL_0057:
{
int64_t L_9 = V_0;
__this->set__ticks_3(((int64_t)il2cpp_codegen_multiply((int64_t)L_9, (int64_t)(((int64_t)((int64_t)((int32_t)10000)))))));
return;
}
}
IL2CPP_EXTERN_C void TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5_AdjustorThunk (RuntimeObject * __this, int32_t ___days0, int32_t ___hours1, int32_t ___minutes2, int32_t ___seconds3, int32_t ___milliseconds4, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
TimeSpan__ctor_m310F37AF5F9F91433A98062BF6E4A248AA6C3DE5(_thisAdjusted, ___days0, ___hours1, ___minutes2, ___seconds3, ___milliseconds4, method);
}
// System.Int64 System.TimeSpan::get_Ticks()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return L_0;
}
}
IL2CPP_EXTERN_C int64_t TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline(_thisAdjusted, method);
}
// System.Int32 System.TimeSpan::get_Hours()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Hours_mE248B39F7E3E07DAD257713114E86A1A2C191A45 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return (((int32_t)((int32_t)((int64_t)((int64_t)((int64_t)((int64_t)L_0/(int64_t)((int64_t)36000000000LL)))%(int64_t)(((int64_t)((int64_t)((int32_t)24)))))))));
}
}
IL2CPP_EXTERN_C int32_t TimeSpan_get_Hours_mE248B39F7E3E07DAD257713114E86A1A2C191A45_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_Hours_mE248B39F7E3E07DAD257713114E86A1A2C191A45(_thisAdjusted, method);
}
// System.Int32 System.TimeSpan::get_Minutes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Minutes_mCABF9EE7E7F78368DA0F825F5922C06238DD0F22 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return (((int32_t)((int32_t)((int64_t)((int64_t)((int64_t)((int64_t)L_0/(int64_t)(((int64_t)((int64_t)((int32_t)600000000))))))%(int64_t)(((int64_t)((int64_t)((int32_t)60)))))))));
}
}
IL2CPP_EXTERN_C int32_t TimeSpan_get_Minutes_mCABF9EE7E7F78368DA0F825F5922C06238DD0F22_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_Minutes_mCABF9EE7E7F78368DA0F825F5922C06238DD0F22(_thisAdjusted, method);
}
// System.Double System.TimeSpan::get_TotalHours()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return ((double)il2cpp_codegen_multiply((double)(((double)((double)L_0))), (double)(2.7777777777777777E-11)));
}
}
IL2CPP_EXTERN_C double TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327(_thisAdjusted, method);
}
// System.Double System.TimeSpan::get_TotalMilliseconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
double V_0 = 0.0;
{
int64_t L_0 = __this->get__ticks_3();
V_0 = ((double)il2cpp_codegen_multiply((double)(((double)((double)L_0))), (double)(0.0001)));
double L_1 = V_0;
if ((!(((double)L_1) > ((double)(922337203685477.0)))))
{
goto IL_0028;
}
}
{
return (922337203685477.0);
}
IL_0028:
{
double L_2 = V_0;
if ((!(((double)L_2) < ((double)(-922337203685477.0)))))
{
goto IL_003e;
}
}
{
return (-922337203685477.0);
}
IL_003e:
{
double L_3 = V_0;
return L_3;
}
}
IL2CPP_EXTERN_C double TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_TotalMilliseconds_m48B00B27D485CC556C10A5119BC11E1A1E0FE363(_thisAdjusted, method);
}
// System.Double System.TimeSpan::get_TotalMinutes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalMinutes_m41B6248DF2E4E6CAFC4A1B3C7ECCD9A10CC16C22 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return ((double)il2cpp_codegen_multiply((double)(((double)((double)L_0))), (double)(1.6666666666666667E-09)));
}
}
IL2CPP_EXTERN_C double TimeSpan_get_TotalMinutes_m41B6248DF2E4E6CAFC4A1B3C7ECCD9A10CC16C22_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_TotalMinutes_m41B6248DF2E4E6CAFC4A1B3C7ECCD9A10CC16C22(_thisAdjusted, method);
}
// System.Double System.TimeSpan::get_TotalSeconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return ((double)il2cpp_codegen_multiply((double)(((double)((double)L_0))), (double)(1.0E-07)));
}
}
IL2CPP_EXTERN_C double TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA(_thisAdjusted, method);
}
// System.TimeSpan System.TimeSpan::Add(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
int64_t L_0 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___ts0;
int64_t L_2 = L_1.get__ticks_3();
V_0 = ((int64_t)il2cpp_codegen_add((int64_t)L_0, (int64_t)L_2));
int64_t L_3 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_4 = ___ts0;
int64_t L_5 = L_4.get__ticks_3();
if ((!(((uint64_t)((int64_t)((int64_t)L_3>>(int32_t)((int32_t)63)))) == ((uint64_t)((int64_t)((int64_t)L_5>>(int32_t)((int32_t)63)))))))
{
goto IL_0041;
}
}
{
int64_t L_6 = __this->get__ticks_3();
int64_t L_7 = V_0;
if ((((int64_t)((int64_t)((int64_t)L_6>>(int32_t)((int32_t)63)))) == ((int64_t)((int64_t)((int64_t)L_7>>(int32_t)((int32_t)63))))))
{
goto IL_0041;
}
}
{
String_t* L_8 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B, /*hidden argument*/NULL);
OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * L_9 = (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D *)il2cpp_codegen_object_new(OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var);
OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731(L_9, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507_RuntimeMethod_var);
}
IL_0041:
{
int64_t L_10 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11;
memset((&L_11), 0, sizeof(L_11));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_11), L_10, /*hidden argument*/NULL);
return L_11;
}
}
IL2CPP_EXTERN_C TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507_AdjustorThunk (RuntimeObject * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507(_thisAdjusted, ___ts0, method);
}
// System.Int32 System.TimeSpan::Compare(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_Compare_mFC9864B913645536B276B4AD688D0B9EB5B32AFD (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
if ((((int64_t)L_1) <= ((int64_t)L_3)))
{
goto IL_0010;
}
}
{
return 1;
}
IL_0010:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_4 = ___t10;
int64_t L_5 = L_4.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6 = ___t21;
int64_t L_7 = L_6.get__ticks_3();
if ((((int64_t)L_5) >= ((int64_t)L_7)))
{
goto IL_0020;
}
}
{
return (-1);
}
IL_0020:
{
return 0;
}
}
// System.Int32 System.TimeSpan::CompareTo(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
RuntimeObject * L_0 = ___value0;
if (L_0)
{
goto IL_0005;
}
}
{
return 1;
}
IL_0005:
{
RuntimeObject * L_1 = ___value0;
if (((RuntimeObject *)IsInstSealed((RuntimeObject*)L_1, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var)))
{
goto IL_001d;
}
}
{
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteralBAF34A2547265FEEA14708F8A1A89708432452A6, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B_RuntimeMethod_var);
}
IL_001d:
{
RuntimeObject * L_4 = ___value0;
int64_t L_5 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)UnBox(L_4, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get__ticks_3();
V_0 = L_5;
int64_t L_6 = __this->get__ticks_3();
int64_t L_7 = V_0;
if ((((int64_t)L_6) <= ((int64_t)L_7)))
{
goto IL_0034;
}
}
{
return 1;
}
IL_0034:
{
int64_t L_8 = __this->get__ticks_3();
int64_t L_9 = V_0;
if ((((int64_t)L_8) >= ((int64_t)L_9)))
{
goto IL_003f;
}
}
{
return (-1);
}
IL_003f:
{
return 0;
}
}
IL2CPP_EXTERN_C int32_t TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B_AdjustorThunk (RuntimeObject * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_CompareTo_mF5675C9DD2AA6D97C68CFAAE340B54EC4485564B(_thisAdjusted, ___value0, method);
}
// System.Int32 System.TimeSpan::CompareTo(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_CompareTo_mCC797C9F7FF3BC0D7C8401666BDE7DCE676449E3 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___value0, const RuntimeMethod* method)
{
int64_t V_0 = 0;
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___value0;
int64_t L_1 = L_0.get__ticks_3();
V_0 = L_1;
int64_t L_2 = __this->get__ticks_3();
int64_t L_3 = V_0;
if ((((int64_t)L_2) <= ((int64_t)L_3)))
{
goto IL_0012;
}
}
{
return 1;
}
IL_0012:
{
int64_t L_4 = __this->get__ticks_3();
int64_t L_5 = V_0;
if ((((int64_t)L_4) >= ((int64_t)L_5)))
{
goto IL_001d;
}
}
{
return (-1);
}
IL_001d:
{
return 0;
}
}
IL2CPP_EXTERN_C int32_t TimeSpan_CompareTo_mCC797C9F7FF3BC0D7C8401666BDE7DCE676449E3_AdjustorThunk (RuntimeObject * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___value0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_CompareTo_mCC797C9F7FF3BC0D7C8401666BDE7DCE676449E3(_thisAdjusted, ___value0, method);
}
// System.TimeSpan System.TimeSpan::FromDays(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromDays_m99DCC655C53C2898FF0C41D1DDFE17A749081DDB (double ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_FromDays_m99DCC655C53C2898FF0C41D1DDFE17A749081DDB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732(L_0, ((int32_t)86400000), /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.TimeSpan::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___value0;
if (!((RuntimeObject *)IsInstSealed((RuntimeObject*)L_0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var)))
{
goto IL_001c;
}
}
{
int64_t L_1 = __this->get__ticks_3();
RuntimeObject * L_2 = ___value0;
int64_t L_3 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)UnBox(L_2, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get__ticks_3();
return (bool)((((int64_t)L_1) == ((int64_t)L_3))? 1 : 0);
}
IL_001c:
{
return (bool)0;
}
}
IL2CPP_EXTERN_C bool TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70_AdjustorThunk (RuntimeObject * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_Equals_m7CD315197413EB59DDBCF923AD564E0021E91A70(_thisAdjusted, ___value0, method);
}
// System.Boolean System.TimeSpan::Equals(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_Equals_m03A10C4E2E28E5E56B4342AC0B9C68EC677C67F4 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___obj0, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___obj0;
int64_t L_2 = L_1.get__ticks_3();
return (bool)((((int64_t)L_0) == ((int64_t)L_2))? 1 : 0);
}
}
IL2CPP_EXTERN_C bool TimeSpan_Equals_m03A10C4E2E28E5E56B4342AC0B9C68EC677C67F4_AdjustorThunk (RuntimeObject * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___obj0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_Equals_m03A10C4E2E28E5E56B4342AC0B9C68EC677C67F4(_thisAdjusted, ___obj0, method);
}
// System.Int32 System.TimeSpan::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_GetHashCode_m4FD4BD6B179EDD97650F594B0E671EC8FB1E535F (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
int64_t L_1 = __this->get__ticks_3();
return ((int32_t)((int32_t)(((int32_t)((int32_t)L_0)))^(int32_t)(((int32_t)((int32_t)((int64_t)((int64_t)L_1>>(int32_t)((int32_t)32))))))));
}
}
IL2CPP_EXTERN_C int32_t TimeSpan_GetHashCode_m4FD4BD6B179EDD97650F594B0E671EC8FB1E535F_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_GetHashCode_m4FD4BD6B179EDD97650F594B0E671EC8FB1E535F(_thisAdjusted, method);
}
// System.TimeSpan System.TimeSpan::FromHours(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromHours_m90C3C400E2561055C063148CF7B6D71EE5E52D5F (double ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_FromHours_m90C3C400E2561055C063148CF7B6D71EE5E52D5F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732(L_0, ((int32_t)3600000), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeSpan::Interval(System.Double,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732 (double ___value0, int32_t ___scale1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
double V_0 = 0.0;
double G_B4_0 = 0.0;
double G_B3_0 = 0.0;
double G_B5_0 = 0.0;
double G_B5_1 = 0.0;
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Double_t358B8F23BDC52A5DD700E727E204F9F7CDE12409_il2cpp_TypeInfo_var);
bool L_1 = Double_IsNaN_m5DFBBD58036879B687FEC248C50EACBABE205AB3(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0018;
}
}
{
String_t* L_2 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral7B9E91548E399930C3935F7EC5D98D85C3F78739, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732_RuntimeMethod_var);
}
IL_0018:
{
double L_4 = ___value0;
int32_t L_5 = ___scale1;
double L_6 = ___value0;
G_B3_0 = ((double)il2cpp_codegen_multiply((double)L_4, (double)(((double)((double)L_5)))));
if ((((double)L_6) >= ((double)(0.0))))
{
G_B4_0 = ((double)il2cpp_codegen_multiply((double)L_4, (double)(((double)((double)L_5)))));
goto IL_0033;
}
}
{
G_B5_0 = (-0.5);
G_B5_1 = G_B3_0;
goto IL_003c;
}
IL_0033:
{
G_B5_0 = (0.5);
G_B5_1 = G_B4_0;
}
IL_003c:
{
V_0 = ((double)il2cpp_codegen_add((double)G_B5_1, (double)G_B5_0));
double L_7 = V_0;
if ((((double)L_7) > ((double)(922337203685477.0))))
{
goto IL_0056;
}
}
{
double L_8 = V_0;
if ((!(((double)L_8) < ((double)(-922337203685477.0)))))
{
goto IL_0066;
}
}
IL_0056:
{
String_t* L_9 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B, /*hidden argument*/NULL);
OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * L_10 = (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D *)il2cpp_codegen_object_new(OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var);
OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732_RuntimeMethod_var);
}
IL_0066:
{
double L_11 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_12;
memset((&L_12), 0, sizeof(L_12));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_12), ((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_11))), (int64_t)(((int64_t)((int64_t)((int32_t)10000)))))), /*hidden argument*/NULL);
return L_12;
}
}
// System.TimeSpan System.TimeSpan::FromMilliseconds(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromMilliseconds_mED351BDAFE79A7C08A3F115FB4B5E000CF73900D (double ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_FromMilliseconds_mED351BDAFE79A7C08A3F115FB4B5E000CF73900D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732(L_0, 1, /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeSpan::FromMinutes(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromMinutes_m3038BAC5BAB62262567D7BB3AE6DD845FC985BC2 (double ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_FromMinutes_m3038BAC5BAB62262567D7BB3AE6DD845FC985BC2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732(L_0, ((int32_t)60000), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeSpan::Negate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_0;
memset((&V_0), 0, sizeof(V_0));
{
int64_t L_0 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get_MinValue_2();
V_0 = L_1;
int64_t L_2 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_0), /*hidden argument*/NULL);
if ((!(((uint64_t)L_0) == ((uint64_t)L_2))))
{
goto IL_0025;
}
}
{
String_t* L_3 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral6CB021F4DE5A59C914CE2FD45BD52E5CA6A397FC, /*hidden argument*/NULL);
OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * L_4 = (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D *)il2cpp_codegen_object_new(OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var);
OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731(L_4, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33_RuntimeMethod_var);
}
IL_0025:
{
int64_t L_5 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6;
memset((&L_6), 0, sizeof(L_6));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_6), ((-L_5)), /*hidden argument*/NULL);
return L_6;
}
}
IL2CPP_EXTERN_C TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_Negate_m0DC5231DD5489EB3A8A7AE9AC30F83CBD3987C33(_thisAdjusted, method);
}
// System.TimeSpan System.TimeSpan::FromSeconds(System.Double)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromSeconds_mB18CB94089B3DA3B1B059BBE90367A9928AEE5CA (double ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_FromSeconds_mB18CB94089B3DA3B1B059BBE90367A9928AEE5CA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
double L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Interval_mC54779784D1D81AF3B63161397F31CF7ECDD7732(L_0, ((int32_t)1000), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeSpan::Subtract(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
int64_t L_0 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___ts0;
int64_t L_2 = L_1.get__ticks_3();
V_0 = ((int64_t)il2cpp_codegen_subtract((int64_t)L_0, (int64_t)L_2));
int64_t L_3 = __this->get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_4 = ___ts0;
int64_t L_5 = L_4.get__ticks_3();
if ((((int64_t)((int64_t)((int64_t)L_3>>(int32_t)((int32_t)63)))) == ((int64_t)((int64_t)((int64_t)L_5>>(int32_t)((int32_t)63))))))
{
goto IL_0041;
}
}
{
int64_t L_6 = __this->get__ticks_3();
int64_t L_7 = V_0;
if ((((int64_t)((int64_t)((int64_t)L_6>>(int32_t)((int32_t)63)))) == ((int64_t)((int64_t)((int64_t)L_7>>(int32_t)((int32_t)63))))))
{
goto IL_0041;
}
}
{
String_t* L_8 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B, /*hidden argument*/NULL);
OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * L_9 = (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D *)il2cpp_codegen_object_new(OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var);
OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731(L_9, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0_RuntimeMethod_var);
}
IL_0041:
{
int64_t L_10 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11;
memset((&L_11), 0, sizeof(L_11));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_11), L_10, /*hidden argument*/NULL);
return L_11;
}
}
IL2CPP_EXTERN_C TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0_AdjustorThunk (RuntimeObject * __this, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___ts0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0(_thisAdjusted, ___ts0, method);
}
// System.TimeSpan System.TimeSpan::FromTicks(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_FromTicks_mDF1F429F18294D57DE2739DBD2F33637E4E5F8F4 (int64_t ___value0, const RuntimeMethod* method)
{
{
int64_t L_0 = ___value0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1;
memset((&L_1), 0, sizeof(L_1));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_1), L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Int64 System.TimeSpan::TimeToTicks(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632 (int32_t ___hour0, int32_t ___minute1, int32_t ___second2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
{
int32_t L_0 = ___hour0;
int32_t L_1 = ___minute1;
int32_t L_2 = ___second2;
V_0 = ((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_0))), (int64_t)(((int64_t)((int64_t)((int32_t)3600)))))), (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((int64_t)L_1))), (int64_t)(((int64_t)((int64_t)((int32_t)60)))))))), (int64_t)(((int64_t)((int64_t)L_2)))));
int64_t L_3 = V_0;
if ((((int64_t)L_3) > ((int64_t)((int64_t)922337203685LL))))
{
goto IL_002c;
}
}
{
int64_t L_4 = V_0;
if ((((int64_t)L_4) >= ((int64_t)((int64_t)-922337203685LL))))
{
goto IL_003d;
}
}
IL_002c:
{
String_t* L_5 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral3E817DFC269EB4946CD544A6A97B106296C3940B, /*hidden argument*/NULL);
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_6 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m300CE4D04A068C209FD858101AC361C1B600B5AE(L_6, (String_t*)NULL, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, TimeSpan_TimeToTicks_m30D961C24084E95EA9FE0565B87FCFFE24DD3632_RuntimeMethod_var);
}
IL_003d:
{
int64_t L_7 = V_0;
return ((int64_t)il2cpp_codegen_multiply((int64_t)L_7, (int64_t)(((int64_t)((int64_t)((int32_t)10000000))))));
}
}
// System.String System.TimeSpan::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = (*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpanFormat_t90CBC39FE99AC515E1F68FE55DBA3D8515F19B51_il2cpp_TypeInfo_var);
String_t* L_1 = TimeSpanFormat_Format_mDFAF627CECBD00A1DDB27D3D812974B3A2875B8F(L_0, (String_t*)NULL, (RuntimeObject*)NULL, /*hidden argument*/NULL);
return L_1;
}
}
IL2CPP_EXTERN_C String_t* TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_ToString_m3D31EDB779332CA887A4CB9BD1CA781C59B79EA8(_thisAdjusted, method);
}
// System.String System.TimeSpan::ToString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, String_t* ___format0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = (*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)__this);
String_t* L_1 = ___format0;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpanFormat_t90CBC39FE99AC515E1F68FE55DBA3D8515F19B51_il2cpp_TypeInfo_var);
String_t* L_2 = TimeSpanFormat_Format_mDFAF627CECBD00A1DDB27D3D812974B3A2875B8F(L_0, L_1, (RuntimeObject*)NULL, /*hidden argument*/NULL);
return L_2;
}
}
IL2CPP_EXTERN_C String_t* TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF_AdjustorThunk (RuntimeObject * __this, String_t* ___format0, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF(_thisAdjusted, ___format0, method);
}
// System.String System.TimeSpan::ToString(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, String_t* ___format0, RuntimeObject* ___formatProvider1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_0 = TimeSpan_get_LegacyMode_mB9C63B017249E99A978D2977C6172848EFBA30F8(/*hidden argument*/NULL);
if (!L_0)
{
goto IL_0015;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = (*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)__this);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpanFormat_t90CBC39FE99AC515E1F68FE55DBA3D8515F19B51_il2cpp_TypeInfo_var);
String_t* L_2 = TimeSpanFormat_Format_mDFAF627CECBD00A1DDB27D3D812974B3A2875B8F(L_1, (String_t*)NULL, (RuntimeObject*)NULL, /*hidden argument*/NULL);
return L_2;
}
IL_0015:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_3 = (*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)__this);
String_t* L_4 = ___format0;
RuntimeObject* L_5 = ___formatProvider1;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpanFormat_t90CBC39FE99AC515E1F68FE55DBA3D8515F19B51_il2cpp_TypeInfo_var);
String_t* L_6 = TimeSpanFormat_Format_mDFAF627CECBD00A1DDB27D3D812974B3A2875B8F(L_3, L_4, L_5, /*hidden argument*/NULL);
return L_6;
}
}
IL2CPP_EXTERN_C String_t* TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F_AdjustorThunk (RuntimeObject * __this, String_t* ___format0, RuntimeObject* ___formatProvider1, const RuntimeMethod* method)
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * _thisAdjusted = reinterpret_cast<TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *>(__this + 1);
return TimeSpan_ToString_m9486CD30DB9A51A6AA51C2672FCB1DFEF074FC9F(_thisAdjusted, ___format0, ___formatProvider1, method);
}
// System.TimeSpan System.TimeSpan::op_UnaryNegation(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_op_UnaryNegation_mE162391DEAE6790EAD1844A11220F4378811E948 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_op_UnaryNegation_mE162391DEAE6790EAD1844A11220F4378811E948_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t0;
int64_t L_1 = L_0.get__ticks_3();
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get_MinValue_2();
int64_t L_3 = L_2.get__ticks_3();
if ((!(((uint64_t)L_1) == ((uint64_t)L_3))))
{
goto IL_0022;
}
}
{
String_t* L_4 = Environment_GetResourceString_m2C75C2AF268F01E2BF34AD1C2E1352CF4BA51AD9(_stringLiteral6CB021F4DE5A59C914CE2FD45BD52E5CA6A397FC, /*hidden argument*/NULL);
OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D * L_5 = (OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D *)il2cpp_codegen_object_new(OverflowException_tD89571E2350DE06D9DE4AB65ADCA77D607B5693D_il2cpp_TypeInfo_var);
OverflowException__ctor_mE1A042FFEBF00B79612E8595B8D49785B357D731(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, TimeSpan_op_UnaryNegation_mE162391DEAE6790EAD1844A11220F4378811E948_RuntimeMethod_var);
}
IL_0022:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6 = ___t0;
int64_t L_7 = L_6.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8;
memset((&L_8), 0, sizeof(L_8));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_8), ((-L_7)), /*hidden argument*/NULL);
return L_8;
}
}
// System.TimeSpan System.TimeSpan::op_Subtraction(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_op_Subtraction_m5978CE5FCEB3D59AF0BC52AF838BFE3237AE8B23 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t21;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Subtract_m9A5CA898BD0D57AE22E8E19548B8D635961A71C0((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___t10), L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeSpan::op_Addition(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t21;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeSpan_Add_mC4C54D4AF8C34EF36288176B85FF2F488A7C5507((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___t10), L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.TimeSpan::op_Equality(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_Equality_mEA0A4B7FDCAFA54C636292F7EB76F9A16C44096D (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int64_t)L_1) == ((int64_t)L_3))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::op_Inequality(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_Inequality_mEAE207F8B9A9B42CC33F4DE882E69E98C09065FC (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int32_t)((((int64_t)L_1) == ((int64_t)L_3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::op_LessThan(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int64_t)L_1) < ((int64_t)L_3))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::op_LessThanOrEqual(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_LessThanOrEqual_mFFB6826BC19E5E63E62697EF3A81B84CD529E83B (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int32_t)((((int64_t)L_1) > ((int64_t)L_3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::op_GreaterThan(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486 (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int64_t)L_1) > ((int64_t)L_3))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::op_GreaterThanOrEqual(System.TimeSpan,System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_op_GreaterThanOrEqual_m7FE9830EF2AAD2BB65628A0FE7F7C70161BB4D9B (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t10, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___t21, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = ___t10;
int64_t L_1 = L_0.get__ticks_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = ___t21;
int64_t L_3 = L_2.get__ticks_3();
return (bool)((((int32_t)((((int64_t)L_1) < ((int64_t)L_3))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.TimeSpan::GetLegacyFormatMode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ((CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields*)il2cpp_codegen_static_fields_for(CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_il2cpp_TypeInfo_var))->get_IsAppEarlierThanSilverlight4_0();
return L_0;
}
}
// System.Boolean System.TimeSpan::get_LegacyMode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeSpan_get_LegacyMode_mB9C63B017249E99A978D2977C6172848EFBA30F8 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_get_LegacyMode_mB9C63B017249E99A978D2977C6172848EFBA30F8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_0 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get__legacyConfigChecked_4();
il2cpp_codegen_memory_barrier();
if (L_0)
{
goto IL_001d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_1 = TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8_inline(/*hidden argument*/NULL);
il2cpp_codegen_memory_barrier();
((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->set__legacyMode_5(L_1);
il2cpp_codegen_memory_barrier();
((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->set__legacyConfigChecked_4(1);
}
IL_001d:
{
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_2 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get__legacyMode_5();
il2cpp_codegen_memory_barrier();
return L_2;
}
}
// System.Void System.TimeSpan::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeSpan__cctor_m4277FE003AF4295BD502DDC59770B07A497C1CBE (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan__cctor_m4277FE003AF4295BD502DDC59770B07A497C1CBE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0;
memset((&L_0), 0, sizeof(L_0));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_0), (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->set_Zero_0(L_0);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1;
memset((&L_1), 0, sizeof(L_1));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_1), ((int64_t)(std::numeric_limits<int64_t>::max)()), /*hidden argument*/NULL);
((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->set_MaxValue_1(L_1);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2;
memset((&L_2), 0, sizeof(L_2));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_2), ((int64_t)(std::numeric_limits<int64_t>::min)()), /*hidden argument*/NULL);
((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->set_MinValue_2(L_2);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.TimeType::.ctor(System.Int32,System.Boolean,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeType__ctor_m28FA06EC6A851C81414A6435BE25D1FD494FFE03 (TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * __this, int32_t ___offset0, bool ___is_dst1, String_t* ___abbrev2, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___offset0;
__this->set_Offset_0(L_0);
bool L_1 = ___is_dst1;
__this->set_IsDst_1(L_1);
String_t* L_2 = ___abbrev2;
__this->set_Name_2(L_2);
return;
}
}
// System.String System.TimeType::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeType_ToString_m038596EE0936A7854ECC6E84EE9BF236B3DA2BA4 (TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeType_ToString_m038596EE0936A7854ECC6E84EE9BF236B3DA2BA4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_1 = L_0;
NullCheck(L_1);
ArrayElementTypeCheck (L_1, _stringLiteral1AD0E9342E3C33991ED3887D6306B249546F0C7B);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteral1AD0E9342E3C33991ED3887D6306B249546F0C7B);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = L_1;
int32_t L_3 = __this->get_Offset_0();
int32_t L_4 = L_3;
RuntimeObject * L_5 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_4);
NullCheck(L_2);
ArrayElementTypeCheck (L_2, L_5);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_5);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = L_2;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteral168E598D868A0CC9140604911551C2FC496E3A05);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral168E598D868A0CC9140604911551C2FC496E3A05);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_7 = L_6;
bool L_8 = __this->get_IsDst_1();
V_0 = L_8;
String_t* L_9 = Boolean_ToString_m62D1EFD5F6D5F6B6AF0D14A07BF5741C94413301((bool*)(&V_0), /*hidden argument*/NULL);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_9);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_9);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_10 = L_7;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, _stringLiteral222A297D18FF1387F7919DAD802CF73BA68A5B9C);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral222A297D18FF1387F7919DAD802CF73BA68A5B9C);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_11 = L_10;
String_t* L_12 = __this->get_Name_2();
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_12);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_12);
String_t* L_13 = String_Concat_mB7BA84F13912303B2E5E40FBF0109E1A328ACA07(L_11, /*hidden argument*/NULL);
return L_13;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.TimeZone::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZone__ctor_mBD56855E65E61A15C21F434032207DF5469CEF31 (TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.TimeZone::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZone__cctor_mF4FC3AB8D82A4A380D166F0F60CE193D51FA07D8 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZone__cctor_mF4FC3AB8D82A4A380D166F0F60CE193D51FA07D8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(L_0, /*hidden argument*/NULL);
((TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454_StaticFields*)il2cpp_codegen_static_fields_for(TimeZone_tA2DF435DA1A379978B885F0872A93774666B7454_il2cpp_TypeInfo_var))->set_tz_lock_0(L_0);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean System.TimeZoneInfo::UtcOffsetOutOfRange(System.TimeSpan)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_UtcOffsetOutOfRange_m90D343BE5ACC4FA2B82B2801550A1D44C72F3E6C (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___offset0, const RuntimeMethod* method)
{
{
double L_0 = TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___offset0), /*hidden argument*/NULL);
if ((((double)L_0) < ((double)(-14.0))))
{
goto IL_0025;
}
}
{
double L_1 = TimeSpan_get_TotalHours_mE5E189FF852CBC3046D1B584D2DC6B541D0BD327((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___offset0), /*hidden argument*/NULL);
return (bool)((((double)L_1) > ((double)(14.0)))? 1 : 0);
}
IL_0025:
{
return (bool)1;
}
}
// System.Collections.Generic.List`1<System.TimeZoneInfo_AdjustmentRule> System.TimeZoneInfo::CreateAdjustmentRule(System.Int32,System.Int64[]&,System.String[]&,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217 (int32_t ___year0, Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** ___data1, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** ___names2, String_t* ___standardNameCurrentYear3, String_t* ___daylightNameCurrentYear4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_0 = NULL;
bool V_1 = false;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_3;
memset((&V_3), 0, sizeof(V_3));
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_4;
memset((&V_4), 0, sizeof(V_4));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_5;
memset((&V_5), 0, sizeof(V_5));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_6;
memset((&V_6), 0, sizeof(V_6));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_7;
memset((&V_7), 0, sizeof(V_7));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_8;
memset((&V_8), 0, sizeof(V_8));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_9;
memset((&V_9), 0, sizeof(V_9));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_10 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_11;
memset((&V_11), 0, sizeof(V_11));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_12;
memset((&V_12), 0, sizeof(V_12));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_13;
memset((&V_13), 0, sizeof(V_13));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_14 = NULL;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_15;
memset((&V_15), 0, sizeof(V_15));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_16;
memset((&V_16), 0, sizeof(V_16));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_17 = NULL;
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_0 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_0, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_0 = L_0;
int32_t L_1 = ___year0;
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** L_2 = ___data1;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** L_3 = ___names2;
bool L_4 = CurrentSystemTimeZone_GetTimeZoneData_m24EC5AA1CB7F2E2809CE4C2EE66FDB062C2EAFCF(L_1, (Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)L_2, (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)L_3, (bool*)(&V_1), /*hidden argument*/NULL);
if (L_4)
{
goto IL_0014;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_5 = V_0;
return L_5;
}
IL_0014:
{
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** L_6 = ___data1;
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* L_7 = *((Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)L_6);
NullCheck(L_7);
int32_t L_8 = 0;
int64_t L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
DateTime__ctor_m027A935E14EB81BCC0739BD56AE60CDE3387990C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), L_9, /*hidden argument*/NULL);
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** L_10 = ___data1;
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* L_11 = *((Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)L_10);
NullCheck(L_11);
int32_t L_12 = 1;
int64_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
DateTime__ctor_m027A935E14EB81BCC0739BD56AE60CDE3387990C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), L_13, /*hidden argument*/NULL);
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F** L_14 = ___data1;
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* L_15 = *((Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)L_14);
NullCheck(L_15);
int32_t L_16 = 3;
int64_t L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_4), L_17, /*hidden argument*/NULL);
String_t* L_18 = ___standardNameCurrentYear3;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** L_19 = ___names2;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_20 = *((StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)L_19);
NullCheck(L_20);
int32_t L_21 = 0;
String_t* L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
bool L_23 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_18, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_0043;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_24 = V_0;
return L_24;
}
IL_0043:
{
String_t* L_25 = ___daylightNameCurrentYear4;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** L_26 = ___names2;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_27 = *((StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)L_26);
NullCheck(L_27);
int32_t L_28 = 1;
String_t* L_29 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
bool L_30 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_25, L_29, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_0052;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_31 = V_0;
return L_31;
}
IL_0052:
{
int32_t L_32 = ___year0;
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), L_32, 1, 1, 0, 0, 0, 0, /*hidden argument*/NULL);
int32_t L_33 = ___year0;
int32_t L_34 = ___year0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
int32_t L_35 = DateTime_DaysInMonth_mE979D12858E0D6CC14576D283B5AB66AA53B9F90(L_34, ((int32_t)12), /*hidden argument*/NULL);
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_6), L_33, ((int32_t)12), L_35, /*hidden argument*/NULL);
int32_t L_36 = ___year0;
int32_t L_37 = ___year0;
int32_t L_38 = DateTime_DaysInMonth_mE979D12858E0D6CC14576D283B5AB66AA53B9F90(L_37, ((int32_t)12), /*hidden argument*/NULL);
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_7), L_36, ((int32_t)12), L_38, ((int32_t)23), ((int32_t)59), ((int32_t)59), ((int32_t)999), /*hidden argument*/NULL);
bool L_39 = V_1;
if (L_39)
{
goto IL_010a;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_40;
memset((&L_40), 0, sizeof(L_40));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_40), 1, 1, 1, /*hidden argument*/NULL);
V_11 = L_40;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_41 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_42 = DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), L_41, /*hidden argument*/NULL);
int32_t L_43 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_44 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_45 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_42, L_43, L_44, /*hidden argument*/NULL);
V_8 = L_45;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_46;
memset((&L_46), 0, sizeof(L_46));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_46), 1, 1, 1, /*hidden argument*/NULL);
V_11 = L_46;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_47 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_48 = DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), L_47, /*hidden argument*/NULL);
int32_t L_49 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
int32_t L_50 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_51 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_48, L_49, L_50, /*hidden argument*/NULL);
V_9 = L_51;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_52 = V_5;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_53 = V_6;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_54 = V_4;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_55 = V_8;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_56 = V_9;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_57 = AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935(L_52, L_53, L_54, L_55, L_56, /*hidden argument*/NULL);
V_10 = L_57;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_58 = V_0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_59 = V_10;
NullCheck(L_58);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_58, L_59, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
goto IL_021c;
}
IL_010a:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_60;
memset((&L_60), 0, sizeof(L_60));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_60), 1, 1, 1, /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_61 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_60, 1, 1, /*hidden argument*/NULL);
V_12 = L_61;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_62;
memset((&L_62), 0, sizeof(L_62));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_62), 1, 1, 1, /*hidden argument*/NULL);
V_11 = L_62;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_63 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_64 = DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), L_63, /*hidden argument*/NULL);
int32_t L_65 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_66 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_67 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_64, L_65, L_66, /*hidden argument*/NULL);
V_13 = L_67;
int32_t L_68 = ___year0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_69;
memset((&L_69), 0, sizeof(L_69));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_69), L_68, 1, 1, /*hidden argument*/NULL);
int32_t L_70 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_71 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_72 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_73;
memset((&L_73), 0, sizeof(L_73));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_73), L_70, L_71, L_72, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_74 = V_4;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_75 = V_12;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_76 = V_13;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_77 = AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935(L_69, L_73, L_74, L_75, L_76, /*hidden argument*/NULL);
V_14 = L_77;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_78 = V_0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_79 = V_14;
NullCheck(L_78);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_78, L_79, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_80;
memset((&L_80), 0, sizeof(L_80));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_80), 1, 1, 1, /*hidden argument*/NULL);
V_11 = L_80;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_81 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_82 = DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), L_81, /*hidden argument*/NULL);
int32_t L_83 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
int32_t L_84 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_85 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_82, L_83, L_84, /*hidden argument*/NULL);
V_15 = L_85;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_86;
memset((&L_86), 0, sizeof(L_86));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_86), 1, 1, 1, /*hidden argument*/NULL);
V_11 = L_86;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_87 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_7), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_88 = DateTime_Add_mA4F1A47C77858AC06AF07CCE9BDFF32F442B27DB((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), L_87, /*hidden argument*/NULL);
int32_t L_89 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_7), /*hidden argument*/NULL);
int32_t L_90 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_7), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_91 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_88, L_89, L_90, /*hidden argument*/NULL);
V_16 = L_91;
int32_t L_92 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_93 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
int32_t L_94 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_95;
memset((&L_95), 0, sizeof(L_95));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_95), L_92, L_93, L_94, /*hidden argument*/NULL);
V_11 = L_95;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_96 = DateTime_AddDays_mB11D2BB2D7DD6944D1071809574A951258F94D8E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), (1.0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_97 = V_6;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_98 = V_4;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_99 = V_15;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_100 = V_16;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_101 = AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935(L_96, L_97, L_98, L_99, L_100, /*hidden argument*/NULL);
V_17 = L_101;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_102 = V_0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_103 = V_17;
NullCheck(L_102);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_102, L_103, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
}
IL_021c:
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_104 = V_0;
return L_104;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateLocalUnity()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* V_0 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_4;
memset((&V_4), 0, sizeof(V_4));
Il2CppChar V_5 = 0x0;
String_t* V_6 = NULL;
String_t* V_7 = NULL;
String_t* V_8 = NULL;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_9 = NULL;
bool V_10 = false;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_11;
memset((&V_11), 0, sizeof(V_11));
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_15 = NULL;
int32_t V_16 = 0;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_17 = NULL;
int32_t G_B5_0 = 0;
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * G_B16_0 = NULL;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * G_B16_1 = NULL;
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * G_B15_0 = NULL;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * G_B15_1 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = DateTime_get_UtcNow_m171F52F4B3A213E4BAD7B78DC8E794A269DE38A1(/*hidden argument*/NULL);
V_11 = L_0;
int32_t L_1 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_11), /*hidden argument*/NULL);
V_3 = L_1;
int32_t L_2 = V_3;
bool L_3 = CurrentSystemTimeZone_GetTimeZoneData_m24EC5AA1CB7F2E2809CE4C2EE66FDB062C2EAFCF(L_2, (Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)(&V_0), (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)(&V_1), (bool*)(&V_2), /*hidden argument*/NULL);
if (L_3)
{
goto IL_0028;
}
}
{
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_4 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_4, _stringLiteralF632347943CA4E8CC8339626FD5E7D507C6E5C81, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA_RuntimeMethod_var);
}
IL_0028:
{
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = 2;
int64_t L_7 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8 = TimeSpan_FromTicks_mDF1F429F18294D57DE2739DBD2F33637E4E5F8F4(L_7, /*hidden argument*/NULL);
V_4 = L_8;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_9 = V_4;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_10 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get_Zero_0();
bool L_11 = TimeSpan_op_GreaterThanOrEqual_m7FE9830EF2AAD2BB65628A0FE7F7C70161BB4D9B(L_9, L_10, /*hidden argument*/NULL);
if (L_11)
{
goto IL_0044;
}
}
{
G_B5_0 = ((int32_t)45);
goto IL_0046;
}
IL_0044:
{
G_B5_0 = ((int32_t)43);
}
IL_0046:
{
V_5 = G_B5_0;
String_t* L_12 = Char_ToString_mA42A88FEBA41B72D48BB24373E3101B7A91B6FD8((Il2CppChar*)(&V_5), /*hidden argument*/NULL);
String_t* L_13 = TimeSpan_ToString_m8931E09D0B73F3CF436C70E02D74E14F5479B9BF((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_4), _stringLiteral0BE186D40CC51422D8F602B64FE0068673C79138, /*hidden argument*/NULL);
String_t* L_14 = String_Concat_mDD2E38332DED3A8C088D38D78A0E0BEB5091DA64(_stringLiteralDDB0D01193ED435B77174CFA9313A4E94E2B4FD5, L_12, L_13, _stringLiteralD25FC308E967C0107DD8D8FCA45D38FEC31F5CF1, /*hidden argument*/NULL);
V_6 = L_14;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_15 = V_1;
NullCheck(L_15);
int32_t L_16 = 0;
String_t* L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
V_7 = L_17;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_18 = V_1;
NullCheck(L_18);
int32_t L_19 = 1;
String_t* L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_8 = L_20;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_21 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_21, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_9 = L_21;
Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F* L_22 = V_0;
NullCheck(L_22);
int32_t L_23 = 3;
int64_t L_24 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
V_10 = (bool)((((int64_t)L_24) == ((int64_t)(((int64_t)((int64_t)0)))))? 1 : 0);
bool L_25 = V_10;
if (L_25)
{
goto IL_012d;
}
}
{
V_12 = ((int32_t)1971);
V_13 = ((int32_t)2037);
int32_t L_26 = V_3;
V_14 = L_26;
goto IL_00ca;
}
IL_00a0:
{
int32_t L_27 = V_14;
String_t* L_28 = V_7;
String_t* L_29 = V_8;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_30 = TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217(L_27, (Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)(&V_0), (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)(&V_1), L_28, L_29, /*hidden argument*/NULL);
V_15 = L_30;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_31 = V_15;
NullCheck(L_31);
int32_t L_32 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_31, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if ((((int32_t)L_32) <= ((int32_t)0)))
{
goto IL_00d0;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_33 = V_9;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_34 = V_15;
NullCheck(L_33);
List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86(L_33, L_34, /*hidden argument*/List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86_RuntimeMethod_var);
int32_t L_35 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)1));
}
IL_00ca:
{
int32_t L_36 = V_14;
int32_t L_37 = V_13;
if ((((int32_t)L_36) <= ((int32_t)L_37)))
{
goto IL_00a0;
}
}
IL_00d0:
{
int32_t L_38 = V_3;
V_16 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)1));
goto IL_0101;
}
IL_00d7:
{
int32_t L_39 = V_16;
String_t* L_40 = V_7;
String_t* L_41 = V_8;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_42 = TimeZoneInfo_CreateAdjustmentRule_m91309BB1DD028055DF1162AF2C32E3B49B205217(L_39, (Int64U5BU5D_tE04A3DEF6AF1C852A43B98A24EFB715806B37F5F**)(&V_0), (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E**)(&V_1), L_40, L_41, /*hidden argument*/NULL);
V_17 = L_42;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_43 = V_17;
NullCheck(L_43);
int32_t L_44 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_43, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if ((((int32_t)L_44) <= ((int32_t)0)))
{
goto IL_0107;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_45 = V_9;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_46 = V_17;
NullCheck(L_45);
List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86(L_45, L_46, /*hidden argument*/List_1_AddRange_m6A63D4FE58AC9BB75CFFAC71A9F238D5D2FA6B86_RuntimeMethod_var);
int32_t L_47 = V_16;
V_16 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_47, (int32_t)1));
}
IL_0101:
{
int32_t L_48 = V_16;
int32_t L_49 = V_12;
if ((((int32_t)L_48) >= ((int32_t)L_49)))
{
goto IL_00d7;
}
}
IL_0107:
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_50 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var);
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * L_51 = ((U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var))->get_U3CU3E9__19_0_1();
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * L_52 = L_51;
G_B15_0 = L_52;
G_B15_1 = L_50;
if (L_52)
{
G_B16_0 = L_52;
G_B16_1 = L_50;
goto IL_0128;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var);
U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7 * L_53 = ((U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * L_54 = (Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 *)il2cpp_codegen_object_new(Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6_il2cpp_TypeInfo_var);
Comparison_1__ctor_mE0538E25387B755D53C0B704CB16ED1F23AD18E0(L_54, L_53, (intptr_t)((intptr_t)U3CU3Ec_U3CCreateLocalUnityU3Eb__19_0_m55743CD9DA788A9D4D21F215C405D7EF527EDF15_RuntimeMethod_var), /*hidden argument*/Comparison_1__ctor_mE0538E25387B755D53C0B704CB16ED1F23AD18E0_RuntimeMethod_var);
Comparison_1_tD28744463320E1F22A90E02BFEE7967364ABCAA6 * L_55 = L_54;
((U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tBED9E1805554B1EFE14027A8400694336FCEE2F7_il2cpp_TypeInfo_var))->set_U3CU3E9__19_0_1(L_55);
G_B16_0 = L_55;
G_B16_1 = G_B15_1;
}
IL_0128:
{
NullCheck(G_B16_1);
List_1_Sort_m3B256FB508DAF70D63EBA562343E275EC0308919(G_B16_1, G_B16_0, /*hidden argument*/List_1_Sort_m3B256FB508DAF70D63EBA562343E275EC0308919_RuntimeMethod_var);
}
IL_012d:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_56 = V_4;
String_t* L_57 = V_6;
String_t* L_58 = V_7;
String_t* L_59 = V_8;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_60 = V_9;
NullCheck(L_60);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_61 = List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1(L_60, /*hidden argument*/List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1_RuntimeMethod_var);
bool L_62 = V_10;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_63 = TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A(_stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630, L_56, L_57, L_58, L_59, L_61, L_62, /*hidden argument*/NULL);
return L_63;
}
}
#if FORCE_PINVOKE_INTERNAL
IL2CPP_EXTERN_C uint32_t DEFAULT_CALL EnumDynamicTimeZoneInformation(uint32_t, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
#endif
// System.UInt32 System.TimeZoneInfo::EnumDynamicTimeZoneInformation(System.UInt32,System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_EnumDynamicTimeZoneInformation_mA9B80840DB7EFA7A20521562B5D00BEA0545D3D3 (uint32_t ___dwIndex0, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___lpTimeZoneInformation1, const RuntimeMethod* method)
{
typedef uint32_t (DEFAULT_CALL *PInvokeFunc) (uint32_t, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(uint32_t) + sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("api-ms-win-core-timezone-l1-1-0.dll"), "EnumDynamicTimeZoneInformation", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'EnumDynamicTimeZoneInformation'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___lpTimeZoneInformation1' to native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke ____lpTimeZoneInformation1_empty = {};
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke* ____lpTimeZoneInformation1_marshaled = &____lpTimeZoneInformation1_empty;
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
uint32_t returnValue = reinterpret_cast<PInvokeFunc>(EnumDynamicTimeZoneInformation)(___dwIndex0, ____lpTimeZoneInformation1_marshaled);
#else
uint32_t returnValue = il2cppPInvokeFunc(___dwIndex0, ____lpTimeZoneInformation1_marshaled);
#endif
// Marshaling of parameter '___lpTimeZoneInformation1' back from native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F _____lpTimeZoneInformation1_marshaled_unmarshaled_dereferenced;
memset((&_____lpTimeZoneInformation1_marshaled_unmarshaled_dereferenced), 0, sizeof(_____lpTimeZoneInformation1_marshaled_unmarshaled_dereferenced));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(*____lpTimeZoneInformation1_marshaled, _____lpTimeZoneInformation1_marshaled_unmarshaled_dereferenced);
*___lpTimeZoneInformation1 = _____lpTimeZoneInformation1_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((&((___lpTimeZoneInformation1)->___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((___lpTimeZoneInformation1)->___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___lpTimeZoneInformation1)->___TimeZoneKeyName_1), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___lpTimeZoneInformation1' native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(*____lpTimeZoneInformation1_marshaled);
return returnValue;
}
#if FORCE_PINVOKE_INTERNAL
IL2CPP_EXTERN_C uint32_t DEFAULT_CALL GetDynamicTimeZoneInformation(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
#endif
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformation(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformation_m98112C4EC3EC3C78A62FD422F73DC66309DA08F0 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pTimeZoneInformation0, const RuntimeMethod* method)
{
typedef uint32_t (DEFAULT_CALL *PInvokeFunc) (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("api-ms-win-core-timezone-l1-1-0.dll"), "GetDynamicTimeZoneInformation", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetDynamicTimeZoneInformation'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___pTimeZoneInformation0' to native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke ____pTimeZoneInformation0_empty = {};
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke* ____pTimeZoneInformation0_marshaled = &____pTimeZoneInformation0_empty;
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
uint32_t returnValue = reinterpret_cast<PInvokeFunc>(GetDynamicTimeZoneInformation)(____pTimeZoneInformation0_marshaled);
#else
uint32_t returnValue = il2cppPInvokeFunc(____pTimeZoneInformation0_marshaled);
#endif
// Marshaling of parameter '___pTimeZoneInformation0' back from native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
memset((&_____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced), 0, sizeof(_____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(*____pTimeZoneInformation0_marshaled, _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced);
*___pTimeZoneInformation0 = _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((&((___pTimeZoneInformation0)->___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((___pTimeZoneInformation0)->___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___pTimeZoneInformation0)->___TimeZoneKeyName_1), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___pTimeZoneInformation0' native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(*____pTimeZoneInformation0_marshaled);
return returnValue;
}
#if FORCE_PINVOKE_INTERNAL
#endif
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformationWin32(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformationWin32_mD44C73EC6EF2106606DB096D99DE652AC2351A4A (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pTimeZoneInformation0, const RuntimeMethod* method)
{
typedef uint32_t (DEFAULT_CALL *PInvokeFunc) (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("kernel32.dll"), "GetDynamicTimeZoneInformation", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetDynamicTimeZoneInformationWin32'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___pTimeZoneInformation0' to native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke ____pTimeZoneInformation0_empty = {};
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke* ____pTimeZoneInformation0_marshaled = &____pTimeZoneInformation0_empty;
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
uint32_t returnValue = reinterpret_cast<PInvokeFunc>(GetDynamicTimeZoneInformation)(____pTimeZoneInformation0_marshaled);
#else
uint32_t returnValue = il2cppPInvokeFunc(____pTimeZoneInformation0_marshaled);
#endif
// Marshaling of parameter '___pTimeZoneInformation0' back from native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
memset((&_____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced), 0, sizeof(_____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(*____pTimeZoneInformation0_marshaled, _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced);
*___pTimeZoneInformation0 = _____pTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((&((___pTimeZoneInformation0)->___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((___pTimeZoneInformation0)->___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___pTimeZoneInformation0)->___TimeZoneKeyName_1), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___pTimeZoneInformation0' native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(*____pTimeZoneInformation0_marshaled);
return returnValue;
}
#if FORCE_PINVOKE_INTERNAL
IL2CPP_EXTERN_C uint32_t DEFAULT_CALL GetDynamicTimeZoneInformationEffectiveYears(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*, uint32_t*, uint32_t*);
#endif
// System.UInt32 System.TimeZoneInfo::GetDynamicTimeZoneInformationEffectiveYears(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&,System.UInt32&,System.UInt32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t TimeZoneInfo_GetDynamicTimeZoneInformationEffectiveYears_mD84BD6607A090CF1D7A8C82DE00770D2CAFDFC14 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___lpTimeZoneInformation0, uint32_t* ___FirstYear1, uint32_t* ___LastYear2, const RuntimeMethod* method)
{
typedef uint32_t (DEFAULT_CALL *PInvokeFunc) (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*, uint32_t*, uint32_t*);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*) + sizeof(uint32_t*) + sizeof(uint32_t*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("api-ms-win-core-timezone-l1-1-0.dll"), "GetDynamicTimeZoneInformationEffectiveYears", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetDynamicTimeZoneInformationEffectiveYears'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___lpTimeZoneInformation0' to native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke* ____lpTimeZoneInformation0_marshaled = NULL;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke ____lpTimeZoneInformation0_marshaled_dereferenced = {};
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke(*___lpTimeZoneInformation0, ____lpTimeZoneInformation0_marshaled_dereferenced);
____lpTimeZoneInformation0_marshaled = &____lpTimeZoneInformation0_marshaled_dereferenced;
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
uint32_t returnValue = reinterpret_cast<PInvokeFunc>(GetDynamicTimeZoneInformationEffectiveYears)(____lpTimeZoneInformation0_marshaled, ___FirstYear1, ___LastYear2);
#else
uint32_t returnValue = il2cppPInvokeFunc(____lpTimeZoneInformation0_marshaled, ___FirstYear1, ___LastYear2);
#endif
// Marshaling of parameter '___lpTimeZoneInformation0' back from native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F _____lpTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
memset((&_____lpTimeZoneInformation0_marshaled_unmarshaled_dereferenced), 0, sizeof(_____lpTimeZoneInformation0_marshaled_unmarshaled_dereferenced));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(*____lpTimeZoneInformation0_marshaled, _____lpTimeZoneInformation0_marshaled_unmarshaled_dereferenced);
*___lpTimeZoneInformation0 = _____lpTimeZoneInformation0_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((&((___lpTimeZoneInformation0)->___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((___lpTimeZoneInformation0)->___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___lpTimeZoneInformation0)->___TimeZoneKeyName_1), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___lpTimeZoneInformation0' native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(*____lpTimeZoneInformation0_marshaled);
return returnValue;
}
#if FORCE_PINVOKE_INTERNAL
IL2CPP_EXTERN_C int32_t DEFAULT_CALL GetTimeZoneInformationForYear(uint16_t, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke*);
#endif
// System.Boolean System.TimeZoneInfo::GetTimeZoneInformationForYear(System.UInt16,System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&,System.TimeZoneInfo_TIME_ZONE_INFORMATION&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_GetTimeZoneInformationForYear_m7E665C3816CE3BF020B6813B81C8FF892B0D9DC3 (uint16_t ___wYear0, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___pdtzi1, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * ___ptzi2, const RuntimeMethod* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (uint16_t, DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*, TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke*);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(uint16_t) + 2 + sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke*) + sizeof(TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke*);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("api-ms-win-core-timezone-l1-1-0.dll"), "GetTimeZoneInformationForYear", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'GetTimeZoneInformationForYear'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___pdtzi1' to native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke* ____pdtzi1_marshaled = NULL;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshaled_pinvoke ____pdtzi1_marshaled_dereferenced = {};
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke(*___pdtzi1, ____pdtzi1_marshaled_dereferenced);
____pdtzi1_marshaled = &____pdtzi1_marshaled_dereferenced;
// Marshaling of parameter '___ptzi2' to native representation
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke ____ptzi2_empty = {};
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshaled_pinvoke* ____ptzi2_marshaled = &____ptzi2_empty;
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
int32_t returnValue = reinterpret_cast<PInvokeFunc>(GetTimeZoneInformationForYear)(___wYear0, ____pdtzi1_marshaled, ____ptzi2_marshaled);
#else
int32_t returnValue = il2cppPInvokeFunc(___wYear0, ____pdtzi1_marshaled, ____ptzi2_marshaled);
#endif
// Marshaling of parameter '___pdtzi1' back from native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F _____pdtzi1_marshaled_unmarshaled_dereferenced;
memset((&_____pdtzi1_marshaled_unmarshaled_dereferenced), 0, sizeof(_____pdtzi1_marshaled_unmarshaled_dereferenced));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_back(*____pdtzi1_marshaled, _____pdtzi1_marshaled_unmarshaled_dereferenced);
*___pdtzi1 = _____pdtzi1_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((&((___pdtzi1)->___TZI_0))->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((&((___pdtzi1)->___TZI_0))->___DaylightName_4), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___pdtzi1)->___TimeZoneKeyName_1), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___pdtzi1' native representation
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F_marshal_pinvoke_cleanup(*____pdtzi1_marshaled);
// Marshaling of parameter '___ptzi2' back from native representation
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 _____ptzi2_marshaled_unmarshaled_dereferenced;
memset((&_____ptzi2_marshaled_unmarshaled_dereferenced), 0, sizeof(_____ptzi2_marshaled_unmarshaled_dereferenced));
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshal_pinvoke_back(*____ptzi2_marshaled, _____ptzi2_marshaled_unmarshaled_dereferenced);
*___ptzi2 = _____ptzi2_marshaled_unmarshaled_dereferenced;
Il2CppCodeGenWriteBarrier((void**)&((___ptzi2)->___StandardName_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((___ptzi2)->___DaylightName_4), (void*)NULL);
#endif
// Marshaling cleanup of parameter '___ptzi2' native representation
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811_marshal_pinvoke_cleanup(*____ptzi2_marshaled);
return static_cast<bool>(returnValue);
}
// System.TimeZoneInfo_AdjustmentRule System.TimeZoneInfo::CreateAdjustmentRuleFromTimeZoneInformation(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION&,System.DateTime,System.DateTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * ___timeZoneInformation0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___startDate1, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___endDate2, int32_t ___defaultBaseUtcOffset3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_0;
memset((&V_0), 0, sizeof(V_0));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_1;
memset((&V_1), 0, sizeof(V_1));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_0 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_1 = L_0->get_address_of_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 * L_2 = L_1->get_address_of_StandardDate_2();
uint16_t L_3 = L_2->get_wMonth_1();
if (((!(((uint32_t)L_3) <= ((uint32_t)0)))? 1 : 0))
{
goto IL_006f;
}
}
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_4 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_5 = L_4->get_address_of_TZI_0();
int32_t L_6 = L_5->get_Bias_0();
int32_t L_7 = ___defaultBaseUtcOffset3;
if ((!(((uint32_t)L_6) == ((uint32_t)L_7))))
{
goto IL_0025;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0025:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_8 = ___startDate1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_9 = ___endDate2;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_10 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get_Zero_0();
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_11 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_12 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_11, 1, 1, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_2 = L_13;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_14 = DateTime_AddMilliseconds_mD93AB4338708397D6030FF082EBB3FC8C3E195F2((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), (1.0), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_15 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_14, 1, 1, /*hidden argument*/NULL);
int32_t L_16 = ___defaultBaseUtcOffset3;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_17 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_18 = L_17->get_address_of_TZI_0();
int32_t L_19 = L_18->get_Bias_0();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_20;
memset((&L_20), 0, sizeof(L_20));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_20), 0, ((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)L_19)), 0, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_21 = AdjustmentRule_CreateAdjustmentRule_mB15A8247120D71B44A45115C4ABD819A6DFCFD67(L_8, L_9, L_10, L_12, L_15, L_20, /*hidden argument*/NULL);
return L_21;
}
IL_006f:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_22 = ___timeZoneInformation0;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_23 = (*(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)L_22);
bool L_24 = TimeZoneInfo_TransitionTimeFromTimeZoneInformation_mB2907D018D3F74650B0214133DA2632953A52575(L_23, (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&V_0), (bool)1, /*hidden argument*/NULL);
if (L_24)
{
goto IL_0081;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0081:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_25 = ___timeZoneInformation0;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_26 = (*(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)L_25);
bool L_27 = TimeZoneInfo_TransitionTimeFromTimeZoneInformation_mB2907D018D3F74650B0214133DA2632953A52575(L_26, (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&V_1), (bool)0, /*hidden argument*/NULL);
if (L_27)
{
goto IL_0093;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0093:
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_28 = V_1;
bool L_29 = TransitionTime_Equals_m8A0240236B27E6EE75B5FA2F96A1C992F835B010((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&V_0), L_28, /*hidden argument*/NULL);
if (!L_29)
{
goto IL_009f;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_009f:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_30 = ___startDate1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_31 = ___endDate2;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_32 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_33 = L_32->get_address_of_TZI_0();
int32_t L_34 = L_33->get_DaylightBias_6();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_35;
memset((&L_35), 0, sizeof(L_35));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_35), 0, ((-L_34)), 0, /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_36 = V_0;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_37 = V_1;
int32_t L_38 = ___defaultBaseUtcOffset3;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F * L_39 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_40 = L_39->get_address_of_TZI_0();
int32_t L_41 = L_40->get_Bias_0();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_42;
memset((&L_42), 0, sizeof(L_42));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_42), 0, ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_41)), 0, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_43 = AdjustmentRule_CreateAdjustmentRule_mB15A8247120D71B44A45115C4ABD819A6DFCFD67(L_30, L_31, L_35, L_36, L_37, L_42, /*hidden argument*/NULL);
return L_43;
}
}
// System.Boolean System.TimeZoneInfo::TransitionTimeFromTimeZoneInformation(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION,System.TimeZoneInfo_TransitionTime&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TransitionTimeFromTimeZoneInformation_mB2907D018D3F74650B0214133DA2632953A52575 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F ___timeZoneInformation0, TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * ___transitionTime1, bool ___readStartDate2, const RuntimeMethod* method)
{
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_0 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_1 = L_0.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_2 = L_1.get_StandardDate_2();
uint16_t L_3 = L_2.get_wMonth_1();
if (((!(((uint32_t)L_3) <= ((uint32_t)0)))? 1 : 0))
{
goto IL_001e;
}
}
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * L_4 = ___transitionTime1;
il2cpp_codegen_initobj(L_4, sizeof(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ));
return (bool)0;
}
IL_001e:
{
bool L_5 = ___readStartDate2;
if (!L_5)
{
goto IL_0139;
}
}
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_6 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_7 = L_6.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_8 = L_7.get_DaylightDate_5();
uint16_t L_9 = L_8.get_wYear_0();
if (L_9)
{
goto IL_00c1;
}
}
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * L_10 = ___transitionTime1;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_11 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_12 = L_11.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_13 = L_12.get_DaylightDate_5();
uint16_t L_14 = L_13.get_wHour_4();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_15 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_16 = L_15.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_17 = L_16.get_DaylightDate_5();
uint16_t L_18 = L_17.get_wMinute_5();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_19 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_20 = L_19.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_21 = L_20.get_DaylightDate_5();
uint16_t L_22 = L_21.get_wSecond_6();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_23 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_24 = L_23.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_25 = L_24.get_DaylightDate_5();
uint16_t L_26 = L_25.get_wMilliseconds_7();
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27;
memset((&L_27), 0, sizeof(L_27));
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((&L_27), 1, 1, 1, L_14, L_18, L_22, L_26, /*hidden argument*/NULL);
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_28 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_29 = L_28.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_30 = L_29.get_DaylightDate_5();
uint16_t L_31 = L_30.get_wMonth_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_32 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_33 = L_32.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_34 = L_33.get_DaylightDate_5();
uint16_t L_35 = L_34.get_wDay_3();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_36 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_37 = L_36.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_38 = L_37.get_DaylightDate_5();
uint16_t L_39 = L_38.get_wDayOfWeek_2();
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_40 = TransitionTime_CreateFloatingDateRule_mF22316F8D071F0D8AAE9981156D6CD87637A327E(L_27, L_31, L_35, L_39, /*hidden argument*/NULL);
*(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)L_10 = L_40;
goto IL_0246;
}
IL_00c1:
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * L_41 = ___transitionTime1;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_42 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_43 = L_42.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_44 = L_43.get_DaylightDate_5();
uint16_t L_45 = L_44.get_wHour_4();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_46 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_47 = L_46.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_48 = L_47.get_DaylightDate_5();
uint16_t L_49 = L_48.get_wMinute_5();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_50 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_51 = L_50.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_52 = L_51.get_DaylightDate_5();
uint16_t L_53 = L_52.get_wSecond_6();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_54 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_55 = L_54.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_56 = L_55.get_DaylightDate_5();
uint16_t L_57 = L_56.get_wMilliseconds_7();
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_58;
memset((&L_58), 0, sizeof(L_58));
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((&L_58), 1, 1, 1, L_45, L_49, L_53, L_57, /*hidden argument*/NULL);
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_59 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_60 = L_59.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_61 = L_60.get_DaylightDate_5();
uint16_t L_62 = L_61.get_wMonth_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_63 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_64 = L_63.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_65 = L_64.get_DaylightDate_5();
uint16_t L_66 = L_65.get_wDay_3();
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_67 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_58, L_62, L_66, /*hidden argument*/NULL);
*(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)L_41 = L_67;
goto IL_0246;
}
IL_0139:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_68 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_69 = L_68.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_70 = L_69.get_StandardDate_2();
uint16_t L_71 = L_70.get_wYear_0();
if (L_71)
{
goto IL_01d3;
}
}
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * L_72 = ___transitionTime1;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_73 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_74 = L_73.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_75 = L_74.get_StandardDate_2();
uint16_t L_76 = L_75.get_wHour_4();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_77 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_78 = L_77.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_79 = L_78.get_StandardDate_2();
uint16_t L_80 = L_79.get_wMinute_5();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_81 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_82 = L_81.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_83 = L_82.get_StandardDate_2();
uint16_t L_84 = L_83.get_wSecond_6();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_85 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_86 = L_85.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_87 = L_86.get_StandardDate_2();
uint16_t L_88 = L_87.get_wMilliseconds_7();
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_89;
memset((&L_89), 0, sizeof(L_89));
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((&L_89), 1, 1, 1, L_76, L_80, L_84, L_88, /*hidden argument*/NULL);
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_90 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_91 = L_90.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_92 = L_91.get_StandardDate_2();
uint16_t L_93 = L_92.get_wMonth_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_94 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_95 = L_94.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_96 = L_95.get_StandardDate_2();
uint16_t L_97 = L_96.get_wDay_3();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_98 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_99 = L_98.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_100 = L_99.get_StandardDate_2();
uint16_t L_101 = L_100.get_wDayOfWeek_2();
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_102 = TransitionTime_CreateFloatingDateRule_mF22316F8D071F0D8AAE9981156D6CD87637A327E(L_89, L_93, L_97, L_101, /*hidden argument*/NULL);
*(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)L_72 = L_102;
goto IL_0246;
}
IL_01d3:
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * L_103 = ___transitionTime1;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_104 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_105 = L_104.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_106 = L_105.get_StandardDate_2();
uint16_t L_107 = L_106.get_wHour_4();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_108 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_109 = L_108.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_110 = L_109.get_StandardDate_2();
uint16_t L_111 = L_110.get_wMinute_5();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_112 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_113 = L_112.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_114 = L_113.get_StandardDate_2();
uint16_t L_115 = L_114.get_wSecond_6();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_116 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_117 = L_116.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_118 = L_117.get_StandardDate_2();
uint16_t L_119 = L_118.get_wMilliseconds_7();
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_120;
memset((&L_120), 0, sizeof(L_120));
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((&L_120), 1, 1, 1, L_107, L_111, L_115, L_119, /*hidden argument*/NULL);
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_121 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_122 = L_121.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_123 = L_122.get_StandardDate_2();
uint16_t L_124 = L_123.get_wMonth_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_125 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_126 = L_125.get_TZI_0();
SYSTEMTIME_tB7F532B6AEC26D9270A30C57600C31F2622DF7A2 L_127 = L_126.get_StandardDate_2();
uint16_t L_128 = L_127.get_wDay_3();
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_129 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_120, L_124, L_128, /*hidden argument*/NULL);
*(TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)L_103 = L_129;
}
IL_0246:
{
return (bool)1;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::TryCreateTimeZone(System.TimeZoneInfo_DYNAMIC_TIME_ZONE_INFORMATION)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4 (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F ___timeZoneInformation0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
uint32_t V_1 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_2 = NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_3 = NULL;
int32_t V_4 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_5;
memset((&V_5), 0, sizeof(V_5));
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F V_6;
memset((&V_6), 0, sizeof(V_6));
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_7 = NULL;
uint32_t V_8 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = 0;
V_1 = 0;
V_3 = (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)NULL;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_0 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_1 = L_0.get_TZI_0();
int32_t L_2 = L_1.get_Bias_0();
V_4 = L_2;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_3 = ___timeZoneInformation0;
String_t* L_4 = L_3.get_TimeZoneKeyName_1();
bool L_5 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0022;
}
}
{
return (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
}
IL_0022:
{
}
IL_0023:
try
{ // begin try (depth: 1)
{
uint32_t L_6 = TimeZoneInfo_GetDynamicTimeZoneInformationEffectiveYears_mD84BD6607A090CF1D7A8C82DE00770D2CAFDFC14((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&___timeZoneInformation0), (uint32_t*)(&V_0), (uint32_t*)(&V_1), /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0034;
}
}
IL_0030:
{
int32_t L_7 = 0;
V_1 = L_7;
V_0 = L_7;
}
IL_0034:
{
goto IL_003d;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0036;
throw e;
}
CATCH_0036:
{ // begin catch(System.Object)
int32_t L_8 = 0;
V_1 = L_8;
V_0 = L_8;
goto IL_003d;
} // end catch (depth: 1)
IL_003d:
{
uint32_t L_9 = V_0;
uint32_t L_10 = V_1;
if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
{
goto IL_007d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_11 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_5 = L_11;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MaxValue_32();
V_5 = L_13;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_14 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), /*hidden argument*/NULL);
int32_t L_15 = V_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_16 = TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&___timeZoneInformation0), L_12, L_14, L_15, /*hidden argument*/NULL);
V_2 = L_16;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_17 = V_2;
if (!L_17)
{
goto IL_016e;
}
}
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_18 = (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)SZArrayNew(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_il2cpp_TypeInfo_var, (uint32_t)1);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_19 = L_18;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_20 = V_2;
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_20);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(0), (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)L_20);
V_3 = L_19;
goto IL_016e;
}
IL_007d:
{
il2cpp_codegen_initobj((&V_6), sizeof(DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F ));
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_21 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_21, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_7 = L_21;
uint32_t L_22 = V_0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_23 = (&V_6)->get_address_of_TZI_0();
bool L_24 = TimeZoneInfo_GetTimeZoneInformationForYear_m7E665C3816CE3BF020B6813B81C8FF892B0D9DC3((uint16_t)(((int32_t)((uint16_t)L_22))), (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&___timeZoneInformation0), (TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 *)L_23, /*hidden argument*/NULL);
if (L_24)
{
goto IL_00a0;
}
}
{
return (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
}
IL_00a0:
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_25 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_5 = L_25;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_26 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), /*hidden argument*/NULL);
uint32_t L_27 = V_0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_28;
memset((&L_28), 0, sizeof(L_28));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_28), L_27, ((int32_t)12), ((int32_t)31), /*hidden argument*/NULL);
int32_t L_29 = V_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_30 = TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_6), L_26, L_28, L_29, /*hidden argument*/NULL);
V_2 = L_30;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_31 = V_2;
if (!L_31)
{
goto IL_00cd;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_32 = V_7;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_33 = V_2;
NullCheck(L_32);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_32, L_33, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
}
IL_00cd:
{
uint32_t L_34 = V_0;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
goto IL_0118;
}
IL_00d4:
{
uint32_t L_35 = V_8;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_36 = (&V_6)->get_address_of_TZI_0();
bool L_37 = TimeZoneInfo_GetTimeZoneInformationForYear_m7E665C3816CE3BF020B6813B81C8FF892B0D9DC3((uint16_t)(((int32_t)((uint16_t)L_35))), (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&___timeZoneInformation0), (TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 *)L_36, /*hidden argument*/NULL);
if (L_37)
{
goto IL_00e9;
}
}
{
return (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
}
IL_00e9:
{
uint32_t L_38 = V_8;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_39;
memset((&L_39), 0, sizeof(L_39));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_39), L_38, 1, 1, /*hidden argument*/NULL);
uint32_t L_40 = V_8;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_41;
memset((&L_41), 0, sizeof(L_41));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_41), L_40, ((int32_t)12), ((int32_t)31), /*hidden argument*/NULL);
int32_t L_42 = V_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_43 = TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_6), L_39, L_41, L_42, /*hidden argument*/NULL);
V_2 = L_43;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_44 = V_2;
if (!L_44)
{
goto IL_0112;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_45 = V_7;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_46 = V_2;
NullCheck(L_45);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_45, L_46, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
}
IL_0112:
{
uint32_t L_47 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_47, (int32_t)1));
}
IL_0118:
{
uint32_t L_48 = V_8;
uint32_t L_49 = V_1;
if ((!(((uint32_t)L_48) >= ((uint32_t)L_49))))
{
goto IL_00d4;
}
}
{
uint32_t L_50 = V_1;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 * L_51 = (&V_6)->get_address_of_TZI_0();
bool L_52 = TimeZoneInfo_GetTimeZoneInformationForYear_m7E665C3816CE3BF020B6813B81C8FF892B0D9DC3((uint16_t)(((int32_t)((uint16_t)L_50))), (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&___timeZoneInformation0), (TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 *)L_51, /*hidden argument*/NULL);
if (L_52)
{
goto IL_0131;
}
}
{
return (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
}
IL_0131:
{
uint32_t L_53 = V_1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_54;
memset((&L_54), 0, sizeof(L_54));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_54), L_53, 1, 1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_55 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MaxValue_32();
V_5 = L_55;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_56 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), /*hidden argument*/NULL);
int32_t L_57 = V_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_58 = TimeZoneInfo_CreateAdjustmentRuleFromTimeZoneInformation_m2F69E15F97EACDA6A80A979A0C225BBB24B02F49((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_6), L_54, L_56, L_57, /*hidden argument*/NULL);
V_2 = L_58;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_59 = V_2;
if (!L_59)
{
goto IL_015c;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_60 = V_7;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_61 = V_2;
NullCheck(L_60);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_60, L_61, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
}
IL_015c:
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_62 = V_7;
NullCheck(L_62);
int32_t L_63 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_62, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if ((((int32_t)L_63) <= ((int32_t)0)))
{
goto IL_016e;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_64 = V_7;
NullCheck(L_64);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_65 = List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1(L_64, /*hidden argument*/List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1_RuntimeMethod_var);
V_3 = L_65;
}
IL_016e:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_66 = ___timeZoneInformation0;
String_t* L_67 = L_66.get_TimeZoneKeyName_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_68 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_69 = L_68.get_TZI_0();
int32_t L_70 = L_69.get_Bias_0();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_71;
memset((&L_71), 0, sizeof(L_71));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_71), 0, ((-L_70)), 0, /*hidden argument*/NULL);
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_72 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_73 = L_72.get_TZI_0();
String_t* L_74 = L_73.get_StandardName_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_75 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_76 = L_75.get_TZI_0();
String_t* L_77 = L_76.get_StandardName_1();
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_78 = ___timeZoneInformation0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_79 = L_78.get_TZI_0();
String_t* L_80 = L_79.get_DaylightName_4();
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_81 = V_3;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_82 = (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)il2cpp_codegen_object_new(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var);
TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5(L_82, L_67, L_71, L_74, L_77, L_80, L_81, (bool)0, /*hidden argument*/NULL);
return L_82;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::GetLocalTimeZoneInfoWinRTFallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_GetLocalTimeZoneInfoWinRTFallback_mAC4FAB77907E048A003EDB46ACA0A2B3665AAC15 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetLocalTimeZoneInfoWinRTFallback_mAC4FAB77907E048A003EDB46ACA0A2B3665AAC15_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F V_0;
memset((&V_0), 0, sizeof(V_0));
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_1 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * G_B5_0 = NULL;
IL_0000:
try
{ // begin try (depth: 1)
{
uint32_t L_0 = TimeZoneInfo_GetDynamicTimeZoneInformation_m98112C4EC3EC3C78A62FD422F73DC66309DA08F0((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)(-1)))))
{
goto IL_0012;
}
}
IL_000a:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
V_2 = L_1;
goto IL_0030;
}
IL_0012:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_2 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4(L_2, /*hidden argument*/NULL);
V_1 = L_3;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_4 = V_1;
if (L_4)
{
goto IL_0023;
}
}
IL_001c:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
G_B5_0 = L_5;
goto IL_0024;
}
IL_0023:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = V_1;
G_B5_0 = L_6;
}
IL_0024:
{
V_2 = G_B5_0;
goto IL_0030;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0027;
throw e;
}
CATCH_0027:
{ // begin catch(System.Object)
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
V_2 = L_7;
goto IL_0030;
} // end catch (depth: 1)
IL_0030:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = V_2;
return L_8;
}
}
// System.String System.TimeZoneInfo::GetLocalTimeZoneKeyNameWin32Fallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_GetLocalTimeZoneKeyNameWin32Fallback_m135325753C0EB2FFA39439FCAFF86BC41D8DC1A3 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetLocalTimeZoneKeyNameWin32Fallback_m135325753C0EB2FFA39439FCAFF86BC41D8DC1A3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F V_0;
memset((&V_0), 0, sizeof(V_0));
String_t* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 5);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
uint32_t L_0 = TimeZoneInfo_GetDynamicTimeZoneInformationWin32_mD44C73EC6EF2106606DB096D99DE652AC2351A4A((DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)(-1)))))
{
goto IL_000e;
}
}
IL_000a:
{
V_1 = (String_t*)NULL;
goto IL_004d;
}
IL_000e:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_1 = V_0;
String_t* L_2 = L_1.get_TimeZoneKeyName_1();
bool L_3 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0024;
}
}
IL_001b:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_4 = V_0;
String_t* L_5 = L_4.get_TimeZoneKeyName_1();
V_1 = L_5;
goto IL_004d;
}
IL_0024:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_6 = V_0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_7 = L_6.get_TZI_0();
String_t* L_8 = L_7.get_StandardName_1();
bool L_9 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_8, /*hidden argument*/NULL);
if (L_9)
{
goto IL_0044;
}
}
IL_0036:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_10 = V_0;
TIME_ZONE_INFORMATION_tE8C6F24D5D50D01E03E52B00DDF74849F3DE9811 L_11 = L_10.get_TZI_0();
String_t* L_12 = L_11.get_StandardName_1();
V_1 = L_12;
goto IL_004d;
}
IL_0044:
{
V_1 = (String_t*)NULL;
goto IL_004d;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0048;
throw e;
}
CATCH_0048:
{ // begin catch(System.Object)
V_1 = (String_t*)NULL;
goto IL_004d;
} // end catch (depth: 1)
IL_004d:
{
String_t* L_13 = V_1;
return L_13;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByIdWinRTFallback(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483 (String_t* ___id0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_1 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * L_0 = TimeZoneInfo_GetSystemTimeZones_mEA58988461DB651BAAEFE60B72EBCC2403FCDC3A(/*hidden argument*/NULL);
NullCheck(L_0);
RuntimeObject* L_1 = ReadOnlyCollection_1_GetEnumerator_m99D19158C39B54528C9227F6F986B66D499C0B42(L_0, /*hidden argument*/ReadOnlyCollection_1_GetEnumerator_m99D19158C39B54528C9227F6F986B66D499C0B42_RuntimeMethod_var);
V_0 = L_1;
}
IL_000b:
try
{ // begin try (depth: 1)
{
goto IL_0027;
}
IL_000d:
{
RuntimeObject* L_2 = V_0;
NullCheck(L_2);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = InterfaceFuncInvoker0< TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<System.TimeZoneInfo>::get_Current() */, IEnumerator_1_t06E561A91115B283FAF267723103A4A703276008_il2cpp_TypeInfo_var, L_2);
V_1 = L_3;
String_t* L_4 = ___id0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = V_1;
NullCheck(L_5);
String_t* L_6 = TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline(L_5, /*hidden argument*/NULL);
int32_t L_7 = String_Compare_m5BD1EF8904C9B13BEDB7A876B122F117B317B442(L_4, L_6, 4, /*hidden argument*/NULL);
if (L_7)
{
goto IL_0027;
}
}
IL_0023:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = V_1;
V_2 = L_8;
IL2CPP_LEAVE(0x41, FINALLY_0031);
}
IL_0027:
{
RuntimeObject* L_9 = V_0;
NullCheck(L_9);
bool L_10 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_9);
if (L_10)
{
goto IL_000d;
}
}
IL_002f:
{
IL2CPP_LEAVE(0x3B, FINALLY_0031);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0031;
}
FINALLY_0031:
{ // begin finally (depth: 1)
{
RuntimeObject* L_11 = V_0;
if (!L_11)
{
goto IL_003a;
}
}
IL_0034:
{
RuntimeObject* L_12 = V_0;
NullCheck(L_12);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_12);
}
IL_003a:
{
IL2CPP_END_FINALLY(49)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(49)
{
IL2CPP_JUMP_TBL(0x41, IL_0041)
IL2CPP_JUMP_TBL(0x3B, IL_003b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_003b:
{
TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * L_13 = (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 *)il2cpp_codegen_object_new(TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var);
TimeZoneNotFoundException__ctor_m13C5CB453D2842823AA85B9B4E422C42D659FA19(L_13, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483_RuntimeMethod_var);
}
IL_0041:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_14 = V_2;
return L_14;
}
}
// System.Collections.Generic.List`1<System.TimeZoneInfo> System.TimeZoneInfo::GetSystemTimeZonesWinRTFallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * TimeZoneInfo_GetSystemTimeZonesWinRTFallback_m6A927CC8A8AC235866DC2399C990A32C6BF846D0 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetSystemTimeZonesWinRTFallback_m6A927CC8A8AC235866DC2399C990A32C6BF846D0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * V_0 = NULL;
uint32_t V_1 = 0;
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F V_2;
memset((&V_2), 0, sizeof(V_2));
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_0 = (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *)il2cpp_codegen_object_new(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD_il2cpp_TypeInfo_var);
List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23(L_0, /*hidden argument*/List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23_RuntimeMethod_var);
V_0 = L_0;
}
IL_0006:
try
{ // begin try (depth: 1)
{
V_1 = 0;
goto IL_001b;
}
IL_000a:
{
DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F L_1 = V_2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_TryCreateTimeZone_m61B74EA70226BCF8AAD99419AD574B6459E1E3B4(L_1, /*hidden argument*/NULL);
V_3 = L_2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = V_3;
if (!L_3)
{
goto IL_001b;
}
}
IL_0014:
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_4 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = V_3;
NullCheck(L_4);
List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5(L_4, L_5, /*hidden argument*/List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5_RuntimeMethod_var);
}
IL_001b:
{
uint32_t L_6 = V_1;
uint32_t L_7 = L_6;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
uint32_t L_8 = TimeZoneInfo_EnumDynamicTimeZoneInformation_mA9B80840DB7EFA7A20521562B5D00BEA0545D3D3(L_7, (DYNAMIC_TIME_ZONE_INFORMATION_tE2A7A07ADC8726A5FC7954EA9CDE9168756C9B1F *)(&V_2), /*hidden argument*/NULL);
if ((!(((uint32_t)L_8) == ((uint32_t)((int32_t)259)))))
{
goto IL_000a;
}
}
IL_002e:
{
goto IL_0033;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0030;
throw e;
}
CATCH_0030:
{ // begin catch(System.Object)
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = List_1_get_Count_mEAB0A1E6130424B195D6DBFD71FAB35A51BA5337_inline(L_9, /*hidden argument*/List_1_get_Count_mEAB0A1E6130424B195D6DBFD71FAB35A51BA5337_RuntimeMethod_var);
if (L_10)
{
goto IL_0046;
}
}
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_11 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_12 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
NullCheck(L_11);
List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5(L_11, L_12, /*hidden argument*/List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5_RuntimeMethod_var);
}
IL_0046:
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_13 = V_0;
return L_13;
}
}
// System.TimeSpan System.TimeZoneInfo::get_BaseUtcOffset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = __this->get_baseUtcOffset_0();
return L_0;
}
}
// System.String System.TimeZoneInfo::get_DisplayName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_DisplayName_m583E6E48EAA12F6D87191F71AAE821481F8B006A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_displayName_2();
return L_0;
}
}
// System.String System.TimeZoneInfo::get_Id()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_id_3();
return L_0;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::get_Local()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_0 = NULL;
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_local_4();
V_0 = L_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = V_0;
if (L_1)
{
goto IL_002c;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_CreateLocal_m15C54141FB316F34FA44CA5B96CC02E2CB2F0638(/*hidden argument*/NULL);
V_0 = L_2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = V_0;
if (L_3)
{
goto IL_0018;
}
}
{
TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * L_4 = (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 *)il2cpp_codegen_object_new(TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var);
TimeZoneNotFoundException__ctor_m13C5CB453D2842823AA85B9B4E422C42D659FA19(L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD_RuntimeMethod_var);
}
IL_0018:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = InterlockedCompareExchangeImpl<TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *>((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 **)(((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_address_of_local_4()), L_5, (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL);
if (!L_6)
{
goto IL_002c;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_local_4();
V_0 = L_7;
}
IL_002c:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = V_0;
return L_8;
}
}
#if FORCE_PINVOKE_INTERNAL
IL2CPP_EXTERN_C int32_t DEFAULT_CALL readlink(char*, uint8_t*, int32_t);
#endif
// System.Int32 System.TimeZoneInfo::readlink(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_readlink_m42B2B8CB1D4B7CCFE6FBBD7ABD10314EAE094F55 (String_t* ___path0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer1, int32_t ___buflen2, const RuntimeMethod* method)
{
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (char*, uint8_t*, int32_t);
#if !FORCE_PINVOKE_INTERNAL
static PInvokeFunc il2cppPInvokeFunc;
if (il2cppPInvokeFunc == NULL)
{
int parameterSize = sizeof(char*) + sizeof(void*) + sizeof(int32_t);
il2cppPInvokeFunc = il2cpp_codegen_resolve_pinvoke<PInvokeFunc>(IL2CPP_NATIVE_STRING("libc"), "readlink", IL2CPP_CALL_DEFAULT, CHARSET_NOT_SPECIFIED, parameterSize, false);
if (il2cppPInvokeFunc == NULL)
{
IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_not_supported_exception("Unable to find method for p/invoke: 'readlink'"), NULL, NULL);
}
}
#endif
// Marshaling of parameter '___path0' to native representation
char* ____path0_marshaled = NULL;
____path0_marshaled = il2cpp_codegen_marshal_string(___path0);
// Marshaling of parameter '___buffer1' to native representation
uint8_t* ____buffer1_marshaled = NULL;
if (___buffer1 != NULL)
{
____buffer1_marshaled = reinterpret_cast<uint8_t*>((___buffer1)->GetAddressAtUnchecked(0));
}
// Native function invocation
#if FORCE_PINVOKE_INTERNAL
int32_t returnValue = reinterpret_cast<PInvokeFunc>(readlink)(____path0_marshaled, ____buffer1_marshaled, ___buflen2);
#else
int32_t returnValue = il2cppPInvokeFunc(____path0_marshaled, ____buffer1_marshaled, ___buflen2);
#endif
// Marshaling cleanup of parameter '___path0' native representation
il2cpp_codegen_marshal_free(____path0_marshaled);
____path0_marshaled = NULL;
return returnValue;
}
// System.String System.TimeZoneInfo::readlink(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_readlink_m36675E5C86E478A8F522061E1AE5DD3F441F1413 (String_t* ___path0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_readlink_m36675E5C86E478A8F522061E1AE5DD3F441F1413_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* V_2 = NULL;
int32_t V_3 = 0;
String_t* V_4 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_readlinkNotFound_6();
if (!L_0)
{
goto IL_0009;
}
}
{
return (String_t*)NULL;
}
IL_0009:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)512));
V_0 = L_1;
}
IL_0014:
try
{ // begin try (depth: 1)
String_t* L_2 = ___path0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
NullCheck(L_4);
int32_t L_5 = TimeZoneInfo_readlink_m42B2B8CB1D4B7CCFE6FBBD7ABD10314EAE094F55(L_2, L_3, (((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)))), /*hidden argument*/NULL);
V_1 = L_5;
goto IL_0039;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (DllNotFoundException_tED90B6A78D4CF5AA565288E0BA88A990062A7F76_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0021;
if(il2cpp_codegen_class_is_assignable_from (EntryPointNotFoundException_tCF689617164B79AD85A41DADB38D27BD1E10B279_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_002d;
throw e;
}
CATCH_0021:
{ // begin catch(System.DllNotFoundException)
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_readlinkNotFound_6((bool)1);
V_4 = (String_t*)NULL;
goto IL_0063;
} // end catch (depth: 1)
CATCH_002d:
{ // begin catch(System.EntryPointNotFoundException)
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_readlinkNotFound_6((bool)1);
V_4 = (String_t*)NULL;
goto IL_0063;
} // end catch (depth: 1)
IL_0039:
{
int32_t L_6 = V_1;
if ((!(((uint32_t)L_6) == ((uint32_t)(-1)))))
{
goto IL_003f;
}
}
{
return (String_t*)NULL;
}
IL_003f:
{
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* L_7 = (CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2*)(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2*)SZArrayNew(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2_il2cpp_TypeInfo_var, (uint32_t)((int32_t)512));
V_2 = L_7;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_8 = Encoding_get_Default_m625C78C2A9A8504B8BA4141994412513DC470CE2(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_0;
int32_t L_10 = V_1;
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* L_11 = V_2;
NullCheck(L_8);
int32_t L_12 = VirtFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2*, int32_t >::Invoke(25 /* System.Int32 System.Text.Encoding::GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32) */, L_8, L_9, 0, L_10, L_11, 0);
V_3 = L_12;
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* L_13 = V_2;
int32_t L_14 = V_3;
String_t* L_15 = String_CreateString_mC7FB167C0D5B97F7EF502AF54399C61DD5B87509(NULL, L_13, 0, L_14, /*hidden argument*/NULL);
return L_15;
}
IL_0063:
{
String_t* L_16 = V_4;
return L_16;
}
}
// System.Boolean System.TimeZoneInfo::TryGetNameFromPath(System.String,System.String&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryGetNameFromPath_m030B7AF03FD88B0FCAF5374F33D9E2B22ECCFD42 (String_t* ___path0, String_t** ___name1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TryGetNameFromPath_m030B7AF03FD88B0FCAF5374F33D9E2B22ECCFD42_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
Il2CppChar V_2 = 0x0;
{
String_t** L_0 = ___name1;
*((RuntimeObject **)L_0) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_0, (void*)(RuntimeObject *)NULL);
String_t* L_1 = ___path0;
bool L_2 = File_Exists_m6B9BDD8EEB33D744EB0590DD27BC0152FAFBD1FB(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_000d;
}
}
{
return (bool)0;
}
IL_000d:
{
String_t* L_3 = ___path0;
String_t* L_4 = TimeZoneInfo_readlink_m36675E5C86E478A8F522061E1AE5DD3F441F1413(L_3, /*hidden argument*/NULL);
V_0 = L_4;
String_t* L_5 = V_0;
if (!L_5)
{
goto IL_0032;
}
}
{
String_t* L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
bool L_7 = Path_IsPathRooted_mF70DAF863202638692CF75CCFA09ACBBD90C9A53(L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0024;
}
}
{
String_t* L_8 = V_0;
___path0 = L_8;
goto IL_0032;
}
IL_0024:
{
String_t* L_9 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_10 = Path_GetDirectoryName_m61922AA6D7B48EACBA36FF41A1B28F506CFB8A97(L_9, /*hidden argument*/NULL);
String_t* L_11 = V_0;
String_t* L_12 = Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311(L_10, L_11, /*hidden argument*/NULL);
___path0 = L_12;
}
IL_0032:
{
String_t* L_13 = ___path0;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_14 = Path_GetFullPath_m58677E6FFAFB7BB4A23011CE50F76487226EDE20(L_13, /*hidden argument*/NULL);
___path0 = L_14;
String_t* L_15 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
bool L_16 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_15, /*hidden argument*/NULL);
if (!L_16)
{
goto IL_0048;
}
}
{
return (bool)0;
}
IL_0048:
{
String_t* L_17 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
V_1 = L_17;
String_t* L_18 = V_1;
String_t* L_19 = V_1;
NullCheck(L_19);
int32_t L_20 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_19, /*hidden argument*/NULL);
NullCheck(L_18);
Il2CppChar L_21 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_18, ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1)), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
Il2CppChar L_22 = ((Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields*)il2cpp_codegen_static_fields_for(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var))->get_DirectorySeparatorChar_2();
if ((((int32_t)L_21) == ((int32_t)L_22)))
{
goto IL_0077;
}
}
{
String_t* L_23 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
Il2CppChar L_24 = ((Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_StaticFields*)il2cpp_codegen_static_fields_for(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var))->get_DirectorySeparatorChar_2();
V_2 = L_24;
String_t* L_25 = Char_ToString_mA42A88FEBA41B72D48BB24373E3101B7A91B6FD8((Il2CppChar*)(&V_2), /*hidden argument*/NULL);
String_t* L_26 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(L_23, L_25, /*hidden argument*/NULL);
V_1 = L_26;
}
IL_0077:
{
String_t* L_27 = ___path0;
String_t* L_28 = V_1;
NullCheck(L_27);
bool L_29 = String_StartsWith_m844A95C9A205A0F951B0C45634E0C222E73D0B49(L_27, L_28, 2, /*hidden argument*/NULL);
if (L_29)
{
goto IL_0083;
}
}
{
return (bool)0;
}
IL_0083:
{
String_t** L_30 = ___name1;
String_t* L_31 = ___path0;
String_t* L_32 = V_1;
NullCheck(L_32);
int32_t L_33 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_32, /*hidden argument*/NULL);
NullCheck(L_31);
String_t* L_34 = String_Substring_m2C4AFF5E79DD8BADFD2DFBCF156BF728FBB8E1AE(L_31, L_33, /*hidden argument*/NULL);
*((RuntimeObject **)L_30) = (RuntimeObject *)L_34;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_30, (void*)(RuntimeObject *)L_34);
String_t** L_35 = ___name1;
String_t* L_36 = *((String_t**)L_35);
bool L_37 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_36, _stringLiteralF25BCCD744FAB3255BB82BAC88C618963868A33F, /*hidden argument*/NULL);
if (!L_37)
{
goto IL_00a6;
}
}
{
String_t** L_38 = ___name1;
*((RuntimeObject **)L_38) = (RuntimeObject *)_stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_38, (void*)(RuntimeObject *)_stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630);
}
IL_00a6:
{
return (bool)1;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateLocal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateLocal_m15C54141FB316F34FA44CA5B96CC02E2CB2F0638 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_CreateLocal_m15C54141FB316F34FA44CA5B96CC02E2CB2F0638_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_0 = NULL;
String_t* V_1 = NULL;
String_t* V_2 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_3 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* V_4 = NULL;
int32_t V_5 = 0;
String_t* V_6 = NULL;
String_t* V_7 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 7);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (!L_0)
{
goto IL_005a;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_1 = TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C(/*hidden argument*/NULL);
if (!L_1)
{
goto IL_005a;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_2 = TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C(/*hidden argument*/NULL);
NullCheck(L_2);
RuntimeObject * L_3 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_2, _stringLiteral5673FDDE0249844B4A82C15CA2BD6584D7C308E4, /*hidden argument*/NULL);
V_2 = ((String_t*)CastclassSealed((RuntimeObject*)L_3, String_t_il2cpp_TypeInfo_var));
String_t* L_4 = V_2;
if (L_4)
{
goto IL_003b;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_5 = TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C(/*hidden argument*/NULL);
NullCheck(L_5);
RuntimeObject * L_6 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_5, _stringLiteral0F6182802153D24EEA849ECD8B3CDAA0F9B47E59, /*hidden argument*/NULL);
V_2 = ((String_t*)CastclassSealed((RuntimeObject*)L_6, String_t_il2cpp_TypeInfo_var));
}
IL_003b:
{
String_t* L_7 = V_2;
String_t* L_8 = TimeZoneInfo_TrimSpecial_m8904FED0584050DFA61E0BD573BDDF2D2E24DD64(L_7, /*hidden argument*/NULL);
V_2 = L_8;
String_t* L_9 = V_2;
bool L_10 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0050;
}
}
{
String_t* L_11 = TimeZoneInfo_GetLocalTimeZoneKeyNameWin32Fallback_m135325753C0EB2FFA39439FCAFF86BC41D8DC1A3(/*hidden argument*/NULL);
V_2 = L_11;
}
IL_0050:
{
String_t* L_12 = V_2;
if (!L_12)
{
goto IL_0067;
}
}
{
String_t* L_13 = V_2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_14 = TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD(L_13, /*hidden argument*/NULL);
return L_14;
}
IL_005a:
{
bool L_15 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (!L_15)
{
goto IL_0067;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_16 = TimeZoneInfo_GetLocalTimeZoneInfoWinRTFallback_mAC4FAB77907E048A003EDB46ACA0A2B3665AAC15(/*hidden argument*/NULL);
return L_16;
}
IL_0067:
{
V_0 = (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
}
IL_0069:
try
{ // begin try (depth: 1)
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_17 = TimeZoneInfo_CreateLocalUnity_mD72D1DBB52C82E4AC72C1B697F1F37C935C755EA(/*hidden argument*/NULL);
V_0 = L_17;
goto IL_0076;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0071;
throw e;
}
CATCH_0071:
{ // begin catch(System.Object)
V_0 = (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)NULL;
goto IL_0076;
} // end catch (depth: 1)
IL_0076:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_18 = V_0;
if (L_18)
{
goto IL_007f;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_19 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
V_0 = L_19;
}
IL_007f:
{
String_t* L_20 = Environment_GetEnvironmentVariable_mB94020EE6B0D5BADF024E4BE6FBC54A5954D2185(_stringLiteralED9428DBFB0B1BF45F637DBEABF0DB8879D90E82, /*hidden argument*/NULL);
V_1 = L_20;
String_t* L_21 = V_1;
if (!L_21)
{
goto IL_00b6;
}
}
{
String_t* L_22 = V_1;
String_t* L_23 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
bool L_24 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_22, L_23, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_009c;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_25 = V_0;
return L_25;
}
IL_009c:
{
}
IL_009d:
try
{ // begin try (depth: 1)
String_t* L_26 = V_1;
String_t* L_27 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
String_t* L_28 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_29 = Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311(L_27, L_28, /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_30 = TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D(L_26, L_29, /*hidden argument*/NULL);
V_3 = L_30;
goto IL_0123;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_00b1;
throw e;
}
CATCH_00b1:
{ // begin catch(System.Object)
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_31 = V_0;
V_3 = L_31;
goto IL_0123;
} // end catch (depth: 1)
IL_00b6:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_32 = (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)SZArrayNew(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var, (uint32_t)2);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_33 = L_32;
NullCheck(L_33);
ArrayElementTypeCheck (L_33, _stringLiteral25F82570C8A4E0BBF33D841DA7020C5961D4B0F7);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral25F82570C8A4E0BBF33D841DA7020C5961D4B0F7);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_34 = L_33;
String_t* L_35 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_36 = Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311(L_35, _stringLiteralF25BCCD744FAB3255BB82BAC88C618963868A33F, /*hidden argument*/NULL);
NullCheck(L_34);
ArrayElementTypeCheck (L_34, L_36);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)L_36);
V_4 = L_34;
V_5 = 0;
goto IL_0119;
}
IL_00dd:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_37 = V_4;
int32_t L_38 = V_5;
NullCheck(L_37);
int32_t L_39 = L_38;
String_t* L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
V_6 = L_40;
}
IL_00e4:
try
{ // begin try (depth: 1)
{
V_7 = (String_t*)NULL;
String_t* L_41 = V_6;
bool L_42 = TimeZoneInfo_TryGetNameFromPath_m030B7AF03FD88B0FCAF5374F33D9E2B22ECCFD42(L_41, (String_t**)(&V_7), /*hidden argument*/NULL);
if (L_42)
{
goto IL_00f9;
}
}
IL_00f2:
{
V_7 = _stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630;
}
IL_00f9:
{
String_t* L_43 = V_6;
bool L_44 = File_Exists_m6B9BDD8EEB33D744EB0590DD27BC0152FAFBD1FB(L_43, /*hidden argument*/NULL);
if (!L_44)
{
goto IL_010e;
}
}
IL_0102:
{
String_t* L_45 = V_7;
String_t* L_46 = V_6;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_47 = TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D(L_45, L_46, /*hidden argument*/NULL);
V_3 = L_47;
goto IL_0123;
}
IL_010e:
{
goto IL_0113;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0110;
throw e;
}
CATCH_0110:
{ // begin catch(System.TimeZoneNotFoundException)
goto IL_0113;
} // end catch (depth: 1)
IL_0113:
{
int32_t L_48 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)1));
}
IL_0119:
{
int32_t L_49 = V_5;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_50 = V_4;
NullCheck(L_50);
if ((((int32_t)L_49) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_50)->max_length)))))))
{
goto IL_00dd;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_51 = V_0;
return L_51;
}
IL_0123:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_52 = V_3;
return L_52;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByIdCore(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByIdCore_m62ECDFA5D89CE3B68C56D1B72B2CF5FB709DF322 (String_t* ___id0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_FindSystemTimeZoneByIdCore_m62ECDFA5D89CE3B68C56D1B72B2CF5FB709DF322_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
String_t* L_0 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
String_t* L_1 = ___id0;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_2 = Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
String_t* L_3 = ___id0;
String_t* L_4 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D(L_3, L_4, /*hidden argument*/NULL);
return L_5;
}
}
// System.Void System.TimeZoneInfo::GetSystemTimeZonesCore(System.Collections.Generic.List`1<System.TimeZoneInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808 (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * ___systemTimeZones0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* V_0 = NULL;
int32_t V_1 = 0;
String_t* V_2 = NULL;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * V_3 = NULL;
String_t* V_4 = NULL;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* V_5 = NULL;
int32_t V_6 = 0;
String_t* V_7 = NULL;
String_t* V_8 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 8);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_0 = TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529(/*hidden argument*/NULL);
if (!L_0)
{
goto IL_005b;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_1 = TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529(/*hidden argument*/NULL);
NullCheck(L_1);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_2 = RegistryKey_GetSubKeyNames_m117A40457A2C3473D9D9E8CD9916D23DC8B4532F(L_1, /*hidden argument*/NULL);
V_0 = L_2;
V_1 = 0;
goto IL_0054;
}
IL_0016:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_3 = V_0;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
String_t* L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_2 = L_6;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_7 = TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529(/*hidden argument*/NULL);
String_t* L_8 = V_2;
NullCheck(L_7);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_9 = RegistryKey_OpenSubKey_m7BAA592BA6639DE0CBAC3D300C5A28DCA05190F2(L_7, L_8, /*hidden argument*/NULL);
V_3 = L_9;
}
IL_0026:
try
{ // begin try (depth: 1)
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_10 = V_3;
if (!L_10)
{
goto IL_0036;
}
}
IL_0029:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_11 = V_3;
NullCheck(L_11);
RuntimeObject * L_12 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_11, _stringLiteral91B84E8687F2D082DB7BCB05E1B3B2123A1D8366, /*hidden argument*/NULL);
if (L_12)
{
goto IL_0038;
}
}
IL_0036:
{
IL2CPP_LEAVE(0x50, FINALLY_003a);
}
IL_0038:
{
IL2CPP_LEAVE(0x44, FINALLY_003a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{ // begin finally (depth: 1)
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_13 = V_3;
if (!L_13)
{
goto IL_0043;
}
}
IL_003d:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_14 = V_3;
NullCheck(L_14);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_14);
}
IL_0043:
{
IL2CPP_END_FINALLY(58)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_JUMP_TBL(0x50, IL_0050)
IL2CPP_JUMP_TBL(0x44, IL_0044)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0044:
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_15 = ___systemTimeZones0;
String_t* L_16 = V_2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_17 = TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5(L_15, L_17, /*hidden argument*/List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5_RuntimeMethod_var);
}
IL_0050:
{
int32_t L_18 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
}
IL_0054:
{
int32_t L_19 = V_1;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_20 = V_0;
NullCheck(L_20);
if ((((int32_t)L_19) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length)))))))
{
goto IL_0016;
}
}
{
return;
}
IL_005b:
{
bool L_21 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (!L_21)
{
goto IL_006e;
}
}
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_22 = ___systemTimeZones0;
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_23 = TimeZoneInfo_GetSystemTimeZonesWinRTFallback_m6A927CC8A8AC235866DC2399C990A32C6BF846D0(/*hidden argument*/NULL);
NullCheck(L_22);
List_1_AddRange_m3D1C9DA1E2012F97E0097903E50DED0F25776C57(L_22, L_23, /*hidden argument*/List_1_AddRange_m3D1C9DA1E2012F97E0097903E50DED0F25776C57_RuntimeMethod_var);
return;
}
IL_006e:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_24 = (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)SZArrayNew(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_25 = L_24;
NullCheck(L_25);
ArrayElementTypeCheck (L_25, _stringLiteral1D35114B8F34BF6224A46DAC8D98B4ED3594B7F5);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral1D35114B8F34BF6224A46DAC8D98B4ED3594B7F5);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_26 = L_25;
NullCheck(L_26);
ArrayElementTypeCheck (L_26, _stringLiteralA1E290BAB556CC85CB72A2CB75BB9A0ABA45B447);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteralA1E290BAB556CC85CB72A2CB75BB9A0ABA45B447);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_27 = L_26;
NullCheck(L_27);
ArrayElementTypeCheck (L_27, _stringLiteral00F33FC530D3E011EE6AB56F206622E221888971);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral00F33FC530D3E011EE6AB56F206622E221888971);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_28 = L_27;
NullCheck(L_28);
ArrayElementTypeCheck (L_28, _stringLiteralFCB3CCC25D66B2BCEB3459994F52E74675D4A7D4);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralFCB3CCC25D66B2BCEB3459994F52E74675D4A7D4);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_29 = L_28;
NullCheck(L_29);
ArrayElementTypeCheck (L_29, _stringLiteralA173E725607D0F98C78EBAC0B31138D8D136AA84);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralA173E725607D0F98C78EBAC0B31138D8D136AA84);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_30 = L_29;
NullCheck(L_30);
ArrayElementTypeCheck (L_30, _stringLiteralE0A94664599D16AD9C195801B466CE3D0756C40B);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteralE0A94664599D16AD9C195801B466CE3D0756C40B);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_31 = L_30;
NullCheck(L_31);
ArrayElementTypeCheck (L_31, _stringLiteralCEAFB51E2B0783D53DD620019DFF3AA66708A26F);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteralCEAFB51E2B0783D53DD620019DFF3AA66708A26F);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_32 = L_31;
NullCheck(L_32);
ArrayElementTypeCheck (L_32, _stringLiteral37497AA5A2272C49714AEE1B07E8EDF973A95F59);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral37497AA5A2272C49714AEE1B07E8EDF973A95F59);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_33 = L_32;
NullCheck(L_33);
ArrayElementTypeCheck (L_33, _stringLiteralCD6A7B8768528485A0DBCD459185091E80DC28AD);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(8), (String_t*)_stringLiteralCD6A7B8768528485A0DBCD459185091E80DC28AD);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_34 = L_33;
NullCheck(L_34);
ArrayElementTypeCheck (L_34, _stringLiteral349507E41DD8C71C10C9DF6D2444B5E64A285691);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral349507E41DD8C71C10C9DF6D2444B5E64A285691);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_35 = L_34;
NullCheck(L_35);
ArrayElementTypeCheck (L_35, _stringLiteral576347EC826F38428D8C8A6F8EC4ACB2BCEAB911);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (String_t*)_stringLiteral576347EC826F38428D8C8A6F8EC4ACB2BCEAB911);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_36 = L_35;
NullCheck(L_36);
ArrayElementTypeCheck (L_36, _stringLiteralA151302157444AA3F3EF5AC23116EA226D29C972);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (String_t*)_stringLiteralA151302157444AA3F3EF5AC23116EA226D29C972);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_37 = L_36;
NullCheck(L_37);
ArrayElementTypeCheck (L_37, _stringLiteral41937B20FBE8C71D9C6C3346AFF43C001AA25E33);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (String_t*)_stringLiteral41937B20FBE8C71D9C6C3346AFF43C001AA25E33);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_38 = L_37;
NullCheck(L_38);
ArrayElementTypeCheck (L_38, _stringLiteralB6488C506558D7B3542A1D40D4A9AFD557DCC4FD);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (String_t*)_stringLiteralB6488C506558D7B3542A1D40D4A9AFD557DCC4FD);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_39 = L_38;
NullCheck(L_39);
ArrayElementTypeCheck (L_39, _stringLiteralAC167A22531E815F8207EF03791DE1EBF88780DE);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (String_t*)_stringLiteralAC167A22531E815F8207EF03791DE1EBF88780DE);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_40 = L_39;
NullCheck(L_40);
ArrayElementTypeCheck (L_40, _stringLiteralAA3093554472FD113135BED5B63E12F84C2E9FE8);
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (String_t*)_stringLiteralAA3093554472FD113135BED5B63E12F84C2E9FE8);
V_0 = L_40;
V_1 = 0;
goto IL_016c;
}
IL_0101:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_41 = V_0;
int32_t L_42 = V_1;
NullCheck(L_41);
int32_t L_43 = L_42;
String_t* L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
V_4 = L_44;
}
IL_0106:
try
{ // begin try (depth: 1)
{
String_t* L_45 = TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414(/*hidden argument*/NULL);
String_t* L_46 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_47 = Path_Combine_mA495A18104786EB450EC0E44EE0FB7F9040C4311(L_45, L_46, /*hidden argument*/NULL);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_48 = Directory_GetFiles_mFC09A86D660CAD8490DB44B25A8D8E981816048E(L_47, /*hidden argument*/NULL);
V_5 = L_48;
V_6 = 0;
goto IL_015b;
}
IL_011e:
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_49 = V_5;
int32_t L_50 = V_6;
NullCheck(L_49);
int32_t L_51 = L_50;
String_t* L_52 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_51));
V_7 = L_52;
}
IL_0125:
try
{ // begin try (depth: 2)
String_t* L_53 = V_4;
String_t* L_54 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(Path_t0B99A4B924A6FDF08814FFA8DD4CD121ED1A0752_il2cpp_TypeInfo_var);
String_t* L_55 = Path_GetFileName_m2307E8E0B250632002840D9EC27DBABE9C4EB85E(L_54, /*hidden argument*/NULL);
String_t* L_56 = String_Format_m19325298DBC61AAC016C16F7B3CF97A8A3DEA34A(_stringLiteralEAEF99A09E561A86004BAEB87A80BB4CFCE8CE67, L_53, L_55, /*hidden argument*/NULL);
V_8 = L_56;
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_57 = ___systemTimeZones0;
String_t* L_58 = V_8;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_59 = TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD(L_58, /*hidden argument*/NULL);
NullCheck(L_57);
List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5(L_57, L_59, /*hidden argument*/List_1_Add_m3C00FE8E3C5994C50C32F29BEE73E95FC93432F5_RuntimeMethod_var);
goto IL_0155;
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0149;
if(il2cpp_codegen_class_is_assignable_from (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_014c;
if(il2cpp_codegen_class_is_assignable_from (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_014f;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0152;
throw e;
}
CATCH_0149:
{ // begin catch(System.ArgumentNullException)
goto IL_0155;
} // end catch (depth: 2)
CATCH_014c:
{ // begin catch(System.TimeZoneNotFoundException)
goto IL_0155;
} // end catch (depth: 2)
CATCH_014f:
{ // begin catch(System.InvalidTimeZoneException)
goto IL_0155;
} // end catch (depth: 2)
CATCH_0152:
{ // begin catch(System.Exception)
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808_RuntimeMethod_var);
} // end catch (depth: 2)
IL_0155:
{
int32_t L_60 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)1));
}
IL_015b:
{
int32_t L_61 = V_6;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_62 = V_5;
NullCheck(L_62);
if ((((int32_t)L_61) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))))))
{
goto IL_011e;
}
}
IL_0163:
{
goto IL_0168;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0165;
throw e;
}
CATCH_0165:
{ // begin catch(System.Object)
goto IL_0168;
} // end catch (depth: 1)
IL_0168:
{
int32_t L_63 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_63, (int32_t)1));
}
IL_016c:
{
int32_t L_64 = V_1;
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_65 = V_0;
NullCheck(L_65);
if ((((int32_t)L_64) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_65)->max_length)))))))
{
goto IL_0101;
}
}
{
return;
}
}
// System.Boolean System.TimeZoneInfo::get_SupportsDaylightSavingTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_get_SupportsDaylightSavingTime_m101C22CB276BB45E9C38F54BF6F944C8C5578C9E (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_supportsDaylightSavingTime_8();
return L_0;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::get_Utc()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_utc_9();
if (L_0)
{
goto IL_0027;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1;
memset((&L_1), 0, sizeof(L_1));
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((&L_1), (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_CreateCustomTimeZone_mDFF720C53476F656C276D9E4067367669ED433D5(_stringLiteralBDFD4D8D6952777C39403B2D2E2F8A2A52BF255F, L_1, _stringLiteralBDFD4D8D6952777C39403B2D2E2F8A2A52BF255F, _stringLiteralBDFD4D8D6952777C39403B2D2E2F8A2A52BF255F, /*hidden argument*/NULL);
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_utc_9(L_2);
}
IL_0027:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_utc_9();
return L_3;
}
}
// System.String System.TimeZoneInfo::get_TimeZoneDirectory()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_get_TimeZoneDirectory_m364906451AD0C6AF1BE27A57739BB888AD144414_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_timeZoneDirectory_10();
if (L_0)
{
goto IL_0011;
}
}
{
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_timeZoneDirectory_10(_stringLiteralF20EDA68133DFCF8EA3FB9069F3237610643A8F0);
}
IL_0011:
{
String_t* L_1 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_timeZoneDirectory_10();
return L_1;
}
}
// System.Boolean System.TimeZoneInfo::get_IsWindows()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706 (const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83 * L_0 = Environment_get_OSVersion_mD6E99E279170E00D17F7D29F242EF65434812233(/*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = OperatingSystem_get_Platform_m36635DD0A3D5442E515AB8D2EA3C7092348A5181_inline(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) == ((int32_t)4)))
{
goto IL_001f;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)6)))
{
goto IL_001f;
}
}
{
int32_t L_4 = V_0;
return (bool)((((int32_t)((((int32_t)L_4) == ((int32_t)((int32_t)128)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_001f:
{
return (bool)0;
}
}
// System.String System.TimeZoneInfo::TrimSpecial(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_TrimSpecial_m8904FED0584050DFA61E0BD573BDDF2D2E24DD64 (String_t* ___str0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TrimSpecial_m8904FED0584050DFA61E0BD573BDDF2D2E24DD64_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
String_t* L_0 = ___str0;
if (L_0)
{
goto IL_0005;
}
}
{
String_t* L_1 = ___str0;
return L_1;
}
IL_0005:
{
V_0 = 0;
goto IL_000d;
}
IL_0009:
{
int32_t L_2 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
}
IL_000d:
{
int32_t L_3 = V_0;
String_t* L_4 = ___str0;
NullCheck(L_4);
int32_t L_5 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)L_5)))
{
goto IL_0024;
}
}
{
String_t* L_6 = ___str0;
int32_t L_7 = V_0;
NullCheck(L_6);
Il2CppChar L_8 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_6, L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var);
bool L_9 = Char_IsLetterOrDigit_mD7307B3157DFA4EC20D58F68ACB6A9793D3A8292(L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0009;
}
}
IL_0024:
{
String_t* L_10 = ___str0;
NullCheck(L_10);
int32_t L_11 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_10, /*hidden argument*/NULL);
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)1));
goto IL_0033;
}
IL_002f:
{
int32_t L_12 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)1));
}
IL_0033:
{
int32_t L_13 = V_1;
int32_t L_14 = V_0;
if ((((int32_t)L_13) <= ((int32_t)L_14)))
{
goto IL_0050;
}
}
{
String_t* L_15 = ___str0;
int32_t L_16 = V_1;
NullCheck(L_15);
Il2CppChar L_17 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_15, L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var);
bool L_18 = Char_IsLetterOrDigit_mD7307B3157DFA4EC20D58F68ACB6A9793D3A8292(L_17, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0050;
}
}
{
String_t* L_19 = ___str0;
int32_t L_20 = V_1;
NullCheck(L_19);
Il2CppChar L_21 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_19, L_20, /*hidden argument*/NULL);
if ((!(((uint32_t)L_21) == ((uint32_t)((int32_t)41)))))
{
goto IL_002f;
}
}
IL_0050:
{
String_t* L_22 = ___str0;
int32_t L_23 = V_0;
int32_t L_24 = V_1;
int32_t L_25 = V_0;
NullCheck(L_22);
String_t* L_26 = String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB(L_22, L_23, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)L_25)), (int32_t)1)), /*hidden argument*/NULL);
return L_26;
}
}
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::get_TimeZoneKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_timeZoneKey_12();
if (!L_0)
{
goto IL_000d;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_1 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_timeZoneKey_12();
return L_1;
}
IL_000d:
{
bool L_2 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (L_2)
{
goto IL_0016;
}
}
{
return (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 *)NULL;
}
IL_0016:
{
}
IL_0017:
try
{ // begin try (depth: 1)
IL2CPP_RUNTIME_CLASS_INIT(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_il2cpp_TypeInfo_var);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_3 = ((Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields*)il2cpp_codegen_static_fields_for(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_il2cpp_TypeInfo_var))->get_LocalMachine_4();
NullCheck(L_3);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_4 = RegistryKey_OpenSubKey_mFB72687C9F3CB562E0DD9DC07331211E964C6F9E(L_3, _stringLiteral1896FE3101E00E003E0A21778DA6F57A86DEA7BC, (bool)0, /*hidden argument*/NULL);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_5 = L_4;
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_timeZoneKey_12(L_5);
V_0 = L_5;
goto IL_0035;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0030;
throw e;
}
CATCH_0030:
{ // begin catch(System.Object)
V_0 = (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 *)NULL;
goto IL_0035;
} // end catch (depth: 1)
IL_0035:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_6 = V_0;
return L_6;
}
}
// Microsoft.Win32.RegistryKey System.TimeZoneInfo::get_LocalZoneKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_get_LocalZoneKey_mB5065905D83948EB70306D6BCABA0857FE0BF65C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_localZoneKey_13();
if (!L_0)
{
goto IL_000d;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_1 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_localZoneKey_13();
return L_1;
}
IL_000d:
{
bool L_2 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (L_2)
{
goto IL_0016;
}
}
{
return (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 *)NULL;
}
IL_0016:
{
}
IL_0017:
try
{ // begin try (depth: 1)
IL2CPP_RUNTIME_CLASS_INIT(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_il2cpp_TypeInfo_var);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_3 = ((Registry_t241E9489A52A385888DBC941B714B48401DBB28E_StaticFields*)il2cpp_codegen_static_fields_for(Registry_t241E9489A52A385888DBC941B714B48401DBB28E_il2cpp_TypeInfo_var))->get_LocalMachine_4();
NullCheck(L_3);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_4 = RegistryKey_OpenSubKey_mFB72687C9F3CB562E0DD9DC07331211E964C6F9E(L_3, _stringLiteralDCBF19BC29354184B31ADAB7FE37B301685FF550, (bool)0, /*hidden argument*/NULL);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_5 = L_4;
((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->set_localZoneKey_13(L_5);
V_0 = L_5;
goto IL_0035;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (RuntimeObject_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0030;
throw e;
}
CATCH_0030:
{ // begin catch(System.Object)
V_0 = (RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 *)NULL;
goto IL_0035;
} // end catch (depth: 1)
IL_0035:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_6 = V_0;
return L_6;
}
}
// System.Boolean System.TimeZoneInfo::TryAddTicks(System.DateTime,System.Int64,System.DateTime&,System.DateTimeKind)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___date0, int64_t ___ticks1, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * ___result2, int32_t ___kind3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int64_t V_0 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_1;
memset((&V_1), 0, sizeof(V_1));
{
int64_t L_0 = DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___date0), /*hidden argument*/NULL);
int64_t L_1 = ___ticks1;
V_0 = ((int64_t)il2cpp_codegen_add((int64_t)L_0, (int64_t)L_1));
int64_t L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_1 = L_3;
int64_t L_4 = DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_1), /*hidden argument*/NULL);
if ((((int64_t)L_2) >= ((int64_t)L_4)))
{
goto IL_002d;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * L_5 = ___result2;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_6 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
int32_t L_7 = ___kind3;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_8 = DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316(L_6, L_7, /*hidden argument*/NULL);
*(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)L_5 = L_8;
return (bool)0;
}
IL_002d:
{
int64_t L_9 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_10 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MaxValue_32();
V_1 = L_10;
int64_t L_11 = DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_1), /*hidden argument*/NULL);
if ((((int64_t)L_9) <= ((int64_t)L_11)))
{
goto IL_0050;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * L_12 = ___result2;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MaxValue_32();
int32_t L_14 = ___kind3;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_15 = DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316(L_13, L_14, /*hidden argument*/NULL);
*(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)L_12 = L_15;
return (bool)0;
}
IL_0050:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * L_16 = ___result2;
int64_t L_17 = V_0;
int32_t L_18 = ___kind3;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_19;
memset((&L_19), 0, sizeof(L_19));
DateTime__ctor_m184FABF75B3C703A70200D760A7E43C60524630F((&L_19), L_17, L_18, /*hidden argument*/NULL);
*(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)L_16 = L_19;
return (bool)1;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTime(System.DateTime,System.TimeZoneInfo,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___destinationTimeZone2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_0;
memset((&V_0), 0, sizeof(V_0));
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ___sourceTimeZone1;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral914839398AEE2A272ECAF21A6C5522C0D1378DFA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var);
}
IL_000e:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = ___destinationTimeZone2;
if (L_2)
{
goto IL_001c;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_3 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_3, _stringLiteral8AAFD7F540EB518494415D8EE7E0F78305B294C7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var);
}
IL_001c:
{
int32_t L_4 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_4) == ((uint32_t)2))))
{
goto IL_0039;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = ___sourceTimeZone1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_5) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_6)))
{
goto IL_0039;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_7 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_7, _stringLiteral6BA2E7E7FF3BE0A9B4029B8A6169677870AE9E21, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var);
}
IL_0039:
{
int32_t L_8 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_8) == ((uint32_t)1))))
{
goto IL_0056;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_9 = ___sourceTimeZone1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_10 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_9) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_10)))
{
goto IL_0056;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_11 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_11, _stringLiteral521CE61A24760AEEB4B2129999AC818B48FC7D14, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var);
}
IL_0056:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_12 = ___sourceTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ___dateTime0;
NullCheck(L_12);
bool L_14 = TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235(L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_006a;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_15 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_15, _stringLiteralE073E7170308FE19487AF6EF1807C8056BC91116, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE_RuntimeMethod_var);
}
IL_006a:
{
int32_t L_16 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_16) == ((uint32_t)2))))
{
goto IL_0086;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_17 = ___sourceTimeZone1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_18 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_17) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_18))))
{
goto IL_0086;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_19 = ___destinationTimeZone2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_20 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_19) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_20))))
{
goto IL_0086;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_21 = ___dateTime0;
return L_21;
}
IL_0086:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_22 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_23 = ___sourceTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_24 = TimeZoneInfo_ConvertTimeToUtc_m84C132EC36ADACD6B6598F4F98219060D047C003(L_22, L_23, /*hidden argument*/NULL);
V_0 = L_24;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_25 = ___destinationTimeZone2;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_26 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_25) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_26)))
{
goto IL_00af;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_28 = ___destinationTimeZone2;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_29 = TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D(L_27, L_28, /*hidden argument*/NULL);
V_0 = L_29;
int32_t L_30 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if (L_30)
{
goto IL_00af;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_31 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_32 = DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316(L_31, 0, /*hidden argument*/NULL);
return L_32;
}
IL_00af:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_33 = V_0;
return L_33;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTimeFromUtc(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_0;
memset((&V_0), 0, sizeof(V_0));
int32_t V_1 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t G_B7_0 = 0;
{
int32_t L_0 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)2))))
{
goto IL_0015;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_1 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_1, _stringLiteral34530CDFC92A51FCD4964DF30BAE93C4C3CFACF8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422_RuntimeMethod_var);
}
IL_0015:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_2))))
{
goto IL_0025;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = ___dateTime0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_4 = DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316(L_3, 1, /*hidden argument*/NULL);
return L_4;
}
IL_0025:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_5 = ___dateTime0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6 = TimeZoneInfo_GetUtcOffset_mB87444CE19A766D8190FCA7508AE192E66E9436D(__this, L_5, /*hidden argument*/NULL);
V_0 = L_6;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_7)))
{
goto IL_0038;
}
}
{
G_B7_0 = 0;
goto IL_0039;
}
IL_0038:
{
G_B7_0 = 2;
}
IL_0039:
{
V_1 = G_B7_0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_8 = ___dateTime0;
int64_t L_9 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_0), /*hidden argument*/NULL);
int32_t L_10 = V_1;
bool L_11 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_8, L_9, (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), L_10, /*hidden argument*/NULL);
if (L_11)
{
goto IL_0058;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MaxValue_32();
int32_t L_13 = V_1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_14 = DateTime_SpecifyKind_m2E9B2B28CB3255EA842EBCBA42AF0565144D2316(L_12, L_13, /*hidden argument*/NULL);
return L_14;
}
IL_0058:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_15 = V_2;
return L_15;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTimeFromUtc(System.DateTime,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___destinationTimeZone1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ___destinationTimeZone1;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral8AAFD7F540EB518494415D8EE7E0F78305B294C7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_ConvertTimeFromUtc_m471600E7A17C69471FAB60868046709A90FEC03D_RuntimeMethod_var);
}
IL_000e:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = ___destinationTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = ___dateTime0;
NullCheck(L_2);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_4 = TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422(L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTimeToUtc(System.DateTime,System.TimeZoneInfoOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeToUtc_m296EB8284D179E8F42849A9F02306B55CA009952 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, int32_t ___flags1, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
int32_t L_2 = ___flags1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4(L_0, L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTimeToUtc(System.DateTime,System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeToUtc_m84C132EC36ADACD6B6598F4F98219060D047C003 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = ___sourceTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_2 = TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4(L_0, L_1, 1, /*hidden argument*/NULL);
return L_2;
}
}
// System.DateTime System.TimeZoneInfo::ConvertTimeToUtc(System.DateTime,System.TimeZoneInfo,System.TimeZoneInfoOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___sourceTimeZone1, int32_t ___flags2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_1;
memset((&V_1), 0, sizeof(V_1));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
{
int32_t L_0 = ___flags2;
if (((int32_t)((int32_t)L_0&(int32_t)2)))
{
goto IL_0061;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = ___sourceTimeZone1;
if (L_1)
{
goto IL_0013;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_2 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_2, _stringLiteral914839398AEE2A272ECAF21A6C5522C0D1378DFA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_RuntimeMethod_var);
}
IL_0013:
{
int32_t L_3 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_3) == ((uint32_t)1))))
{
goto IL_0030;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_4 = ___sourceTimeZone1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_4) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_5)))
{
goto IL_0030;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_6 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_6, _stringLiteral521CE61A24760AEEB4B2129999AC818B48FC7D14, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_RuntimeMethod_var);
}
IL_0030:
{
int32_t L_7 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)2))))
{
goto IL_004d;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = ___sourceTimeZone1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_9 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_8) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_9)))
{
goto IL_004d;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_10 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_10, _stringLiteral6BA2E7E7FF3BE0A9B4029B8A6169677870AE9E21, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_RuntimeMethod_var);
}
IL_004d:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_11 = ___sourceTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = ___dateTime0;
NullCheck(L_11);
bool L_13 = TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0061;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_14 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_14, _stringLiteralE073E7170308FE19487AF6EF1807C8056BC91116, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, TimeZoneInfo_ConvertTimeToUtc_m6A0B236FDC04E0431DDCB946218961E6218269F4_RuntimeMethod_var);
}
IL_0061:
{
int32_t L_15 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_15) == ((uint32_t)1))))
{
goto IL_006d;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_16 = ___dateTime0;
return L_16;
}
IL_006d:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_17 = ___sourceTimeZone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_18 = ___dateTime0;
NullCheck(L_17);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_19 = TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB(L_17, L_18, (bool*)(&V_0), /*hidden argument*/NULL);
V_1 = L_19;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_20 = ___dateTime0;
int64_t L_21 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_1), /*hidden argument*/NULL);
TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_20, ((-L_21)), (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), 1, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_22 = V_2;
return L_22;
}
}
// System.TimeSpan System.TimeZoneInfo::GetDateTimeNowUtcOffsetFromUtc(System.DateTime,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetDateTimeNowUtcOffsetFromUtc_m57199B9E169E531B6653648D8520F42F4DC70B7A (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___time0, bool* ___isAmbiguousLocalDst1, const RuntimeMethod* method)
{
bool V_0 = false;
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___time0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
bool* L_2 = ___isAmbiguousLocalDst1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_3 = TimeZoneInfo_GetUtcOffsetFromUtc_mAA79026F581A893DD65B95D5660E146520B471FA(L_0, L_1, (bool*)(&V_0), (bool*)L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_mDFF720C53476F656C276D9E4067367669ED433D5 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, const RuntimeMethod* method)
{
{
String_t* L_0 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___baseUtcOffset1;
String_t* L_2 = ___displayName2;
String_t* L_3 = ___standardDisplayName3;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_4 = TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A(L_0, L_1, L_2, L_3, (String_t*)NULL, (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)NULL, (bool)1, /*hidden argument*/NULL);
return L_4;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo_AdjustmentRule[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_m5927EE8D4214E3F8317098CFB563D431E93C3E48 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, const RuntimeMethod* method)
{
{
String_t* L_0 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___baseUtcOffset1;
String_t* L_2 = ___displayName2;
String_t* L_3 = ___standardDisplayName3;
String_t* L_4 = ___daylightDisplayName4;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_5 = ___adjustmentRules5;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A(L_0, L_1, L_2, L_3, L_4, L_5, (bool)0, /*hidden argument*/NULL);
return L_6;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::CreateCustomTimeZone(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo_AdjustmentRule[],System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, bool ___disableDaylightSavingTime6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_CreateCustomTimeZone_m11D4C4650268C21964BDAEBE2DF66EF03FA0D44A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = ___baseUtcOffset1;
String_t* L_2 = ___displayName2;
String_t* L_3 = ___standardDisplayName3;
String_t* L_4 = ___daylightDisplayName4;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_5 = ___adjustmentRules5;
bool L_6 = ___disableDaylightSavingTime6;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)il2cpp_codegen_object_new(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var);
TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5(L_7, L_0, L_1, L_2, L_3, L_4, L_5, L_6, /*hidden argument*/NULL);
return L_7;
}
}
// System.Boolean System.TimeZoneInfo::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_Equals_m550F10113123069F27625140666EE2C67A901AE6 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, RuntimeObject * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_Equals_m550F10113123069F27625140666EE2C67A901AE6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = ___obj0;
bool L_1 = TimeZoneInfo_Equals_mDEDC356830CD3F65D13E71768B2701CB13EA0741(__this, ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)IsInstSealed((RuntimeObject*)L_0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.TimeZoneInfo::Equals(System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_Equals_mDEDC356830CD3F65D13E71768B2701CB13EA0741 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___other0, const RuntimeMethod* method)
{
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ___other0;
if (L_0)
{
goto IL_0005;
}
}
{
return (bool)0;
}
IL_0005:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = ___other0;
NullCheck(L_1);
String_t* L_2 = TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline(L_1, /*hidden argument*/NULL);
String_t* L_3 = TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline(__this, /*hidden argument*/NULL);
bool L_4 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0020;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = ___other0;
bool L_6 = TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A(__this, L_5, /*hidden argument*/NULL);
return L_6;
}
IL_0020:
{
return (bool)0;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneById(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD (String_t* ___id0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * V_0 = NULL;
{
String_t* L_0 = ___id0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral87EA5DFC8B8E384D848979496E706390B497E547, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD_RuntimeMethod_var);
}
IL_000e:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_2 = TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529(/*hidden argument*/NULL);
if (!L_2)
{
goto IL_0047;
}
}
{
String_t* L_3 = ___id0;
bool L_4 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_3, _stringLiteralD7304202578FF38AEE73020102C7456D4FA76D3C, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0029;
}
}
{
___id0 = _stringLiteralBDFD4D8D6952777C39403B2D2E2F8A2A52BF255F;
}
IL_0029:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_5 = TimeZoneInfo_get_TimeZoneKey_m82B63E987CBDF47D6637B89F5A09F5509F5C7529(/*hidden argument*/NULL);
String_t* L_6 = ___id0;
NullCheck(L_5);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_7 = RegistryKey_OpenSubKey_mFB72687C9F3CB562E0DD9DC07331211E964C6F9E(L_5, L_6, (bool)0, /*hidden argument*/NULL);
V_0 = L_7;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_8 = V_0;
if (L_8)
{
goto IL_003f;
}
}
{
TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * L_9 = (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 *)il2cpp_codegen_object_new(TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var);
TimeZoneNotFoundException__ctor_m13C5CB453D2842823AA85B9B4E422C42D659FA19(L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, TimeZoneInfo_FindSystemTimeZoneById_m1213ADAB49255703C816325E6F215AE0E7E9F8DD_RuntimeMethod_var);
}
IL_003f:
{
String_t* L_10 = ___id0;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_11 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_12 = TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA(L_10, L_11, /*hidden argument*/NULL);
return L_12;
}
IL_0047:
{
bool L_13 = TimeZoneInfo_get_IsWindows_mD360DB90A5AFD0D6CE4E89EBAB7F40D5CEF25706(/*hidden argument*/NULL);
if (!L_13)
{
goto IL_0055;
}
}
{
String_t* L_14 = ___id0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_15 = TimeZoneInfo_FindSystemTimeZoneByIdWinRTFallback_m97E8D7110492D9A43A425DA0A06FCCCE3F8ED483(L_14, /*hidden argument*/NULL);
return L_15;
}
IL_0055:
{
String_t* L_16 = ___id0;
bool L_17 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_16, _stringLiteralDC99D54D9990E3C134420BE3918E88F28531E630, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_0068;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_18 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
return L_18;
}
IL_0068:
{
String_t* L_19 = ___id0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_20 = TimeZoneInfo_FindSystemTimeZoneByIdCore_m62ECDFA5D89CE3B68C56D1B72B2CF5FB709DF322(L_19, /*hidden argument*/NULL);
return L_20;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::FindSystemTimeZoneByFileName(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D (String_t* ___id0, String_t* ___filepath1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * V_0 = NULL;
Exception_t * V_1 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 *)NULL;
}
IL_0002:
try
{ // begin try (depth: 1)
String_t* L_0 = ___filepath1;
FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * L_1 = File_OpenRead_m3B2974AB5AA8011E587AC834BE71862BF77C2129(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_001e;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_000b;
throw e;
}
CATCH_000b:
{ // begin catch(System.Exception)
V_1 = ((Exception_t *)__exception_local);
String_t* L_2 = ___filepath1;
String_t* L_3 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteral00E0E5FB4D410F50F71DEFD00084F261F9921ED2, L_2, /*hidden argument*/NULL);
Exception_t * L_4 = V_1;
TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 * L_5 = (TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388 *)il2cpp_codegen_object_new(TimeZoneNotFoundException_t44EC55B0AAD26AD0E0B659D308CBF90E5C81B388_il2cpp_TypeInfo_var);
TimeZoneNotFoundException__ctor_m38A84B100985F5907DE77F71A3B98CD3BF1D9CD3(L_5, L_3, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, TimeZoneInfo_FindSystemTimeZoneByFileName_m8AA63273DF4EAB14398DCD1E7B84FCADF6F84E7D_RuntimeMethod_var);
} // end catch (depth: 1)
IL_001e:
{
}
IL_001f:
try
{ // begin try (depth: 1)
String_t* L_6 = ___id0;
FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * L_7 = V_0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418(L_6, L_7, /*hidden argument*/NULL);
V_2 = L_8;
IL2CPP_LEAVE(0x33, FINALLY_0029);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0029;
}
FINALLY_0029:
{ // begin finally (depth: 1)
{
FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * L_9 = V_0;
if (!L_9)
{
goto IL_0032;
}
}
IL_002c:
{
FileStream_tA770BF9AF0906644D43C81B962C7DBC3BC79A418 * L_10 = V_0;
NullCheck(L_10);
Stream_Dispose_m186A8E680F2528DEDFF8F0069CC33BD813FFB1C7(L_10, /*hidden argument*/NULL);
}
IL_0032:
{
IL2CPP_END_FINALLY(41)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(41)
{
IL2CPP_JUMP_TBL(0x33, IL_0033)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0033:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_11 = V_2;
return L_11;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::FromRegistryKey(System.String,Microsoft.Win32.RegistryKey)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA (String_t* ___id0, RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * ___key1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_2;
memset((&V_2), 0, sizeof(V_2));
String_t* V_3 = NULL;
String_t* V_4 = NULL;
String_t* V_5 = NULL;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_6 = NULL;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_11 = NULL;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t G_B8_0 = 0;
int32_t G_B11_0 = 0;
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_0 = ___key1;
NullCheck(L_0);
RuntimeObject * L_1 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_0, _stringLiteral91B84E8687F2D082DB7BCB05E1B3B2123A1D8366, /*hidden argument*/NULL);
V_0 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
if (L_2)
{
goto IL_001a;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_3 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m565DFEFCEFD9DB3E307E643A059B9AC57B2B57DD(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeZoneInfo_FromRegistryKey_mE18CC429EF151EDD5D9B1AAF8C9A28DD048114FA_RuntimeMethod_var);
}
IL_001a:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
int32_t L_5 = BitConverter_ToInt32_m900A016CA90064569D8DF6D9195044C9C106B391(L_4, 0, /*hidden argument*/NULL);
V_1 = L_5;
int32_t L_6 = V_1;
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_2), 0, ((-L_6)), 0, /*hidden argument*/NULL);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_7 = ___key1;
NullCheck(L_7);
RuntimeObject * L_8 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_7, _stringLiteral574FF9B0C49CDEB5F5508548AE0CAB44FECEE038, /*hidden argument*/NULL);
V_3 = ((String_t*)CastclassSealed((RuntimeObject*)L_8, String_t_il2cpp_TypeInfo_var));
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_9 = ___key1;
NullCheck(L_9);
RuntimeObject * L_10 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_9, _stringLiteralC45B18C0F0F4B3CF24DA66312054A56CCF27D9C5, /*hidden argument*/NULL);
V_4 = ((String_t*)CastclassSealed((RuntimeObject*)L_10, String_t_il2cpp_TypeInfo_var));
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_11 = ___key1;
NullCheck(L_11);
RuntimeObject * L_12 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_11, _stringLiteralBB80988865A7C2136B3ADE9C2EB5EAE119955268, /*hidden argument*/NULL);
V_5 = ((String_t*)CastclassSealed((RuntimeObject*)L_12, String_t_il2cpp_TypeInfo_var));
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_13 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_13, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_6 = L_13;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_14 = ___key1;
NullCheck(L_14);
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_15 = RegistryKey_OpenSubKey_mFB72687C9F3CB562E0DD9DC07331211E964C6F9E(L_14, _stringLiteral04C41D8EF73FED844DA0ECFAA6DFF090063F2B1D, (bool)0, /*hidden argument*/NULL);
V_7 = L_15;
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_16 = V_7;
if (!L_16)
{
goto IL_00f9;
}
}
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_17 = V_7;
NullCheck(L_17);
RuntimeObject * L_18 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_17, _stringLiteral8F6474296A2391DE11EB639CEE391F6735046792, /*hidden argument*/NULL);
V_8 = ((*(int32_t*)((int32_t*)UnBox(L_18, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var))));
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_19 = V_7;
NullCheck(L_19);
RuntimeObject * L_20 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_19, _stringLiteral3ABDF740E9FD3F66165C9843BF151FCB36E52262, /*hidden argument*/NULL);
V_9 = ((*(int32_t*)((int32_t*)UnBox(L_20, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var))));
int32_t L_21 = V_8;
V_10 = L_21;
goto IL_00f1;
}
IL_00a7:
{
RegistryKey_t29D81BFF6D6710C7AF7557F80446D514B0AB7574 * L_22 = V_7;
String_t* L_23 = Int32_ToString_m1863896DE712BF97C031D55B12E1583F1982DC02((int32_t*)(&V_10), /*hidden argument*/NULL);
NullCheck(L_22);
RuntimeObject * L_24 = RegistryKey_GetValue_mC95227C5F159D15D0A59EE72A31840CE3C6DB381(L_22, L_23, /*hidden argument*/NULL);
V_11 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_24, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_11;
if (!L_25)
{
goto IL_00eb;
}
}
{
int32_t L_26 = V_10;
int32_t L_27 = V_8;
if ((((int32_t)L_26) == ((int32_t)L_27)))
{
goto IL_00ca;
}
}
{
int32_t L_28 = V_10;
G_B8_0 = L_28;
goto IL_00cb;
}
IL_00ca:
{
G_B8_0 = 1;
}
IL_00cb:
{
V_12 = G_B8_0;
int32_t L_29 = V_10;
int32_t L_30 = V_9;
if ((((int32_t)L_29) == ((int32_t)L_30)))
{
goto IL_00d7;
}
}
{
int32_t L_31 = V_10;
G_B11_0 = L_31;
goto IL_00dc;
}
IL_00d7:
{
G_B11_0 = ((int32_t)9999);
}
IL_00dc:
{
V_13 = G_B11_0;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_32 = V_6;
int32_t L_33 = V_12;
int32_t L_34 = V_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = V_11;
TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F(L_32, L_33, L_34, L_35, /*hidden argument*/NULL);
}
IL_00eb:
{
int32_t L_36 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)1));
}
IL_00f1:
{
int32_t L_37 = V_10;
int32_t L_38 = V_9;
if ((((int32_t)L_37) <= ((int32_t)L_38)))
{
goto IL_00a7;
}
}
{
goto IL_0107;
}
IL_00f9:
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_39 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_0;
TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F(L_39, 1, ((int32_t)9999), L_40, /*hidden argument*/NULL);
}
IL_0107:
{
String_t* L_41 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_42 = V_2;
String_t* L_43 = V_3;
String_t* L_44 = V_4;
String_t* L_45 = V_5;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_46 = V_6;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_47 = TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311(L_46, /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_48 = TimeZoneInfo_CreateCustomTimeZone_m5927EE8D4214E3F8317098CFB563D431E93C3E48(L_41, L_42, L_43, L_44, L_45, L_47, /*hidden argument*/NULL);
return L_48;
}
}
// System.Void System.TimeZoneInfo::ParseRegTzi(System.Collections.Generic.List`1<System.TimeZoneInfo_AdjustmentRule>,System.Int32,System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * ___adjustmentRules0, int32_t ___start_year1, int32_t ___end_year2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ParseRegTzi_m55C1F9CA43A650277423AE74BF2787446C1D906F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
int32_t V_16 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_17;
memset((&V_17), 0, sizeof(V_17));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_18;
memset((&V_18), 0, sizeof(V_18));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_19;
memset((&V_19), 0, sizeof(V_19));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_20;
memset((&V_20), 0, sizeof(V_20));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_21;
memset((&V_21), 0, sizeof(V_21));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_22;
memset((&V_22), 0, sizeof(V_22));
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_23;
memset((&V_23), 0, sizeof(V_23));
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___buffer3;
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
int32_t L_1 = BitConverter_ToInt32_m900A016CA90064569D8DF6D9195044C9C106B391(L_0, 8, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer3;
int16_t L_3 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_2, ((int32_t)12), /*hidden argument*/NULL);
V_1 = L_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___buffer3;
int16_t L_5 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_4, ((int32_t)14), /*hidden argument*/NULL);
V_2 = L_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___buffer3;
int16_t L_7 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_6, ((int32_t)16), /*hidden argument*/NULL);
V_3 = L_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___buffer3;
int16_t L_9 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_8, ((int32_t)18), /*hidden argument*/NULL);
V_4 = L_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ___buffer3;
int16_t L_11 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_10, ((int32_t)20), /*hidden argument*/NULL);
V_5 = L_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___buffer3;
int16_t L_13 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_12, ((int32_t)22), /*hidden argument*/NULL);
V_6 = L_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ___buffer3;
int16_t L_15 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_14, ((int32_t)24), /*hidden argument*/NULL);
V_7 = L_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = ___buffer3;
int16_t L_17 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_16, ((int32_t)26), /*hidden argument*/NULL);
V_8 = L_17;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ___buffer3;
int16_t L_19 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_18, ((int32_t)28), /*hidden argument*/NULL);
V_9 = L_19;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___buffer3;
int16_t L_21 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_20, ((int32_t)30), /*hidden argument*/NULL);
V_10 = L_21;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = ___buffer3;
int16_t L_23 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_22, ((int32_t)32), /*hidden argument*/NULL);
V_11 = L_23;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = ___buffer3;
int16_t L_25 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_24, ((int32_t)34), /*hidden argument*/NULL);
V_12 = L_25;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ___buffer3;
int16_t L_27 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_26, ((int32_t)36), /*hidden argument*/NULL);
V_13 = L_27;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = ___buffer3;
int16_t L_29 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_28, ((int32_t)38), /*hidden argument*/NULL);
V_14 = L_29;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = ___buffer3;
int16_t L_31 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_30, ((int32_t)40), /*hidden argument*/NULL);
V_15 = L_31;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = ___buffer3;
int16_t L_33 = BitConverter_ToInt16_mBFC7B476188DF611E2B21C89693258F6A4969CEA(L_32, ((int32_t)42), /*hidden argument*/NULL);
V_16 = L_33;
int32_t L_34 = V_2;
if (!L_34)
{
goto IL_00ac;
}
}
{
int32_t L_35 = V_10;
if (L_35)
{
goto IL_00ad;
}
}
IL_00ac:
{
return;
}
IL_00ad:
{
int32_t L_36 = V_13;
int32_t L_37 = V_14;
int32_t L_38 = V_15;
int32_t L_39 = V_16;
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_18), 1, 1, 1, L_36, L_37, L_38, L_39, /*hidden argument*/NULL);
int32_t L_40 = ___start_year1;
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_17), L_40, 1, 1, /*hidden argument*/NULL);
int32_t L_41 = V_9;
if (L_41)
{
goto IL_00de;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_42 = V_18;
int32_t L_43 = V_10;
int32_t L_44 = V_12;
int32_t L_45 = V_11;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_46 = TransitionTime_CreateFloatingDateRule_mF22316F8D071F0D8AAE9981156D6CD87637A327E(L_42, L_43, L_44, L_45, /*hidden argument*/NULL);
V_19 = L_46;
goto IL_00eb;
}
IL_00de:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_47 = V_18;
int32_t L_48 = V_10;
int32_t L_49 = V_12;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_50 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_47, L_48, L_49, /*hidden argument*/NULL);
V_19 = L_50;
}
IL_00eb:
{
int32_t L_51 = V_5;
int32_t L_52 = V_6;
int32_t L_53 = V_7;
int32_t L_54 = V_8;
DateTime__ctor_m6567CDEB97E6541CE4AF8ADDC617CFF419D5A58E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_21), 1, 1, 1, L_51, L_52, L_53, L_54, /*hidden argument*/NULL);
int32_t L_55 = ___end_year2;
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_20), L_55, ((int32_t)12), ((int32_t)31), /*hidden argument*/NULL);
int32_t L_56 = V_1;
if (L_56)
{
goto IL_011b;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_57 = V_21;
int32_t L_58 = V_2;
int32_t L_59 = V_4;
int32_t L_60 = V_3;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_61 = TransitionTime_CreateFloatingDateRule_mF22316F8D071F0D8AAE9981156D6CD87637A327E(L_57, L_58, L_59, L_60, /*hidden argument*/NULL);
V_22 = L_61;
goto IL_0127;
}
IL_011b:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_62 = V_21;
int32_t L_63 = V_2;
int32_t L_64 = V_4;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_65 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_62, L_63, L_64, /*hidden argument*/NULL);
V_22 = L_65;
}
IL_0127:
{
int32_t L_66 = V_0;
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_23), 0, ((-L_66)), 0, /*hidden argument*/NULL);
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_67 = ___adjustmentRules0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_68 = V_17;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_69 = V_20;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_70 = V_23;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_71 = V_19;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_72 = V_22;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_73 = AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935(L_68, L_69, L_70, L_71, L_72, /*hidden argument*/NULL);
NullCheck(L_67);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_67, L_73, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
return;
}
}
// System.TimeZoneInfo_AdjustmentRule[] System.TimeZoneInfo::GetAdjustmentRules()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* TimeZoneInfo_GetAdjustmentRules_m5ECAA03E2351067B577D5E4EAE036014FCE291DE (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetAdjustmentRules_m5ECAA03E2351067B577D5E4EAE036014FCE291DE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_supportsDaylightSavingTime_8();
if (!L_0)
{
goto IL_0010;
}
}
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_1 = __this->get_adjustmentRules_11();
if (L_1)
{
goto IL_0017;
}
}
IL_0010:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_2 = (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)SZArrayNew(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_il2cpp_TypeInfo_var, (uint32_t)0);
return L_2;
}
IL_0017:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_3 = __this->get_adjustmentRules_11();
NullCheck((RuntimeArray *)(RuntimeArray *)L_3);
RuntimeObject * L_4 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_3, /*hidden argument*/NULL);
return ((AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)Castclass((RuntimeObject*)L_4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_il2cpp_TypeInfo_var));
}
}
// System.Int32 System.TimeZoneInfo::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_GetHashCode_m2F0186467A29324D42554C640C84BAF79DEEE2E9 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_1 = NULL;
int32_t V_2 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_3 = NULL;
{
String_t* L_0 = TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
V_0 = L_1;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_2 = TimeZoneInfo_GetAdjustmentRules_m5ECAA03E2351067B577D5E4EAE036014FCE291DE(__this, /*hidden argument*/NULL);
V_1 = L_2;
V_2 = 0;
goto IL_0028;
}
IL_0017:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_3 = V_1;
int32_t L_4 = V_2;
NullCheck(L_3);
int32_t L_5 = L_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_3 = L_6;
int32_t L_7 = V_0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_8 = V_3;
NullCheck(L_8);
int32_t L_9 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_8);
V_0 = ((int32_t)((int32_t)L_7^(int32_t)L_9));
int32_t L_10 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_0028:
{
int32_t L_11 = V_2;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_12 = V_1;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))))
{
goto IL_0017;
}
}
{
int32_t L_13 = V_0;
return L_13;
}
}
// System.Void System.TimeZoneInfo::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_System_Runtime_Serialization_ISerializable_GetObjectData_mAE47C204DEBA80A40CE6BB6D8645CBE68E07E843 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_System_Runtime_Serialization_ISerializable_GetObjectData_mAE47C204DEBA80A40CE6BB6D8645CBE68E07E843_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral59BD0A3FF43B32849B319E645D4798D8A5D1E889, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_System_Runtime_Serialization_ISerializable_GetObjectData_mAE47C204DEBA80A40CE6BB6D8645CBE68E07E843_RuntimeMethod_var);
}
IL_000e:
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_2 = ___info0;
String_t* L_3 = __this->get_id_3();
NullCheck(L_2);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_2, _stringLiteral474AE52625B87D7628AE7B20A499329A99E07119, L_3, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_4 = ___info0;
String_t* L_5 = __this->get_displayName_2();
NullCheck(L_4);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_4, _stringLiteral0A5D3E6700373C9EF26EC5782D72D97AE5D7CF3C, L_5, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_6 = ___info0;
String_t* L_7 = __this->get_standardDisplayName_7();
NullCheck(L_6);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_6, _stringLiteral0F6182802153D24EEA849ECD8B3CDAA0F9B47E59, L_7, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_8 = ___info0;
String_t* L_9 = __this->get_daylightDisplayName_1();
NullCheck(L_8);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_8, _stringLiteral986D5F863A276DE3CA7FDCEEC5606C2C44E03800, L_9, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_10 = ___info0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11 = __this->get_baseUtcOffset_0();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_12 = L_11;
RuntimeObject * L_13 = Box(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var, &L_12);
NullCheck(L_10);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_10, _stringLiteral02DD17A342AB600AEB759AEBC9C5D0DBAAFD8FDE, L_13, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_14 = ___info0;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_15 = __this->get_adjustmentRules_11();
NullCheck(L_14);
SerializationInfo_AddValue_mC9D1E16476E24E1AFE7C59368D3BC0B35F64FBC6(L_14, _stringLiteral607A669D68C57749AE1E59F1737A7C47B41E00A6, (RuntimeObject *)(RuntimeObject *)L_15, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_16 = ___info0;
bool L_17 = TimeZoneInfo_get_SupportsDaylightSavingTime_m101C22CB276BB45E9C38F54BF6F944C8C5578C9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_16);
SerializationInfo_AddValue_m1229CE68F507974EBA0DA9C7C728A09E611D18B1(L_16, _stringLiteral1350F100109D4CF9E61BDE17537ED0553C4C674D, L_17, /*hidden argument*/NULL);
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<System.TimeZoneInfo> System.TimeZoneInfo::GetSystemTimeZones()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * TimeZoneInfo_GetSystemTimeZones_mEA58988461DB651BAAEFE60B72EBCC2403FCDC3A (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetSystemTimeZones_mEA58988461DB651BAAEFE60B72EBCC2403FCDC3A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * V_0 = NULL;
{
ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * L_0 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_systemTimeZones_14();
if (L_0)
{
goto IL_0025;
}
}
{
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_1 = (List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD *)il2cpp_codegen_object_new(List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD_il2cpp_TypeInfo_var);
List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23(L_1, /*hidden argument*/List_1__ctor_m8EA0E94A31BE27A0D2CF4FA7BDDC767E5D2ADC23_RuntimeMethod_var);
V_0 = L_1;
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_2 = V_0;
TimeZoneInfo_GetSystemTimeZonesCore_m9D3D231ABFB243A5720D61CA7FF524E6E6D77808(L_2, /*hidden argument*/NULL);
List_1_tAEAAD63BC89129982F4AF4D8326A9C32BEFBECAD * L_3 = V_0;
ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * L_4 = (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 *)il2cpp_codegen_object_new(ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0_il2cpp_TypeInfo_var);
ReadOnlyCollection_1__ctor_m2669B26D5BD4E1D7DA650B32D5C8C5D4C6F82FE4(L_4, L_3, /*hidden argument*/ReadOnlyCollection_1__ctor_m2669B26D5BD4E1D7DA650B32D5C8C5D4C6F82FE4_RuntimeMethod_var);
InterlockedCompareExchangeImpl<ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 *>((ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 **)(((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_address_of_systemTimeZones_14()), L_4, (ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 *)NULL);
}
IL_0025:
{
ReadOnlyCollection_1_tD63B9891087CF571DD4322388BDDBAEEB7606FE0 * L_5 = ((TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_StaticFields*)il2cpp_codegen_static_fields_for(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777_il2cpp_TypeInfo_var))->get_systemTimeZones_14();
return L_5;
}
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffset(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffset_mB87444CE19A766D8190FCA7508AE192E66E9436D (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method)
{
bool V_0 = false;
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___dateTime0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB(__this, L_0, (bool*)(&V_0), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffset(System.DateTime,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, bool* ___isDST1, const RuntimeMethod* method)
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_0 = NULL;
bool V_1 = false;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_2;
memset((&V_2), 0, sizeof(V_2));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_3;
memset((&V_3), 0, sizeof(V_3));
{
bool* L_0 = ___isDST1;
*((int8_t*)L_0) = (int8_t)0;
V_0 = __this;
int32_t L_1 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_0015;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
V_0 = L_2;
}
IL_0015:
{
int32_t L_3 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_3) == ((uint32_t)2))))
{
goto IL_0025;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_4 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
V_0 = L_4;
}
IL_0025:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_5 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_7 = TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A(L_5, L_6, (bool*)(&V_1), /*hidden argument*/NULL);
V_2 = L_7;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = V_0;
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_8) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this))))
{
goto IL_0038;
}
}
{
bool* L_9 = ___isDST1;
bool L_10 = V_1;
*((int8_t*)L_9) = (int8_t)L_10;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11 = V_2;
return L_11;
}
IL_0038:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = ___dateTime0;
int64_t L_13 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_2), /*hidden argument*/NULL);
bool L_14 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_12, ((-L_13)), (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), 1, /*hidden argument*/NULL);
if (L_14)
{
goto IL_0052;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_15 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
return L_15;
}
IL_0052:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_16 = V_3;
bool* L_17 = ___isDST1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_18 = TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A(L_16, __this, (bool*)L_17, /*hidden argument*/NULL);
return L_18;
}
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffsetHelper(System.DateTime,System.TimeZoneInfo,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___tz1, bool* ___isDST2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_0;
memset((&V_0), 0, sizeof(V_0));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_1;
memset((&V_1), 0, sizeof(V_1));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_2 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_3;
memset((&V_3), 0, sizeof(V_3));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_4 = NULL;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_5;
memset((&V_5), 0, sizeof(V_5));
{
int32_t L_0 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)2))))
{
goto IL_0018;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_1 = ___tz1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_1) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_2)))
{
goto IL_0018;
}
}
{
Exception_t * L_3 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m5FEC89FBFACEEDCEE29CCFD44A85D72FC28EB0D1(L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeZoneInfo_GetUtcOffsetHelper_mEF2AA10E4E24DF9A330DA6BBE230783050E9BA1A_RuntimeMethod_var);
}
IL_0018:
{
bool* L_4 = ___isDST2;
*((int8_t*)L_4) = (int8_t)0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_5 = ___tz1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_5) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_6))))
{
goto IL_0029;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_7 = ((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_StaticFields*)il2cpp_codegen_static_fields_for(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var))->get_Zero_0();
return L_7;
}
IL_0029:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = ___tz1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_9 = ___dateTime0;
bool* L_10 = ___isDST2;
NullCheck(L_8);
bool L_11 = TimeZoneInfo_TryGetTransitionOffset_mE81815E31B2FD48D83635AE3FAADF622DDE6B5D6(L_8, L_9, (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_0), (bool*)L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0037;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_12 = V_0;
return L_12;
}
IL_0037:
{
int32_t L_13 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_13) == ((uint32_t)1))))
{
goto IL_0076;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_14 = ___tz1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_15 = ___dateTime0;
NullCheck(L_14);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_16 = TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A(L_14, L_15, /*hidden argument*/NULL);
V_4 = L_16;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_17 = V_4;
if (!L_17)
{
goto IL_006f;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_18 = ___tz1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_19 = V_4;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_20 = ___dateTime0;
NullCheck(L_18);
bool L_21 = TimeZoneInfo_IsInDST_m353072CFE30139C66F490E254314847B1C55A61C(L_18, L_19, L_20, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_006f;
}
}
{
bool* L_22 = ___isDST2;
*((int8_t*)L_22) = (int8_t)1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_23 = ___tz1;
NullCheck(L_23);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_24 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_23, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_25 = V_4;
NullCheck(L_25);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_26 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_25, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_27 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_24, L_26, /*hidden argument*/NULL);
return L_27;
}
IL_006f:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_28 = ___tz1;
NullCheck(L_28);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_29 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_28, /*hidden argument*/NULL);
return L_29;
}
IL_0076:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_30 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_31 = ___tz1;
NullCheck(L_31);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_32 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_31, /*hidden argument*/NULL);
V_5 = L_32;
int64_t L_33 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_5), /*hidden argument*/NULL);
bool L_34 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_30, ((-L_33)), (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_1), 1, /*hidden argument*/NULL);
if (L_34)
{
goto IL_0098;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_35 = ___tz1;
NullCheck(L_35);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_36 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_35, /*hidden argument*/NULL);
return L_36;
}
IL_0098:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_37 = ___tz1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_38 = V_1;
NullCheck(L_37);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_39 = TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A(L_37, L_38, /*hidden argument*/NULL);
V_2 = L_39;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_40 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_3 = L_40;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_41 = V_2;
if (!L_41)
{
goto IL_00cb;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_42 = V_1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_43 = V_2;
NullCheck(L_43);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_44 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_43, /*hidden argument*/NULL);
V_5 = L_44;
int64_t L_45 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_5), /*hidden argument*/NULL);
bool L_46 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_42, ((-L_45)), (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_3), 1, /*hidden argument*/NULL);
if (L_46)
{
goto IL_00cb;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_47 = ___tz1;
NullCheck(L_47);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_48 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_47, /*hidden argument*/NULL);
return L_48;
}
IL_00cb:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_49 = V_2;
if (!L_49)
{
goto IL_00fe;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_50 = ___tz1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_51 = V_2;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_52 = ___dateTime0;
NullCheck(L_50);
bool L_53 = TimeZoneInfo_IsInDST_m353072CFE30139C66F490E254314847B1C55A61C(L_50, L_51, L_52, /*hidden argument*/NULL);
if (!L_53)
{
goto IL_00fe;
}
}
{
bool* L_54 = ___isDST2;
*((int8_t*)L_54) = (int8_t)1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_55 = ___tz1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_56 = V_2;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_57 = V_3;
NullCheck(L_55);
bool L_58 = TimeZoneInfo_IsInDST_m353072CFE30139C66F490E254314847B1C55A61C(L_55, L_56, L_57, /*hidden argument*/NULL);
if (!L_58)
{
goto IL_00f7;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_59 = ___tz1;
NullCheck(L_59);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_60 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_59, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_61 = V_2;
NullCheck(L_61);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_62 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_61, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_63 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_60, L_62, /*hidden argument*/NULL);
return L_63;
}
IL_00f7:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_64 = ___tz1;
NullCheck(L_64);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_65 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_64, /*hidden argument*/NULL);
return L_65;
}
IL_00fe:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_66 = ___tz1;
NullCheck(L_66);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_67 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_66, /*hidden argument*/NULL);
return L_67;
}
}
// System.Boolean System.TimeZoneInfo::HasSameRules(System.TimeZoneInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___other0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = ___other0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteralD0941E68DA8F38151FF86A61FC59F7C5CF9FCAA2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_HasSameRules_m1C002CA4B76F10229AD7C5B30F53F66C7C53720A_RuntimeMethod_var);
}
IL_000e:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_2 = __this->get_adjustmentRules_11();
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = ___other0;
NullCheck(L_3);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_4 = L_3->get_adjustmentRules_11();
if ((((int32_t)((((RuntimeObject*)(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)L_2) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0)) == ((int32_t)((((RuntimeObject*)(AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0))))
{
goto IL_0024;
}
}
{
return (bool)0;
}
IL_0024:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_5 = __this->get_adjustmentRules_11();
if (L_5)
{
goto IL_002e;
}
}
{
return (bool)1;
}
IL_002e:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = ___other0;
NullCheck(L_7);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_9 = TimeSpan_op_Inequality_mEAE207F8B9A9B42CC33F4DE882E69E98C09065FC(L_6, L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0043;
}
}
{
return (bool)0;
}
IL_0043:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_10 = __this->get_adjustmentRules_11();
NullCheck(L_10);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_11 = ___other0;
NullCheck(L_11);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_12 = L_11->get_adjustmentRules_11();
NullCheck(L_12);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))))
{
goto IL_0057;
}
}
{
return (bool)0;
}
IL_0057:
{
V_0 = 0;
goto IL_0078;
}
IL_005b:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_13 = __this->get_adjustmentRules_11();
int32_t L_14 = V_0;
NullCheck(L_13);
int32_t L_15 = L_14;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_16 = (L_13)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_17 = ___other0;
NullCheck(L_17);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_18 = L_17->get_adjustmentRules_11();
int32_t L_19 = V_0;
NullCheck(L_18);
int32_t L_20 = L_19;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
NullCheck(L_16);
bool L_22 = AdjustmentRule_Equals_mE58526212854504DB5575E2396F3C97F4F0EEA95(L_16, L_21, /*hidden argument*/NULL);
if (L_22)
{
goto IL_0074;
}
}
{
return (bool)0;
}
IL_0074:
{
int32_t L_23 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_0078:
{
int32_t L_24 = V_0;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_25 = __this->get_adjustmentRules_11();
NullCheck(L_25);
if ((((int32_t)L_24) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))))
{
goto IL_005b;
}
}
{
return (bool)1;
}
}
// System.Boolean System.TimeZoneInfo::IsAmbiguousTime(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_0 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_1;
memset((&V_1), 0, sizeof(V_1));
{
int32_t L_0 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)2))))
{
goto IL_001e;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_1 = ___dateTime0;
bool L_2 = TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235(__this, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_001e;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_3, _stringLiteral0AF70E9C0D57B35CCD56C4069FC8D171CB59AF5E, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC_RuntimeMethod_var);
}
IL_001e:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_4 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((!(((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_4))))
{
goto IL_0028;
}
}
{
return (bool)0;
}
IL_0028:
{
int32_t L_5 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_5) == ((uint32_t)1))))
{
goto IL_003b;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_6 = ___dateTime0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_7 = TimeZoneInfo_ConvertTimeFromUtc_m59079E8F2663E2A1A96089CCB397E2FC9A00C422(__this, L_6, /*hidden argument*/NULL);
___dateTime0 = L_7;
}
IL_003b:
{
int32_t L_8 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_8) == ((uint32_t)2))))
{
goto IL_005b;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_9 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_9)))
{
goto IL_005b;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_10 = ___dateTime0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_11 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = TimeZoneInfo_ConvertTime_mC953F67CC3D9457C7595DBB652418754C2B58FDE(L_10, L_11, __this, /*hidden argument*/NULL);
___dateTime0 = L_12;
}
IL_005b:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ___dateTime0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_14 = TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A(__this, L_13, /*hidden argument*/NULL);
V_0 = L_14;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_15 = V_0;
if (!L_15)
{
goto IL_0098;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_16 = V_0;
NullCheck(L_16);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_17 = AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline(L_16, /*hidden argument*/NULL);
int32_t L_18 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_19 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(L_17, L_18, /*hidden argument*/NULL);
V_1 = L_19;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_20 = ___dateTime0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_21 = V_1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_22 = V_0;
NullCheck(L_22);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_23 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_22, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_24 = DateTime_op_Subtraction_m679BBE02927C8538BBDD10A514E655568246830B(L_21, L_23, /*hidden argument*/NULL);
bool L_25 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_20, L_24, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_0098;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_26 = ___dateTime0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_28 = DateTime_op_LessThanOrEqual_m7131235B927010BD9DB3C93FEB51640286D1107B(L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_0098;
}
}
{
return (bool)1;
}
IL_0098:
{
return (bool)0;
}
}
// System.Boolean System.TimeZoneInfo::IsInDST(System.TimeZoneInfo_AdjustmentRule,System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInDST_m353072CFE30139C66F490E254314847B1C55A61C (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___rule0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime1, const RuntimeMethod* method)
{
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_0 = ___rule0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_1 = ___dateTime1;
int32_t L_2 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime1), /*hidden argument*/NULL);
bool L_3 = TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0013;
}
}
{
return (bool)1;
}
IL_0013:
{
int32_t L_4 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime1), /*hidden argument*/NULL);
if ((((int32_t)L_4) <= ((int32_t)1)))
{
goto IL_002f;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_5 = ___rule0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_6 = ___dateTime1;
int32_t L_7 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime1), /*hidden argument*/NULL);
bool L_8 = TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E(__this, L_5, L_6, ((int32_t)il2cpp_codegen_subtract((int32_t)L_7, (int32_t)1)), /*hidden argument*/NULL);
return L_8;
}
IL_002f:
{
return (bool)0;
}
}
// System.Boolean System.TimeZoneInfo::IsInDSTForYear(System.TimeZoneInfo_AdjustmentRule,System.DateTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * ___rule0, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime1, int32_t ___year2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_IsInDSTForYear_m5F2B6A89397E4CBE9071FB2982CDA45E6230276E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_0;
memset((&V_0), 0, sizeof(V_0));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_1;
memset((&V_1), 0, sizeof(V_1));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t G_B2_0 = 0;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 G_B2_1;
memset((&G_B2_1), 0, sizeof(G_B2_1));
int32_t G_B1_0 = 0;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 G_B1_1;
memset((&G_B1_1), 0, sizeof(G_B1_1));
int32_t G_B3_0 = 0;
int32_t G_B3_1 = 0;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 G_B3_2;
memset((&G_B3_2), 0, sizeof(G_B3_2));
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_0 = ___rule0;
NullCheck(L_0);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_1 = AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___year2;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_4 = ___rule0;
NullCheck(L_4);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_5 = AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline(L_4, /*hidden argument*/NULL);
int32_t L_6 = ___year2;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_7 = ___rule0;
NullCheck(L_7);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_8 = AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline(L_7, /*hidden argument*/NULL);
V_2 = L_8;
int32_t L_9 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&V_2), /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_10 = ___rule0;
NullCheck(L_10);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_11 = AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline(L_10, /*hidden argument*/NULL);
V_2 = L_11;
int32_t L_12 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&V_2), /*hidden argument*/NULL);
G_B1_0 = L_6;
G_B1_1 = L_5;
if ((((int32_t)L_9) < ((int32_t)L_12)))
{
G_B2_0 = L_6;
G_B2_1 = L_5;
goto IL_0035;
}
}
{
G_B3_0 = 1;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0036;
}
IL_0035:
{
G_B3_0 = 0;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0036:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(G_B3_2, ((int32_t)il2cpp_codegen_add((int32_t)G_B3_1, (int32_t)G_B3_0)), /*hidden argument*/NULL);
V_1 = L_13;
int32_t L_14 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime1), /*hidden argument*/NULL);
if ((!(((uint32_t)L_14) == ((uint32_t)1))))
{
goto IL_006c;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_15 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_16 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_17 = DateTime_op_Subtraction_m679BBE02927C8538BBDD10A514E655568246830B(L_15, L_16, /*hidden argument*/NULL);
V_0 = L_17;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_18 = V_1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_19 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_20 = ___rule0;
NullCheck(L_20);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_21 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_20, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_22 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_19, L_21, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_23 = DateTime_op_Subtraction_m679BBE02927C8538BBDD10A514E655568246830B(L_18, L_22, /*hidden argument*/NULL);
V_1 = L_23;
}
IL_006c:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_24 = ___dateTime1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_25 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_26 = DateTime_op_GreaterThanOrEqual_mEDD57FC8B24FAF4D6AA94CFE6AE190CF359B66B4(L_24, L_25, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_007d;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27 = ___dateTime1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_28 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_29 = DateTime_op_LessThan_m75DE4F8CC5F5EE392829A9B37C5C98B7FC97061A(L_27, L_28, /*hidden argument*/NULL);
return L_29;
}
IL_007d:
{
return (bool)0;
}
}
// System.Boolean System.TimeZoneInfo::IsInvalidTime(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_IsInvalidTime_m986910976B42BA4BA0687D048ADABAA997B6C235_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_0 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_1;
memset((&V_1), 0, sizeof(V_1));
{
int32_t L_0 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_000c:
{
int32_t L_1 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
{
goto IL_0020;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_2)))
{
goto IL_0020;
}
}
{
return (bool)0;
}
IL_0020:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = ___dateTime0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_4 = TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A(__this, L_3, /*hidden argument*/NULL);
V_0 = L_4;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_5 = V_0;
if (!L_5)
{
goto IL_005d;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_6 = V_0;
NullCheck(L_6);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_7 = AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline(L_6, /*hidden argument*/NULL);
int32_t L_8 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_9 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(L_7, L_8, /*hidden argument*/NULL);
V_1 = L_9;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_10 = ___dateTime0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_11 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_12 = DateTime_op_GreaterThanOrEqual_mEDD57FC8B24FAF4D6AA94CFE6AE190CF359B66B4(L_10, L_11, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_005d;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = ___dateTime0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_14 = V_1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_15 = V_0;
NullCheck(L_15);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_16 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_15, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_17 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_14, L_16, /*hidden argument*/NULL);
bool L_18 = DateTime_op_LessThan_m75DE4F8CC5F5EE392829A9B37C5C98B7FC97061A(L_13, L_17, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_005d;
}
}
{
return (bool)1;
}
IL_005d:
{
return (bool)0;
}
}
// System.Void System.TimeZoneInfo::System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m5091B256A2E8EDD09B7350EA38038D51A2D8FE89 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, RuntimeObject * ___sender0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m5091B256A2E8EDD09B7350EA38038D51A2D8FE89_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * V_0 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
String_t* L_0 = __this->get_id_3();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = __this->get_baseUtcOffset_0();
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_2 = __this->get_adjustmentRules_11();
TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702(L_0, L_1, L_2, /*hidden argument*/NULL);
goto IL_0026;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0019;
throw e;
}
CATCH_0019:
{ // begin catch(System.ArgumentException)
V_0 = ((ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)__exception_local);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = V_0;
SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210 * L_4 = (SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210 *)il2cpp_codegen_object_new(SerializationException_tA1FDFF6779406E688C2192E71C38DBFD7A4A2210_il2cpp_TypeInfo_var);
SerializationException__ctor_mCCC70F63CC8A3BC77B50CFA582D9DB1256846921(L_4, _stringLiteralA82BB634B61B228343B0708E674AB898AC53AC23, L_3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, TimeZoneInfo_System_Runtime_Serialization_IDeserializationCallback_OnDeserialization_m5091B256A2E8EDD09B7350EA38038D51A2D8FE89_RuntimeMethod_var);
} // end catch (depth: 1)
IL_0026:
{
return;
}
}
// System.Void System.TimeZoneInfo::Validate(System.String,System.TimeSpan,System.TimeZoneInfo_AdjustmentRule[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702 (String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_0 = NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_1 = NULL;
int32_t V_2 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_3 = NULL;
{
String_t* L_0 = ___id0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral87EA5DFC8B8E384D848979496E706390B497E547, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_000e:
{
String_t* L_2 = ___id0;
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
bool L_4 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0026;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_5 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_5, _stringLiteral796C6F906CD9AFED4B6DCF5573E528AD627CA46C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_0026:
{
int64_t L_6 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___baseUtcOffset1), /*hidden argument*/NULL);
if (!((int64_t)((int64_t)L_6%(int64_t)(((int64_t)((int64_t)((int32_t)600000000)))))))
{
goto IL_0041;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_7 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_7, _stringLiteral708136672D3E2B5A654FB9C34A7F207747885825, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_0041:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8 = ___baseUtcOffset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_9;
memset((&L_9), 0, sizeof(L_9));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_9), ((int32_t)14), 0, 0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_10 = TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486(L_8, L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_0063;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11 = ___baseUtcOffset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_12;
memset((&L_12), 0, sizeof(L_12));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_12), ((int32_t)-14), 0, 0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_13 = TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_006e;
}
}
IL_0063:
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_14 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_14, _stringLiteral1F96F0958DF8CB4296C7EFE494DF309346DE6CBA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_006e:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_15 = ___adjustmentRules2;
if (!L_15)
{
goto IL_014d;
}
}
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_16 = ___adjustmentRules2;
NullCheck(L_16);
if (!(((RuntimeArray*)L_16)->max_length))
{
goto IL_014d;
}
}
{
V_0 = (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_17 = ___adjustmentRules2;
V_1 = L_17;
V_2 = 0;
goto IL_0144;
}
IL_0086:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_18 = V_1;
int32_t L_19 = V_2;
NullCheck(L_18);
int32_t L_20 = L_19;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
V_3 = L_21;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_22 = V_3;
if (L_22)
{
goto IL_0098;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_23 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_23, _stringLiteral061A02C15C4ADACD1235EC1D4913C179A22A3751, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_0098:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_24 = ___baseUtcOffset1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_25 = V_3;
NullCheck(L_25);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_26 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_25, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_27 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_24, L_26, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_28;
memset((&L_28), 0, sizeof(L_28));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_28), ((int32_t)-14), 0, 0, /*hidden argument*/NULL);
bool L_29 = TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117(L_27, L_28, /*hidden argument*/NULL);
if (L_29)
{
goto IL_00d0;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_30 = ___baseUtcOffset1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_31 = V_3;
NullCheck(L_31);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_32 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_31, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_33 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_30, L_32, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_34;
memset((&L_34), 0, sizeof(L_34));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_34), ((int32_t)14), 0, 0, /*hidden argument*/NULL);
bool L_35 = TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486(L_33, L_34, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_00db;
}
}
IL_00d0:
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_36 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_36, _stringLiteral21F20DF4A4C08E5DABA82DB1839C69CA515E1B33, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_36, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_00db:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_37 = V_0;
if (!L_37)
{
goto IL_00fc;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_38 = V_0;
NullCheck(L_38);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_39 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_38, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_40 = V_3;
NullCheck(L_40);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_41 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_40, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_42 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_39, L_41, /*hidden argument*/NULL);
if (!L_42)
{
goto IL_00fc;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_43 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_43, _stringLiteral15E66556F3FB947D9C6C37859A45CC4C92C6CAA7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_43, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_00fc:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_44 = V_0;
if (!L_44)
{
goto IL_011d;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_45 = V_0;
NullCheck(L_45);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_46 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_45, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_47 = V_3;
NullCheck(L_47);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_48 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_47, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_49 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_46, L_48, /*hidden argument*/NULL);
if (!L_49)
{
goto IL_011d;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_50 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_50, _stringLiteralC2761A6512E7A91307A0DE721A3CA321DC4704D8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_50, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_011d:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_51 = V_0;
if (!L_51)
{
goto IL_013e;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_52 = V_0;
NullCheck(L_52);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_53 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_52, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_54 = V_3;
NullCheck(L_54);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_55 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_54, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_56 = DateTime_op_Equality_m5715465D90806F5305BBA5F690377819C55AF084(L_53, L_55, /*hidden argument*/NULL);
if (!L_56)
{
goto IL_013e;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_57 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_57, _stringLiteral7B40CAEE6DF9BFEF9B5A66F65F70C99ADC496807, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_57, NULL, TimeZoneInfo_Validate_m2C720033788975438481F523D5AE5F3A9E5D3702_RuntimeMethod_var);
}
IL_013e:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_58 = V_3;
V_0 = L_58;
int32_t L_59 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_59, (int32_t)1));
}
IL_0144:
{
int32_t L_60 = V_2;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_61 = V_1;
NullCheck(L_61);
if ((((int32_t)L_60) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_61)->max_length)))))))
{
goto IL_0086;
}
}
IL_014d:
{
return;
}
}
// System.String System.TimeZoneInfo::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_ToString_m71BD0563C9D19EB2CBB8585D151C62D73D789126 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = TimeZoneInfo_get_DisplayName_m583E6E48EAA12F6D87191F71AAE821481F8B006A_inline(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void System.TimeZoneInfo::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo__ctor_m208C00B56C7C1002819A1B940AD02AFD1848886D (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ___info0, StreamingContext_t2CCDC54E0E8D078AF4A50E3A8B921B828A900034 ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo__ctor_m208C00B56C7C1002819A1B940AD02AFD1848886D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_0 = ___info0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral59BD0A3FF43B32849B319E645D4798D8A5D1E889, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo__ctor_m208C00B56C7C1002819A1B940AD02AFD1848886D_RuntimeMethod_var);
}
IL_0014:
{
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_2 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_3 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_3, /*hidden argument*/NULL);
NullCheck(L_2);
RuntimeObject * L_5 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_2, _stringLiteral474AE52625B87D7628AE7B20A499329A99E07119, L_4, /*hidden argument*/NULL);
__this->set_id_3(((String_t*)CastclassSealed((RuntimeObject*)L_5, String_t_il2cpp_TypeInfo_var)));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_6 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_7 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
Type_t * L_8 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_7, /*hidden argument*/NULL);
NullCheck(L_6);
RuntimeObject * L_9 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_6, _stringLiteral0A5D3E6700373C9EF26EC5782D72D97AE5D7CF3C, L_8, /*hidden argument*/NULL);
__this->set_displayName_2(((String_t*)CastclassSealed((RuntimeObject*)L_9, String_t_il2cpp_TypeInfo_var)));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_10 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_11 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
Type_t * L_12 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_11, /*hidden argument*/NULL);
NullCheck(L_10);
RuntimeObject * L_13 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_10, _stringLiteral0F6182802153D24EEA849ECD8B3CDAA0F9B47E59, L_12, /*hidden argument*/NULL);
__this->set_standardDisplayName_7(((String_t*)CastclassSealed((RuntimeObject*)L_13, String_t_il2cpp_TypeInfo_var)));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_14 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_15 = { reinterpret_cast<intptr_t> (String_t_0_0_0_var) };
Type_t * L_16 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_15, /*hidden argument*/NULL);
NullCheck(L_14);
RuntimeObject * L_17 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_14, _stringLiteral986D5F863A276DE3CA7FDCEEC5606C2C44E03800, L_16, /*hidden argument*/NULL);
__this->set_daylightDisplayName_1(((String_t*)CastclassSealed((RuntimeObject*)L_17, String_t_il2cpp_TypeInfo_var)));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_18 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_19 = { reinterpret_cast<intptr_t> (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_0_0_0_var) };
Type_t * L_20 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_19, /*hidden argument*/NULL);
NullCheck(L_18);
RuntimeObject * L_21 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_18, _stringLiteral02DD17A342AB600AEB759AEBC9C5D0DBAAFD8FDE, L_20, /*hidden argument*/NULL);
__this->set_baseUtcOffset_0(((*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)UnBox(L_21, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var)))));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_22 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_23 = { reinterpret_cast<intptr_t> (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_0_0_0_var) };
Type_t * L_24 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_23, /*hidden argument*/NULL);
NullCheck(L_22);
RuntimeObject * L_25 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_22, _stringLiteral607A669D68C57749AE1E59F1737A7C47B41E00A6, L_24, /*hidden argument*/NULL);
__this->set_adjustmentRules_11(((AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)Castclass((RuntimeObject*)L_25, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD_il2cpp_TypeInfo_var)));
SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * L_26 = ___info0;
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D L_27 = { reinterpret_cast<intptr_t> (Boolean_tB53F6830F670160873277339AA58F15CAED4399C_0_0_0_var) };
Type_t * L_28 = Type_GetTypeFromHandle_m9DC58ADF0512987012A8A016FB64B068F3B1AFF6(L_27, /*hidden argument*/NULL);
NullCheck(L_26);
RuntimeObject * L_29 = SerializationInfo_GetValue_m7910CE6C68888C1F863D7A35915391FA33463ECF(L_26, _stringLiteral1350F100109D4CF9E61BDE17537ED0553C4C674D, L_28, /*hidden argument*/NULL);
__this->set_supportsDaylightSavingTime_8(((*(bool*)((bool*)UnBox(L_29, Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var)))));
return;
}
}
// System.Void System.TimeZoneInfo::.ctor(System.String,System.TimeSpan,System.String,System.String,System.String,System.TimeZoneInfo_AdjustmentRule[],System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, String_t* ___id0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 ___baseUtcOffset1, String_t* ___displayName2, String_t* ___standardDisplayName3, String_t* ___daylightDisplayName4, AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* ___adjustmentRules5, bool ___disableDaylightSavingTime6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_1 = NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_2 = NULL;
int32_t V_3 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_4 = NULL;
String_t* G_B32_0 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * G_B32_1 = NULL;
String_t* G_B31_0 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * G_B31_1 = NULL;
String_t* G_B34_0 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * G_B34_1 = NULL;
String_t* G_B33_0 = NULL;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * G_B33_1 = NULL;
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
String_t* L_0 = ___id0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral87EA5DFC8B8E384D848979496E706390B497E547, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0014:
{
String_t* L_2 = ___id0;
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
bool L_4 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_002c;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_5 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_5, _stringLiteral796C6F906CD9AFED4B6DCF5573E528AD627CA46C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_002c:
{
int64_t L_6 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&___baseUtcOffset1), /*hidden argument*/NULL);
if (!((int64_t)((int64_t)L_6%(int64_t)(((int64_t)((int64_t)((int32_t)600000000)))))))
{
goto IL_0047;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_7 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_7, _stringLiteral708136672D3E2B5A654FB9C34A7F207747885825, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0047:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8 = ___baseUtcOffset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_9;
memset((&L_9), 0, sizeof(L_9));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_9), ((int32_t)14), 0, 0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_10 = TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486(L_8, L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_0069;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_11 = ___baseUtcOffset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_12;
memset((&L_12), 0, sizeof(L_12));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_12), ((int32_t)-14), 0, 0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
bool L_13 = TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0074;
}
}
IL_0069:
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_14 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_14, _stringLiteral1F96F0958DF8CB4296C7EFE494DF309346DE6CBA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0074:
{
bool L_15 = ___disableDaylightSavingTime6;
V_0 = (bool)((((int32_t)L_15) == ((int32_t)0))? 1 : 0);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_16 = ___adjustmentRules5;
if (!L_16)
{
goto IL_0166;
}
}
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_17 = ___adjustmentRules5;
NullCheck(L_17);
if (!(((RuntimeArray*)L_17)->max_length))
{
goto IL_0166;
}
}
{
V_1 = (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_18 = ___adjustmentRules5;
V_2 = L_18;
V_3 = 0;
goto IL_015b;
}
IL_0095:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_19 = V_2;
int32_t L_20 = V_3;
NullCheck(L_19);
int32_t L_21 = L_20;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
V_4 = L_22;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_23 = V_4;
if (L_23)
{
goto IL_00a9;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_24 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_24, _stringLiteral061A02C15C4ADACD1235EC1D4913C179A22A3751, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_00a9:
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_25 = ___baseUtcOffset1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_26 = V_4;
NullCheck(L_26);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_27 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_26, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_28 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_25, L_27, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_29;
memset((&L_29), 0, sizeof(L_29));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_29), ((int32_t)-14), 0, 0, /*hidden argument*/NULL);
bool L_30 = TimeSpan_op_LessThan_mF92FF63DD1E52540977D3B1753D43895F7B0A117(L_28, L_29, /*hidden argument*/NULL);
if (L_30)
{
goto IL_00e3;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_31 = ___baseUtcOffset1;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_32 = V_4;
NullCheck(L_32);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_33 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_32, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_34 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_31, L_33, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_35;
memset((&L_35), 0, sizeof(L_35));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_35), ((int32_t)14), 0, 0, /*hidden argument*/NULL);
bool L_36 = TimeSpan_op_GreaterThan_mC4CE0AD3057035058479B695ACDC089F3A6EA486(L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_00ee;
}
}
IL_00e3:
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_37 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_37, _stringLiteral21F20DF4A4C08E5DABA82DB1839C69CA515E1B33, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_37, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_00ee:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_38 = V_1;
if (!L_38)
{
goto IL_0110;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_39 = V_1;
NullCheck(L_39);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_40 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_39, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_41 = V_4;
NullCheck(L_41);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_42 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_41, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_43 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_40, L_42, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_0110;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_44 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_44, _stringLiteral15E66556F3FB947D9C6C37859A45CC4C92C6CAA7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_44, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0110:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_45 = V_1;
if (!L_45)
{
goto IL_0132;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_46 = V_1;
NullCheck(L_46);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_47 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_46, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_48 = V_4;
NullCheck(L_48);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_49 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_48, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_50 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_47, L_49, /*hidden argument*/NULL);
if (!L_50)
{
goto IL_0132;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_51 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_51, _stringLiteralC2761A6512E7A91307A0DE721A3CA321DC4704D8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_51, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0132:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_52 = V_1;
if (!L_52)
{
goto IL_0154;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_53 = V_1;
NullCheck(L_53);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_54 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_53, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_55 = V_4;
NullCheck(L_55);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_56 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_55, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_57 = DateTime_op_Equality_m5715465D90806F5305BBA5F690377819C55AF084(L_54, L_56, /*hidden argument*/NULL);
if (!L_57)
{
goto IL_0154;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_58 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_58, _stringLiteral7B40CAEE6DF9BFEF9B5A66F65F70C99ADC496807, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_58, NULL, TimeZoneInfo__ctor_mB0BB74CD1FA6E4E93597A80447A6CE08B8E0E5D5_RuntimeMethod_var);
}
IL_0154:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_59 = V_4;
V_1 = L_59;
int32_t L_60 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)1));
}
IL_015b:
{
int32_t L_61 = V_3;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_62 = V_2;
NullCheck(L_62);
if ((((int32_t)L_61) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))))))
{
goto IL_0095;
}
}
{
goto IL_0168;
}
IL_0166:
{
V_0 = (bool)0;
}
IL_0168:
{
String_t* L_63 = ___id0;
__this->set_id_3(L_63);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_64 = ___baseUtcOffset1;
__this->set_baseUtcOffset_0(L_64);
String_t* L_65 = ___displayName2;
String_t* L_66 = L_65;
G_B31_0 = L_66;
G_B31_1 = __this;
if (L_66)
{
G_B32_0 = L_66;
G_B32_1 = __this;
goto IL_017d;
}
}
{
String_t* L_67 = ___id0;
G_B32_0 = L_67;
G_B32_1 = G_B31_1;
}
IL_017d:
{
NullCheck(G_B32_1);
G_B32_1->set_displayName_2(G_B32_0);
String_t* L_68 = ___standardDisplayName3;
String_t* L_69 = L_68;
G_B33_0 = L_69;
G_B33_1 = __this;
if (L_69)
{
G_B34_0 = L_69;
G_B34_1 = __this;
goto IL_018a;
}
}
{
String_t* L_70 = ___id0;
G_B34_0 = L_70;
G_B34_1 = G_B33_1;
}
IL_018a:
{
NullCheck(G_B34_1);
G_B34_1->set_standardDisplayName_7(G_B34_0);
String_t* L_71 = ___daylightDisplayName4;
__this->set_daylightDisplayName_1(L_71);
bool L_72 = V_0;
__this->set_supportsDaylightSavingTime_8(L_72);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_73 = ___adjustmentRules5;
__this->set_adjustmentRules_11(L_73);
return;
}
}
// System.TimeZoneInfo_AdjustmentRule System.TimeZoneInfo::GetApplicableRule(System.DateTime)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_0;
memset((&V_0), 0, sizeof(V_0));
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_1;
memset((&V_1), 0, sizeof(V_1));
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_2 = NULL;
int32_t V_3 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_4 = NULL;
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___dateTime0;
V_0 = L_0;
int32_t L_1 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
{
goto IL_0035;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_2)))
{
goto IL_0035;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_3 = DateTime_ToUniversalTime_mA8B74D947E186568C55D9C6F56D59F9A3C7775B1((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_4 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
V_1 = L_4;
int64_t L_5 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_1), /*hidden argument*/NULL);
bool L_6 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_3, L_5, (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), 0, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0062;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0035:
{
int32_t L_7 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_7) == ((uint32_t)1))))
{
goto IL_0062;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_8 = TimeZoneInfo_get_Utc_mE10DC8C042D2CE7D3FA9A46ED7035FF93B6502EE(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_8)))
{
goto IL_0062;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_9 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_10 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
V_1 = L_10;
int64_t L_11 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_1), /*hidden argument*/NULL);
bool L_12 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_9, L_11, (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), 0, /*hidden argument*/NULL);
if (L_12)
{
goto IL_0062;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0062:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), /*hidden argument*/NULL);
V_0 = L_13;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_14 = __this->get_adjustmentRules_11();
if (!L_14)
{
goto IL_00af;
}
}
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_15 = __this->get_adjustmentRules_11();
V_2 = L_15;
V_3 = 0;
goto IL_00a9;
}
IL_007d:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_16 = V_2;
int32_t L_17 = V_3;
NullCheck(L_16);
int32_t L_18 = L_17;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
V_4 = L_19;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_20 = V_4;
NullCheck(L_20);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_21 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_20, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_22 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_23 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_21, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_0093;
}
}
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
IL_0093:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_24 = V_4;
NullCheck(L_24);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_25 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_24, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_26 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_27 = DateTime_op_LessThan_m75DE4F8CC5F5EE392829A9B37C5C98B7FC97061A(L_25, L_26, /*hidden argument*/NULL);
if (L_27)
{
goto IL_00a5;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_28 = V_4;
return L_28;
}
IL_00a5:
{
int32_t L_29 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
}
IL_00a9:
{
int32_t L_30 = V_3;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_31 = V_2;
NullCheck(L_31);
if ((((int32_t)L_30) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))))
{
goto IL_007d;
}
}
IL_00af:
{
return (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
}
}
// System.Boolean System.TimeZoneInfo::TryGetTransitionOffset(System.DateTime,System.TimeSpan&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_TryGetTransitionOffset_mE81815E31B2FD48D83635AE3FAADF622DDE6B5D6 (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * ___offset1, bool* ___isDst2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TryGetTransitionOffset_mE81815E31B2FD48D83635AE3FAADF622DDE6B5D6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_0;
memset((&V_0), 0, sizeof(V_0));
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_1 = NULL;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_2;
memset((&V_2), 0, sizeof(V_2));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_3;
memset((&V_3), 0, sizeof(V_3));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_4;
memset((&V_4), 0, sizeof(V_4));
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * L_0 = ___offset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)L_0 = L_1;
bool* L_2 = ___isDst2;
*((int8_t*)L_2) = (int8_t)0;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_3 = __this->get_transitions_5();
if (L_3)
{
goto IL_0019;
}
}
{
return (bool)0;
}
IL_0019:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_4 = ___dateTime0;
V_0 = L_4;
int32_t L_5 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_5) == ((uint32_t)2))))
{
goto IL_004e;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_6 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
if ((((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)__this) == ((RuntimeObject*)(TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 *)L_6)))
{
goto IL_004e;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_7 = DateTime_ToUniversalTime_mA8B74D947E186568C55D9C6F56D59F9A3C7775B1((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_8 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
V_2 = L_8;
int64_t L_9 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_2), /*hidden argument*/NULL);
bool L_10 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_7, L_9, (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), 1, /*hidden argument*/NULL);
if (L_10)
{
goto IL_004e;
}
}
{
return (bool)0;
}
IL_004e:
{
int32_t L_11 = DateTime_get_Kind_m44C21F0AB366194E0233E48B77B15EBB418892BE((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&___dateTime0), /*hidden argument*/NULL);
if ((((int32_t)L_11) == ((int32_t)1)))
{
goto IL_0074;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_12 = V_0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_13 = TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(__this, /*hidden argument*/NULL);
V_2 = L_13;
int64_t L_14 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_2), /*hidden argument*/NULL);
bool L_15 = TimeZoneInfo_TryAddTicks_m5A6E29CD177D544C3529D3609AD2AC5C5542CC49(L_12, ((-L_14)), (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), 1, /*hidden argument*/NULL);
if (L_15)
{
goto IL_0074;
}
}
{
return (bool)0;
}
IL_0074:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_16 = V_0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_17 = TimeZoneInfo_GetApplicableRule_m960A90264F1FBB60734074D71036FCA304B5F73A(__this, L_16, /*hidden argument*/NULL);
V_1 = L_17;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_18 = V_1;
if (!L_18)
{
goto IL_00d5;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_19 = V_1;
NullCheck(L_19);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_20 = AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline(L_19, /*hidden argument*/NULL);
int32_t L_21 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_22 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(L_20, L_21, /*hidden argument*/NULL);
V_3 = L_22;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_23 = V_1;
NullCheck(L_23);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_24 = AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline(L_23, /*hidden argument*/NULL);
int32_t L_25 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_26 = TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2(L_24, L_25, /*hidden argument*/NULL);
V_4 = L_26;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27 = V_0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_28 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_29 = DateTime_op_GreaterThanOrEqual_mEDD57FC8B24FAF4D6AA94CFE6AE190CF359B66B4(L_27, L_28, /*hidden argument*/NULL);
if (!L_29)
{
goto IL_00d5;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_30 = V_0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_31 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_32 = DateTime_op_LessThanOrEqual_m7131235B927010BD9DB3C93FEB51640286D1107B(L_30, L_31, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_00d5;
}
}
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * L_33 = ___offset1;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_34 = __this->get_baseUtcOffset_0();
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_35 = V_1;
NullCheck(L_35);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_36 = AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline(L_35, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_37 = TimeSpan_op_Addition_m2C916EE6F60BA72329886F1568FE9DD0D8DF0DB7(L_34, L_36, /*hidden argument*/NULL);
*(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)L_33 = L_37;
bool* L_38 = ___isDst2;
*((int8_t*)L_38) = (int8_t)1;
return (bool)1;
}
IL_00d5:
{
return (bool)0;
}
}
// System.DateTime System.TimeZoneInfo::TransitionPoint(System.TimeZoneInfo_TransitionTime,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2 (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 ___transition0, int32_t ___year1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_TransitionPoint_m5FA051A8EC41B739B1A36720800679E69BF2CFF2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
{
bool L_0 = TransitionTime_get_IsFixedDateRule_mC55143797D34E320F86E4B58A265654C634EB38C_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0032;
}
}
{
int32_t L_1 = ___year1;
int32_t L_2 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
int32_t L_3 = TransitionTime_get_Day_m82E3998C57838AB654EEB696600CF6C0F9EB52B0_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_4;
memset((&L_4), 0, sizeof(L_4));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_4), L_1, L_2, L_3, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_5 = TransitionTime_get_TimeOfDay_mC4F5083CF75296341B498E873B2C026A95C4ADDE_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
V_2 = L_5;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_6 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_7 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_4, L_6, /*hidden argument*/NULL);
return L_7;
}
IL_0032:
{
int32_t L_8 = ___year1;
int32_t L_9 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_10;
memset((&L_10), 0, sizeof(L_10));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_10), L_8, L_9, 1, /*hidden argument*/NULL);
V_2 = L_10;
int32_t L_11 = DateTime_get_DayOfWeek_m556E45050ECDB336B3559BC395081B0C5CBE4891((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
V_0 = L_11;
int32_t L_12 = TransitionTime_get_Week_m7708A01103CEADEA75626953931221A1E5CA2F82_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
int32_t L_13 = TransitionTime_get_DayOfWeek_m349EE703AD506935676F78DE8438D8C3D5E8C472_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
int32_t L_14 = V_0;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)1, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)1)), (int32_t)7)))), (int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_13, (int32_t)L_14)), (int32_t)7))%(int32_t)7))));
int32_t L_15 = V_1;
int32_t L_16 = ___year1;
int32_t L_17 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
int32_t L_18 = DateTime_DaysInMonth_mE979D12858E0D6CC14576D283B5AB66AA53B9F90(L_16, L_17, /*hidden argument*/NULL);
if ((((int32_t)L_15) <= ((int32_t)L_18)))
{
goto IL_0079;
}
}
{
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_19, (int32_t)7));
}
IL_0079:
{
int32_t L_20 = V_1;
if ((((int32_t)L_20) >= ((int32_t)1)))
{
goto IL_0081;
}
}
{
int32_t L_21 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)7));
}
IL_0081:
{
int32_t L_22 = ___year1;
int32_t L_23 = TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
int32_t L_24 = V_1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_25;
memset((&L_25), 0, sizeof(L_25));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_25), L_22, L_23, L_24, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_26 = TransitionTime_get_TimeOfDay_mC4F5083CF75296341B498E873B2C026A95C4ADDE_inline((TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 *)(&___transition0), /*hidden argument*/NULL);
V_2 = L_26;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_27 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_2), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_28 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_25, L_27, /*hidden argument*/NULL);
return L_28;
}
}
// System.TimeZoneInfo_AdjustmentRule[] System.TimeZoneInfo::ValidateRules(System.Collections.Generic.List`1<System.TimeZoneInfo_AdjustmentRule>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311 (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * ___adjustmentRules0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_0 = NULL;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* V_1 = NULL;
int32_t V_2 = 0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * V_3 = NULL;
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_0 = ___adjustmentRules0;
if (!L_0)
{
goto IL_000b;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_1 = ___adjustmentRules0;
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_1, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if (L_2)
{
goto IL_000d;
}
}
IL_000b:
{
return (AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD*)NULL;
}
IL_000d:
{
V_0 = (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 *)NULL;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_3 = ___adjustmentRules0;
NullCheck(L_3);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_4 = List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1(L_3, /*hidden argument*/List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1_RuntimeMethod_var);
V_1 = L_4;
V_2 = 0;
goto IL_0042;
}
IL_001a:
{
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_5 = V_1;
int32_t L_6 = V_2;
NullCheck(L_5);
int32_t L_7 = L_6;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_3 = L_8;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_9 = V_0;
if (!L_9)
{
goto IL_003c;
}
}
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_10 = V_0;
NullCheck(L_10);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_11 = AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline(L_10, /*hidden argument*/NULL);
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_12 = V_3;
NullCheck(L_12);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_13 = AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline(L_12, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_14 = DateTime_op_GreaterThan_mC9384F126E5D8A3AAAB0BDFC44D1D7319367C89E(L_11, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_003c;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_15 = ___adjustmentRules0;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_16 = V_3;
NullCheck(L_15);
List_1_Remove_mF3B9CA9E20C7542FAAD6C966B548492F2C7CD5DD(L_15, L_16, /*hidden argument*/List_1_Remove_mF3B9CA9E20C7542FAAD6C966B548492F2C7CD5DD_RuntimeMethod_var);
}
IL_003c:
{
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_17 = V_3;
V_0 = L_17;
int32_t L_18 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
}
IL_0042:
{
int32_t L_19 = V_2;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_20 = V_1;
NullCheck(L_20);
if ((((int32_t)L_19) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length)))))))
{
goto IL_001a;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_21 = ___adjustmentRules0;
NullCheck(L_21);
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_22 = List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1(L_21, /*hidden argument*/List_1_ToArray_m803235EC510CCE1CF53E7D6FB952A83E01154DE1_RuntimeMethod_var);
return L_22;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::BuildFromStream(System.String,System.IO.Stream)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418 (String_t* ___id0, Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * ___stream1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_2 = NULL;
Exception_t * V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16384));
V_0 = L_0;
Stream_tFC50657DD5AAB87770987F9179D934A51D99D5E7 * L_1 = ___stream1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = VirtFuncInvoker3< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(25 /* System.Int32 System.IO.Stream::Read(System.Byte[],System.Int32,System.Int32) */, L_1, L_2, 0, ((int32_t)16384));
V_1 = L_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
int32_t L_5 = V_1;
bool L_6 = TimeZoneInfo_ValidTZFile_mDBAA295AA83624116C0BA67C78FDD8521866A8ED(L_4, L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_002d;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_7 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m8FFF6B288E617CAA9269D849618C289FC589BE14(L_7, _stringLiteral5BBAA9B8E272D7D609370B56FB4A1DC199FB1DA5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_RuntimeMethod_var);
}
IL_002d:
{
}
IL_002e:
try
{ // begin try (depth: 1)
String_t* L_8 = ___id0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_0;
int32_t L_10 = V_1;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_11 = TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96(L_8, L_9, L_10, /*hidden argument*/NULL);
V_2 = L_11;
goto IL_0049;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0039;
if(il2cpp_codegen_class_is_assignable_from (Exception_t_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_003c;
throw e;
}
CATCH_0039:
{ // begin catch(System.InvalidTimeZoneException)
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_RuntimeMethod_var);
} // end catch (depth: 1)
CATCH_003c:
{ // begin catch(System.Exception)
V_3 = ((Exception_t *)__exception_local);
Exception_t * L_12 = V_3;
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_13 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m45B9443C467C8D8353DBB6F6E7A6E4E7F96CF591(L_13, _stringLiteral88EE3CEA20D96E9852D213E90BDCE53DB921ADBB, L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, NULL, TimeZoneInfo_BuildFromStream_m03149B20E6AA12F61EFA3B7745D3DC05DBC65418_RuntimeMethod_var);
} // end catch (depth: 1)
IL_0049:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_14 = V_2;
return L_14;
}
}
// System.Boolean System.TimeZoneInfo::ValidTZFile(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeZoneInfo_ValidTZFile_mDBAA295AA83624116C0BA67C78FDD8521866A8ED (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___length1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ValidTZFile_mDBAA295AA83624116C0BA67C78FDD8521866A8ED_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(L_0, /*hidden argument*/NULL);
V_0 = L_0;
V_1 = 0;
goto IL_0018;
}
IL_000a:
{
StringBuilder_t * L_1 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer0;
int32_t L_3 = V_1;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck(L_1);
StringBuilder_Append_m05C12F58ADC2D807613A9301DF438CB3CD09B75A(L_1, L_5, /*hidden argument*/NULL);
int32_t L_6 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1));
}
IL_0018:
{
int32_t L_7 = V_1;
if ((((int32_t)L_7) < ((int32_t)4)))
{
goto IL_000a;
}
}
{
StringBuilder_t * L_8 = V_0;
NullCheck(L_8);
String_t* L_9 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_8);
bool L_10 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_9, _stringLiteralC24595E6A7BC6D5DB68BC6759DD5BBA5D834B6DB, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0030;
}
}
{
return (bool)0;
}
IL_0030:
{
int32_t L_11 = ___length1;
if ((((int32_t)L_11) < ((int32_t)((int32_t)16384))))
{
goto IL_003a;
}
}
{
return (bool)0;
}
IL_003a:
{
return (bool)1;
}
}
// System.Int32 System.TimeZoneInfo::SwapInt32(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_SwapInt32_mA8FE2D4B2E2BF9CD763D600F8CE449DA34AE0BFE (int32_t ___i0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___i0;
int32_t L_1 = ___i0;
int32_t L_2 = ___i0;
int32_t L_3 = ___i0;
return ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_0>>(int32_t)((int32_t)24)))&(int32_t)((int32_t)255)))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_1>>(int32_t)8))&(int32_t)((int32_t)65280)))))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_2<<(int32_t)8))&(int32_t)((int32_t)16711680)))))|(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)255)))<<(int32_t)((int32_t)24)))));
}
}
// System.Int32 System.TimeZoneInfo::ReadBigEndianInt32(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___start1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___buffer0;
int32_t L_1 = ___start1;
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
int32_t L_2 = BitConverter_ToInt32_m900A016CA90064569D8DF6D9195044C9C106B391(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
bool L_3 = ((BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (L_3)
{
goto IL_0011;
}
}
{
int32_t L_4 = V_0;
return L_4;
}
IL_0011:
{
int32_t L_5 = V_0;
int32_t L_6 = TimeZoneInfo_SwapInt32_mA8FE2D4B2E2BF9CD763D600F8CE449DA34AE0BFE(L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.TimeZoneInfo System.TimeZoneInfo::ParseTZBuffer(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96 (String_t* ___id0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * V_6 = NULL;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * V_7 = NULL;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * V_8 = NULL;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_9;
memset((&V_9), 0, sizeof(V_9));
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 V_10;
memset((&V_10), 0, sizeof(V_10));
String_t* V_11 = NULL;
String_t* V_12 = NULL;
bool V_13 = false;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_14;
memset((&V_14), 0, sizeof(V_14));
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * V_15 = NULL;
bool V_16 = false;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * V_17 = NULL;
int32_t V_18 = 0;
KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D V_19;
memset((&V_19), 0, sizeof(V_19));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_20;
memset((&V_20), 0, sizeof(V_20));
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * V_21 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_22;
memset((&V_22), 0, sizeof(V_22));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_23;
memset((&V_23), 0, sizeof(V_23));
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_24;
memset((&V_24), 0, sizeof(V_24));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_25;
memset((&V_25), 0, sizeof(V_25));
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 V_26;
memset((&V_26), 0, sizeof(V_26));
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * V_27 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___buffer1;
int32_t L_1 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_0, ((int32_t)20), /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer1;
int32_t L_3 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_2, ((int32_t)24), /*hidden argument*/NULL);
V_1 = L_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___buffer1;
int32_t L_5 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_4, ((int32_t)28), /*hidden argument*/NULL);
V_2 = L_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___buffer1;
int32_t L_7 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_6, ((int32_t)32), /*hidden argument*/NULL);
V_3 = L_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___buffer1;
int32_t L_9 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_8, ((int32_t)36), /*hidden argument*/NULL);
V_4 = L_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ___buffer1;
int32_t L_11 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_10, ((int32_t)40), /*hidden argument*/NULL);
V_5 = L_11;
int32_t L_12 = ___length2;
int32_t L_13 = V_3;
int32_t L_14 = V_4;
int32_t L_15 = V_5;
int32_t L_16 = V_2;
int32_t L_17 = V_1;
int32_t L_18 = V_0;
if ((((int32_t)L_12) >= ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)44), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_13, (int32_t)5)))), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_14, (int32_t)6)))), (int32_t)L_15)), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_16, (int32_t)8)))), (int32_t)L_17)), (int32_t)L_18)))))
{
goto IL_0057;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_19 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m565DFEFCEFD9DB3E307E643A059B9AC57B2B57DD(L_19, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_RuntimeMethod_var);
}
IL_0057:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___buffer1;
int32_t L_21 = V_3;
int32_t L_22 = V_3;
int32_t L_23 = V_4;
int32_t L_24 = V_5;
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_25 = TimeZoneInfo_ParseAbbreviations_mF9E2B864DA8DDDA370DD9D43D5A7E3D8B7FBA76A(L_20, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)44), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)4, (int32_t)L_21)))), (int32_t)L_22)), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)6, (int32_t)L_23)))), L_24, /*hidden argument*/NULL);
V_6 = L_25;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ___buffer1;
int32_t L_27 = V_3;
int32_t L_28 = V_3;
int32_t L_29 = V_4;
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_30 = V_6;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_31 = TimeZoneInfo_ParseTimesTypes_mDE8026755AF2207FFD76312DB22A472EE850BBA6(L_26, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)44), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)4, (int32_t)L_27)))), (int32_t)L_28)), L_29, L_30, /*hidden argument*/NULL);
V_7 = L_31;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = ___buffer1;
int32_t L_33 = V_3;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_34 = V_7;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_35 = TimeZoneInfo_ParseTransitions_mDF9E7750AF2BFA9992708A02AE9429EFC4CF00FE(L_32, ((int32_t)44), L_33, L_34, /*hidden argument*/NULL);
V_8 = L_35;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_36 = V_7;
NullCheck(L_36);
int32_t L_37 = Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548(L_36, /*hidden argument*/Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548_RuntimeMethod_var);
if (L_37)
{
goto IL_009e;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_38 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m565DFEFCEFD9DB3E307E643A059B9AC57B2B57DD(L_38, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_38, NULL, TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_RuntimeMethod_var);
}
IL_009e:
{
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_39 = V_7;
NullCheck(L_39);
int32_t L_40 = Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548(L_39, /*hidden argument*/Dictionary_2_get_Count_mE31B0BF70F2E5AA680638E8565B00286E26C5548_RuntimeMethod_var);
if ((!(((uint32_t)L_40) == ((uint32_t)1))))
{
goto IL_00bd;
}
}
{
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_41 = V_7;
NullCheck(L_41);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_42 = Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83(L_41, 0, /*hidden argument*/Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83_RuntimeMethod_var);
NullCheck(L_42);
bool L_43 = L_42->get_IsDst_1();
if (!L_43)
{
goto IL_00bd;
}
}
{
InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 * L_44 = (InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25 *)il2cpp_codegen_object_new(InvalidTimeZoneException_tA035F4C48B9BE56165F6FD6526A3F7384CC78C25_il2cpp_TypeInfo_var);
InvalidTimeZoneException__ctor_m565DFEFCEFD9DB3E307E643A059B9AC57B2B57DD(L_44, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_44, NULL, TimeZoneInfo_ParseTZBuffer_mB31B17720432692878EC43379CCF629C51F0AC96_RuntimeMethod_var);
}
IL_00bd:
{
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_9), (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_10), (((int64_t)((int64_t)0))), /*hidden argument*/NULL);
V_11 = (String_t*)NULL;
V_12 = (String_t*)NULL;
V_13 = (bool)0;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_45 = ((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields*)il2cpp_codegen_static_fields_for(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var))->get_MinValue_31();
V_14 = L_45;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_46 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_46, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_15 = L_46;
V_16 = (bool)0;
V_18 = 0;
goto IL_0334;
}
IL_00f1:
{
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_47 = V_8;
int32_t L_48 = V_18;
NullCheck(L_47);
KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D L_49 = List_1_get_Item_m8A44B7C37BB53CF3C22046AE0A17B58B0925A7A1_inline(L_47, L_48, /*hidden argument*/List_1_get_Item_m8A44B7C37BB53CF3C22046AE0A17B58B0925A7A1_RuntimeMethod_var);
V_19 = L_49;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_50 = KeyValuePair_2_get_Key_m86B2C62B2D71E058541AD44447FFE99B23E906AE_inline((KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D *)(&V_19), /*hidden argument*/KeyValuePair_2_get_Key_m86B2C62B2D71E058541AD44447FFE99B23E906AE_RuntimeMethod_var);
V_20 = L_50;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_51 = KeyValuePair_2_get_Value_m53E2812960EF279EE483985E7F647EA7958B61C5_inline((KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D *)(&V_19), /*hidden argument*/KeyValuePair_2_get_Value_m53E2812960EF279EE483985E7F647EA7958B61C5_RuntimeMethod_var);
V_21 = L_51;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_52 = V_21;
NullCheck(L_52);
bool L_53 = L_52->get_IsDst_1();
if (L_53)
{
goto IL_02b4;
}
}
{
String_t* L_54 = V_11;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_55 = V_21;
NullCheck(L_55);
String_t* L_56 = L_55->get_Name_2();
bool L_57 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_54, L_56, /*hidden argument*/NULL);
if (!L_57)
{
goto IL_0133;
}
}
{
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_58 = V_21;
NullCheck(L_58);
String_t* L_59 = L_58->get_Name_2();
V_11 = L_59;
}
IL_0133:
{
double L_60 = TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_9), /*hidden argument*/NULL);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_61 = V_21;
NullCheck(L_61);
int32_t L_62 = L_61->get_Offset_0();
if ((((double)L_60) == ((double)(((double)((double)L_62))))))
{
goto IL_016b;
}
}
{
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_63 = V_21;
NullCheck(L_63);
int32_t L_64 = L_63->get_Offset_0();
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_9), 0, 0, L_64, /*hidden argument*/NULL);
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_65 = V_15;
NullCheck(L_65);
int32_t L_66 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_65, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if ((((int32_t)L_66) <= ((int32_t)0)))
{
goto IL_0161;
}
}
{
V_16 = (bool)1;
}
IL_0161:
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_67 = (List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E *)il2cpp_codegen_object_new(List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E_il2cpp_TypeInfo_var);
List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708(L_67, /*hidden argument*/List_1__ctor_m26B5CF8B504B7BD2ACF6D10E2212EB312DEAD708_RuntimeMethod_var);
V_15 = L_67;
V_13 = (bool)0;
}
IL_016b:
{
bool L_68 = V_13;
if (!L_68)
{
goto IL_02af;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_69 = V_14;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_70 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_71 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_69, L_70, /*hidden argument*/NULL);
V_14 = L_71;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_72 = V_20;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_73 = V_9;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_74 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_72, L_73, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_75 = V_10;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_76 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_74, L_75, /*hidden argument*/NULL);
V_22 = L_76;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_77 = DateTime_get_Date_m9466964BC55564ED7EEC022AB9E50D875707B774((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
int32_t L_78 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_79;
memset((&L_79), 0, sizeof(L_79));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_79), L_78, 1, 1, /*hidden argument*/NULL);
bool L_80 = DateTime_op_Equality_m5715465D90806F5305BBA5F690377819C55AF084(L_77, L_79, /*hidden argument*/NULL);
if (!L_80)
{
goto IL_01cd;
}
}
{
int32_t L_81 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
int32_t L_82 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
if ((((int32_t)L_81) <= ((int32_t)L_82)))
{
goto IL_01cd;
}
}
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_83 = V_22;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_84;
memset((&L_84), 0, sizeof(L_84));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_84), ((int32_t)24), 0, 0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_85 = DateTime_op_Subtraction_m679BBE02927C8538BBDD10A514E655568246830B(L_83, L_84, /*hidden argument*/NULL);
V_22 = L_85;
}
IL_01cd:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_86 = DateTime_AddYears_m4D66AFB61758D852CEEFE29D103C88106C6847A2((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), 1, /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_87 = V_22;
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
bool L_88 = DateTime_op_LessThan_m75DE4F8CC5F5EE392829A9B37C5C98B7FC97061A(L_86, L_87, /*hidden argument*/NULL);
if (!L_88)
{
goto IL_01e1;
}
}
{
V_16 = (bool)1;
}
IL_01e1:
{
int32_t L_89 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
if ((((int32_t)L_89) >= ((int32_t)7)))
{
goto IL_01fd;
}
}
{
int32_t L_90 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_23), L_90, 1, 1, /*hidden argument*/NULL);
goto IL_020d;
}
IL_01fd:
{
int32_t L_91 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_23), L_91, 7, 1, /*hidden argument*/NULL);
}
IL_020d:
{
int32_t L_92 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
if ((((int32_t)L_92) < ((int32_t)7)))
{
goto IL_022b;
}
}
{
int32_t L_93 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_24), L_93, ((int32_t)12), ((int32_t)31), /*hidden argument*/NULL);
goto IL_023c;
}
IL_022b:
{
int32_t L_94 = DateTime_get_Year_m019BED6042282D03E51CE82F590D2A9FE5EA859E((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_24), L_94, 6, ((int32_t)30), /*hidden argument*/NULL);
}
IL_023c:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_95;
memset((&L_95), 0, sizeof(L_95));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_95), 1, 1, 1, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_96 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_97 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_95, L_96, /*hidden argument*/NULL);
int32_t L_98 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
int32_t L_99 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_14), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_100 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_97, L_98, L_99, /*hidden argument*/NULL);
V_25 = L_100;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_101;
memset((&L_101), 0, sizeof(L_101));
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((&L_101), 1, 1, 1, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_102 = DateTime_get_TimeOfDay_mAC191C0FF7DF8D1370DFFC1C47DE8DC5FA048543((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_103 = DateTime_op_Addition_m6CE7A79B6E219E67A75AB17545D1873529262282(L_101, L_102, /*hidden argument*/NULL);
int32_t L_104 = DateTime_get_Month_m9E31D84567E6D221F0E686EC6894A7AD07A5E43C((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
int32_t L_105 = DateTime_get_Day_m3C888FF1DA5019583A4326FAB232F81D32B1478D((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_22), /*hidden argument*/NULL);
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_106 = TransitionTime_CreateFixedDateRule_m7DC42C607D9949069FF955FCA8BC9DF667498F26(L_103, L_104, L_105, /*hidden argument*/NULL);
V_26 = L_106;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_107 = V_25;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_108 = V_26;
bool L_109 = TransitionTime_op_Inequality_m8E95819760E1035F55168B42B474A0F401BDEA58(L_107, L_108, /*hidden argument*/NULL);
if (!L_109)
{
goto IL_02af;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_110 = V_15;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_111 = V_23;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_112 = V_24;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_113 = V_10;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_114 = V_25;
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_115 = V_26;
AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * L_116 = AdjustmentRule_CreateAdjustmentRule_m02250B76565B1F45DA0F87EA2630579828049935(L_111, L_112, L_113, L_114, L_115, /*hidden argument*/NULL);
NullCheck(L_110);
List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608(L_110, L_116, /*hidden argument*/List_1_Add_m69410B80C654B698D46CAF64A1B602D371ECB608_RuntimeMethod_var);
}
IL_02af:
{
V_13 = (bool)0;
goto IL_032e;
}
IL_02b4:
{
String_t* L_117 = V_12;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_118 = V_21;
NullCheck(L_118);
String_t* L_119 = L_118->get_Name_2();
bool L_120 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_117, L_119, /*hidden argument*/NULL);
if (!L_120)
{
goto IL_02cd;
}
}
{
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_121 = V_21;
NullCheck(L_121);
String_t* L_122 = L_121->get_Name_2();
V_12 = L_122;
}
IL_02cd:
{
double L_123 = TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_10), /*hidden argument*/NULL);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_124 = V_21;
NullCheck(L_124);
int32_t L_125 = L_124->get_Offset_0();
double L_126 = TimeSpan_get_TotalSeconds_m0F8F314166E6D1F9D36F32EB1272451EDE56B4EA((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_9), /*hidden argument*/NULL);
if ((((double)L_123) == ((double)((double)il2cpp_codegen_subtract((double)(((double)((double)L_125))), (double)L_126)))))
{
goto IL_0327;
}
}
{
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_127 = V_21;
NullCheck(L_127);
int32_t L_128 = L_127->get_Offset_0();
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_129;
memset((&L_129), 0, sizeof(L_129));
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((&L_129), 0, 0, L_128, /*hidden argument*/NULL);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_130 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_131 = TimeSpan_op_Subtraction_m5978CE5FCEB3D59AF0BC52AF838BFE3237AE8B23(L_129, L_130, /*hidden argument*/NULL);
V_10 = L_131;
int64_t L_132 = TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_10), /*hidden argument*/NULL);
if (!((int64_t)((int64_t)L_132%(int64_t)(((int64_t)((int64_t)((int32_t)600000000)))))))
{
goto IL_0327;
}
}
{
double L_133 = TimeSpan_get_TotalMinutes_m41B6248DF2E4E6CAFC4A1B3C7ECCD9A10CC16C22((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_10), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4_il2cpp_TypeInfo_var);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_134 = TimeSpan_FromMinutes_m3038BAC5BAB62262567D7BB3AE6DD845FC985BC2((((double)((double)(((int64_t)((int64_t)((double)il2cpp_codegen_add((double)L_133, (double)(0.5))))))))), /*hidden argument*/NULL);
V_10 = L_134;
}
IL_0327:
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_135 = V_20;
V_14 = L_135;
V_13 = (bool)1;
}
IL_032e:
{
int32_t L_136 = V_18;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_136, (int32_t)1));
}
IL_0334:
{
int32_t L_137 = V_18;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_138 = V_8;
NullCheck(L_138);
int32_t L_139 = List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_inline(L_138, /*hidden argument*/List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_RuntimeMethod_var);
if ((((int32_t)L_137) < ((int32_t)L_139)))
{
goto IL_00f1;
}
}
{
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_140 = V_15;
NullCheck(L_140);
int32_t L_141 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_140, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
if (L_141)
{
goto IL_0385;
}
}
{
bool L_142 = V_16;
if (L_142)
{
goto IL_0385;
}
}
{
String_t* L_143 = V_11;
if (L_143)
{
goto IL_0376;
}
}
{
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_144 = V_7;
NullCheck(L_144);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_145 = Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83(L_144, 0, /*hidden argument*/Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83_RuntimeMethod_var);
V_27 = L_145;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_146 = V_27;
NullCheck(L_146);
String_t* L_147 = L_146->get_Name_2();
V_11 = L_147;
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_148 = V_27;
NullCheck(L_148);
int32_t L_149 = L_148->get_Offset_0();
TimeSpan__ctor_m44268277AFF84DEF6CA3442907CE8116A982FB87((TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 *)(&V_9), 0, 0, L_149, /*hidden argument*/NULL);
}
IL_0376:
{
String_t* L_150 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_151 = V_9;
String_t* L_152 = ___id0;
String_t* L_153 = V_11;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_154 = TimeZoneInfo_CreateCustomTimeZone_mDFF720C53476F656C276D9E4067367669ED433D5(L_150, L_151, L_152, L_153, /*hidden argument*/NULL);
V_17 = L_154;
goto IL_039b;
}
IL_0385:
{
String_t* L_155 = ___id0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_156 = V_9;
String_t* L_157 = ___id0;
String_t* L_158 = V_11;
String_t* L_159 = V_12;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_160 = V_15;
AdjustmentRuleU5BU5D_t1106C3E56412DC2C8D9B745150D35E342A85D8AD* L_161 = TimeZoneInfo_ValidateRules_mB2C193EB81FF713EED1541D27D08BAD59B29E311(L_160, /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_162 = TimeZoneInfo_CreateCustomTimeZone_m5927EE8D4214E3F8317098CFB563D431E93C3E48(L_155, L_156, L_157, L_158, L_159, L_161, /*hidden argument*/NULL);
V_17 = L_162;
}
IL_039b:
{
bool L_163 = V_16;
if (!L_163)
{
goto IL_03b2;
}
}
{
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_164 = V_8;
NullCheck(L_164);
int32_t L_165 = List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_inline(L_164, /*hidden argument*/List_1_get_Count_m8D9BFB4AA79DACCB93AA6EF7021A01BA086F8B0F_RuntimeMethod_var);
if ((((int32_t)L_165) <= ((int32_t)0)))
{
goto IL_03b2;
}
}
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_166 = V_17;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_167 = V_8;
NullCheck(L_166);
L_166->set_transitions_5(L_167);
}
IL_03b2:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_168 = V_17;
List_1_tD80A7DE15931C50562C52145C2DDFA2CA00BEC9E * L_169 = V_15;
NullCheck(L_169);
int32_t L_170 = List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_inline(L_169, /*hidden argument*/List_1_get_Count_m63875C2DAD7BE984D4CC6B0603AA8DFE827C5461_RuntimeMethod_var);
NullCheck(L_168);
L_168->set_supportsDaylightSavingTime_8((bool)((((int32_t)L_170) > ((int32_t)0))? 1 : 0));
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_171 = V_17;
return L_171;
}
}
// System.Collections.Generic.Dictionary`2<System.Int32,System.String> System.TimeZoneInfo::ParseAbbreviations(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * TimeZoneInfo_ParseAbbreviations_mF9E2B864DA8DDDA370DD9D43D5A7E3D8B7FBA76A (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ParseAbbreviations_mF9E2B864DA8DDDA370DD9D43D5A7E3D8B7FBA76A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * V_0 = NULL;
int32_t V_1 = 0;
StringBuilder_t * V_2 = NULL;
int32_t V_3 = 0;
Il2CppChar V_4 = 0x0;
int32_t V_5 = 0;
{
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_0 = (Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C *)il2cpp_codegen_object_new(Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m6C6B59C12BD62E890CCF5AF0366E3DA0F29ADE6C(L_0, /*hidden argument*/Dictionary_2__ctor_m6C6B59C12BD62E890CCF5AF0366E3DA0F29ADE6C_RuntimeMethod_var);
V_0 = L_0;
V_1 = 0;
StringBuilder_t * L_1 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(L_1, /*hidden argument*/NULL);
V_2 = L_1;
V_3 = 0;
goto IL_0073;
}
IL_0012:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer0;
int32_t L_3 = ___index1;
int32_t L_4 = V_3;
NullCheck(L_2);
int32_t L_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)L_4));
uint8_t L_6 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
V_4 = L_6;
Il2CppChar L_7 = V_4;
if (!L_7)
{
goto IL_0028;
}
}
{
StringBuilder_t * L_8 = V_2;
Il2CppChar L_9 = V_4;
NullCheck(L_8);
StringBuilder_Append_m05C12F58ADC2D807613A9301DF438CB3CD09B75A(L_8, L_9, /*hidden argument*/NULL);
goto IL_006f;
}
IL_0028:
{
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_10 = V_0;
int32_t L_11 = V_1;
StringBuilder_t * L_12 = V_2;
NullCheck(L_12);
String_t* L_13 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_12);
NullCheck(L_10);
Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA(L_10, L_11, L_13, /*hidden argument*/Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA_RuntimeMethod_var);
V_5 = 1;
goto IL_005b;
}
IL_003a:
{
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_14 = V_0;
int32_t L_15 = V_1;
int32_t L_16 = V_5;
StringBuilder_t * L_17 = V_2;
int32_t L_18 = V_5;
StringBuilder_t * L_19 = V_2;
NullCheck(L_19);
int32_t L_20 = StringBuilder_get_Length_m44BCD2BF32D45E9376761FF33AA429BFBD902F07(L_19, /*hidden argument*/NULL);
int32_t L_21 = V_5;
NullCheck(L_17);
String_t* L_22 = StringBuilder_ToString_mB91781E31C1CF168F780733E67EA40A5386693C6(L_17, L_18, ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)L_21)), /*hidden argument*/NULL);
NullCheck(L_14);
Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA(L_14, ((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), L_22, /*hidden argument*/Dictionary_2_Add_m6B1FA5F9A77897E38E9B0CF95D11032066B98CCA_RuntimeMethod_var);
int32_t L_23 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1));
}
IL_005b:
{
int32_t L_24 = V_5;
StringBuilder_t * L_25 = V_2;
NullCheck(L_25);
int32_t L_26 = StringBuilder_get_Length_m44BCD2BF32D45E9376761FF33AA429BFBD902F07(L_25, /*hidden argument*/NULL);
if ((((int32_t)L_24) <= ((int32_t)L_26)))
{
goto IL_003a;
}
}
{
int32_t L_27 = V_3;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
StringBuilder_t * L_28 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(L_28, /*hidden argument*/NULL);
V_2 = L_28;
}
IL_006f:
{
int32_t L_29 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
}
IL_0073:
{
int32_t L_30 = V_3;
int32_t L_31 = ___count2;
if ((((int32_t)L_30) < ((int32_t)L_31)))
{
goto IL_0012;
}
}
{
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_32 = V_0;
return L_32;
}
}
// System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType> System.TimeZoneInfo::ParseTimesTypes(System.Byte[],System.Int32,System.Int32,System.Collections.Generic.Dictionary`2<System.Int32,System.String>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * TimeZoneInfo_ParseTimesTypes_mDE8026755AF2207FFD76312DB22A472EE850BBA6 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * ___abbreviations3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ParseTimesTypes_mDE8026755AF2207FFD76312DB22A472EE850BBA6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
uint8_t V_3 = 0x0;
uint8_t V_4 = 0x0;
{
int32_t L_0 = ___count2;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_1 = (Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 *)il2cpp_codegen_object_new(Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m2D8C7B37F04BBE07E0D052A019C914E9AE6815D8(L_1, L_0, /*hidden argument*/Dictionary_2__ctor_m2D8C7B37F04BBE07E0D052A019C914E9AE6815D8_RuntimeMethod_var);
V_0 = L_1;
V_1 = 0;
goto IL_0051;
}
IL_000b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer0;
int32_t L_3 = ___index1;
int32_t L_4 = V_1;
int32_t L_5 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_2, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)6, (int32_t)L_4)))), /*hidden argument*/NULL);
V_2 = L_5;
int32_t L_6 = V_2;
V_2 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)((int32_t)L_6/(int32_t)((int32_t)60))), (int32_t)((int32_t)60)));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___buffer0;
int32_t L_8 = ___index1;
int32_t L_9 = V_1;
NullCheck(L_7);
int32_t L_10 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)6, (int32_t)L_9)))), (int32_t)4));
uint8_t L_11 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___buffer0;
int32_t L_13 = ___index1;
int32_t L_14 = V_1;
NullCheck(L_12);
int32_t L_15 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)6, (int32_t)L_14)))), (int32_t)5));
uint8_t L_16 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
V_4 = L_16;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_17 = V_0;
int32_t L_18 = V_1;
int32_t L_19 = V_2;
uint8_t L_20 = V_3;
Dictionary_2_t4EFE6A1D6502662B911688316C6920444A18CF0C * L_21 = ___abbreviations3;
uint8_t L_22 = V_4;
NullCheck(L_21);
String_t* L_23 = Dictionary_2_get_Item_m832206501573309C2C9C1E4F96AAC39AACE24906(L_21, L_22, /*hidden argument*/Dictionary_2_get_Item_m832206501573309C2C9C1E4F96AAC39AACE24906_RuntimeMethod_var);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_24 = (TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 *)il2cpp_codegen_object_new(TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9_il2cpp_TypeInfo_var);
TimeType__ctor_m28FA06EC6A851C81414A6435BE25D1FD494FFE03(L_24, L_19, (bool)((!(((uint32_t)L_20) <= ((uint32_t)0)))? 1 : 0), L_23, /*hidden argument*/NULL);
NullCheck(L_17);
Dictionary_2_Add_m1CF588B67718D0CF03E628AEB7A822E58F1F5517(L_17, L_18, L_24, /*hidden argument*/Dictionary_2_Add_m1CF588B67718D0CF03E628AEB7A822E58F1F5517_RuntimeMethod_var);
int32_t L_25 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
}
IL_0051:
{
int32_t L_26 = V_1;
int32_t L_27 = ___count2;
if ((((int32_t)L_26) < ((int32_t)L_27)))
{
goto IL_000b;
}
}
{
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_28 = V_0;
return L_28;
}
}
// System.Collections.Generic.List`1<System.Collections.Generic.KeyValuePair`2<System.DateTime,System.TimeType>> System.TimeZoneInfo::ParseTransitions(System.Byte[],System.Int32,System.Int32,System.Collections.Generic.Dictionary`2<System.Int32,System.TimeType>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * TimeZoneInfo_ParseTransitions_mDF9E7750AF2BFA9992708A02AE9429EFC4CF00FE (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___index1, int32_t ___count2, Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * ___time_types3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo_ParseTransitions_mDF9E7750AF2BFA9992708A02AE9429EFC4CF00FE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * V_0 = NULL;
int32_t V_1 = 0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_2;
memset((&V_2), 0, sizeof(V_2));
uint8_t V_3 = 0x0;
{
int32_t L_0 = ___count2;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_1 = (List_1_tD2FC74CFEE011F74F31183756A690154468817E9 *)il2cpp_codegen_object_new(List_1_tD2FC74CFEE011F74F31183756A690154468817E9_il2cpp_TypeInfo_var);
List_1__ctor_mC454D22A181DBFE033123BA60EB7503279A2E624(L_1, L_0, /*hidden argument*/List_1__ctor_mC454D22A181DBFE033123BA60EB7503279A2E624_RuntimeMethod_var);
V_0 = L_1;
V_1 = 0;
goto IL_003e;
}
IL_000b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer0;
int32_t L_3 = ___index1;
int32_t L_4 = V_1;
int32_t L_5 = TimeZoneInfo_ReadBigEndianInt32_m0AAB53B9311708F42ACA7E9270EE71D25B3CE9DA(L_2, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)4, (int32_t)L_4)))), /*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_6 = TimeZoneInfo_DateTimeFromUnixTime_m2EB7BE33769CB44A09ED1C1389AB3E8AF707A83D((((int64_t)((int64_t)L_5))), /*hidden argument*/NULL);
V_2 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___buffer0;
int32_t L_8 = ___index1;
int32_t L_9 = ___count2;
int32_t L_10 = V_1;
NullCheck(L_7);
int32_t L_11 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)4, (int32_t)L_9)))), (int32_t)L_10));
uint8_t L_12 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_3 = L_12;
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_13 = V_0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_14 = V_2;
Dictionary_2_tF49FE2F5FE86CCFDD59492E9D46254E0CCB5EEC2 * L_15 = ___time_types3;
uint8_t L_16 = V_3;
NullCheck(L_15);
TimeType_t1E0366D2FDDE13B93F6DFD1A2FB8645B76E9DDA9 * L_17 = Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83(L_15, L_16, /*hidden argument*/Dictionary_2_get_Item_m0F0789D0F81BD4D8EAFB77487B94A9CEBD730F83_RuntimeMethod_var);
KeyValuePair_2_t86E21DDA124482935B8F0E8DCC380E2B8206105D L_18;
memset((&L_18), 0, sizeof(L_18));
KeyValuePair_2__ctor_m69CD5926C1F3E83585430B234312999946C55C53((&L_18), L_14, L_17, /*hidden argument*/KeyValuePair_2__ctor_m69CD5926C1F3E83585430B234312999946C55C53_RuntimeMethod_var);
NullCheck(L_13);
List_1_Add_m76DF40E97717AE8F7F5CD0D1965BB34D12BE0C75(L_13, L_18, /*hidden argument*/List_1_Add_m76DF40E97717AE8F7F5CD0D1965BB34D12BE0C75_RuntimeMethod_var);
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
}
IL_003e:
{
int32_t L_20 = V_1;
int32_t L_21 = ___count2;
if ((((int32_t)L_20) < ((int32_t)L_21)))
{
goto IL_000b;
}
}
{
List_1_tD2FC74CFEE011F74F31183756A690154468817E9 * L_22 = V_0;
return L_22;
}
}
// System.DateTime System.TimeZoneInfo::DateTimeFromUnixTime(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TimeZoneInfo_DateTimeFromUnixTime_m2EB7BE33769CB44A09ED1C1389AB3E8AF707A83D (int64_t ___unix_time0, const RuntimeMethod* method)
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_0;
memset((&V_0), 0, sizeof(V_0));
{
DateTime__ctor_mF4506D7FF3B64F7EC739A36667DC8BC089A6539A((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), ((int32_t)1970), 1, 1, /*hidden argument*/NULL);
int64_t L_0 = ___unix_time0;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_1 = DateTime_AddSeconds_m36DC8835432569A70AC5120359527350DD65D6B2((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_0), (((double)((double)L_0))), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeZoneInfo::GetLocalUtcOffset(System.DateTime,System.TimeZoneInfoOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetLocalUtcOffset_m1C5E0CC7CA725508F5180BDBF2D03C3E8DF0FBFC (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, int32_t ___flags1, const RuntimeMethod* method)
{
bool V_0 = false;
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_0 = TimeZoneInfo_get_Local_mD208D43B3366D6E489CA49A7F21164373CEC24FD(/*hidden argument*/NULL);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_1 = ___dateTime0;
NullCheck(L_0);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_2 = TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB(L_0, L_1, (bool*)(&V_0), /*hidden argument*/NULL);
return L_2;
}
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffset(System.DateTime,System.TimeZoneInfoOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffset_m543BC61BBFD48C648B812E442987E412E502F64A (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___dateTime0, int32_t ___flags1, const RuntimeMethod* method)
{
bool V_0 = false;
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = ___dateTime0;
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_1 = TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB(__this, L_0, (bool*)(&V_0), /*hidden argument*/NULL);
return L_1;
}
}
// System.TimeSpan System.TimeZoneInfo::GetUtcOffsetFromUtc(System.DateTime,System.TimeZoneInfo,System.Boolean&,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_GetUtcOffsetFromUtc_mAA79026F581A893DD65B95D5660E146520B471FA (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___time0, TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * ___zone1, bool* ___isDaylightSavings2, bool* ___isAmbiguousLocalDst3, const RuntimeMethod* method)
{
{
bool* L_0 = ___isDaylightSavings2;
*((int8_t*)L_0) = (int8_t)0;
bool* L_1 = ___isAmbiguousLocalDst3;
*((int8_t*)L_1) = (int8_t)0;
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_2 = ___zone1;
NullCheck(L_2);
TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline(L_2, /*hidden argument*/NULL);
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_3 = ___zone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_4 = ___time0;
NullCheck(L_3);
bool L_5 = TimeZoneInfo_IsAmbiguousTime_m1C47E17D025683A2FAFB4BBB8F22E8143E5462EC(L_3, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0019;
}
}
{
bool* L_6 = ___isAmbiguousLocalDst3;
*((int8_t*)L_6) = (int8_t)1;
}
IL_0019:
{
TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * L_7 = ___zone1;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_8 = ___time0;
bool* L_9 = ___isDaylightSavings2;
NullCheck(L_7);
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_10 = TimeZoneInfo_GetUtcOffset_m3472449E929542E987D335203A81C84E148674AB(L_7, L_8, (bool*)L_9, /*hidden argument*/NULL);
return L_10;
}
}
// System.Void System.TimeZoneInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeZoneInfo__ctor_mC41FD818CE40C6CAAA58613C79F3F7063FD7AE8F (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeZoneInfo__ctor_mC41FD818CE40C6CAAA58613C79F3F7063FD7AE8F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(TimeZoneInfo__ctor_mC41FD818CE40C6CAAA58613C79F3F7063FD7AE8F_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Task_get_InternalCurrent_m6BD4F17F5DAF5AC20BD6051A854D0BD702025892mscorlib19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var);
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ((Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2_il2cpp_TypeInfo_var))->get_t_currentTask_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8E_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ExecutionContext_get_PreAllocatedDefault_m67D699DE0503E4BC8FB524A9F46669087705FF8Emscorlib19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var);
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ((ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_StaticFields*)il2cpp_codegen_static_fields_for(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70_il2cpp_TypeInfo_var))->get_s_dummyDefaultEC_7();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * TaskExceptionHolder_GetCancellationExceptionDispatchInfo_m6F7AB65EF187AEE62E6704ED3C85C4BC58C6F369_inline (TaskExceptionHolder_t1F44F1CE648090AA15DDC759304A18E998EFA811 * __this, const RuntimeMethod* method)
{
{
ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * L_0 = __this->get_m_cancellationException_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * Task_get_ExecutingTaskScheduler_m3A3340F34EF9D594413E54F46B78874BCB0CA30D_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = __this->get_m_taskScheduler_7();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB OperationCanceledException_get_CancellationToken_mE0079552C3600A6DB8324958CA288DB19AF05B66_inline (OperationCanceledException_tD28B1AE59ACCE4D46333BFE398395B8D75D76A90 * __this, const RuntimeMethod* method)
{
{
CancellationToken_t9E956952F7F20908F2AE72EDF36D97E6C7DB63AB L_0 = __this->get__cancellationToken_17();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void TaskAwaiter__ctor_m097495CE8729E030CC08F2C46FEA4BAD6AD4228B_inline (TaskAwaiter_t0CDE8DBB564F0A0EA55FA6B3D43EEF96BC26252F * __this, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * ___task0, const RuntimeMethod* method)
{
{
Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * L_0 = ___task0;
__this->set_m_task_0(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TaskScheduler_get_Default_mC3794A546EB0F4C6D0A11E72F8939EC364733C87mscorlib19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var);
TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * L_0 = ((TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_StaticFields*)il2cpp_codegen_static_fields_for(TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114_il2cpp_TypeInfo_var))->get_s_defaultTaskScheduler_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Task_get_IsWaitNotificationEnabledOrNotRanToCompletion_mEC26269ABD71D03847D81120160D2106C2B3D581_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stateFlags_9();
il2cpp_codegen_memory_barrier();
return (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)285212672)))) == ((int32_t)((int32_t)16777216)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Exception_t * ExceptionDispatchInfo_get_SourceException_m212F50A437B8B18AFECE39F2A9F7231787F45F28_inline (ExceptionDispatchInfo_t0C54083F3909DAF986A4DEAA7C047559531E0E2A * __this, const RuntimeMethod* method)
{
{
Exception_t * L_0 = __this->get_m_Exception_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * AggregateException_get_InnerExceptions_mB81D2B3BD56A3E938B83B0AF766474ED66057040_inline (AggregateException_t9217B9E89DF820D5632411F2BD92F444B17BD60E * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t6D5AC6FC0BF91A16C9E9159F577DEDA4DD3414C8 * L_0 = __this->get_m_innerExceptions_17();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Task_FireTaskScheduledIfNeeded_m6792459336CB25D967928EDA5249F2164991E447_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, TaskScheduler_t966F2798F198FA90A0DA8EFC92BAC08297793114 * ___ts0, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Task_get_AsyncState_mEE6996D21AD9F92E34A30FA73A7D31A5BCE42657_inline (Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_m_stateObject_6();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 ConfiguredTaskAwaitable_GetAwaiter_m1EF40F198D32924E2D0F41E20B99CADBF5DDD303_inline (ConfiguredTaskAwaitable_t24DE1415466EE20060BE5AD528DC5C812CFA53A9 * __this, const RuntimeMethod* method)
{
{
ConfiguredTaskAwaiter_tF1AAA16B8A1250CA037E32157A3424CD2BA47874 L_0 = __this->get_m_configuredTaskAwaiter_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Delegate_get_Target_m5371341CE435E001E9FD407AE78F728824CE20E2_inline (Delegate_t * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_m_target_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ThreadHelper_SetExecutionContextHelper_m253F9206E5C01BE9A6BC3ED65106B5C2DB7240FF_inline (ThreadHelper_tA2931CFFC5988E4C327F9379104975BC53F1CC13 * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___ec0, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___ec0;
__this->set__executionContext_2(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void Reader__ctor_mDB8E37FABE15D47E2E78E77EA6702D0FBAB8FC5E_inline (Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B * __this, ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___ec0, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = ___ec0;
__this->set_m_ec_0(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * Reader_DangerousGetRawExecutionContext_m0AAF58869F7AC7C33242B7C6A6ABFA2EF5100EBA_inline (Reader_t5766DE258B6B590281150D8DB517B651F9F4F33B * __this, const RuntimeMethod* method)
{
{
ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * L_0 = __this->get_m_ec_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4C_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scheduler_get_Instance_mAD166DADAB60F24F15A36BD49F67172084AA9B4Cmscorlib19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var);
Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9 * L_0 = ((Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_StaticFields*)il2cpp_codegen_static_fields_for(Scheduler_t8BD442F4C8B5450A09F40CC3A68592601F96A9B9_il2cpp_TypeInfo_var))->get_instance_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR intptr_t SafeHandle_DangerousGetHandle_m9014DC4C279F2EF9F9331915135F0AF5AF8A4368_inline (SafeHandle_t1E326D75E23FD5BB6D40BA322298FDC6526CC383 * __this, const RuntimeMethod* method)
{
{
intptr_t L_0 = __this->get_handle_0();
return (intptr_t)L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void TimeSpan__ctor_mEB013EB288370617E8D465D75BE383C4058DB5A5_inline (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, int64_t ___ticks0, const RuntimeMethod* method)
{
{
int64_t L_0 = ___ticks0;
__this->set__ticks_3(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int64_t TimeSpan_get_Ticks_m829C28C42028CDBFC9E338962DC7B6B10C8FFBE7_inline (TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 * __this, const RuntimeMethod* method)
{
{
int64_t L_0 = __this->get__ticks_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TimeSpan_GetLegacyFormatMode_m058C62B8FEB05BBD84A5437AEDF60DAF2444EBB8mscorlib19_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ((CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_StaticFields*)il2cpp_codegen_static_fields_for(CompatibilitySwitches_tC541F9F5404925C97741A0628E9B6D26C40CFA91_il2cpp_TypeInfo_var))->get_IsAppEarlierThanSilverlight4_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_Id_mE52B846A9B3701B6BFFC99AD5F486584044304C6_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_id_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t OperatingSystem_get_Platform_m36635DD0A3D5442E515AB8D2EA3C7092348A5181_inline (OperatingSystem_tBB05846D5AA6960FFEB42C59E5FE359255C2BE83 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__platform_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TimeZoneInfo_get_SupportsDaylightSavingTime_m101C22CB276BB45E9C38F54BF6F944C8C5578C9E_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_supportsDaylightSavingTime_8();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 TimeZoneInfo_get_BaseUtcOffset_mAB38F4E2BC249BF42876E3220D7B329E30628A2C_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = __this->get_baseUtcOffset_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 AdjustmentRule_get_DaylightDelta_m2FE8486C9BE8D912DB009B37823E33676DD21F15_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method)
{
{
TimeSpan_tA8069278ACE8A74D6DF7D514A9CD4432433F64C4 L_0 = __this->get_m_daylightDelta_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 AdjustmentRule_get_DaylightTransitionEnd_m8EE35970D90C7857BEAE165190F5B9ADC8C57860_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method)
{
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_0 = __this->get_m_daylightTransitionEnd_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 AdjustmentRule_get_DaylightTransitionStart_mC89A599FADA4747E5686154DCBD067EEFBB919F6_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method)
{
{
TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 L_0 = __this->get_m_daylightTransitionStart_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Month_m06FE288B24621979C4FE9E34D350EBA208CEA267_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_month_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 AdjustmentRule_get_DateStart_mD4389CA67654E528E196EB632D16D9AB027D6C49_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = __this->get_m_dateStart_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 AdjustmentRule_get_DateEnd_m9ECD9D96BFB535E8818CC79B0B261F8E334A722E_inline (AdjustmentRule_tD07790AF71973358AF86152413749426B28D6204 * __this, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = __this->get_m_dateEnd_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* TimeZoneInfo_get_DisplayName_m583E6E48EAA12F6D87191F71AAE821481F8B006A_inline (TimeZoneInfo_t46EF9BAEAA787846F1A1EC419BE75CFEFAFF6777 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_displayName_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool TransitionTime_get_IsFixedDateRule_mC55143797D34E320F86E4B58A265654C634EB38C_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_m_isFixedDateRule_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Day_m82E3998C57838AB654EEB696600CF6C0F9EB52B0_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_day_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 TransitionTime_get_TimeOfDay_mC4F5083CF75296341B498E873B2C026A95C4ADDE_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = __this->get_m_timeOfDay_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_Week_m7708A01103CEADEA75626953931221A1E5CA2F82_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_week_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t TransitionTime_get_DayOfWeek_m349EE703AD506935676F78DE8438D8C3D5E8C472_inline (TransitionTime_t9958178434A0688FD45EF028B1AE9EA665C3E116 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_dayOfWeek_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item1_mDB05E64387A775571A57E1A8A3B225E9A079DF8C_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_m_Item1_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item2_m28B3505579A6A87FAAFF970D0F19EBE95F6D9B2D_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_m_Item2_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Tuple_3_get_Item3_m9F2E5915E0F2E217F46D06D14F750008D0E31B9B_gshared_inline (Tuple_3_tCA94A9157918EBC76337751E950A3BF20BBF71F9 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_m_Item3_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_mD7829C7E8CFBEDD463B15A951CDE9B90A12CC55C_gshared_inline (Enumerator_tE0C99528D3DCE5863566CE37BD94162A4C0431CD * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_current_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_3 = ___index0;
RuntimeObject * L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B List_1_get_Item_mA3E868C42E65CB3DC3966732D238AF05D6338EF7_gshared_inline (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F* L_2 = (KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)__this->get__items_1();
int32_t L_3 = ___index0;
KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((KeyValuePair_2U5BU5D_tAC201058159F8B6B433415A0AB937BD11FC8A36F*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 KeyValuePair_2_get_Key_m15F31F68F9D7F399DEBCC2328913654D36E79C1E_gshared_inline (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * __this, const RuntimeMethod* method)
{
{
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_0 = (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 )__this->get_key_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * KeyValuePair_2_get_Value_m5AF581973CD6FDFDA5540F0A0AAD90D97CC45D5D_gshared_inline (KeyValuePair_2_t5DDBBB9A3C8CBE3A4A39721E8F0A10AEBF13737B * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_value_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mB556AE5EB3416A032123DE8D7E96B5FFD8CC8242_gshared_inline (List_1_t5693FC241180E36A0BB189DFB39B0D3A43DC05B1 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
| [
"framenumber08@gmail.com"
] | framenumber08@gmail.com |
6f4cb94f7ea3ec94cb74eabfeddcd99e9a6e35f8 | c30472313132b018dba3e78a37f54f8da2280ba5 | /Contrib/VPatch/Source/GenPat/GlobalTypes.h | 97123ea7b5311158c176e82d8728cd1a844a6c0c | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | Prcuvu/unsis | 461e669bcbfcbdf21ed1005a3fd73d7bce92db59 | fe727387fcb96294f4dbd783567f6c676cae0916 | refs/heads/master | 2021-01-11T09:57:25.261358 | 2015-08-04T20:07:28 | 2015-08-04T20:07:28 | 45,578,243 | 0 | 0 | null | 2015-11-05T01:10:39 | 2015-11-05T01:10:39 | null | UTF-8 | C++ | false | false | 2,111 | h | //---------------------------------------------------------------------------
// GlobalTypes.h
//---------------------------------------------------------------------------
// -=* VPatch *=-
//---------------------------------------------------------------------------
// Copyright (C) 2001-2005 Koen van de Sande / Van de Sande Productions
//---------------------------------------------------------------------------
// Website: http://www.tibed.net/vpatch
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented; you must not
// claim that you wrote the original software. If you use this software
// in a product, an acknowledgment in the product documentation would be
// appreciated but is not required.
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
// 3. This notice may not be removed or altered from any source distribution.
//
// Reviewed for Unicode support by Jim Park -- 08/29/2007
#if !defined(GlobalTypes_H)
#define GlobalTypes_H
#ifndef _MSC_VER
#include <stdint.h>
#endif
#include <iostream>
#include <fstream>
#include <ios>
#include <string>
using namespace std;
#ifdef _MSC_VER
typedef unsigned char uint8_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#define CHECKSUM_BLOCK unsigned __int64
#define __WIN32__
#else
#define CHECKSUM_BLOCK unsigned long long
#endif
typedef uint32_t TFileOffset;
typedef ifstream bifstream;
typedef istream bistream;
typedef ofstream bofstream;
typedef ostream bostream;
#endif // GlobalTypes_H
| [
"jpark@22f1eb34-6e81-a341-b7a8-82a46e2dfc98"
] | jpark@22f1eb34-6e81-a341-b7a8-82a46e2dfc98 |
7b4d5870a3e477e5b7ac06ffb354613fa8cd12b4 | a0512546736e2675523fac53c8195c708344f46b | /Tag_Write_Pattern.ino | c7c8976da8e970dccb2c34a9e9e77c030416c67f | [
"Apache-2.0"
] | permissive | FoodSpan/FoodSpan-Device-Debug | b7d795f47e00b7067721a5c58c8283714aec40a1 | 187aef850c1d8e04042b9db4a8a935d6f4d2acbc | refs/heads/master | 2020-07-26T19:21:02.331396 | 2016-11-14T22:27:52 | 2016-11-14T22:27:52 | 73,716,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,918 | ino | /*
Write personal data of a MIFARE RFID card using a RFID-RC522 reader
Uses MFRC522 - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT.
-----------------------------------------------------------------------------------------
MFRC522 Arduino Arduino Arduino Arduino Arduino
Reader/PCD Uno Mega Nano v3 Leonardo/Micro Pro Micro
Signal Pin Pin Pin Pin Pin Pin
-----------------------------------------------------------------------------------------
RST/Reset RST 9 (7) 5 D9 RESET/ICSP-5 RST
SPI SS SDA(SS) 10 53 D10 10 10
SPI MOSI MOSI 11 / ICSP-4 51 D11 ICSP-4 16
SPI MISO MISO 12 / ICSP-1 50 D12 ICSP-1 14
SPI SCK SCK 13 / ICSP-3 52 D13 ICSP-3 15
Hardware required:
Arduino
PCD (Proximity Coupling Device): NXP MFRC522 Contactless Reader IC
PICC (Proximity Integrated Circuit Card): A card or tag using the ISO 14443A interface, eg Mifare or NTAG203.
The reader can be found on eBay for around 5 dollars. Search for "mf-rc522" on ebay.com.
*/
#include <SPI.h>
#include <MFRC522.h>
#define RST_PIN 49 // Configurable, see typical pin layout above
#define SS_PIN 53 // Configurable, see typical pin layout above
#define PATTERN_ID 6
#define BLOCK 1
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance
MFRC522::MIFARE_Key key;
void setup() {
Serial.begin(9600); // Initialize serial communications with the PC
SPI.begin(); // Init SPI bus
mfrc522.PCD_Init(); // Init MFRC522 card
Serial.println(F("Write TAG Pattern ID"));
}
void loop() {
MFRC522::StatusCode status;
// Prepare key - all keys are set to FFFFFFFFFFFFh at chip delivery from the factory.
for (byte i = 0; i < 6; i++) {
key.keyByte[i] = 0xFF;
}
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent()) {
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial()) {
return;
}
Serial.print(F("Card UID(HEX):")); //Dump HEX UID
for (byte i = 0; i < mfrc522.uid.size; i++) {
Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ");
Serial.print(mfrc522.uid.uidByte[i], HEX);
}
Serial.print(F(" PICC type: ")); // Dump PICC type
MFRC522::PICC_Type piccType = mfrc522.PICC_GetType(mfrc522.uid.sak);
Serial.println(mfrc522.PICC_GetTypeName(piccType));
byte readbackblock[18];//This array is used for reading out a block. The MIFARE_Read method requires a buffer that is at least 18 bytes to hold the 16 bytes of a block.
readBlock(BLOCK, readbackblock);//read the block back
Serial.print("read block: ");
for (int j = 0 ; j < 16 ; j++) //print the block contents
{
Serial.print (readbackblock[j]);//Serial.write() transmits the ASCII numbers as human readable characters to serial monitor
Serial.print (" ");
}
Serial.println("");
byte blockcontent[16];
for (int i = 0; i<16; i++){
blockcontent[i]=0;
}
blockcontent[0]= PATTERN_ID;
writeBlock(BLOCK, blockcontent);//the blockcontent array is written into the card block
Serial.println(" ");
readBlock(BLOCK, readbackblock);//read the block back
Serial.print("read block: ");
for (int j = 0 ; j < 16 ; j++) //print the block contents
{
Serial.print (readbackblock[j]);//Serial.write() transmits the ASCII numbers as human readable characters to serial monitor
Serial.print (" ");
}
Serial.println("");
mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
mfrc522.PICC_HaltA(); // Halt PICC
mfrc522.PCD_StopCrypto1(); // Stop encryption on PCD
}
| [
"noreply@github.com"
] | noreply@github.com |
092fdca216c582c0714efce34d9824edb235189a | 6360ebedc3a4fa33583147bc5a3907825d06fb84 | /src/ChoreoApp/Application/Renderer/Texture.cpp | 426f75cad2a4bc345eba3a78b5b03c1885351ec2 | [] | no_license | daredyoshi/ChoreoEngine | c970353238adbfebf83f7ffb83089e9f32899aa8 | 024a5e16f8958a55928ef6d1e82a222b729f81f4 | refs/heads/master | 2023-05-09T07:55:53.228292 | 2021-04-25T11:39:41 | 2021-04-25T11:39:41 | 348,640,431 | 0 | 0 | null | 2021-04-25T11:39:42 | 2021-03-17T08:54:33 | HTML | UTF-8 | C++ | false | false | 948 | cpp | #include "capch.h"
#include "Texture.h"
#include "Renderer.h"
#include "Application/Platform/OpenGL/OpenGLTexture.h"
namespace ChoreoApp {
Ref<Texture2D> Texture2D::create(const std::string& path){
switch ( Renderer::getAPI() ){
case RendererAPI::API::None: CE_CORE_ASSERT(false, "RendererAPI:None is currently not supported!");
case RendererAPI::API::OpenGL: return CreateRef<OpenGLTexture2D>(path);
}
CE_CORE_ASSERT(false, "Unknown RendererAPI!");
return nullptr;
}
Ref<Texture2D> Texture2D::create(uint32_t width, uint32_t height){
switch ( Renderer::getAPI() ){
case RendererAPI::API::None: CE_CORE_ASSERT(false, "RendererAPI:None is currently not supported!");
case RendererAPI::API::OpenGL: return CreateRef<OpenGLTexture2D>(width, height);
}
CE_CORE_ASSERT(false, "Unknown RendererAPI!");
return nullptr;
}
}
| [
"daredyoshi@gmail.com"
] | daredyoshi@gmail.com |
4a390c43cf455c6cb4e6ccbb36b296e12b4e39e9 | fa476614d54468bcdd9204c646bb832b4e64df93 | /otherRepos/Codes/Laptop_W7/luis/6161_ACM.cpp | e7a3518abacdb2a3a5b4bb724fbeebebe9ad4757 | [] | no_license | LuisAlbertoVasquezVargas/CP | 300b0ed91425cd7fea54237a61a4008c5f1ed2b7 | 2901a603a00822b008fae3ac65b7020dcddcb491 | refs/heads/master | 2021-01-22T06:23:14.143646 | 2017-02-16T17:52:59 | 2017-02-16T17:52:59 | 81,754,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cpp | #include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define all(v) v.begin() , v.end()
#define rall(v) v.rbegin() , v.rend()
#define FOR(it,A) for(typeof A.begin() it = A.begin(); it!=A.end(); it++)
#define REP(i,n) for(int i=0;i<(n);i++)
#define pb push_back
#define vi vector<int>
#define vll vector<ll>
#define vull vector<ull>
#define vvi vector< vector<int> >
#define pii pair< int , int >
#define pll pair< ll , ll >
#define mp make_pair
#define fi first
#define se second
#define sc(x) scanf("%d",&x)
#define clr(t,val) memset( t , val , sizeof(t) )
#define ones(x) __builtin_popcount(x)
#define test puts("************test************");
#define sync ios_base::sync_with_stdio(false);
#define N 1000005
#define MOD 1000000007
#define INF (1<<30)
#define EPS (1e-5)
using namespace std;
char s[ N ];
int main()
{
int tc;
sc( tc );
while( tc-- )
{
scanf( "%s" , s );
int n = strlen( s );
int a = n/2 , b = a - 1;
puts( s[a] == s[b] ? "Do-it":"Do-it-Not" );
}
}
| [
"luisv0909@gmail.com"
] | luisv0909@gmail.com |
aa88d04585f4826b49849e0ec9ac02347bd64edb | e08020e4154ec31d2c584b4f2a959818c3c7513e | /contests/boat_parts/start.cc | 8dbec3f7a94f15abaf3ffb85dd82e415eaa41a0d | [] | no_license | gskaggs/Competitive-Programming | c48d98c2bf97033cfe2e53944ba19c2643d507cf | 62fc00339c2960d20a88a0389c93f51e26cfb4ab | refs/heads/master | 2023-03-23T05:17:04.461177 | 2021-03-07T05:51:01 | 2021-03-07T05:51:01 | 267,671,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cc | #define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define ll long long
#define umap unordered_map
#define uset unordered_set
#define INF 1000000000
using namespace std;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ii> vii;
typedef vector<vii> vvii;
typedef vector<string> vs;
int main() {
int N, P;
cin >> P >> N;
uset<string> parts;
for (int i = 0; i < N; i++) {
string cur;
cin >> cur;
parts.insert(cur);
if (parts.size() == P) {
cout << i+1 << endl;
return 0;
}
}
cout << "paradox avoided" << endl;
return 0;
}
| [
"grant.skaggs@outlook.com"
] | grant.skaggs@outlook.com |
6f001811148b65da22e54a8aa821b91770b88cb6 | f60f0b0896045b0c8f9561764d2251d92927bdf4 | /catkin_ws/src/gnc_controller/src/constant_thruster_allocation.cpp | 2bdfb8d9376005f20538b98338bc12e263d2389a | [] | no_license | jiangxvv/catkin_ws | 65a25d65d3bba3d96388f7770787356d9f90e46e | ec27c8f0b7c5149845ed3d1ab29ff8abb05cf455 | refs/heads/master | 2020-04-11T07:06:27.574236 | 2018-12-13T07:37:11 | 2018-12-13T07:37:11 | 161,601,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2018, Xu Jiang <jiangxvv@sjtu.edu.cn>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Xu Jiang nor the names of its contributors may
* be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#include<Eigen/Dense>
#include"constant_thruster_allocation.h"
ConstantThrusterAllocation::ConstantThrusterAllocation(const Eigen::Vector3d tug1_position, const Eigen::Vector3d tug2_position)
:tug1_position_(tug1_position), tug2_position_(tug2_position)
{
}
ConstantThrusterAllocation::ConstantThrusterAllocation(const Eigen::Vector3d tug1_position, const Eigen::Vector3d tug2_position, const Eigen::Vector3d tug3_position, const Eigen::Vector3d tug4_position)
:tug1_position_(tug1_position), tug2_position_(tug2_position),
tug3_position_(tug3_position), tug4_position_(tug4_position)
{
}
void ConstantThrusterAllocation::ConfigureMatrix2()
{
x1_=tug1_position_[0]; x2_=tug2_position_[0];
y1_=tug1_position_[1]; y2_=tug2_position_[1];
alpha1_=tug1_position_[2]; alpha2_=tug2_position_[2];
alpha1_=alpha1_/180.0*3.14;
alpha2_=alpha2_/180.0*3.14;
B2_<<cos(alpha1_), sin(alpha1_),
-y1_*cos(alpha1_)+x1_*sin(alpha1_),
cos(alpha2_), sin(alpha2_),
-y2_*cos(alpha2_)+x2_*sin(alpha2_);
}
void ConstantThrusterAllocation::ConfigureMatrix4()
{
x1_=tug1_position_[0]; x2_=tug2_position_[0];
x3_=tug3_position_[0]; x4_=tug4_position_[0];
y1_=tug1_position_[1]; y2_=tug2_position_[1];
y3_=tug3_position_[1]; y4_=tug4_position_[1];
alpha1_=tug1_position_[2]; alpha2_=tug2_position_[2];
alpha3_=tug3_position_[2]; alpha4_=tug4_position_[2];
alpha1_=alpha1_/180.0*3.14;
alpha2_=alpha2_/180.0*3.14;
alpha3_=alpha3_/180.0*3.14;
alpha4_=alpha4_/180.0*3.14;
B4_<<cos(alpha1_), sin(alpha1_),
-y1_*cos(alpha1_)+x1_*sin(alpha1_),
cos(alpha2_), sin(alpha2_),
-y2_*cos(alpha2_)+x2_*sin(alpha2_),
cos(alpha3_), sin(alpha3_),
-y3_*cos(alpha3_)+x3_*sin(alpha3_),
cos(alpha4_), sin(alpha4_),
-y4_*cos(alpha4_)+x4_*sin(alpha4_);
}
ConstantThrusterAllocation::Vector2d ConstantThrusterAllocation::ComputeTug2Force()
{
// problem here
tug2_force_=B2_.colPivHouseholderQr().solve(force_net_);
}
ConstantThrusterAllocation::Vector4d ConstantThrusterAllocation::ComputeTug4Force()
{
// problem here
tug4_force_=B4_.colPivHouseholderQr().solve(force_net_);
}
| [
"jiangxvv@outlook.com"
] | jiangxvv@outlook.com |
195ccead4057331c51ff6854f16e2a2e64303aef | 3e1e10fc80793bdedcda0d41c0d347ca2c9db595 | /Volume00/0028/c++.cpp | 8e3bf5981172e78eb122356f876b3ab14e7f92dd | [] | no_license | mkut/aoj | 9a11999c113bc9fda6157ca174ebfb14e3af14ce | 1a088f15621c72c9f9d0c9ad0030cb8547b3e66e | refs/heads/master | 2016-09-05T11:17:48.734650 | 2013-07-13T13:18:06 | 2013-07-13T13:18:06 | 2,236,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include <iostream>
#include <map>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
map<int, int> data;
vector<int> ans;
int num = 0;
int tmp;
while(cin >> tmp)
{
if(data.find(tmp) != data.end())
{
(data.find(tmp)->second)++;
}
else
{
data.insert(pair<int, int>(tmp, 1));
}
}
for(map<int, int>::iterator it = data.begin(); it != data.end(); it++)
{
if(it->second > num)
{
num = it->second;
ans = vector<int>();
ans.insert(ans.end(), it->first);
}
else if(it->second == num)
{
ans.insert(ans.end(), it->first);
}
}
sort(ans.begin(), ans.end());
for(vector<int>::iterator it = ans.begin(); it != ans.end(); it++)
{
cout << (*it) <<endl;
}
return 0;
} | [
"mkut@mkut-pc.(none)"
] | mkut@mkut-pc.(none) |
c2ef0c5f2e4653fc1217a1d0a9829116e24062b5 | 90e3b84070bfd00793c1162a1a0cf229af144b4a | /540.cpp | 5f7990f38aec0ab3814fea92091f2f4733dad7a3 | [] | no_license | DarcySail/Leetcode_Solution | 4e238e17094cabd45691eb3b0d8501f61e5e35fe | 538fb9111e257cb40a1b1df0aeefbad20e945ca0 | refs/heads/master | 2020-03-17T03:05:23.785053 | 2018-07-01T15:05:40 | 2018-07-01T15:05:40 | 133,219,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | #include <algorithm>
#include <climits>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std;
class Solution
{
public:
int singleNonDuplicate(vector<int> &nums)
{
int result = 0;
for (int i = 0; i < nums.size(); ++i) {
result ^= nums[i];
}
return result;
}
};
int main() { Solution sol; }
| [
"darcysail@gmail.com"
] | darcysail@gmail.com |
6f2f942b38a1c01c3b2d5bc9e1db002dde0dcd7b | efa1cddfa8b779306af6837552ca70cac99672b0 | /C++/CppUnitDemo/CppUnitTestConsoleApp/StdAfx.h | 8ab0b0f8d3838708568e7db914ce68ac1ca41d5f | [] | no_license | lanicon/MyRepository | f21cee83a2fb97e730b1e324d807b51495f4d64e | 6f2e61343fccbaa7ad1f4213df5efc9eb6502c65 | refs/heads/master | 2023-03-14T05:01:01.114757 | 2021-02-26T03:17:01 | 2021-02-26T03:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,106 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__167430D6_BB3D_4D74_9996_082F0B2C74F0__INCLUDED_)
#define AFX_STDAFX_H__167430D6_BB3D_4D74_9996_082F0B2C74F0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afx.h>
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <iostream>
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__167430D6_BB3D_4D74_9996_082F0B2C74F0__INCLUDED_)
| [
"heng222_z@163.com"
] | heng222_z@163.com |
e3ea6cceeba24b5e241158626ba78d5c4a87b124 | 13db7a4f572cd3b52ffdd56069d599be741fe5d6 | /C++/Graphs/gauge-of-node.cpp | 8688a4a31dd4bc9159fa689f6c0daf43eec7c81d | [] | no_license | Andrei0872/Algorithms | 62023888bd482ff05890b86842adec2d894c56e6 | cdc3b3e5828c5af300f6727dab2dee52581960a4 | refs/heads/master | 2023-08-17T11:24:57.135349 | 2023-08-02T07:10:18 | 2023-08-02T07:10:18 | 140,004,850 | 2 | 1 | null | 2018-12-14T23:42:19 | 2018-07-06T16:00:29 | C++ | UTF-8 | C++ | false | false | 3,172 | cpp |
/**
* Given an undirected graph and a node "x", find the gauge of the node "x"
* By definition, the gauge of a node is the maximum distance that separates this node from the others
*/
#include <iostream>
#include <list>
using namespace std;
list<int> * adj;
int *dist;
int * st;
int V = 6, x = 1;
int max_length;
void addEdge(int v, int w) {
adj[v-1].push_back(w-1);
adj[w-1].push_back(v-1);
}
void getInput1() {
adj = new list<int>[V];
st = new int[V];
addEdge(1,2);
addEdge(1,3);
addEdge(1,4);
addEdge(3,5);
addEdge(4,5);
addEdge(5,6);
}
void getInput2() {
V = 7;
adj = new list<int>[V];
st = new int[V];
addEdge(1,2);
addEdge(1,3);
addEdge(1,4);
addEdge(3,5);
addEdge(4,5);
addEdge(5,6);
addEdge(4,6);
addEdge(5,7);
}
void getInput3() {
V = 8;
adj = new list<int>[V];
st = new int[V];
addEdge(1,2);
addEdge(1,3);
addEdge(1,4);
addEdge(3,5);
addEdge(5,8);
addEdge(4,6);
addEdge(4,7);
addEdge(6,5);
addEdge(6,7);
}
// Get the distances
void bfs (int source, int d, int parent) {
dist[source] = d;
for(auto adjN : adj[source]) {
if((dist[adjN] == -1 || dist[adjN] >= dist[source]) && parent != adjN ) {
bfs(adjN, d + 1,source);
}
}
return;
}
// Check if 2 nodes are adjacent
bool areAdjacent(int v, int w) {
for(auto adjN : adj[v])
if(adjN == w)
return true;
return false;
}
// Used when getting the nodes based on their distances
bool valid(int k, int node) {
// Most not be already in the result array
for(int i = 0; i < k; i++)
if(st[i] == node)
return false;
// If it is not adjacent with the last node in the result array
if(!areAdjacent(st[k-1],node))
return false;
// Check distance
if(dist[st[k-1]] + 1 != dist[node])
return false;
return true;
}
void composeResult(int k, int start, int parent) {
if(k == max_length) {
for(int i = 0; i < k; i++)
cout << st[i] + 1 << " ";
cout << "\n";
return;
}
for(int i = 0; i < V; i++) {
if(i != start && i != parent && areAdjacent(start,i) && valid(k,i)) {
st[k] = i;
composeResult(k + 1, i, start);
}
}
}
// Get the max distance
int getMax() {
int max = -32000;
for(int i = 0; i < V; i++)
if(max < dist[i])
max = dist[i];
return max;
}
// Testing..
void printDistances() {
cout << "\nDIST : \n";
for(int i = 0; i < V; i++)
if(dist[i] != -1)
cout << dist[i] << " ";
}
void solve() {
// Initialize distance array
dist = new int[V];
for(int i = 0; i < V; i++)
dist[i] = -1;
// Compute distances
bfs(x - 1,1,-1);
max_length = getMax();
// Starting with the given node
st[0] = x - 1;
composeResult(1,x -1 ,-1);
}
int main () {
getInput1(); // 1 3 5 6 / 1 4 5 6
solve();
cout << "\n";
getInput2(); // 1 4 6 5 7
solve();
cout << "\n";
getInput3();
solve(); // 1 4 7 6 5 8
} | [
"andreigtj01@gmail.com"
] | andreigtj01@gmail.com |
9e427580318ca4f38dff2768f0cfd5b1ca5a0c3d | 1f3a328c6acdbff25adb296eed3fda328d49f55f | /src/main.cpp | 25b6a7ba776e5030a384457ec4e2a31740f591aa | [
"MIT"
] | permissive | ariacoin-project/ariacoin | 2124e10249198c637051f5fd6242e06870923a9e | 4fed7fed320f975b179ee66ae5163fbdd34a4f2d | refs/heads/main | 2023-07-03T14:31:40.296067 | 2021-08-10T18:49:39 | 2021-08-10T18:49:39 | 394,699,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255,609 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The ariacoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "addrman.h"
#include "alert.h"
#include "chainparams.h"
#include "checkpoints.h"
#include "checkqueue.h"
#include "init.h"
#include "kernel.h"
#include "masternode-budget.h"
#include "masternode-payments.h"
#include "masternodeman.h"
#include "merkleblock.h"
#include "net.h"
#include "obfuscation.h"
#include "pow.h"
#include "spork.h"
#include "swifttx.h"
#include "txdb.h"
#include "txmempool.h"
#include "ui_interface.h"
#include "util.h"
#include "utilmoneystr.h"
#include <sstream>
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/thread.hpp>
using namespace boost;
using namespace std;
#if defined(NDEBUG)
#error "ariacoin cannot be compiled without assertions."
#endif
/**
* Global state
*/
CCriticalSection cs_main;
BlockMap mapBlockIndex;
map<uint256, uint256> mapProofOfStake;
set<pair<COutPoint, unsigned int> > setStakeSeen;
map<unsigned int, unsigned int> mapHashedBlocks;
CChain chainActive;
CBlockIndex* pindexBestHeader = NULL;
int64_t nTimeBestReceived = 0;
CWaitableCriticalSection csBestBlock;
CConditionVariable cvBlockChange;
int nScriptCheckThreads = 0;
bool fImporting = false;
bool fReindex = false;
bool fTxIndex = true;
bool fIsBareMultisigStd = true;
bool fCheckBlockIndex = false;
unsigned int nCoinCacheSize = 5000;
bool fAlerts = DEFAULT_ALERTS;
unsigned int nStakeMinAge = 60 * 60;
int64_t nReserveBalance = 0;
/** Fees smaller than this (in duffs) are considered zero fee (for relaying and mining)
* We are ~100 times smaller then bitcoin now (2015-06-23), set minRelayTxFee only 10 times higher
* so it's still 10 times lower comparing to bitcoin.
*/
CFeeRate minRelayTxFee = CFeeRate(10000);
CTxMemPool mempool(::minRelayTxFee);
struct COrphanTx {
CTransaction tx;
NodeId fromPeer;
};
map<uint256, COrphanTx> mapOrphanTransactions;
map<uint256, set<uint256> > mapOrphanTransactionsByPrev;
map<uint256, int64_t> mapRejectedBlocks;
void EraseOrphansFor(NodeId peer);
static void CheckBlockIndex();
/** Constant stuff for coinbase transactions we create: */
CScript COINBASE_FLAGS;
const string strMessageMagic = "DarkNet Signed Message:\n";
// Internal stuff
namespace
{
struct CBlockIndexWorkComparator {
bool operator()(CBlockIndex* pa, CBlockIndex* pb) const
{
// First sort by most total work, ...
if (pa->nChainWork > pb->nChainWork) return false;
if (pa->nChainWork < pb->nChainWork) return true;
// ... then by earliest time received, ...
if (pa->nSequenceId < pb->nSequenceId) return false;
if (pa->nSequenceId > pb->nSequenceId) return true;
// Use pointer address as tie breaker (should only happen with blocks
// loaded from disk, as those all have id 0).
if (pa < pb) return false;
if (pa > pb) return true;
// Identical blocks.
return false;
}
};
CBlockIndex* pindexBestInvalid;
/**
* The set of all CBlockIndex entries with BLOCK_VALID_TRANSACTIONS (for itself and all ancestors) and
* as good as our current tip or better. Entries may be failed, though.
*/
set<CBlockIndex*, CBlockIndexWorkComparator> setBlockIndexCandidates;
/** Number of nodes with fSyncStarted. */
int nSyncStarted = 0;
/** All pairs A->B, where A (or one if its ancestors) misses transactions, but B has transactions. */
multimap<CBlockIndex*, CBlockIndex*> mapBlocksUnlinked;
CCriticalSection cs_LastBlockFile;
std::vector<CBlockFileInfo> vinfoBlockFile;
int nLastBlockFile = 0;
/**
* Every received block is assigned a unique and increasing identifier, so we
* know which one to give priority in case of a fork.
*/
CCriticalSection cs_nBlockSequenceId;
/** Blocks loaded from disk are assigned id 0, so start the counter at 1. */
uint32_t nBlockSequenceId = 1;
/**
* Sources of received blocks, to be able to send them reject messages or ban
* them, if processing happens afterwards. Protected by cs_main.
*/
map<uint256, NodeId> mapBlockSource;
/** Blocks that are in flight, and that are in the queue to be downloaded. Protected by cs_main. */
struct QueuedBlock {
uint256 hash;
CBlockIndex* pindex; //! Optional.
int64_t nTime; //! Time of "getdata" request in microseconds.
int nValidatedQueuedBefore; //! Number of blocks queued with validated headers (globally) at the time this one is requested.
bool fValidatedHeaders; //! Whether this block has validated headers at the time of request.
};
map<uint256, pair<NodeId, list<QueuedBlock>::iterator> > mapBlocksInFlight;
/** Number of blocks in flight with validated headers. */
int nQueuedValidatedHeaders = 0;
/** Number of preferable block download peers. */
int nPreferredDownload = 0;
/** Dirty block index entries. */
set<CBlockIndex*> setDirtyBlockIndex;
/** Dirty block file entries. */
set<int> setDirtyFileInfo;
} // anon namespace
//////////////////////////////////////////////////////////////////////////////
//
// dispatching functions
//
// These functions dispatch to one or all registered wallets
namespace
{
struct CMainSignals {
/** Notifies listeners of updated transaction data (transaction, and optionally the block it is found in. */
boost::signals2::signal<void(const CTransaction&, const CBlock*)> SyncTransaction;
/** Notifies listeners of an erased transaction (currently disabled, requires transaction replacement). */
// XX42 boost::signals2::signal<void(const uint256&)> EraseTransaction;
/** Notifies listeners of an updated transaction without new data (for now: a coinbase potentially becoming visible). */
boost::signals2::signal<void(const uint256&)> UpdatedTransaction;
/** Notifies listeners of a new active block chain. */
boost::signals2::signal<void(const CBlockLocator&)> SetBestChain;
/** Notifies listeners about an inventory item being seen on the network. */
boost::signals2::signal<void(const uint256&)> Inventory;
/** Tells listeners to broadcast their data. */
boost::signals2::signal<void()> Broadcast;
/** Notifies listeners of a block validation result */
boost::signals2::signal<void(const CBlock&, const CValidationState&)> BlockChecked;
} g_signals;
} // anon namespace
void RegisterValidationInterface(CValidationInterface* pwalletIn)
{
g_signals.SyncTransaction.connect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2));
// XX42 g_signals.EraseTransaction.connect(boost::bind(&CValidationInterface::EraseFromWallet, pwalletIn, _1));
g_signals.UpdatedTransaction.connect(boost::bind(&CValidationInterface::UpdatedTransaction, pwalletIn, _1));
g_signals.SetBestChain.connect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1));
g_signals.Inventory.connect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1));
g_signals.Broadcast.connect(boost::bind(&CValidationInterface::ResendWalletTransactions, pwalletIn));
g_signals.BlockChecked.connect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
}
void UnregisterValidationInterface(CValidationInterface* pwalletIn)
{
g_signals.BlockChecked.disconnect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
g_signals.Broadcast.disconnect(boost::bind(&CValidationInterface::ResendWalletTransactions, pwalletIn));
g_signals.Inventory.disconnect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1));
g_signals.SetBestChain.disconnect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1));
g_signals.UpdatedTransaction.disconnect(boost::bind(&CValidationInterface::UpdatedTransaction, pwalletIn, _1));
// XX42 g_signals.EraseTransaction.disconnect(boost::bind(&CValidationInterface::EraseFromWallet, pwalletIn, _1));
g_signals.SyncTransaction.disconnect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2));
}
void UnregisterAllValidationInterfaces()
{
g_signals.BlockChecked.disconnect_all_slots();
g_signals.Broadcast.disconnect_all_slots();
g_signals.Inventory.disconnect_all_slots();
g_signals.SetBestChain.disconnect_all_slots();
g_signals.UpdatedTransaction.disconnect_all_slots();
// XX42 g_signals.EraseTransaction.disconnect_all_slots();
g_signals.SyncTransaction.disconnect_all_slots();
}
void SyncWithWallets(const CTransaction& tx, const CBlock* pblock)
{
g_signals.SyncTransaction(tx, pblock);
}
//////////////////////////////////////////////////////////////////////////////
//
// Registration of network node signals.
//
namespace
{
struct CBlockReject {
unsigned char chRejectCode;
string strRejectReason;
uint256 hashBlock;
};
/**
* Maintain validation-specific state about nodes, protected by cs_main, instead
* by CNode's own locks. This simplifies asynchronous operation, where
* processing of incoming data is done after the ProcessMessage call returns,
* and we're no longer holding the node's locks.
*/
struct CNodeState {
//! The peer's address
CService address;
//! Whether we have a fully established connection.
bool fCurrentlyConnected;
//! Accumulated misbehaviour score for this peer.
int nMisbehavior;
//! Whether this peer should be disconnected and banned (unless whitelisted).
bool fShouldBan;
//! String name of this peer (debugging/logging purposes).
std::string name;
//! List of asynchronously-determined block rejections to notify this peer about.
std::vector<CBlockReject> rejects;
//! The best known block we know this peer has announced.
CBlockIndex* pindexBestKnownBlock;
//! The hash of the last unknown block this peer has announced.
uint256 hashLastUnknownBlock;
//! The last full block we both have.
CBlockIndex* pindexLastCommonBlock;
//! Whether we've started headers synchronization with this peer.
bool fSyncStarted;
//! Since when we're stalling block download progress (in microseconds), or 0.
int64_t nStallingSince;
list<QueuedBlock> vBlocksInFlight;
int nBlocksInFlight;
//! Whether we consider this a preferred download peer.
bool fPreferredDownload;
CNodeState()
{
fCurrentlyConnected = false;
nMisbehavior = 0;
fShouldBan = false;
pindexBestKnownBlock = NULL;
hashLastUnknownBlock = uint256(0);
pindexLastCommonBlock = NULL;
fSyncStarted = false;
nStallingSince = 0;
nBlocksInFlight = 0;
fPreferredDownload = false;
}
};
/** Map maintaining per-node state. Requires cs_main. */
map<NodeId, CNodeState> mapNodeState;
// Requires cs_main.
CNodeState* State(NodeId pnode)
{
map<NodeId, CNodeState>::iterator it = mapNodeState.find(pnode);
if (it == mapNodeState.end())
return NULL;
return &it->second;
}
int GetHeight()
{
while (true) {
TRY_LOCK(cs_main, lockMain);
if (!lockMain) {
MilliSleep(50);
continue;
}
return chainActive.Height();
}
}
void UpdatePreferredDownload(CNode* node, CNodeState* state)
{
nPreferredDownload -= state->fPreferredDownload;
// Whether this node should be marked as a preferred download node.
state->fPreferredDownload = (!node->fInbound || node->fWhitelisted) && !node->fOneShot && !node->fClient;
nPreferredDownload += state->fPreferredDownload;
}
void InitializeNode(NodeId nodeid, const CNode* pnode)
{
LOCK(cs_main);
CNodeState& state = mapNodeState.insert(std::make_pair(nodeid, CNodeState())).first->second;
state.name = pnode->addrName;
state.address = pnode->addr;
}
void FinalizeNode(NodeId nodeid)
{
LOCK(cs_main);
CNodeState* state = State(nodeid);
if (state->fSyncStarted)
nSyncStarted--;
if (state->nMisbehavior == 0 && state->fCurrentlyConnected) {
AddressCurrentlyConnected(state->address);
}
BOOST_FOREACH (const QueuedBlock& entry, state->vBlocksInFlight)
mapBlocksInFlight.erase(entry.hash);
EraseOrphansFor(nodeid);
nPreferredDownload -= state->fPreferredDownload;
mapNodeState.erase(nodeid);
}
// Requires cs_main.
void MarkBlockAsReceived(const uint256& hash)
{
map<uint256, pair<NodeId, list<QueuedBlock>::iterator> >::iterator itInFlight = mapBlocksInFlight.find(hash);
if (itInFlight != mapBlocksInFlight.end()) {
CNodeState* state = State(itInFlight->second.first);
nQueuedValidatedHeaders -= itInFlight->second.second->fValidatedHeaders;
state->vBlocksInFlight.erase(itInFlight->second.second);
state->nBlocksInFlight--;
state->nStallingSince = 0;
mapBlocksInFlight.erase(itInFlight);
}
}
// Requires cs_main.
void MarkBlockAsInFlight(NodeId nodeid, const uint256& hash, CBlockIndex* pindex = NULL)
{
CNodeState* state = State(nodeid);
assert(state != NULL);
// Make sure it's not listed somewhere already.
MarkBlockAsReceived(hash);
QueuedBlock newentry = {hash, pindex, GetTimeMicros(), nQueuedValidatedHeaders, pindex != NULL};
nQueuedValidatedHeaders += newentry.fValidatedHeaders;
list<QueuedBlock>::iterator it = state->vBlocksInFlight.insert(state->vBlocksInFlight.end(), newentry);
state->nBlocksInFlight++;
mapBlocksInFlight[hash] = std::make_pair(nodeid, it);
}
/** Check whether the last unknown block a peer advertized is not yet known. */
void ProcessBlockAvailability(NodeId nodeid)
{
CNodeState* state = State(nodeid);
assert(state != NULL);
if (state->hashLastUnknownBlock != 0) {
BlockMap::iterator itOld = mapBlockIndex.find(state->hashLastUnknownBlock);
if (itOld != mapBlockIndex.end() && itOld->second->nChainWork > 0) {
if (state->pindexBestKnownBlock == NULL || itOld->second->nChainWork >= state->pindexBestKnownBlock->nChainWork)
state->pindexBestKnownBlock = itOld->second;
state->hashLastUnknownBlock = uint256(0);
}
}
}
/** Update tracking information about which blocks a peer is assumed to have. */
void UpdateBlockAvailability(NodeId nodeid, const uint256& hash)
{
CNodeState* state = State(nodeid);
assert(state != NULL);
ProcessBlockAvailability(nodeid);
BlockMap::iterator it = mapBlockIndex.find(hash);
if (it != mapBlockIndex.end() && it->second->nChainWork > 0) {
// An actually better block was announced.
if (state->pindexBestKnownBlock == NULL || it->second->nChainWork >= state->pindexBestKnownBlock->nChainWork)
state->pindexBestKnownBlock = it->second;
} else {
// An unknown block was announced; just assume that the latest one is the best one.
state->hashLastUnknownBlock = hash;
}
}
/** Find the last common ancestor two blocks have.
* Both pa and pb must be non-NULL. */
CBlockIndex* LastCommonAncestor(CBlockIndex* pa, CBlockIndex* pb)
{
if (pa->nHeight > pb->nHeight) {
pa = pa->GetAncestor(pb->nHeight);
} else if (pb->nHeight > pa->nHeight) {
pb = pb->GetAncestor(pa->nHeight);
}
while (pa != pb && pa && pb) {
pa = pa->pprev;
pb = pb->pprev;
}
// Eventually all chain branches meet at the genesis block.
assert(pa == pb);
return pa;
}
/** Update pindexLastCommonBlock and add not-in-flight missing successors to vBlocks, until it has
* at most count entries. */
void FindNextBlocksToDownload(NodeId nodeid, unsigned int count, std::vector<CBlockIndex*>& vBlocks, NodeId& nodeStaller)
{
if (count == 0)
return;
vBlocks.reserve(vBlocks.size() + count);
CNodeState* state = State(nodeid);
assert(state != NULL);
// Make sure pindexBestKnownBlock is up to date, we'll need it.
ProcessBlockAvailability(nodeid);
if (state->pindexBestKnownBlock == NULL || state->pindexBestKnownBlock->nChainWork < chainActive.Tip()->nChainWork) {
// This peer has nothing interesting.
return;
}
if (state->pindexLastCommonBlock == NULL) {
// Bootstrap quickly by guessing a parent of our best tip is the forking point.
// Guessing wrong in either direction is not a problem.
state->pindexLastCommonBlock = chainActive[std::min(state->pindexBestKnownBlock->nHeight, chainActive.Height())];
}
// If the peer reorganized, our previous pindexLastCommonBlock may not be an ancestor
// of their current tip anymore. Go back enough to fix that.
state->pindexLastCommonBlock = LastCommonAncestor(state->pindexLastCommonBlock, state->pindexBestKnownBlock);
if (state->pindexLastCommonBlock == state->pindexBestKnownBlock)
return;
std::vector<CBlockIndex*> vToFetch;
CBlockIndex* pindexWalk = state->pindexLastCommonBlock;
// Never fetch further than the best block we know the peer has, or more than BLOCK_DOWNLOAD_WINDOW + 1 beyond the last
// linked block we have in common with this peer. The +1 is so we can detect stalling, namely if we would be able to
// download that next block if the window were 1 larger.
int nWindowEnd = state->pindexLastCommonBlock->nHeight + BLOCK_DOWNLOAD_WINDOW;
int nMaxHeight = std::min<int>(state->pindexBestKnownBlock->nHeight, nWindowEnd + 1);
NodeId waitingfor = -1;
while (pindexWalk->nHeight < nMaxHeight) {
// Read up to 128 (or more, if more blocks than that are needed) successors of pindexWalk (towards
// pindexBestKnownBlock) into vToFetch. We fetch 128, because CBlockIndex::GetAncestor may be as expensive
// as iterating over ~100 CBlockIndex* entries anyway.
int nToFetch = std::min(nMaxHeight - pindexWalk->nHeight, std::max<int>(count - vBlocks.size(), 128));
vToFetch.resize(nToFetch);
pindexWalk = state->pindexBestKnownBlock->GetAncestor(pindexWalk->nHeight + nToFetch);
vToFetch[nToFetch - 1] = pindexWalk;
for (unsigned int i = nToFetch - 1; i > 0; i--) {
vToFetch[i - 1] = vToFetch[i]->pprev;
}
// Iterate over those blocks in vToFetch (in forward direction), adding the ones that
// are not yet downloaded and not in flight to vBlocks. In the mean time, update
// pindexLastCommonBlock as long as all ancestors are already downloaded.
BOOST_FOREACH (CBlockIndex* pindex, vToFetch) {
if (!pindex->IsValid(BLOCK_VALID_TREE)) {
// We consider the chain that this peer is on invalid.
return;
}
if (pindex->nStatus & BLOCK_HAVE_DATA) {
if (pindex->nChainTx)
state->pindexLastCommonBlock = pindex;
} else if (mapBlocksInFlight.count(pindex->GetBlockHash()) == 0) {
// The block is not already downloaded, and not yet in flight.
if (pindex->nHeight > nWindowEnd) {
// We reached the end of the window.
if (vBlocks.size() == 0 && waitingfor != nodeid) {
// We aren't able to fetch anything, but we would be if the download window was one larger.
nodeStaller = waitingfor;
}
return;
}
vBlocks.push_back(pindex);
if (vBlocks.size() == count) {
return;
}
} else if (waitingfor == -1) {
// This is the first already-in-flight block.
waitingfor = mapBlocksInFlight[pindex->GetBlockHash()].first;
}
}
}
}
} // anon namespace
bool GetNodeStateStats(NodeId nodeid, CNodeStateStats& stats)
{
LOCK(cs_main);
CNodeState* state = State(nodeid);
if (state == NULL)
return false;
stats.nMisbehavior = state->nMisbehavior;
stats.nSyncHeight = state->pindexBestKnownBlock ? state->pindexBestKnownBlock->nHeight : -1;
stats.nCommonHeight = state->pindexLastCommonBlock ? state->pindexLastCommonBlock->nHeight : -1;
BOOST_FOREACH (const QueuedBlock& queue, state->vBlocksInFlight) {
if (queue.pindex)
stats.vHeightInFlight.push_back(queue.pindex->nHeight);
}
return true;
}
void RegisterNodeSignals(CNodeSignals& nodeSignals)
{
nodeSignals.GetHeight.connect(&GetHeight);
nodeSignals.ProcessMessages.connect(&ProcessMessages);
nodeSignals.SendMessages.connect(&SendMessages);
nodeSignals.InitializeNode.connect(&InitializeNode);
nodeSignals.FinalizeNode.connect(&FinalizeNode);
}
void UnregisterNodeSignals(CNodeSignals& nodeSignals)
{
nodeSignals.GetHeight.disconnect(&GetHeight);
nodeSignals.ProcessMessages.disconnect(&ProcessMessages);
nodeSignals.SendMessages.disconnect(&SendMessages);
nodeSignals.InitializeNode.disconnect(&InitializeNode);
nodeSignals.FinalizeNode.disconnect(&FinalizeNode);
}
CBlockIndex* FindForkInGlobalIndex(const CChain& chain, const CBlockLocator& locator)
{
// Find the first block the caller has in the main chain
BOOST_FOREACH (const uint256& hash, locator.vHave) {
BlockMap::iterator mi = mapBlockIndex.find(hash);
if (mi != mapBlockIndex.end()) {
CBlockIndex* pindex = (*mi).second;
if (chain.Contains(pindex))
return pindex;
}
}
return chain.Genesis();
}
CCoinsViewCache* pcoinsTip = NULL;
CBlockTreeDB* pblocktree = NULL;
//////////////////////////////////////////////////////////////////////////////
//
// mapOrphanTransactions
//
bool AddOrphanTx(const CTransaction& tx, NodeId peer)
{
uint256 hash = tx.GetHash();
if (mapOrphanTransactions.count(hash))
return false;
// Ignore big transactions, to avoid a
// send-big-orphans memory exhaustion attack. If a peer has a legitimate
// large transaction with a missing parent then we assume
// it will rebroadcast it later, after the parent transaction(s)
// have been mined or received.
// 10,000 orphans, each of which is at most 5,000 bytes big is
// at most 500 megabytes of orphans:
unsigned int sz = tx.GetSerializeSize(SER_NETWORK, CTransaction::CURRENT_VERSION);
if (sz > 5000) {
LogPrint("mempool", "ignoring large orphan tx (size: %u, hash: %s)\n", sz, hash.ToString());
return false;
}
mapOrphanTransactions[hash].tx = tx;
mapOrphanTransactions[hash].fromPeer = peer;
BOOST_FOREACH (const CTxIn& txin, tx.vin)
mapOrphanTransactionsByPrev[txin.prevout.hash].insert(hash);
LogPrint("mempool", "stored orphan tx %s (mapsz %u prevsz %u)\n", hash.ToString(),
mapOrphanTransactions.size(), mapOrphanTransactionsByPrev.size());
return true;
}
void static EraseOrphanTx(uint256 hash)
{
map<uint256, COrphanTx>::iterator it = mapOrphanTransactions.find(hash);
if (it == mapOrphanTransactions.end())
return;
BOOST_FOREACH (const CTxIn& txin, it->second.tx.vin) {
map<uint256, set<uint256> >::iterator itPrev = mapOrphanTransactionsByPrev.find(txin.prevout.hash);
if (itPrev == mapOrphanTransactionsByPrev.end())
continue;
itPrev->second.erase(hash);
if (itPrev->second.empty())
mapOrphanTransactionsByPrev.erase(itPrev);
}
mapOrphanTransactions.erase(it);
}
void EraseOrphansFor(NodeId peer)
{
int nErased = 0;
map<uint256, COrphanTx>::iterator iter = mapOrphanTransactions.begin();
while (iter != mapOrphanTransactions.end()) {
map<uint256, COrphanTx>::iterator maybeErase = iter++; // increment to avoid iterator becoming invalid
if (maybeErase->second.fromPeer == peer) {
EraseOrphanTx(maybeErase->second.tx.GetHash());
++nErased;
}
}
if (nErased > 0) LogPrint("mempool", "Erased %d orphan tx from peer %d\n", nErased, peer);
}
unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans)
{
unsigned int nEvicted = 0;
while (mapOrphanTransactions.size() > nMaxOrphans) {
// Evict a random orphan:
uint256 randomhash = GetRandHash();
map<uint256, COrphanTx>::iterator it = mapOrphanTransactions.lower_bound(randomhash);
if (it == mapOrphanTransactions.end())
it = mapOrphanTransactions.begin();
EraseOrphanTx(it->first);
++nEvicted;
}
return nEvicted;
}
bool IsStandardTx(const CTransaction& tx, string& reason)
{
AssertLockHeld(cs_main);
if (tx.nVersion > CTransaction::CURRENT_VERSION || tx.nVersion < 1) {
reason = "version";
return false;
}
// Treat non-final transactions as non-standard to prevent a specific type
// of double-spend attack, as well as DoS attacks. (if the transaction
// can't be mined, the attacker isn't expending resources broadcasting it)
// Basically we don't want to propagate transactions that can't be included in
// the next block.
//
// However, IsFinalTx() is confusing... Without arguments, it uses
// chainActive.Height() to evaluate nLockTime; when a block is accepted, chainActive.Height()
// is set to the value of nHeight in the block. However, when IsFinalTx()
// is called within CBlock::AcceptBlock(), the height of the block *being*
// evaluated is what is used. Thus if we want to know if a transaction can
// be part of the *next* block, we need to call IsFinalTx() with one more
// than chainActive.Height().
//
// Timestamps on the other hand don't get any special treatment, because we
// can't know what timestamp the next block will have, and there aren't
// timestamp applications where it matters.
if (!IsFinalTx(tx, chainActive.Height() + 1)) {
reason = "non-final";
return false;
}
// Extremely large transactions with lots of inputs can cost the network
// almost as much to process as they cost the sender in fees, because
// computing signature hashes is O(ninputs*txsize). Limiting transactions
// to MAX_STANDARD_TX_SIZE mitigates CPU exhaustion attacks.
unsigned int sz = tx.GetSerializeSize(SER_NETWORK, CTransaction::CURRENT_VERSION);
if (sz >= MAX_STANDARD_TX_SIZE) {
reason = "tx-size";
return false;
}
BOOST_FOREACH (const CTxIn& txin, tx.vin) {
// Biggest 'standard' txin is a 15-of-15 P2SH multisig with compressed
// keys. (remember the 520 byte limit on redeemScript size) That works
// out to a (15*(33+1))+3=513 byte redeemScript, 513+1+15*(73+1)+3=1627
// bytes of scriptSig, which we round off to 1650 bytes for some minor
// future-proofing. That's also enough to spend a 20-of-20
// CHECKMULTISIG scriptPubKey, though such a scriptPubKey is not
// considered standard)
if (txin.scriptSig.size() > 1650) {
reason = "scriptsig-size";
return false;
}
if (!txin.scriptSig.IsPushOnly()) {
reason = "scriptsig-not-pushonly";
return false;
}
}
unsigned int nDataOut = 0;
txnouttype whichType;
BOOST_FOREACH (const CTxOut& txout, tx.vout) {
if (!::IsStandard(txout.scriptPubKey, whichType)) {
reason = "scriptpubkey";
return false;
}
if (whichType == TX_NULL_DATA)
nDataOut++;
else if ((whichType == TX_MULTISIG) && (!fIsBareMultisigStd)) {
reason = "bare-multisig";
return false;
} else if (txout.IsDust(::minRelayTxFee)) {
reason = "dust";
return false;
}
}
// only one OP_RETURN txout is permitted
if (nDataOut > 1) {
reason = "multi-op-return";
return false;
}
return true;
}
bool IsFinalTx(const CTransaction& tx, int nBlockHeight, int64_t nBlockTime)
{
AssertLockHeld(cs_main);
// Time based nLockTime implemented in 0.1.6
if (tx.nLockTime == 0)
return true;
if (nBlockHeight == 0)
nBlockHeight = chainActive.Height();
if (nBlockTime == 0)
nBlockTime = GetAdjustedTime();
if ((int64_t)tx.nLockTime < ((int64_t)tx.nLockTime < LOCKTIME_THRESHOLD ? (int64_t)nBlockHeight : nBlockTime))
return true;
BOOST_FOREACH (const CTxIn& txin, tx.vin)
if (!txin.IsFinal())
return false;
return true;
}
/**
* Check transaction inputs to mitigate two
* potential denial-of-service attacks:
*
* 1. scriptSigs with extra data stuffed into them,
* not consumed by scriptPubKey (or P2SH script)
* 2. P2SH scripts with a crazy number of expensive
* CHECKSIG/CHECKMULTISIG operations
*/
bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
{
if (tx.IsCoinBase())
return true; // Coinbases don't use vin normally
for (unsigned int i = 0; i < tx.vin.size(); i++) {
const CTxOut& prev = mapInputs.GetOutputFor(tx.vin[i]);
vector<vector<unsigned char> > vSolutions;
txnouttype whichType;
// get the scriptPubKey corresponding to this input:
const CScript& prevScript = prev.scriptPubKey;
if (!Solver(prevScript, whichType, vSolutions))
return false;
int nArgsExpected = ScriptSigArgsExpected(whichType, vSolutions);
if (nArgsExpected < 0)
return false;
// Transactions with extra stuff in their scriptSigs are
// non-standard. Note that this EvalScript() call will
// be quick, because if there are any operations
// beside "push data" in the scriptSig
// IsStandard() will have already returned false
// and this method isn't called.
vector<vector<unsigned char> > stack;
if (!EvalScript(stack, tx.vin[i].scriptSig, false, BaseSignatureChecker()))
return false;
if (whichType == TX_SCRIPTHASH) {
if (stack.empty())
return false;
CScript subscript(stack.back().begin(), stack.back().end());
vector<vector<unsigned char> > vSolutions2;
txnouttype whichType2;
if (Solver(subscript, whichType2, vSolutions2)) {
int tmpExpected = ScriptSigArgsExpected(whichType2, vSolutions2);
if (tmpExpected < 0)
return false;
nArgsExpected += tmpExpected;
} else {
// Any other Script with less than 15 sigops OK:
unsigned int sigops = subscript.GetSigOpCount(true);
// ... extra data left on the stack after execution is OK, too:
return (sigops <= MAX_P2SH_SIGOPS);
}
}
if (stack.size() != (unsigned int)nArgsExpected)
return false;
}
return true;
}
unsigned int GetLegacySigOpCount(const CTransaction& tx)
{
unsigned int nSigOps = 0;
BOOST_FOREACH (const CTxIn& txin, tx.vin) {
nSigOps += txin.scriptSig.GetSigOpCount(false);
}
BOOST_FOREACH (const CTxOut& txout, tx.vout) {
nSigOps += txout.scriptPubKey.GetSigOpCount(false);
}
return nSigOps;
}
unsigned int GetP2SHSigOpCount(const CTransaction& tx, const CCoinsViewCache& inputs)
{
if (tx.IsCoinBase())
return 0;
unsigned int nSigOps = 0;
for (unsigned int i = 0; i < tx.vin.size(); i++) {
const CTxOut& prevout = inputs.GetOutputFor(tx.vin[i]);
if (prevout.scriptPubKey.IsPayToScriptHash())
nSigOps += prevout.scriptPubKey.GetSigOpCount(tx.vin[i].scriptSig);
}
return nSigOps;
}
int GetInputAge(CTxIn& vin)
{
CCoinsView viewDummy;
CCoinsViewCache view(&viewDummy);
{
LOCK(mempool.cs);
CCoinsViewMemPool viewMempool(pcoinsTip, mempool);
view.SetBackend(viewMempool); // temporarily switch cache backend to db+mempool view
const CCoins* coins = view.AccessCoins(vin.prevout.hash);
if (coins) {
if (coins->nHeight < 0) return 0;
return (chainActive.Tip()->nHeight + 1) - coins->nHeight;
} else
return -1;
}
}
int GetInputAgeIX(uint256 nTXHash, CTxIn& vin)
{
int sigs = 0;
int nResult = GetInputAge(vin);
if (nResult < 0) nResult = 0;
if (nResult < 6) {
std::map<uint256, CTransactionLock>::iterator i = mapTxLocks.find(nTXHash);
if (i != mapTxLocks.end()) {
sigs = (*i).second.CountSignatures();
}
if (sigs >= SWIFTTX_SIGNATURES_REQUIRED) {
return nSwiftTXDepth + nResult;
}
}
return -1;
}
int GetIXConfirmations(uint256 nTXHash)
{
int sigs = 0;
std::map<uint256, CTransactionLock>::iterator i = mapTxLocks.find(nTXHash);
if (i != mapTxLocks.end()) {
sigs = (*i).second.CountSignatures();
}
if (sigs >= SWIFTTX_SIGNATURES_REQUIRED) {
return nSwiftTXDepth;
}
return 0;
}
// ppcoin: total coin age spent in transaction, in the unit of coin-days.
// Only those coins meeting minimum age requirement counts. As those
// transactions not in main chain are not currently indexed so we
// might not find out about their coin age. Older transactions are
// guaranteed to be in main chain by sync-checkpoint. This rule is
// introduced to help nodes establish a consistent view of the coin
// age (trust score) of competing branches.
bool GetCoinAge(const CTransaction& tx, const unsigned int nTxTime, uint64_t& nCoinAge)
{
uint256 bnCentSecond = 0; // coin age in the unit of cent-seconds
nCoinAge = 0;
CBlockIndex* pindex = NULL;
BOOST_FOREACH (const CTxIn& txin, tx.vin) {
// First try finding the previous transaction in database
CTransaction txPrev;
uint256 hashBlockPrev;
if (!GetTransaction(txin.prevout.hash, txPrev, hashBlockPrev, true)) {
LogPrintf("GetCoinAge: failed to find vin transaction \n");
continue; // previous transaction not in main chain
}
BlockMap::iterator it = mapBlockIndex.find(hashBlockPrev);
if (it != mapBlockIndex.end())
pindex = it->second;
else {
LogPrintf("GetCoinAge() failed to find block index \n");
continue;
}
// Read block header
CBlockHeader prevblock = pindex->GetBlockHeader();
if (prevblock.nTime + nStakeMinAge > nTxTime)
continue; // only count coins meeting min age requirement
if (nTxTime < prevblock.nTime) {
LogPrintf("GetCoinAge: Timestamp Violation: txtime less than txPrev.nTime");
return false; // Transaction timestamp violation
}
int64_t nValueIn = txPrev.vout[txin.prevout.n].nValue;
bnCentSecond += uint256(nValueIn) * (nTxTime - prevblock.nTime);
}
uint256 bnCoinDay = bnCentSecond / COIN / (24 * 60 * 60);
LogPrintf("coin age bnCoinDay=%s\n", bnCoinDay.ToString().c_str());
nCoinAge = bnCoinDay.GetCompact();
return true;
}
bool MoneyRange(CAmount nValueOut)
{
return nValueOut >= 0 && nValueOut <= Params().MaxMoneyOut();
}
bool CheckTransaction(const CTransaction& tx, CValidationState& state)
{
// Basic checks that don't depend on any context
if (tx.vin.empty())
return state.DoS(10, error("CheckTransaction() : vin empty"),
REJECT_INVALID, "bad-txns-vin-empty");
if (tx.vout.empty())
return state.DoS(10, error("CheckTransaction() : vout empty"),
REJECT_INVALID, "bad-txns-vout-empty");
// Size limits
if (::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION) > MAX_BLOCK_SIZE)
return state.DoS(100, error("CheckTransaction() : size limits failed"),
REJECT_INVALID, "bad-txns-oversize");
// Check for negative or overflow output values
CAmount nValueOut = 0;
BOOST_FOREACH (const CTxOut& txout, tx.vout) {
if (txout.IsEmpty() && !tx.IsCoinBase() && !tx.IsCoinStake())
return state.DoS(100, error("CheckTransaction(): txout empty for user transaction"));
if (txout.nValue < 0)
return state.DoS(100, error("CheckTransaction() : txout.nValue negative"),
REJECT_INVALID, "bad-txns-vout-negative");
if (txout.nValue > Params().MaxMoneyOut())
return state.DoS(100, error("CheckTransaction() : txout.nValue too high"),
REJECT_INVALID, "bad-txns-vout-toolarge");
nValueOut += txout.nValue;
if (!MoneyRange(nValueOut))
return state.DoS(100, error("CheckTransaction() : txout total out of range"),
REJECT_INVALID, "bad-txns-txouttotal-toolarge");
}
// Check for duplicate inputs
set<COutPoint> vInOutPoints;
BOOST_FOREACH (const CTxIn& txin, tx.vin) {
if (vInOutPoints.count(txin.prevout))
return state.DoS(100, error("CheckTransaction() : duplicate inputs"),
REJECT_INVALID, "bad-txns-inputs-duplicate");
vInOutPoints.insert(txin.prevout);
}
if (tx.IsCoinBase()) {
if (tx.vin[0].scriptSig.size() < 2 || tx.vin[0].scriptSig.size() > 150)
return state.DoS(100, error("CheckTransaction() : coinbase script size=%d", tx.vin[0].scriptSig.size()),
REJECT_INVALID, "bad-cb-length");
} else {
BOOST_FOREACH (const CTxIn& txin, tx.vin)
if (txin.prevout.IsNull())
return state.DoS(10, error("CheckTransaction() : prevout is null"),
REJECT_INVALID, "bad-txns-prevout-null");
}
return true;
}
bool CheckFinalTx(const CTransaction& tx, int flags)
{
AssertLockHeld(cs_main);
// By convention a negative value for flags indicates that the
// current network-enforced consensus rules should be used. In
// a future soft-fork scenario that would mean checking which
// rules would be enforced for the next block and setting the
// appropriate flags. At the present time no soft-forks are
// scheduled, so no flags are set.
flags = std::max(flags, 0);
// CheckFinalTx() uses chainActive.Height()+1 to evaluate
// nLockTime because when IsFinalTx() is called within
// CBlock::AcceptBlock(), the height of the block *being*
// evaluated is what is used. Thus if we want to know if a
// transaction can be part of the *next* block, we need to call
// IsFinalTx() with one more than chainActive.Height().
const int nBlockHeight = chainActive.Height() + 1;
// BIP113 will require that time-locked transactions have nLockTime set to
// less than the median time of the previous block they're contained in.
// When the next block is created its previous block will be the current
// chain tip, so we use that to calculate the median time passed to
// IsFinalTx() if LOCKTIME_MEDIAN_TIME_PAST is set.
const int64_t nBlockTime = (flags & LOCKTIME_MEDIAN_TIME_PAST) ? chainActive.Tip()->GetMedianTimePast() : GetAdjustedTime();
return IsFinalTx(tx, nBlockHeight, nBlockTime);
}
CAmount GetMinRelayFee(const CTransaction& tx, unsigned int nBytes, bool fAllowFree)
{
{
LOCK(mempool.cs);
uint256 hash = tx.GetHash();
double dPriorityDelta = 0;
CAmount nFeeDelta = 0;
mempool.ApplyDeltas(hash, dPriorityDelta, nFeeDelta);
if (dPriorityDelta > 0 || nFeeDelta > 0)
return 0;
}
CAmount nMinFee = ::minRelayTxFee.GetFee(nBytes);
if (fAllowFree) {
// There is a free transaction area in blocks created by most miners,
// * If we are relaying we allow transactions up to DEFAULT_BLOCK_PRIORITY_SIZE - 1000
// to be considered to fall into this category. We don't want to encourage sending
// multiple transactions instead of one big transaction to avoid fees.
if (nBytes < (DEFAULT_BLOCK_PRIORITY_SIZE - 1000))
nMinFee = 0;
}
if (!MoneyRange(nMinFee))
nMinFee = Params().MaxMoneyOut();
return nMinFee;
}
bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState& state, const CTransaction& tx, bool fLimitFree, bool* pfMissingInputs, bool fRejectInsaneFee, bool ignoreFees)
{
AssertLockHeld(cs_main);
if (pfMissingInputs)
*pfMissingInputs = false;
if (!CheckTransaction(tx, state))
return error("AcceptToMemoryPool: : CheckTransaction failed");
// Coinbase is only valid in a block, not as a loose transaction
if (tx.IsCoinBase())
return state.DoS(100, error("AcceptToMemoryPool: : coinbase as individual tx"),
REJECT_INVALID, "coinbase");
//Coinstake is also only valid in a block, not as a loose transaction
if (tx.IsCoinStake())
return state.DoS(100, error("AcceptToMemoryPool: coinstake as individual tx"),
REJECT_INVALID, "coinstake");
// Rather not work on nonstandard transactions (unless -testnet/-regtest)
string reason;
if (Params().RequireStandard() && !IsStandardTx(tx, reason))
return state.DoS(0,
error("AcceptToMemoryPool : nonstandard transaction: %s", reason),
REJECT_NONSTANDARD, reason);
// is it already in the memory pool?
uint256 hash = tx.GetHash();
if (pool.exists(hash))
return false;
// ----------- swiftTX transaction scanning -----------
BOOST_FOREACH (const CTxIn& in, tx.vin) {
if (mapLockedInputs.count(in.prevout)) {
if (mapLockedInputs[in.prevout] != tx.GetHash()) {
return state.DoS(0,
error("AcceptToMemoryPool : conflicts with existing transaction lock: %s", reason),
REJECT_INVALID, "tx-lock-conflict");
}
}
}
// Check for conflicts with in-memory transactions
{
LOCK(pool.cs); // protect pool.mapNextTx
for (unsigned int i = 0; i < tx.vin.size(); i++) {
COutPoint outpoint = tx.vin[i].prevout;
if (pool.mapNextTx.count(outpoint)) {
// Disable replacement feature for now
return false;
}
}
}
{
CCoinsView dummy;
CCoinsViewCache view(&dummy);
CAmount nValueIn = 0;
{
LOCK(pool.cs);
CCoinsViewMemPool viewMemPool(pcoinsTip, pool);
view.SetBackend(viewMemPool);
// do we already have it?
if (view.HaveCoins(hash))
return false;
// do all inputs exist?
// Note that this does not check for the presence of actual outputs (see the next check for that),
// only helps filling in pfMissingInputs (to determine missing vs spent).
BOOST_FOREACH (const CTxIn txin, tx.vin) {
if (!view.HaveCoins(txin.prevout.hash)) {
if (pfMissingInputs)
*pfMissingInputs = true;
return false;
}
}
// are the actual inputs available?
if (!view.HaveInputs(tx))
return state.Invalid(error("AcceptToMemoryPool : inputs already spent"),
REJECT_DUPLICATE, "bad-txns-inputs-spent");
// Bring the best block into scope
view.GetBestBlock();
nValueIn = view.GetValueIn(tx);
// we have all inputs cached now, so switch back to dummy, so we don't need to keep lock on mempool
view.SetBackend(dummy);
}
// Check for non-standard pay-to-script-hash in inputs
if (Params().RequireStandard() && !AreInputsStandard(tx, view))
return error("AcceptToMemoryPool: : nonstandard transaction input");
// Check that the transaction doesn't have an excessive number of
// sigops, making it impossible to mine. Since the coinbase transaction
// itself can contain sigops MAX_TX_SIGOPS is less than
// MAX_BLOCK_SIGOPS; we still consider this an invalid rather than
// merely non-standard transaction.
unsigned int nSigOps = GetLegacySigOpCount(tx);
nSigOps += GetP2SHSigOpCount(tx, view);
if (nSigOps > MAX_TX_SIGOPS)
return state.DoS(0,
error("AcceptToMemoryPool : too many sigops %s, %d > %d",
hash.ToString(), nSigOps, MAX_TX_SIGOPS),
REJECT_NONSTANDARD, "bad-txns-too-many-sigops");
CAmount nValueOut = tx.GetValueOut();
CAmount nFees = nValueIn - nValueOut;
double dPriority = view.GetPriority(tx, chainActive.Height());
CTxMemPoolEntry entry(tx, nFees, GetTime(), dPriority, chainActive.Height());
unsigned int nSize = entry.GetTxSize();
// Don't accept it if it can't get into a block
// but prioritise dstx and don't check fees for it
if (mapObfuscationBroadcastTxes.count(hash)) {
mempool.PrioritiseTransaction(hash, hash.ToString(), 1000, 0.1 * COIN);
} else if (!ignoreFees) {
CAmount txMinFee = GetMinRelayFee(tx, nSize, true);
if (fLimitFree && nFees < txMinFee)
return state.DoS(0, error("AcceptToMemoryPool : not enough fees %s, %d < %d",
hash.ToString(), nFees, txMinFee),
REJECT_INSUFFICIENTFEE, "insufficient fee");
// Require that free transactions have sufficient priority to be mined in the next block.
if (GetBoolArg("-relaypriority", true) && nFees < ::minRelayTxFee.GetFee(nSize) && !AllowFree(view.GetPriority(tx, chainActive.Height() + 1))) {
return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "insufficient priority");
}
// Continuously rate-limit free (really, very-low-fee) transactions
// This mitigates 'penny-flooding' -- sending thousands of free transactions just to
// be annoying or make others' transactions take longer to confirm.
if (fLimitFree && nFees < ::minRelayTxFee.GetFee(nSize)) {
static CCriticalSection csFreeLimiter;
static double dFreeCount;
static int64_t nLastTime;
int64_t nNow = GetTime();
LOCK(csFreeLimiter);
// Use an exponentially decaying ~10-minute window:
dFreeCount *= pow(1.0 - 1.0 / 600.0, (double)(nNow - nLastTime));
nLastTime = nNow;
// -limitfreerelay unit is thousand-bytes-per-minute
// At default rate it would take over a month to fill 1GB
if (dFreeCount >= GetArg("-limitfreerelay", 15) * 10 * 1000)
return state.DoS(0, error("AcceptToMemoryPool : free transaction rejected by rate limiter"),
REJECT_INSUFFICIENTFEE, "rate limited free transaction");
LogPrint("mempool", "Rate limit dFreeCount: %g => %g\n", dFreeCount, dFreeCount + nSize);
dFreeCount += nSize;
}
}
if (fRejectInsaneFee && nFees > ::minRelayTxFee.GetFee(nSize) * 10000)
return error("AcceptToMemoryPool: : insane fees %s, %d > %d",
hash.ToString(),
nFees, ::minRelayTxFee.GetFee(nSize) * 10000);
// Check against previous transactions
// This is done last to help prevent CPU exhaustion denial-of-service attacks.
if (!CheckInputs(tx, state, view, true, STANDARD_SCRIPT_VERIFY_FLAGS, true)) {
return error("AcceptToMemoryPool: : ConnectInputs failed %s", hash.ToString());
}
// Check again against just the consensus-critical mandatory script
// verification flags, in case of bugs in the standard flags that cause
// transactions to pass as valid when they're actually invalid. For
// instance the STRICTENC flag was incorrectly allowing certain
// CHECKSIG NOT scripts to pass, even though they were invalid.
//
// There is a similar check in CreateNewBlock() to prevent creating
// invalid blocks, however allowing such transactions into the mempool
// can be exploited as a DoS attack.
if (!CheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true)) {
return error("AcceptToMemoryPool: : BUG! PLEASE REPORT THIS! ConnectInputs failed against MANDATORY but not STANDARD flags %s", hash.ToString());
}
// Store transaction in memory
pool.addUnchecked(hash, entry);
}
SyncWithWallets(tx, NULL);
return true;
}
bool AcceptableInputs(CTxMemPool& pool, CValidationState& state, const CTransaction& tx, bool fLimitFree, bool* pfMissingInputs, bool fRejectInsaneFee, bool isDSTX)
{
AssertLockHeld(cs_main);
if (pfMissingInputs)
*pfMissingInputs = false;
if (!CheckTransaction(tx, state))
return error("AcceptableInputs: : CheckTransaction failed");
// Coinbase is only valid in a block, not as a loose transaction
if (tx.IsCoinBase())
return state.DoS(100, error("AcceptableInputs: : coinbase as individual tx"),
REJECT_INVALID, "coinbase");
// Rather not work on nonstandard transactions (unless -testnet/-regtest)
string reason;
// for any real tx this will be checked on AcceptToMemoryPool anyway
// if (Params().RequireStandard() && !IsStandardTx(tx, reason))
// return state.DoS(0,
// error("AcceptableInputs : nonstandard transaction: %s", reason),
// REJECT_NONSTANDARD, reason);
// is it already in the memory pool?
uint256 hash = tx.GetHash();
if (pool.exists(hash))
return false;
// ----------- swiftTX transaction scanning -----------
BOOST_FOREACH (const CTxIn& in, tx.vin) {
if (mapLockedInputs.count(in.prevout)) {
if (mapLockedInputs[in.prevout] != tx.GetHash()) {
return state.DoS(0,
error("AcceptableInputs : conflicts with existing transaction lock: %s", reason),
REJECT_INVALID, "tx-lock-conflict");
}
}
}
// Check for conflicts with in-memory transactions
{
LOCK(pool.cs); // protect pool.mapNextTx
for (unsigned int i = 0; i < tx.vin.size(); i++) {
COutPoint outpoint = tx.vin[i].prevout;
if (pool.mapNextTx.count(outpoint)) {
// Disable replacement feature for now
return false;
}
}
}
{
CCoinsView dummy;
CCoinsViewCache view(&dummy);
CAmount nValueIn = 0;
{
LOCK(pool.cs);
CCoinsViewMemPool viewMemPool(pcoinsTip, pool);
view.SetBackend(viewMemPool);
// do we already have it?
if (view.HaveCoins(hash))
return false;
// do all inputs exist?
// Note that this does not check for the presence of actual outputs (see the next check for that),
// only helps filling in pfMissingInputs (to determine missing vs spent).
BOOST_FOREACH (const CTxIn txin, tx.vin) {
if (!view.HaveCoins(txin.prevout.hash)) {
if (pfMissingInputs)
*pfMissingInputs = true;
return false;
}
}
// are the actual inputs available?
if (!view.HaveInputs(tx))
return state.Invalid(error("AcceptableInputs : inputs already spent"),
REJECT_DUPLICATE, "bad-txns-inputs-spent");
// Bring the best block into scope
view.GetBestBlock();
nValueIn = view.GetValueIn(tx);
// we have all inputs cached now, so switch back to dummy, so we don't need to keep lock on mempool
view.SetBackend(dummy);
}
// Check for non-standard pay-to-script-hash in inputs
// for any real tx this will be checked on AcceptToMemoryPool anyway
// if (Params().RequireStandard() && !AreInputsStandard(tx, view))
// return error("AcceptableInputs: : nonstandard transaction input");
// Check that the transaction doesn't have an excessive number of
// sigops, making it impossible to mine. Since the coinbase transaction
// itself can contain sigops MAX_TX_SIGOPS is less than
// MAX_BLOCK_SIGOPS; we still consider this an invalid rather than
// merely non-standard transaction.
unsigned int nSigOps = GetLegacySigOpCount(tx);
nSigOps += GetP2SHSigOpCount(tx, view);
if (nSigOps > MAX_TX_SIGOPS)
return state.DoS(0,
error("AcceptableInputs : too many sigops %s, %d > %d",
hash.ToString(), nSigOps, MAX_TX_SIGOPS),
REJECT_NONSTANDARD, "bad-txns-too-many-sigops");
CAmount nValueOut = tx.GetValueOut();
CAmount nFees = nValueIn - nValueOut;
double dPriority = view.GetPriority(tx, chainActive.Height());
CTxMemPoolEntry entry(tx, nFees, GetTime(), dPriority, chainActive.Height());
unsigned int nSize = entry.GetTxSize();
// Don't accept it if it can't get into a block
// but prioritise dstx and don't check fees for it
if (isDSTX) {
mempool.PrioritiseTransaction(hash, hash.ToString(), 1000, 0.1 * COIN);
} else { // same as !ignoreFees for AcceptToMemoryPool
CAmount txMinFee = GetMinRelayFee(tx, nSize, true);
if (fLimitFree && nFees < txMinFee)
return state.DoS(0, error("AcceptableInputs : not enough fees %s, %d < %d",
hash.ToString(), nFees, txMinFee),
REJECT_INSUFFICIENTFEE, "insufficient fee");
// Require that free transactions have sufficient priority to be mined in the next block.
if (GetBoolArg("-relaypriority", true) && nFees < ::minRelayTxFee.GetFee(nSize) && !AllowFree(view.GetPriority(tx, chainActive.Height() + 1))) {
return state.DoS(0, false, REJECT_INSUFFICIENTFEE, "insufficient priority");
}
// Continuously rate-limit free (really, very-low-fee) transactions
// This mitigates 'penny-flooding' -- sending thousands of free transactions just to
// be annoying or make others' transactions take longer to confirm.
if (fLimitFree && nFees < ::minRelayTxFee.GetFee(nSize)) {
static CCriticalSection csFreeLimiter;
static double dFreeCount;
static int64_t nLastTime;
int64_t nNow = GetTime();
LOCK(csFreeLimiter);
// Use an exponentially decaying ~10-minute window:
dFreeCount *= pow(1.0 - 1.0 / 600.0, (double)(nNow - nLastTime));
nLastTime = nNow;
// -limitfreerelay unit is thousand-bytes-per-minute
// At default rate it would take over a month to fill 1GB
if (dFreeCount >= GetArg("-limitfreerelay", 15) * 10 * 1000)
return state.DoS(0, error("AcceptableInputs : free transaction rejected by rate limiter"),
REJECT_INSUFFICIENTFEE, "rate limited free transaction");
LogPrint("mempool", "Rate limit dFreeCount: %g => %g\n", dFreeCount, dFreeCount + nSize);
dFreeCount += nSize;
}
}
if (fRejectInsaneFee && nFees > ::minRelayTxFee.GetFee(nSize) * 10000)
return error("AcceptableInputs: : insane fees %s, %d > %d",
hash.ToString(),
nFees, ::minRelayTxFee.GetFee(nSize) * 10000);
// Check against previous transactions
// This is done last to help prevent CPU exhaustion denial-of-service attacks.
if (!CheckInputs(tx, state, view, false, STANDARD_SCRIPT_VERIFY_FLAGS, true)) {
return error("AcceptableInputs: : ConnectInputs failed %s", hash.ToString());
}
// Check again against just the consensus-critical mandatory script
// verification flags, in case of bugs in the standard flags that cause
// transactions to pass as valid when they're actually invalid. For
// instance the STRICTENC flag was incorrectly allowing certain
// CHECKSIG NOT scripts to pass, even though they were invalid.
//
// There is a similar check in CreateNewBlock() to prevent creating
// invalid blocks, however allowing such transactions into the mempool
// can be exploited as a DoS attack.
// for any real tx this will be checked on AcceptToMemoryPool anyway
// if (!CheckInputs(tx, state, view, false, MANDATORY_SCRIPT_VERIFY_FLAGS, true))
// {
// return error("AcceptableInputs: : BUG! PLEASE REPORT THIS! ConnectInputs failed against MANDATORY but not STANDARD flags %s", hash.ToString());
// }
// Store transaction in memory
// pool.addUnchecked(hash, entry);
}
// SyncWithWallets(tx, NULL);
return true;
}
/** Return transaction in tx, and if it was found inside a block, its hash is placed in hashBlock */
bool GetTransaction(const uint256& hash, CTransaction& txOut, uint256& hashBlock, bool fAllowSlow)
{
CBlockIndex* pindexSlow = NULL;
{
LOCK(cs_main);
{
if (mempool.lookup(hash, txOut)) {
return true;
}
}
if (fTxIndex) {
CDiskTxPos postx;
if (pblocktree->ReadTxIndex(hash, postx)) {
CAutoFile file(OpenBlockFile(postx, true), SER_DISK, CLIENT_VERSION);
if (file.IsNull())
return error("%s: OpenBlockFile failed", __func__);
CBlockHeader header;
try {
file >> header;
fseek(file.Get(), postx.nTxOffset, SEEK_CUR);
file >> txOut;
} catch (std::exception& e) {
return error("%s : Deserialize or I/O error - %s", __func__, e.what());
}
hashBlock = header.GetHash();
if (txOut.GetHash() != hash)
return error("%s : txid mismatch", __func__);
return true;
}
}
if (fAllowSlow) { // use coin database to locate block that contains transaction, and scan it
int nHeight = -1;
{
CCoinsViewCache& view = *pcoinsTip;
const CCoins* coins = view.AccessCoins(hash);
if (coins)
nHeight = coins->nHeight;
}
if (nHeight > 0)
pindexSlow = chainActive[nHeight];
}
}
if (pindexSlow) {
CBlock block;
if (ReadBlockFromDisk(block, pindexSlow)) {
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
if (tx.GetHash() == hash) {
txOut = tx;
hashBlock = pindexSlow->GetBlockHash();
return true;
}
}
}
}
return false;
}
//////////////////////////////////////////////////////////////////////////////
//
// CBlock and CBlockIndex
//
bool WriteBlockToDisk(CBlock& block, CDiskBlockPos& pos)
{
// Open history file to append
CAutoFile fileout(OpenBlockFile(pos), SER_DISK, CLIENT_VERSION);
if (fileout.IsNull())
return error("WriteBlockToDisk : OpenBlockFile failed");
// Write index header
unsigned int nSize = fileout.GetSerializeSize(block);
fileout << FLATDATA(Params().MessageStart()) << nSize;
// Write block
long fileOutPos = ftell(fileout.Get());
if (fileOutPos < 0)
return error("WriteBlockToDisk : ftell failed");
pos.nPos = (unsigned int)fileOutPos;
fileout << block;
return true;
}
bool ReadBlockFromDisk(CBlock& block, const CDiskBlockPos& pos)
{
block.SetNull();
// Open history file to read
CAutoFile filein(OpenBlockFile(pos, true), SER_DISK, CLIENT_VERSION);
if (filein.IsNull())
return error("ReadBlockFromDisk : OpenBlockFile failed");
// Read block
try {
filein >> block;
} catch (std::exception& e) {
return error("%s : Deserialize or I/O error - %s", __func__, e.what());
}
// Check the header
if (block.IsProofOfWork()) {
if (!CheckProofOfWork(block.GetHash(), block.nBits))
return error("ReadBlockFromDisk : Errors in block header");
}
return true;
}
bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex)
{
if (!ReadBlockFromDisk(block, pindex->GetBlockPos()))
return false;
if (block.GetHash() != pindex->GetBlockHash()) {
LogPrintf("%s : block=%s index=%s\n", __func__, block.GetHash().ToString().c_str(), pindex->GetBlockHash().ToString().c_str());
return error("ReadBlockFromDisk(CBlock&, CBlockIndex*) : GetHash() doesn't match index");
}
return true;
}
double ConvertBitsToDouble(unsigned int nBits)
{
int nShift = (nBits >> 24) & 0xff;
double dDiff =
(double)0x0000ffff / (double)(nBits & 0x00ffffff);
while (nShift < 29) {
dDiff *= 256.0;
nShift++;
}
while (nShift > 29) {
dDiff /= 256.0;
nShift--;
}
return dDiff;
}
int64_t GetBlockValue(int nHeight)
{
int64_t nSubsidy = 0;
if (nHeight == 0) {
nSubsidy = 2000000 * COIN;
} else if (nHeight <= 10000 && nHeight >= 1) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 13000 && nHeight >= 10001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 18000 && nHeight >= 13001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 21000 && nHeight >= 18001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 30000 && nHeight >= 21001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 40000 && nHeight >= 30001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 50000 && nHeight >= 40001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 60000 && nHeight >= 50001) {
nSubsidy = 5 * COIN;
} else if (nHeight <= 70000 && nHeight >= 60001) {
nSubsidy = 5 * COIN;
} else if (nHeight >= 70001) {
nSubsidy = 5 * COIN;
} else {
nSubsidy = 0 * COIN;
}
return nSubsidy;
}
int64_t GetMasternodePayment(int nHeight, int64_t blockValue, int nMasternodeCount)
{
int64_t ret = 0;
if (Params().NetworkID() == CBaseChainParams::TESTNET) {
if (nHeight < 200)
return 0;
}
if (nHeight <= 243200) {
ret = blockValue / 2;
} else if (nHeight >= 243201) {
int64_t nMoneySupply = chainActive.Tip()->nMoneySupply;
int64_t mNodeCoins = mnodeman.size() * 10000 * COIN;
//if a mn count is inserted into the function we are looking for a specific result for a masternode count
if(nMasternodeCount)
mNodeCoins = nMasternodeCount * 10000 * COIN;
// Use this log to compare the masternode count for different clients
LogPrintf("Adjusting seesaw at height %d with %d masternodes (without drift: %d) at %ld\n", nHeight, nMasternodeCount, nMasternodeCount - Params().MasternodeCountDrift(), GetTime());
if (fDebug)
LogPrintf("GetMasternodePayment(): moneysupply=%s, nodecoins=%s \n", FormatMoney(nMoneySupply).c_str(),
FormatMoney(mNodeCoins).c_str());
if (mNodeCoins == 0) {
ret = 0;
} else if (nHeight < 325000) {
if (mNodeCoins <= (nMoneySupply * .05) && mNodeCoins > 0) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .1) && mNodeCoins > (nMoneySupply * .05)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .15) && mNodeCoins > (nMoneySupply * .1)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .2) && mNodeCoins > (nMoneySupply * .15)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .25) && mNodeCoins > (nMoneySupply * .2)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .3) && mNodeCoins > (nMoneySupply * .25)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .35) && mNodeCoins > (nMoneySupply * .3)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .4) && mNodeCoins > (nMoneySupply * .35)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .45) && mNodeCoins > (nMoneySupply * .4)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .5) && mNodeCoins > (nMoneySupply * .45)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .55) && mNodeCoins > (nMoneySupply * .5)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .6) && mNodeCoins > (nMoneySupply * .55)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .65) && mNodeCoins > (nMoneySupply * .6)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .7) && mNodeCoins > (nMoneySupply * .65)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .75) && mNodeCoins > (nMoneySupply * .7)) {
ret = blockValue * .50;
} else {
ret = blockValue * .1;
}
} else if (nHeight > 325000) {
if (mNodeCoins <= (nMoneySupply * .01) && mNodeCoins > 0) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .02) && mNodeCoins > (nMoneySupply * .01)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .03) && mNodeCoins > (nMoneySupply * .02)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .04) && mNodeCoins > (nMoneySupply * .03)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .05) && mNodeCoins > (nMoneySupply * .04)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .06) && mNodeCoins > (nMoneySupply * .05)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .07) && mNodeCoins > (nMoneySupply * .06)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .08) && mNodeCoins > (nMoneySupply * .07)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .09) && mNodeCoins > (nMoneySupply * .08)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .10) && mNodeCoins > (nMoneySupply * .09)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .11) && mNodeCoins > (nMoneySupply * .10)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .12) && mNodeCoins > (nMoneySupply * .11)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .13) && mNodeCoins > (nMoneySupply * .12)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .14) && mNodeCoins > (nMoneySupply * .13)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .15) && mNodeCoins > (nMoneySupply * .14)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .16) && mNodeCoins > (nMoneySupply * .15)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .17) && mNodeCoins > (nMoneySupply * .16)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .18) && mNodeCoins > (nMoneySupply * .17)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .19) && mNodeCoins > (nMoneySupply * .18)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .20) && mNodeCoins > (nMoneySupply * .19)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .21) && mNodeCoins > (nMoneySupply * .20)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .22) && mNodeCoins > (nMoneySupply * .21)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .23) && mNodeCoins > (nMoneySupply * .22)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .24) && mNodeCoins > (nMoneySupply * .23)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .25) && mNodeCoins > (nMoneySupply * .24)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .26) && mNodeCoins > (nMoneySupply * .25)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .27) && mNodeCoins > (nMoneySupply * .26)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .28) && mNodeCoins > (nMoneySupply * .27)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .29) && mNodeCoins > (nMoneySupply * .28)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .30) && mNodeCoins > (nMoneySupply * .29)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .31) && mNodeCoins > (nMoneySupply * .30)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .32) && mNodeCoins > (nMoneySupply * .31)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .33) && mNodeCoins > (nMoneySupply * .32)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .34) && mNodeCoins > (nMoneySupply * .33)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .35) && mNodeCoins > (nMoneySupply * .34)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .363) && mNodeCoins > (nMoneySupply * .35)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .376) && mNodeCoins > (nMoneySupply * .363)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .389) && mNodeCoins > (nMoneySupply * .376)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .402) && mNodeCoins > (nMoneySupply * .389)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .415) && mNodeCoins > (nMoneySupply * .402)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .428) && mNodeCoins > (nMoneySupply * .415)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .441) && mNodeCoins > (nMoneySupply * .428)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .454) && mNodeCoins > (nMoneySupply * .441)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .467) && mNodeCoins > (nMoneySupply * .454)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .48) && mNodeCoins > (nMoneySupply * .467)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .493) && mNodeCoins > (nMoneySupply * .48)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .506) && mNodeCoins > (nMoneySupply * .493)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .519) && mNodeCoins > (nMoneySupply * .506)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .532) && mNodeCoins > (nMoneySupply * .519)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .545) && mNodeCoins > (nMoneySupply * .532)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .558) && mNodeCoins > (nMoneySupply * .545)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .571) && mNodeCoins > (nMoneySupply * .558)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .584) && mNodeCoins > (nMoneySupply * .571)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .597) && mNodeCoins > (nMoneySupply * .584)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .61) && mNodeCoins > (nMoneySupply * .597)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .623) && mNodeCoins > (nMoneySupply * .61)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .636) && mNodeCoins > (nMoneySupply * .623)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .649) && mNodeCoins > (nMoneySupply * .636)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .662) && mNodeCoins > (nMoneySupply * .649)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .675) && mNodeCoins > (nMoneySupply * .662)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .688) && mNodeCoins > (nMoneySupply * .675)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .701) && mNodeCoins > (nMoneySupply * .688)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .714) && mNodeCoins > (nMoneySupply * .701)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .727) && mNodeCoins > (nMoneySupply * .714)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .74) && mNodeCoins > (nMoneySupply * .727)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .753) && mNodeCoins > (nMoneySupply * .74)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .766) && mNodeCoins > (nMoneySupply * .753)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .779) && mNodeCoins > (nMoneySupply * .766)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .792) && mNodeCoins > (nMoneySupply * .779)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .805) && mNodeCoins > (nMoneySupply * .792)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .818) && mNodeCoins > (nMoneySupply * .805)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .831) && mNodeCoins > (nMoneySupply * .818)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .844) && mNodeCoins > (nMoneySupply * .831)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .857) && mNodeCoins > (nMoneySupply * .844)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .87) && mNodeCoins > (nMoneySupply * .857)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .883) && mNodeCoins > (nMoneySupply * .87)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .896) && mNodeCoins > (nMoneySupply * .883)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .909) && mNodeCoins > (nMoneySupply * .896)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .922) && mNodeCoins > (nMoneySupply * .909)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .935) && mNodeCoins > (nMoneySupply * .922)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .945) && mNodeCoins > (nMoneySupply * .935)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .961) && mNodeCoins > (nMoneySupply * .945)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .974) && mNodeCoins > (nMoneySupply * .961)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .987) && mNodeCoins > (nMoneySupply * .974)) {
ret = blockValue * .50;
} else if (mNodeCoins <= (nMoneySupply * .99) && mNodeCoins > (nMoneySupply * .987)) {
ret = blockValue * .50;
} else {
ret = blockValue * .01;
}
}
}
return ret;
}
bool IsInitialBlockDownload()
{
LOCK(cs_main);
if (fImporting || fReindex || chainActive.Height() < Checkpoints::GetTotalBlocksEstimate())
return true;
static bool lockIBDState = false;
if (lockIBDState)
return false;
bool state = (chainActive.Height() < pindexBestHeader->nHeight - 24 * 6 ||
pindexBestHeader->GetBlockTime() < GetTime() - 6 * 60 * 60); // ~144 blocks behind -> 2 x fork detection time
if (!state)
lockIBDState = true;
return state;
}
bool fLargeWorkForkFound = false;
bool fLargeWorkInvalidChainFound = false;
CBlockIndex *pindexBestForkTip = NULL, *pindexBestForkBase = NULL;
void CheckForkWarningConditions()
{
AssertLockHeld(cs_main);
// Before we get past initial download, we cannot reliably alert about forks
// (we assume we don't get stuck on a fork before the last checkpoint)
if (IsInitialBlockDownload())
return;
// If our best fork is no longer within 72 blocks (+/- 3 hours if no one mines it)
// of our head, drop it
if (pindexBestForkTip && chainActive.Height() - pindexBestForkTip->nHeight >= 72)
pindexBestForkTip = NULL;
if (pindexBestForkTip || (pindexBestInvalid && pindexBestInvalid->nChainWork > chainActive.Tip()->nChainWork + (GetBlockProof(*chainActive.Tip()) * 6))) {
if (!fLargeWorkForkFound && pindexBestForkBase) {
if (pindexBestForkBase->phashBlock) {
std::string warning = std::string("'Warning: Large-work fork detected, forking after block ") +
pindexBestForkBase->phashBlock->ToString() + std::string("'");
CAlert::Notify(warning, true);
}
}
if (pindexBestForkTip && pindexBestForkBase) {
if (pindexBestForkBase->phashBlock) {
LogPrintf("CheckForkWarningConditions: Warning: Large valid fork found\n forking the chain at height %d (%s)\n lasting to height %d (%s).\nChain state database corruption likely.\n",
pindexBestForkBase->nHeight, pindexBestForkBase->phashBlock->ToString(),
pindexBestForkTip->nHeight, pindexBestForkTip->phashBlock->ToString());
fLargeWorkForkFound = true;
}
} else {
LogPrintf("CheckForkWarningConditions: Warning: Found invalid chain at least ~6 blocks longer than our best chain.\nChain state database corruption likely.\n");
fLargeWorkInvalidChainFound = true;
}
} else {
fLargeWorkForkFound = false;
fLargeWorkInvalidChainFound = false;
}
}
void CheckForkWarningConditionsOnNewFork(CBlockIndex* pindexNewForkTip)
{
AssertLockHeld(cs_main);
// If we are on a fork that is sufficiently large, set a warning flag
CBlockIndex* pfork = pindexNewForkTip;
CBlockIndex* plonger = chainActive.Tip();
while (pfork && pfork != plonger) {
while (plonger && plonger->nHeight > pfork->nHeight)
plonger = plonger->pprev;
if (pfork == plonger)
break;
pfork = pfork->pprev;
}
// We define a condition which we should warn the user about as a fork of at least 7 blocks
// who's tip is within 72 blocks (+/- 3 hours if no one mines it) of ours
// or a chain that is entirely longer than ours and invalid (note that this should be detected by both)
// We use 7 blocks rather arbitrarily as it represents just under 10% of sustained network
// hash rate operating on the fork.
// We define it this way because it allows us to only store the highest fork tip (+ base) which meets
// the 7-block condition and from this always have the most-likely-to-cause-warning fork
if (pfork && (!pindexBestForkTip || (pindexBestForkTip && pindexNewForkTip->nHeight > pindexBestForkTip->nHeight)) &&
pindexNewForkTip->nChainWork - pfork->nChainWork > (GetBlockProof(*pfork) * 7) &&
chainActive.Height() - pindexNewForkTip->nHeight < 72) {
pindexBestForkTip = pindexNewForkTip;
pindexBestForkBase = pfork;
}
CheckForkWarningConditions();
}
// Requires cs_main.
void Misbehaving(NodeId pnode, int howmuch)
{
if (howmuch == 0)
return;
CNodeState* state = State(pnode);
if (state == NULL)
return;
state->nMisbehavior += howmuch;
int banscore = GetArg("-banscore", 100);
if (state->nMisbehavior >= banscore && state->nMisbehavior - howmuch < banscore) {
/////////LogPrintf("Misbehaving: %s (%d -> %d) BAN THRESHOLD EXCEEDED\n", state->name, state->nMisbehavior - howmuch, state->nMisbehavior);
////////state->fShouldBan = true;
} else
LogPrintf("Misbehaving: %s (%d -> %d)\n", state->name, state->nMisbehavior - howmuch, state->nMisbehavior);
}
void static InvalidChainFound(CBlockIndex* pindexNew)
{
if (!pindexBestInvalid || pindexNew->nChainWork > pindexBestInvalid->nChainWork)
pindexBestInvalid = pindexNew;
LogPrintf("InvalidChainFound: invalid block=%s height=%d log2_work=%.8g date=%s\n",
pindexNew->GetBlockHash().ToString(), pindexNew->nHeight,
log(pindexNew->nChainWork.getdouble()) / log(2.0), DateTimeStrFormat("%Y-%m-%d %H:%M:%S",
pindexNew->GetBlockTime()));
LogPrintf("InvalidChainFound: current best=%s height=%d log2_work=%.8g date=%s\n",
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(), log(chainActive.Tip()->nChainWork.getdouble()) / log(2.0),
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()));
CheckForkWarningConditions();
}
void static InvalidBlockFound(CBlockIndex* pindex, const CValidationState& state)
{
int nDoS = 0;
if (state.IsInvalid(nDoS)) {
std::map<uint256, NodeId>::iterator it = mapBlockSource.find(pindex->GetBlockHash());
if (it != mapBlockSource.end() && State(it->second)) {
CBlockReject reject = {state.GetRejectCode(), state.GetRejectReason().substr(0, MAX_REJECT_MESSAGE_LENGTH), pindex->GetBlockHash()};
State(it->second)->rejects.push_back(reject);
if (nDoS > 0)
Misbehaving(it->second, nDoS);
}
}
if (!state.CorruptionPossible()) {
pindex->nStatus |= BLOCK_FAILED_VALID;
setDirtyBlockIndex.insert(pindex);
setBlockIndexCandidates.erase(pindex);
InvalidChainFound(pindex);
}
}
void UpdateCoins(const CTransaction& tx, CValidationState& state, CCoinsViewCache& inputs, CTxUndo& txundo, int nHeight)
{
// mark inputs spent
if (!tx.IsCoinBase()) {
txundo.vprevout.reserve(tx.vin.size());
BOOST_FOREACH (const CTxIn& txin, tx.vin) {
txundo.vprevout.push_back(CTxInUndo());
bool ret = inputs.ModifyCoins(txin.prevout.hash)->Spend(txin.prevout, txundo.vprevout.back());
assert(ret);
}
}
// add outputs
inputs.ModifyCoins(tx.GetHash())->FromTx(tx, nHeight);
}
bool CScriptCheck::operator()()
{
const CScript& scriptSig = ptxTo->vin[nIn].scriptSig;
if (!VerifyScript(scriptSig, scriptPubKey, nFlags, CachingTransactionSignatureChecker(ptxTo, nIn, cacheStore), &error)) {
return ::error("CScriptCheck(): %s:%d VerifySignature failed: %s", ptxTo->GetHash().ToString(), nIn, ScriptErrorString(error));
}
return true;
}
bool CheckInputs(const CTransaction& tx, CValidationState& state, const CCoinsViewCache& inputs, bool fScriptChecks, unsigned int flags, bool cacheStore, std::vector<CScriptCheck>* pvChecks)
{
if (!tx.IsCoinBase()) {
if (pvChecks)
pvChecks->reserve(tx.vin.size());
// This doesn't trigger the DoS code on purpose; if it did, it would make it easier
// for an attacker to attempt to split the network.
if (!inputs.HaveInputs(tx))
return state.Invalid(error("CheckInputs() : %s inputs unavailable", tx.GetHash().ToString()));
// While checking, GetBestBlock() refers to the parent block.
// This is also true for mempool checks.
CBlockIndex* pindexPrev = mapBlockIndex.find(inputs.GetBestBlock())->second;
int nSpendHeight = pindexPrev->nHeight + 1;
CAmount nValueIn = 0;
CAmount nFees = 0;
for (unsigned int i = 0; i < tx.vin.size(); i++) {
const COutPoint& prevout = tx.vin[i].prevout;
const CCoins* coins = inputs.AccessCoins(prevout.hash);
assert(coins);
// If prev is coinbase, check that it's matured
if (coins->IsCoinBase() || coins->IsCoinStake()) {
if (nSpendHeight - coins->nHeight < Params().COINBASE_MATURITY())
return state.Invalid(
error("CheckInputs() : tried to spend coinbase at depth %d, coinstake=%d", nSpendHeight - coins->nHeight, coins->IsCoinStake()),
REJECT_INVALID, "bad-txns-premature-spend-of-coinbase");
}
// Check for negative or overflow input values
nValueIn += coins->vout[prevout.n].nValue;
if (!MoneyRange(coins->vout[prevout.n].nValue) || !MoneyRange(nValueIn))
return state.DoS(100, error("CheckInputs() : txin values out of range"),
REJECT_INVALID, "bad-txns-inputvalues-outofrange");
}
if (!tx.IsCoinStake()) {
if (nValueIn < tx.GetValueOut())
return state.DoS(100, error("CheckInputs() : %s value in (%s) < value out (%s)",
tx.GetHash().ToString(), FormatMoney(nValueIn), FormatMoney(tx.GetValueOut())),
REJECT_INVALID, "bad-txns-in-belowout");
// Tally transaction fees
CAmount nTxFee = nValueIn - tx.GetValueOut();
if (nTxFee < 0)
return state.DoS(100, error("CheckInputs() : %s nTxFee < 0", tx.GetHash().ToString()),
REJECT_INVALID, "bad-txns-fee-negative");
nFees += nTxFee;
if (!MoneyRange(nFees))
return state.DoS(100, error("CheckInputs() : nFees out of range"),
REJECT_INVALID, "bad-txns-fee-outofrange");
}
// The first loop above does all the inexpensive checks.
// Only if ALL inputs pass do we perform expensive ECDSA signature checks.
// Helps prevent CPU exhaustion attacks.
// Skip ECDSA signature verification when connecting blocks
// before the last block chain checkpoint. This is safe because block merkle hashes are
// still computed and checked, and any change will be caught at the next checkpoint.
if (fScriptChecks) {
for (unsigned int i = 0; i < tx.vin.size(); i++) {
const COutPoint& prevout = tx.vin[i].prevout;
const CCoins* coins = inputs.AccessCoins(prevout.hash);
assert(coins);
// Verify signature
CScriptCheck check(*coins, tx, i, flags, cacheStore);
if (pvChecks) {
pvChecks->push_back(CScriptCheck());
check.swap(pvChecks->back());
} else if (!check()) {
if (flags & STANDARD_NOT_MANDATORY_VERIFY_FLAGS) {
// Check whether the failure was caused by a
// non-mandatory script verification check, such as
// non-standard DER encodings or non-null dummy
// arguments; if so, don't trigger DoS protection to
// avoid splitting the network between upgraded and
// non-upgraded nodes.
CScriptCheck check(*coins, tx, i,
flags & ~STANDARD_NOT_MANDATORY_VERIFY_FLAGS, cacheStore);
if (check())
return state.Invalid(false, REJECT_NONSTANDARD, strprintf("non-mandatory-script-verify-flag (%s)", ScriptErrorString(check.GetScriptError())));
}
// Failures of other flags indicate a transaction that is
// invalid in new blocks, e.g. a invalid P2SH. We DoS ban
// such nodes as they are not following the protocol. That
// said during an upgrade careful thought should be taken
// as to the correct behavior - we may want to continue
// peering with non-upgraded nodes even after a soft-fork
// super-majority vote has passed.
return state.DoS(100, false, REJECT_INVALID, strprintf("mandatory-script-verify-flag-failed (%s)", ScriptErrorString(check.GetScriptError())));
}
}
}
}
return true;
}
bool DisconnectBlock(CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& view, bool* pfClean)
{
assert(pindex->GetBlockHash() == view.GetBestBlock());
if (pfClean)
*pfClean = false;
bool fClean = true;
CBlockUndo blockUndo;
CDiskBlockPos pos = pindex->GetUndoPos();
if (pos.IsNull())
return error("DisconnectBlock() : no undo data available");
if (!blockUndo.ReadFromDisk(pos, pindex->pprev->GetBlockHash()))
return error("DisconnectBlock() : failure reading undo data");
if (blockUndo.vtxundo.size() + 1 != block.vtx.size())
return error("DisconnectBlock() : block and undo data inconsistent");
// undo transactions in reverse order
for (int i = block.vtx.size() - 1; i >= 0; i--) {
const CTransaction& tx = block.vtx[i];
uint256 hash = tx.GetHash();
// Check that all outputs are available and match the outputs in the block itself
// exactly. Note that transactions with only provably unspendable outputs won't
// have outputs available even in the block itself, so we handle that case
// specially with outsEmpty.
{
CCoins outsEmpty;
CCoinsModifier outs = view.ModifyCoins(hash);
outs->ClearUnspendable();
CCoins outsBlock(tx, pindex->nHeight);
// The CCoins serialization does not serialize negative numbers.
// No network rules currently depend on the version here, so an inconsistency is harmless
// but it must be corrected before txout nversion ever influences a network rule.
if (outsBlock.nVersion < 0)
outs->nVersion = outsBlock.nVersion;
if (*outs != outsBlock)
fClean = fClean && error("DisconnectBlock() : added transaction mismatch? database corrupted");
// remove outputs
outs->Clear();
}
// restore inputs
if (i > 0) { // not coinbases
const CTxUndo& txundo = blockUndo.vtxundo[i - 1];
if (txundo.vprevout.size() != tx.vin.size())
return error("DisconnectBlock() : transaction and undo data inconsistent - txundo.vprevout.siz=%d tx.vin.siz=%d", txundo.vprevout.size(), tx.vin.size());
for (unsigned int j = tx.vin.size(); j-- > 0;) {
const COutPoint& out = tx.vin[j].prevout;
const CTxInUndo& undo = txundo.vprevout[j];
CCoinsModifier coins = view.ModifyCoins(out.hash);
if (undo.nHeight != 0) {
// undo data contains height: this is the last output of the prevout tx being spent
if (!coins->IsPruned())
fClean = fClean && error("DisconnectBlock() : undo data overwriting existing transaction");
coins->Clear();
coins->fCoinBase = undo.fCoinBase;
coins->nHeight = undo.nHeight;
coins->nVersion = undo.nVersion;
} else {
if (coins->IsPruned())
fClean = fClean && error("DisconnectBlock() : undo data adding output to missing transaction");
}
if (coins->IsAvailable(out.n))
fClean = fClean && error("DisconnectBlock() : undo data overwriting existing output");
if (coins->vout.size() < out.n + 1)
coins->vout.resize(out.n + 1);
coins->vout[out.n] = undo.txout;
}
}
}
// move best block pointer to prevout block
view.SetBestBlock(pindex->pprev->GetBlockHash());
if (pfClean) {
*pfClean = fClean;
return true;
} else {
return fClean;
}
}
void static FlushBlockFile(bool fFinalize = false)
{
LOCK(cs_LastBlockFile);
CDiskBlockPos posOld(nLastBlockFile, 0);
FILE* fileOld = OpenBlockFile(posOld);
if (fileOld) {
if (fFinalize)
TruncateFile(fileOld, vinfoBlockFile[nLastBlockFile].nSize);
FileCommit(fileOld);
fclose(fileOld);
}
fileOld = OpenUndoFile(posOld);
if (fileOld) {
if (fFinalize)
TruncateFile(fileOld, vinfoBlockFile[nLastBlockFile].nUndoSize);
FileCommit(fileOld);
fclose(fileOld);
}
}
bool FindUndoPos(CValidationState& state, int nFile, CDiskBlockPos& pos, unsigned int nAddSize);
static CCheckQueue<CScriptCheck> scriptcheckqueue(128);
void ThreadScriptCheck()
{
RenameThread("ariacoin-scriptch");
scriptcheckqueue.Thread();
}
static int64_t nTimeVerify = 0;
static int64_t nTimeConnect = 0;
static int64_t nTimeIndex = 0;
static int64_t nTimeCallbacks = 0;
static int64_t nTimeTotal = 0;
bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pindex, CCoinsViewCache& view, bool fJustCheck)
{
AssertLockHeld(cs_main);
// Check it again in case a previous version let a bad block in
if (!CheckBlock(block, state, !fJustCheck, !fJustCheck))
return false;
// verify that the view's current state corresponds to the previous block
uint256 hashPrevBlock = pindex->pprev == NULL ? uint256(0) : pindex->pprev->GetBlockHash();
if (hashPrevBlock != view.GetBestBlock())
LogPrintf("%s: hashPrev=%s view=%s\n", __func__, hashPrevBlock.ToString().c_str(), view.GetBestBlock().ToString().c_str());
assert(hashPrevBlock == view.GetBestBlock());
// Special case for the genesis block, skipping connection of its transactions
// (its coinbase is unspendable)
if (block.GetHash() == Params().HashGenesisBlock()) {
view.SetBestBlock(pindex->GetBlockHash());
return true;
}
if (pindex->nHeight <= Params().LAST_POW_BLOCK() && block.IsProofOfStake())
return state.DoS(100, error("ConnectBlock() : PoS period not active"),
REJECT_INVALID, "PoS-early");
if (pindex->nHeight > Params().LAST_POW_BLOCK() && block.IsProofOfWork())
return state.DoS(100, error("ConnectBlock() : PoW period ended"),
REJECT_INVALID, "PoW-ended");
bool fScriptChecks = pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate();
// Do not allow blocks that contain transactions which 'overwrite' older transactions,
// unless those are already completely spent.
// If such overwrites are allowed, coinbases and transactions depending upon those
// can be duplicated to remove the ability to spend the first instance -- even after
// being sent to another address.
// See BIP30 and http://r6.ca/blog/20120206T005236Z.html for more information.
// This logic is not necessary for memory pool transactions, as AcceptToMemoryPool
// already refuses previously-known transaction ids entirely.
// This rule was originally applied all blocks whose timestamp was after March 15, 2012, 0:00 UTC.
// Now that the whole chain is irreversibly beyond that time it is applied to all blocks except the
// two in the chain that violate it. This prevents exploiting the issue against nodes in their
// initial block download.
bool fEnforceBIP30 = (!pindex->phashBlock) || // Enforce on CreateNewBlock invocations which don't have a hash.
!((pindex->nHeight == 91842 && pindex->GetBlockHash() == uint256("0x00000000000a4d0a398161ffc163c503763b1f4360639393e0e4c8e300e0caec")) ||
(pindex->nHeight == 91880 && pindex->GetBlockHash() == uint256("0x00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721")));
if (fEnforceBIP30) {
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
const CCoins* coins = view.AccessCoins(tx.GetHash());
if (coins && !coins->IsPruned())
return state.DoS(100, error("ConnectBlock() : tried to overwrite transaction"),
REJECT_INVALID, "bad-txns-BIP30");
}
}
// BIP16 didn't become active until Apr 1 2012
int64_t nBIP16SwitchTime = 1333238400;
bool fStrictPayToScriptHash = (pindex->GetBlockTime() >= nBIP16SwitchTime);
unsigned int flags = fStrictPayToScriptHash ? SCRIPT_VERIFY_P2SH : SCRIPT_VERIFY_NONE;
// Start enforcing the DERSIG (BIP66) rules, for block.nVersion=3 blocks, when 75% of the network has upgraded:
if (block.nVersion >= 3 && CBlockIndex::IsSuperMajority(3, pindex->pprev, Params().EnforceBlockUpgradeMajority())) {
flags |= SCRIPT_VERIFY_DERSIG;
}
CBlockUndo blockundo;
CCheckQueueControl<CScriptCheck> control(fScriptChecks && nScriptCheckThreads ? &scriptcheckqueue : NULL);
int64_t nTimeStart = GetTimeMicros();
CAmount nFees = 0;
int nInputs = 0;
unsigned int nSigOps = 0;
CDiskTxPos pos(pindex->GetBlockPos(), GetSizeOfCompactSize(block.vtx.size()));
std::vector<std::pair<uint256, CDiskTxPos> > vPos;
vPos.reserve(block.vtx.size());
blockundo.vtxundo.reserve(block.vtx.size() - 1);
CAmount nValueOut = 0;
CAmount nValueIn = 0;
for (unsigned int i = 0; i < block.vtx.size(); i++) {
const CTransaction& tx = block.vtx[i];
nInputs += tx.vin.size();
nSigOps += GetLegacySigOpCount(tx);
if (nSigOps > MAX_BLOCK_SIGOPS)
return state.DoS(100, error("ConnectBlock() : too many sigops"),
REJECT_INVALID, "bad-blk-sigops");
if (!tx.IsCoinBase()) {
if (!view.HaveInputs(tx))
return state.DoS(100, error("ConnectBlock() : inputs missing/spent"),
REJECT_INVALID, "bad-txns-inputs-missingorspent");
if (fStrictPayToScriptHash) {
// Add in sigops done by pay-to-script-hash inputs;
// this is to prevent a "rogue miner" from creating
// an incredibly-expensive-to-validate block.
nSigOps += GetP2SHSigOpCount(tx, view);
if (nSigOps > MAX_BLOCK_SIGOPS)
return state.DoS(100, error("ConnectBlock() : too many sigops"),
REJECT_INVALID, "bad-blk-sigops");
}
if (!tx.IsCoinStake())
nFees += view.GetValueIn(tx) - tx.GetValueOut();
nValueIn += view.GetValueIn(tx);
std::vector<CScriptCheck> vChecks;
if (!CheckInputs(tx, state, view, fScriptChecks, flags, false, nScriptCheckThreads ? &vChecks : NULL))
return false;
control.Add(vChecks);
}
nValueOut += tx.GetValueOut();
CTxUndo undoDummy;
if (i > 0) {
blockundo.vtxundo.push_back(CTxUndo());
}
UpdateCoins(tx, state, view, i == 0 ? undoDummy : blockundo.vtxundo.back(), pindex->nHeight);
vPos.push_back(std::make_pair(tx.GetHash(), pos));
pos.nTxOffset += ::GetSerializeSize(tx, SER_DISK, CLIENT_VERSION);
}
// ppcoin: track money supply and mint amount info
CAmount nMoneySupplyPrev = pindex->pprev ? pindex->pprev->nMoneySupply : 0;
pindex->nMoneySupply = nMoneySupplyPrev + nValueOut - nValueIn;
pindex->nMint = pindex->nMoneySupply - nMoneySupplyPrev;
if (!pblocktree->WriteBlockIndex(CDiskBlockIndex(pindex)))
return error("Connect() : WriteBlockIndex for pindex failed");
int64_t nTime1 = GetTimeMicros();
nTimeConnect += nTime1 - nTimeStart;
LogPrint("bench", " - Connect %u transactions: %.2fms (%.3fms/tx, %.3fms/txin) [%.2fs]\n", (unsigned)block.vtx.size(), 0.001 * (nTime1 - nTimeStart), 0.001 * (nTime1 - nTimeStart) / block.vtx.size(), nInputs <= 1 ? 0 : 0.001 * (nTime1 - nTimeStart) / (nInputs - 1), nTimeConnect * 0.000001);
//PoW phase redistributed fees to miner. PoS stage destroys fees.
CAmount nExpectedMint = GetBlockValue(pindex->pprev->nHeight);
if (block.IsProofOfWork())
nExpectedMint += nFees;
if (!IsBlockValueValid(block, nExpectedMint, pindex->nMint)) {
return state.DoS(100,
error("ConnectBlock() : reward pays too much (actual=%s vs limit=%s)",
FormatMoney(pindex->nMint), FormatMoney(nExpectedMint)),
REJECT_INVALID, "bad-cb-amount");
}
if (!control.Wait())
return state.DoS(100, false);
int64_t nTime2 = GetTimeMicros();
nTimeVerify += nTime2 - nTimeStart;
LogPrint("bench", " - Verify %u txins: %.2fms (%.3fms/txin) [%.2fs]\n", nInputs - 1, 0.001 * (nTime2 - nTimeStart), nInputs <= 1 ? 0 : 0.001 * (nTime2 - nTimeStart) / (nInputs - 1), nTimeVerify * 0.000001);
if (fJustCheck)
return true;
// Write undo information to disk
if (pindex->GetUndoPos().IsNull() || !pindex->IsValid(BLOCK_VALID_SCRIPTS)) {
if (pindex->GetUndoPos().IsNull()) {
CDiskBlockPos pos;
if (!FindUndoPos(state, pindex->nFile, pos, ::GetSerializeSize(blockundo, SER_DISK, CLIENT_VERSION) + 40))
return error("ConnectBlock() : FindUndoPos failed");
if (!blockundo.WriteToDisk(pos, pindex->pprev->GetBlockHash()))
return state.Abort("Failed to write undo data");
// update nUndoPos in block index
pindex->nUndoPos = pos.nPos;
pindex->nStatus |= BLOCK_HAVE_UNDO;
}
pindex->RaiseValidity(BLOCK_VALID_SCRIPTS);
setDirtyBlockIndex.insert(pindex);
}
if (fTxIndex)
if (!pblocktree->WriteTxIndex(vPos))
return state.Abort("Failed to write transaction index");
// add this block to the view's block chain
view.SetBestBlock(pindex->GetBlockHash());
int64_t nTime3 = GetTimeMicros();
nTimeIndex += nTime3 - nTime2;
LogPrint("bench", " - Index writing: %.2fms [%.2fs]\n", 0.001 * (nTime3 - nTime2), nTimeIndex * 0.000001);
// Watch for changes to the previous coinbase transaction.
static uint256 hashPrevBestCoinBase;
g_signals.UpdatedTransaction(hashPrevBestCoinBase);
hashPrevBestCoinBase = block.vtx[0].GetHash();
int64_t nTime4 = GetTimeMicros();
nTimeCallbacks += nTime4 - nTime3;
LogPrint("bench", " - Callbacks: %.2fms [%.2fs]\n", 0.001 * (nTime4 - nTime3), nTimeCallbacks * 0.000001);
return true;
}
enum FlushStateMode {
FLUSH_STATE_IF_NEEDED,
FLUSH_STATE_PERIODIC,
FLUSH_STATE_ALWAYS
};
/**
* Update the on-disk chain state.
* The caches and indexes are flushed if either they're too large, forceWrite is set, or
* fast is not set and it's been a while since the last write.
*/
bool static FlushStateToDisk(CValidationState& state, FlushStateMode mode)
{
LOCK(cs_main);
static int64_t nLastWrite = 0;
try {
if ((mode == FLUSH_STATE_ALWAYS) ||
((mode == FLUSH_STATE_PERIODIC || mode == FLUSH_STATE_IF_NEEDED) && pcoinsTip->GetCacheSize() > nCoinCacheSize) ||
(mode == FLUSH_STATE_PERIODIC && GetTimeMicros() > nLastWrite + DATABASE_WRITE_INTERVAL * 1000000)) {
// Typical CCoins structures on disk are around 100 bytes in size.
// Pushing a new one to the database can cause it to be written
// twice (once in the log, and once in the tables). This is already
// an overestimation, as most will delete an existing entry or
// overwrite one. Still, use a conservative safety factor of 2.
if (!CheckDiskSpace(100 * 2 * 2 * pcoinsTip->GetCacheSize()))
return state.Error("out of disk space");
// First make sure all block and undo data is flushed to disk.
FlushBlockFile();
// Then update all block file information (which may refer to block and undo files).
bool fileschanged = false;
for (set<int>::iterator it = setDirtyFileInfo.begin(); it != setDirtyFileInfo.end();) {
if (!pblocktree->WriteBlockFileInfo(*it, vinfoBlockFile[*it])) {
return state.Abort("Failed to write to block index");
}
fileschanged = true;
setDirtyFileInfo.erase(it++);
}
if (fileschanged && !pblocktree->WriteLastBlockFile(nLastBlockFile)) {
return state.Abort("Failed to write to block index");
}
for (set<CBlockIndex*>::iterator it = setDirtyBlockIndex.begin(); it != setDirtyBlockIndex.end();) {
if (!pblocktree->WriteBlockIndex(CDiskBlockIndex(*it))) {
return state.Abort("Failed to write to block index");
}
setDirtyBlockIndex.erase(it++);
}
pblocktree->Sync();
// Finally flush the chainstate (which may refer to block index entries).
if (!pcoinsTip->Flush())
return state.Abort("Failed to write to coin database");
// Update best block in wallet (so we can detect restored wallets).
if (mode != FLUSH_STATE_IF_NEEDED) {
g_signals.SetBestChain(chainActive.GetLocator());
}
nLastWrite = GetTimeMicros();
}
} catch (const std::runtime_error& e) {
return state.Abort(std::string("System error while flushing: ") + e.what());
}
return true;
}
void FlushStateToDisk()
{
CValidationState state;
FlushStateToDisk(state, FLUSH_STATE_ALWAYS);
}
/** Update chainActive and related internal data structures. */
void static UpdateTip(CBlockIndex* pindexNew)
{
chainActive.SetTip(pindexNew);
// New best block
nTimeBestReceived = GetTime();
mempool.AddTransactionsUpdated(1);
LogPrintf("UpdateTip: new best=%s height=%d log2_work=%.8g tx=%lu date=%s progress=%f cache=%u\n",
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(), log(chainActive.Tip()->nChainWork.getdouble()) / log(2.0), (unsigned long)chainActive.Tip()->nChainTx,
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()),
Checkpoints::GuessVerificationProgress(chainActive.Tip()), (unsigned int)pcoinsTip->GetCacheSize());
cvBlockChange.notify_all();
// Check the version of the last 100 blocks to see if we need to upgrade:
static bool fWarned = false;
if (!IsInitialBlockDownload() && !fWarned) {
int nUpgraded = 0;
const CBlockIndex* pindex = chainActive.Tip();
for (int i = 0; i < 100 && pindex != NULL; i++) {
if (pindex->nVersion > CBlock::CURRENT_VERSION)
++nUpgraded;
pindex = pindex->pprev;
}
if (nUpgraded > 0)
LogPrintf("SetBestChain: %d of last 100 blocks above version %d\n", nUpgraded, (int)CBlock::CURRENT_VERSION);
if (nUpgraded > 100 / 2) {
// strMiscWarning is read by GetWarnings(), called by Qt and the JSON-RPC code to warn the user:
strMiscWarning = _("Warning: This version is obsolete, upgrade required!");
CAlert::Notify(strMiscWarning, true);
fWarned = true;
}
}
}
/** Disconnect chainActive's tip. */
bool static DisconnectTip(CValidationState& state)
{
CBlockIndex* pindexDelete = chainActive.Tip();
assert(pindexDelete);
mempool.check(pcoinsTip);
// Read block from disk.
CBlock block;
if (!ReadBlockFromDisk(block, pindexDelete))
return state.Abort("Failed to read block");
// Apply the block atomically to the chain state.
int64_t nStart = GetTimeMicros();
{
CCoinsViewCache view(pcoinsTip);
if (!DisconnectBlock(block, state, pindexDelete, view))
return error("DisconnectTip() : DisconnectBlock %s failed", pindexDelete->GetBlockHash().ToString());
assert(view.Flush());
}
LogPrint("bench", "- Disconnect block: %.2fms\n", (GetTimeMicros() - nStart) * 0.001);
// Write the chain state to disk, if necessary.
if (!FlushStateToDisk(state, FLUSH_STATE_ALWAYS))
return false;
// Resurrect mempool transactions from the disconnected block.
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
// ignore validation errors in resurrected transactions
list<CTransaction> removed;
CValidationState stateDummy;
if (tx.IsCoinBase() || tx.IsCoinStake() || !AcceptToMemoryPool(mempool, stateDummy, tx, false, NULL))
mempool.remove(tx, removed, true);
}
mempool.removeCoinbaseSpends(pcoinsTip, pindexDelete->nHeight);
mempool.check(pcoinsTip);
// Update chainActive and related variables.
UpdateTip(pindexDelete->pprev);
// Let wallets know transactions went from 1-confirmed to
// 0-confirmed or conflicted:
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
SyncWithWallets(tx, NULL);
}
return true;
}
static int64_t nTimeReadFromDisk = 0;
static int64_t nTimeConnectTotal = 0;
static int64_t nTimeFlush = 0;
static int64_t nTimeChainState = 0;
static int64_t nTimePostConnect = 0;
/**
* Connect a new block to chainActive. pblock is either NULL or a pointer to a CBlock
* corresponding to pindexNew, to bypass loading it again from disk.
*/
bool static ConnectTip(CValidationState& state, CBlockIndex* pindexNew, CBlock* pblock)
{
assert(pindexNew->pprev == chainActive.Tip());
mempool.check(pcoinsTip);
CCoinsViewCache view(pcoinsTip);
// Read block from disk.
int64_t nTime1 = GetTimeMicros();
CBlock block;
if (!pblock) {
if (!ReadBlockFromDisk(block, pindexNew))
return state.Abort("Failed to read block");
pblock = █
}
// Apply the block atomically to the chain state.
int64_t nTime2 = GetTimeMicros();
nTimeReadFromDisk += nTime2 - nTime1;
int64_t nTime3;
LogPrint("bench", " - Load block from disk: %.2fms [%.2fs]\n", (nTime2 - nTime1) * 0.001, nTimeReadFromDisk * 0.000001);
{
CInv inv(MSG_BLOCK, pindexNew->GetBlockHash());
bool rv = ConnectBlock(*pblock, state, pindexNew, view);
g_signals.BlockChecked(*pblock, state);
if (!rv) {
if (state.IsInvalid())
InvalidBlockFound(pindexNew, state);
return error("ConnectTip() : ConnectBlock %s failed", pindexNew->GetBlockHash().ToString());
}
mapBlockSource.erase(inv.hash);
nTime3 = GetTimeMicros();
nTimeConnectTotal += nTime3 - nTime2;
LogPrint("bench", " - Connect total: %.2fms [%.2fs]\n", (nTime3 - nTime2) * 0.001, nTimeConnectTotal * 0.000001);
assert(view.Flush());
}
int64_t nTime4 = GetTimeMicros();
nTimeFlush += nTime4 - nTime3;
LogPrint("bench", " - Flush: %.2fms [%.2fs]\n", (nTime4 - nTime3) * 0.001, nTimeFlush * 0.000001);
// Write the chain state to disk, if necessary. Always write to disk if this is the first of a new file.
FlushStateMode flushMode = FLUSH_STATE_IF_NEEDED;
if (pindexNew->pprev && (pindexNew->GetBlockPos().nFile != pindexNew->pprev->GetBlockPos().nFile))
flushMode = FLUSH_STATE_ALWAYS;
if (!FlushStateToDisk(state, flushMode))
return false;
int64_t nTime5 = GetTimeMicros();
nTimeChainState += nTime5 - nTime4;
LogPrint("bench", " - Writing chainstate: %.2fms [%.2fs]\n", (nTime5 - nTime4) * 0.001, nTimeChainState * 0.000001);
// Remove conflicting transactions from the mempool.
list<CTransaction> txConflicted;
mempool.removeForBlock(pblock->vtx, pindexNew->nHeight, txConflicted);
mempool.check(pcoinsTip);
// Update chainActive & related variables.
UpdateTip(pindexNew);
// Tell wallet about transactions that went from mempool
// to conflicted:
BOOST_FOREACH (const CTransaction& tx, txConflicted) {
SyncWithWallets(tx, NULL);
}
// ... and about transactions that got confirmed:
BOOST_FOREACH (const CTransaction& tx, pblock->vtx) {
SyncWithWallets(tx, pblock);
}
int64_t nTime6 = GetTimeMicros();
nTimePostConnect += nTime6 - nTime5;
nTimeTotal += nTime6 - nTime1;
LogPrint("bench", " - Connect postprocess: %.2fms [%.2fs]\n", (nTime6 - nTime5) * 0.001, nTimePostConnect * 0.000001);
LogPrint("bench", "- Connect block: %.2fms [%.2fs]\n", (nTime6 - nTime1) * 0.001, nTimeTotal * 0.000001);
return true;
}
bool DisconnectBlocksAndReprocess(int blocks)
{
LOCK(cs_main);
CValidationState state;
LogPrintf("DisconnectBlocksAndReprocess: Got command to replay %d blocks\n", blocks);
for (int i = 0; i <= blocks; i++)
DisconnectTip(state);
return true;
}
/*
DisconnectBlockAndInputs
Remove conflicting blocks for successful SwiftTX transaction locks
This should be very rare (Probably will never happen)
*/
// ***TODO*** clean up here
bool DisconnectBlockAndInputs(CValidationState& state, CTransaction txLock)
{
// All modifications to the coin state will be done in this cache.
// Only when all have succeeded, we push it to pcoinsTip.
// CCoinsViewCache view(*pcoinsTip, true);
CBlockIndex* BlockReading = chainActive.Tip();
CBlockIndex* pindexNew = NULL;
bool foundConflictingTx = false;
//remove anything conflicting in the memory pool
list<CTransaction> txConflicted;
mempool.removeConflicts(txLock, txConflicted);
// List of what to disconnect (typically nothing)
vector<CBlockIndex*> vDisconnect;
for (unsigned int i = 1; BlockReading && BlockReading->nHeight > 0 && !foundConflictingTx && i < 6; i++) {
vDisconnect.push_back(BlockReading);
pindexNew = BlockReading->pprev; //new best block
CBlock block;
if (!ReadBlockFromDisk(block, BlockReading))
return state.Abort(_("Failed to read block"));
// Queue memory transactions to resurrect.
// We only do this for blocks after the last checkpoint (reorganisation before that
// point should only happen with -reindex/-loadblock, or a misbehaving peer.
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
if (!tx.IsCoinBase()) {
BOOST_FOREACH (const CTxIn& in1, txLock.vin) {
BOOST_FOREACH (const CTxIn& in2, tx.vin) {
if (in1.prevout == in2.prevout) foundConflictingTx = true;
}
}
}
}
if (BlockReading->pprev == NULL) {
assert(BlockReading);
break;
}
BlockReading = BlockReading->pprev;
}
if (!foundConflictingTx) {
LogPrintf("DisconnectBlockAndInputs: Can't find a conflicting transaction to inputs\n");
return false;
}
if (vDisconnect.size() > 0) {
LogPrintf("REORGANIZE: Disconnect Conflicting Blocks %lli blocks; %s..\n", vDisconnect.size(), pindexNew->GetBlockHash().ToString());
BOOST_FOREACH (CBlockIndex* pindex, vDisconnect) {
LogPrintf(" -- disconnect %s\n", pindex->GetBlockHash().ToString());
DisconnectTip(state);
}
}
return true;
}
/**
* Return the tip of the chain with the most work in it, that isn't
* known to be invalid (it's however far from certain to be valid).
*/
static CBlockIndex* FindMostWorkChain()
{
do {
CBlockIndex* pindexNew = NULL;
// Find the best candidate header.
{
std::set<CBlockIndex*, CBlockIndexWorkComparator>::reverse_iterator it = setBlockIndexCandidates.rbegin();
if (it == setBlockIndexCandidates.rend())
return NULL;
pindexNew = *it;
}
// Check whether all blocks on the path between the currently active chain and the candidate are valid.
// Just going until the active chain is an optimization, as we know all blocks in it are valid already.
CBlockIndex* pindexTest = pindexNew;
bool fInvalidAncestor = false;
while (pindexTest && !chainActive.Contains(pindexTest)) {
assert(pindexTest->nChainTx || pindexTest->nHeight == 0);
// Pruned nodes may have entries in setBlockIndexCandidates for
// which block files have been deleted. Remove those as candidates
// for the most work chain if we come across them; we can't switch
// to a chain unless we have all the non-active-chain parent blocks.
bool fFailedChain = pindexTest->nStatus & BLOCK_FAILED_MASK;
bool fMissingData = !(pindexTest->nStatus & BLOCK_HAVE_DATA);
if (fFailedChain || fMissingData) {
// Candidate chain is not usable (either invalid or missing data)
if (fFailedChain && (pindexBestInvalid == NULL || pindexNew->nChainWork > pindexBestInvalid->nChainWork))
pindexBestInvalid = pindexNew;
CBlockIndex* pindexFailed = pindexNew;
// Remove the entire chain from the set.
while (pindexTest != pindexFailed) {
if (fFailedChain) {
pindexFailed->nStatus |= BLOCK_FAILED_CHILD;
} else if (fMissingData) {
// If we're missing data, then add back to mapBlocksUnlinked,
// so that if the block arrives in the future we can try adding
// to setBlockIndexCandidates again.
mapBlocksUnlinked.insert(std::make_pair(pindexFailed->pprev, pindexFailed));
}
setBlockIndexCandidates.erase(pindexFailed);
pindexFailed = pindexFailed->pprev;
}
setBlockIndexCandidates.erase(pindexTest);
fInvalidAncestor = true;
break;
}
pindexTest = pindexTest->pprev;
}
if (!fInvalidAncestor)
return pindexNew;
} while (true);
}
/** Delete all entries in setBlockIndexCandidates that are worse than the current tip. */
static void PruneBlockIndexCandidates()
{
// Note that we can't delete the current block itself, as we may need to return to it later in case a
// reorganization to a better block fails.
std::set<CBlockIndex*, CBlockIndexWorkComparator>::iterator it = setBlockIndexCandidates.begin();
while (it != setBlockIndexCandidates.end() && setBlockIndexCandidates.value_comp()(*it, chainActive.Tip())) {
setBlockIndexCandidates.erase(it++);
}
// Either the current tip or a successor of it we're working towards is left in setBlockIndexCandidates.
assert(!setBlockIndexCandidates.empty());
}
/**
* Try to make some progress towards making pindexMostWork the active block.
* pblock is either NULL or a pointer to a CBlock corresponding to pindexMostWork.
*/
static bool ActivateBestChainStep(CValidationState& state, CBlockIndex* pindexMostWork, CBlock* pblock)
{
AssertLockHeld(cs_main);
bool fInvalidFound = false;
const CBlockIndex* pindexOldTip = chainActive.Tip();
const CBlockIndex* pindexFork = chainActive.FindFork(pindexMostWork);
// Disconnect active blocks which are no longer in the best chain.
while (chainActive.Tip() && chainActive.Tip() != pindexFork) {
if (!DisconnectTip(state))
return false;
}
// Build list of new blocks to connect.
std::vector<CBlockIndex*> vpindexToConnect;
bool fContinue = true;
int nHeight = pindexFork ? pindexFork->nHeight : -1;
while (fContinue && nHeight != pindexMostWork->nHeight) {
// Don't iterate the entire list of potential improvements toward the best tip, as we likely only need
// a few blocks along the way.
int nTargetHeight = std::min(nHeight + 32, pindexMostWork->nHeight);
vpindexToConnect.clear();
vpindexToConnect.reserve(nTargetHeight - nHeight);
CBlockIndex* pindexIter = pindexMostWork->GetAncestor(nTargetHeight);
while (pindexIter && pindexIter->nHeight != nHeight) {
vpindexToConnect.push_back(pindexIter);
pindexIter = pindexIter->pprev;
}
nHeight = nTargetHeight;
// Connect new blocks.
BOOST_REVERSE_FOREACH (CBlockIndex* pindexConnect, vpindexToConnect) {
if (!ConnectTip(state, pindexConnect, pindexConnect == pindexMostWork ? pblock : NULL)) {
if (state.IsInvalid()) {
// The block violates a consensus rule.
if (!state.CorruptionPossible())
InvalidChainFound(vpindexToConnect.back());
state = CValidationState();
fInvalidFound = true;
fContinue = false;
break;
} else {
// A system error occurred (disk space, database error, ...).
return false;
}
} else {
PruneBlockIndexCandidates();
if (!pindexOldTip || chainActive.Tip()->nChainWork > pindexOldTip->nChainWork) {
// We're in a better position than we were. Return temporarily to release the lock.
fContinue = false;
break;
}
}
}
}
// Callbacks/notifications for a new best chain.
if (fInvalidFound)
CheckForkWarningConditionsOnNewFork(vpindexToConnect.back());
else
CheckForkWarningConditions();
return true;
}
/**
* Make the best chain active, in multiple steps. The result is either failure
* or an activated best chain. pblock is either NULL or a pointer to a block
* that is already loaded (to avoid loading it again from disk).
*/
bool ActivateBestChain(CValidationState& state, CBlock* pblock)
{
CBlockIndex* pindexNewTip = NULL;
CBlockIndex* pindexMostWork = NULL;
do {
boost::this_thread::interruption_point();
bool fInitialDownload;
while (true) {
TRY_LOCK(cs_main, lockMain);
if (!lockMain) {
MilliSleep(50);
continue;
}
pindexMostWork = FindMostWorkChain();
// Whether we have anything to do at all.
if (pindexMostWork == NULL || pindexMostWork == chainActive.Tip())
return true;
if (!ActivateBestChainStep(state, pindexMostWork, pblock && pblock->GetHash() == pindexMostWork->GetBlockHash() ? pblock : NULL))
return false;
pindexNewTip = chainActive.Tip();
fInitialDownload = IsInitialBlockDownload();
break;
}
// When we reach this point, we switched to a new tip (stored in pindexNewTip).
// Notifications/callbacks that can run without cs_main
if (!fInitialDownload) {
uint256 hashNewTip = pindexNewTip->GetBlockHash();
// Relay inventory, but don't relay old inventory during initial block download.
int nBlockEstimate = Checkpoints::GetTotalBlocksEstimate();
{
LOCK(cs_vNodes);
BOOST_FOREACH (CNode* pnode, vNodes)
if (chainActive.Height() > (pnode->nStartingHeight != -1 ? pnode->nStartingHeight - 2000 : nBlockEstimate))
pnode->PushInventory(CInv(MSG_BLOCK, hashNewTip));
}
// Notify external listeners about the new tip.
uiInterface.NotifyBlockTip(hashNewTip);
}
} while (pindexMostWork != chainActive.Tip());
CheckBlockIndex();
// Write changes periodically to disk, after relay.
if (!FlushStateToDisk(state, FLUSH_STATE_PERIODIC)) {
return false;
}
return true;
}
bool InvalidateBlock(CValidationState& state, CBlockIndex* pindex)
{
AssertLockHeld(cs_main);
// Mark the block itself as invalid.
pindex->nStatus |= BLOCK_FAILED_VALID;
setDirtyBlockIndex.insert(pindex);
setBlockIndexCandidates.erase(pindex);
while (chainActive.Contains(pindex)) {
CBlockIndex* pindexWalk = chainActive.Tip();
pindexWalk->nStatus |= BLOCK_FAILED_CHILD;
setDirtyBlockIndex.insert(pindexWalk);
setBlockIndexCandidates.erase(pindexWalk);
// ActivateBestChain considers blocks already in chainActive
// unconditionally valid already, so force disconnect away from it.
if (!DisconnectTip(state)) {
return false;
}
}
// The resulting new best tip may not be in setBlockIndexCandidates anymore, so
// add them again.
BlockMap::iterator it = mapBlockIndex.begin();
while (it != mapBlockIndex.end()) {
if (it->second->IsValid(BLOCK_VALID_TRANSACTIONS) && it->second->nChainTx && !setBlockIndexCandidates.value_comp()(it->second, chainActive.Tip())) {
setBlockIndexCandidates.insert(it->second);
}
it++;
}
InvalidChainFound(pindex);
return true;
}
bool ReconsiderBlock(CValidationState& state, CBlockIndex* pindex)
{
AssertLockHeld(cs_main);
int nHeight = pindex->nHeight;
// Remove the invalidity flag from this block and all its descendants.
BlockMap::iterator it = mapBlockIndex.begin();
while (it != mapBlockIndex.end()) {
if (!it->second->IsValid() && it->second->GetAncestor(nHeight) == pindex) {
it->second->nStatus &= ~BLOCK_FAILED_MASK;
setDirtyBlockIndex.insert(it->second);
if (it->second->IsValid(BLOCK_VALID_TRANSACTIONS) && it->second->nChainTx && setBlockIndexCandidates.value_comp()(chainActive.Tip(), it->second)) {
setBlockIndexCandidates.insert(it->second);
}
if (it->second == pindexBestInvalid) {
// Reset invalid block marker if it was pointing to one of those.
pindexBestInvalid = NULL;
}
}
it++;
}
// Remove the invalidity flag from all ancestors too.
while (pindex != NULL) {
if (pindex->nStatus & BLOCK_FAILED_MASK) {
pindex->nStatus &= ~BLOCK_FAILED_MASK;
setDirtyBlockIndex.insert(pindex);
}
pindex = pindex->pprev;
}
return true;
}
CBlockIndex* AddToBlockIndex(const CBlock& block)
{
// Check for duplicate
uint256 hash = block.GetHash();
BlockMap::iterator it = mapBlockIndex.find(hash);
if (it != mapBlockIndex.end())
return it->second;
// Construct new block index object
CBlockIndex* pindexNew = new CBlockIndex(block);
assert(pindexNew);
// We assign the sequence id to blocks only when the full data is available,
// to avoid miners withholding blocks but broadcasting headers, to get a
// competitive advantage.
pindexNew->nSequenceId = 0;
BlockMap::iterator mi = mapBlockIndex.insert(make_pair(hash, pindexNew)).first;
//mark as PoS seen
if (pindexNew->IsProofOfStake())
setStakeSeen.insert(make_pair(pindexNew->prevoutStake, pindexNew->nStakeTime));
pindexNew->phashBlock = &((*mi).first);
BlockMap::iterator miPrev = mapBlockIndex.find(block.hashPrevBlock);
if (miPrev != mapBlockIndex.end()) {
pindexNew->pprev = (*miPrev).second;
pindexNew->nHeight = pindexNew->pprev->nHeight + 1;
pindexNew->BuildSkip();
//update previous block pointer
pindexNew->pprev->pnext = pindexNew;
// ppcoin: compute chain trust score
pindexNew->bnChainTrust = (pindexNew->pprev ? pindexNew->pprev->bnChainTrust : 0) + pindexNew->GetBlockTrust();
// ppcoin: compute stake entropy bit for stake modifier
if (!pindexNew->SetStakeEntropyBit(pindexNew->GetStakeEntropyBit()))
LogPrintf("AddToBlockIndex() : SetStakeEntropyBit() failed \n");
// ppcoin: record proof-of-stake hash value
if (pindexNew->IsProofOfStake()) {
if (!mapProofOfStake.count(hash))
LogPrintf("AddToBlockIndex() : hashProofOfStake not found in map \n");
pindexNew->hashProofOfStake = mapProofOfStake[hash];
}
// ppcoin: compute stake modifier
uint64_t nStakeModifier = 0;
bool fGeneratedStakeModifier = false;
if (!ComputeNextStakeModifier(pindexNew->pprev, nStakeModifier, fGeneratedStakeModifier))
LogPrintf("AddToBlockIndex() : ComputeNextStakeModifier() failed \n");
pindexNew->SetStakeModifier(nStakeModifier, fGeneratedStakeModifier);
pindexNew->nStakeModifierChecksum = GetStakeModifierChecksum(pindexNew);
if (!CheckStakeModifierCheckpoints(pindexNew->nHeight, pindexNew->nStakeModifierChecksum))
LogPrintf("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=%s \n", pindexNew->nHeight, boost::lexical_cast<std::string>(nStakeModifier));
}
pindexNew->nChainWork = (pindexNew->pprev ? pindexNew->pprev->nChainWork : 0) + GetBlockProof(*pindexNew);
pindexNew->RaiseValidity(BLOCK_VALID_TREE);
if (pindexBestHeader == NULL || pindexBestHeader->nChainWork < pindexNew->nChainWork)
pindexBestHeader = pindexNew;
//update previous block pointer
if (pindexNew->nHeight)
pindexNew->pprev->pnext = pindexNew;
setDirtyBlockIndex.insert(pindexNew);
return pindexNew;
}
/** Mark a block as having its data received and checked (up to BLOCK_VALID_TRANSACTIONS). */
bool ReceivedBlockTransactions(const CBlock& block, CValidationState& state, CBlockIndex* pindexNew, const CDiskBlockPos& pos)
{
if (block.IsProofOfStake())
pindexNew->SetProofOfStake();
pindexNew->nTx = block.vtx.size();
pindexNew->nChainTx = 0;
pindexNew->nFile = pos.nFile;
pindexNew->nDataPos = pos.nPos;
pindexNew->nUndoPos = 0;
pindexNew->nStatus |= BLOCK_HAVE_DATA;
pindexNew->RaiseValidity(BLOCK_VALID_TRANSACTIONS);
setDirtyBlockIndex.insert(pindexNew);
if (pindexNew->pprev == NULL || pindexNew->pprev->nChainTx) {
// If pindexNew is the genesis block or all parents are BLOCK_VALID_TRANSACTIONS.
deque<CBlockIndex*> queue;
queue.push_back(pindexNew);
// Recursively process any descendant blocks that now may be eligible to be connected.
while (!queue.empty()) {
CBlockIndex* pindex = queue.front();
queue.pop_front();
pindex->nChainTx = (pindex->pprev ? pindex->pprev->nChainTx : 0) + pindex->nTx;
{
LOCK(cs_nBlockSequenceId);
pindex->nSequenceId = nBlockSequenceId++;
}
if (chainActive.Tip() == NULL || !setBlockIndexCandidates.value_comp()(pindex, chainActive.Tip())) {
setBlockIndexCandidates.insert(pindex);
}
std::pair<std::multimap<CBlockIndex*, CBlockIndex*>::iterator, std::multimap<CBlockIndex*, CBlockIndex*>::iterator> range = mapBlocksUnlinked.equal_range(pindex);
while (range.first != range.second) {
std::multimap<CBlockIndex*, CBlockIndex*>::iterator it = range.first;
queue.push_back(it->second);
range.first++;
mapBlocksUnlinked.erase(it);
}
}
} else {
if (pindexNew->pprev && pindexNew->pprev->IsValid(BLOCK_VALID_TREE)) {
mapBlocksUnlinked.insert(std::make_pair(pindexNew->pprev, pindexNew));
}
}
return true;
}
bool FindBlockPos(CValidationState& state, CDiskBlockPos& pos, unsigned int nAddSize, unsigned int nHeight, uint64_t nTime, bool fKnown = false)
{
LOCK(cs_LastBlockFile);
unsigned int nFile = fKnown ? pos.nFile : nLastBlockFile;
if (vinfoBlockFile.size() <= nFile) {
vinfoBlockFile.resize(nFile + 1);
}
if (!fKnown) {
while (vinfoBlockFile[nFile].nSize + nAddSize >= MAX_BLOCKFILE_SIZE) {
LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString());
FlushBlockFile(true);
nFile++;
if (vinfoBlockFile.size() <= nFile) {
vinfoBlockFile.resize(nFile + 1);
}
}
pos.nFile = nFile;
pos.nPos = vinfoBlockFile[nFile].nSize;
}
nLastBlockFile = nFile;
vinfoBlockFile[nFile].AddBlock(nHeight, nTime);
if (fKnown)
vinfoBlockFile[nFile].nSize = std::max(pos.nPos + nAddSize, vinfoBlockFile[nFile].nSize);
else
vinfoBlockFile[nFile].nSize += nAddSize;
if (!fKnown) {
unsigned int nOldChunks = (pos.nPos + BLOCKFILE_CHUNK_SIZE - 1) / BLOCKFILE_CHUNK_SIZE;
unsigned int nNewChunks = (vinfoBlockFile[nFile].nSize + BLOCKFILE_CHUNK_SIZE - 1) / BLOCKFILE_CHUNK_SIZE;
if (nNewChunks > nOldChunks) {
if (CheckDiskSpace(nNewChunks * BLOCKFILE_CHUNK_SIZE - pos.nPos)) {
FILE* file = OpenBlockFile(pos);
if (file) {
LogPrintf("Pre-allocating up to position 0x%x in blk%05u.dat\n", nNewChunks * BLOCKFILE_CHUNK_SIZE, pos.nFile);
AllocateFileRange(file, pos.nPos, nNewChunks * BLOCKFILE_CHUNK_SIZE - pos.nPos);
fclose(file);
}
} else
return state.Error("out of disk space");
}
}
setDirtyFileInfo.insert(nFile);
return true;
}
bool FindUndoPos(CValidationState& state, int nFile, CDiskBlockPos& pos, unsigned int nAddSize)
{
pos.nFile = nFile;
LOCK(cs_LastBlockFile);
unsigned int nNewSize;
pos.nPos = vinfoBlockFile[nFile].nUndoSize;
nNewSize = vinfoBlockFile[nFile].nUndoSize += nAddSize;
setDirtyFileInfo.insert(nFile);
unsigned int nOldChunks = (pos.nPos + UNDOFILE_CHUNK_SIZE - 1) / UNDOFILE_CHUNK_SIZE;
unsigned int nNewChunks = (nNewSize + UNDOFILE_CHUNK_SIZE - 1) / UNDOFILE_CHUNK_SIZE;
if (nNewChunks > nOldChunks) {
if (CheckDiskSpace(nNewChunks * UNDOFILE_CHUNK_SIZE - pos.nPos)) {
FILE* file = OpenUndoFile(pos);
if (file) {
LogPrintf("Pre-allocating up to position 0x%x in rev%05u.dat\n", nNewChunks * UNDOFILE_CHUNK_SIZE, pos.nFile);
AllocateFileRange(file, pos.nPos, nNewChunks * UNDOFILE_CHUNK_SIZE - pos.nPos);
fclose(file);
}
} else
return state.Error("out of disk space");
}
return true;
}
bool CheckBlockHeader(const CBlockHeader& block, CValidationState& state, bool fCheckPOW)
{
// Check proof of work matches claimed amount
if (fCheckPOW && !CheckProofOfWork(block.GetHash(), block.nBits))
return state.DoS(50, error("CheckBlockHeader() : proof of work failed"),
REJECT_INVALID, "high-hash");
return true;
}
bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bool fCheckMerkleRoot, bool fCheckSig)
{
// These are checks that are independent of context.
// Check that the header is valid (particularly PoW). This is mostly
// redundant with the call in AcceptBlockHeader.
if (!CheckBlockHeader(block, state, block.IsProofOfWork()))
return state.DoS(100, error("CheckBlock() : CheckBlockHeader failed"),
REJECT_INVALID, "bad-header", true);
// Check timestamp
LogPrint("debug", "%s: block=%s is proof of stake=%d\n", __func__, block.GetHash().ToString().c_str(), block.IsProofOfStake());
if (block.GetBlockTime() > GetAdjustedTime() + (block.IsProofOfStake() ? 180 : 7200)) // 3 minute future drift for PoS
return state.Invalid(error("CheckBlock() : block timestamp too far in the future"),
REJECT_INVALID, "time-too-new");
// Check the merkle root.
if (fCheckMerkleRoot) {
bool mutated;
uint256 hashMerkleRoot2 = block.BuildMerkleTree(&mutated);
if (block.hashMerkleRoot != hashMerkleRoot2)
return state.DoS(100, error("CheckBlock() : hashMerkleRoot mismatch"),
REJECT_INVALID, "bad-txnmrklroot", true);
// Check for merkle tree malleability (CVE-2012-2459): repeating sequences
// of transactions in a block without affecting the merkle root of a block,
// while still invalidating it.
if (mutated)
return state.DoS(100, error("CheckBlock() : duplicate transaction"),
REJECT_INVALID, "bad-txns-duplicate", true);
}
// All potential-corruption validation must be done before we do any
// transaction validation, as otherwise we may mark the header as invalid
// because we receive the wrong transactions for it.
// Size limits
if (block.vtx.empty() || block.vtx.size() > MAX_BLOCK_SIZE || ::GetSerializeSize(block, SER_NETWORK, PROTOCOL_VERSION) > MAX_BLOCK_SIZE)
return state.DoS(100, error("CheckBlock() : size limits failed"),
REJECT_INVALID, "bad-blk-length");
// First transaction must be coinbase, the rest must not be
if (block.vtx.empty() || !block.vtx[0].IsCoinBase())
return state.DoS(100, error("CheckBlock() : first tx is not coinbase"),
REJECT_INVALID, "bad-cb-missing");
for (unsigned int i = 1; i < block.vtx.size(); i++)
if (block.vtx[i].IsCoinBase())
return state.DoS(100, error("CheckBlock() : more than one coinbase"),
REJECT_INVALID, "bad-cb-multiple");
if (block.IsProofOfStake()) {
// Coinbase output should be empty if proof-of-stake block
if (block.vtx[0].vout.size() != 1 || !block.vtx[0].vout[0].IsEmpty())
return state.DoS(100, error("CheckBlock() : coinbase output not empty for proof-of-stake block"));
// Second transaction must be coinstake, the rest must not be
if (block.vtx.empty() || !block.vtx[1].IsCoinStake())
return state.DoS(100, error("CheckBlock() : second tx is not coinstake"));
for (unsigned int i = 2; i < block.vtx.size(); i++)
if (block.vtx[i].IsCoinStake())
return state.DoS(100, error("CheckBlock() : more than one coinstake"));
}
// ----------- swiftTX transaction scanning -----------
if (IsSporkActive(SPORK_3_SWIFTTX_BLOCK_FILTERING)) {
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
if (!tx.IsCoinBase()) {
//only reject blocks when it's based on complete consensus
BOOST_FOREACH (const CTxIn& in, tx.vin) {
if (mapLockedInputs.count(in.prevout)) {
if (mapLockedInputs[in.prevout] != tx.GetHash()) {
mapRejectedBlocks.insert(make_pair(block.GetHash(), GetTime()));
LogPrintf("CheckBlock() : found conflicting transaction with transaction lock %s %s\n", mapLockedInputs[in.prevout].ToString(), tx.GetHash().ToString());
return state.DoS(0, error("CheckBlock() : found conflicting transaction with transaction lock"),
REJECT_INVALID, "conflicting-tx-ix");
}
}
}
}
}
} else {
LogPrintf("CheckBlock() : skipping transaction locking checks\n");
}
// ----------- masternode payments / budgets -----------
CBlockIndex* pindexPrev = chainActive.Tip();
if (pindexPrev != NULL) {
int nHeight = 0;
if (pindexPrev->GetBlockHash() == block.hashPrevBlock) {
nHeight = pindexPrev->nHeight + 1;
} else { //out of order
BlockMap::iterator mi = mapBlockIndex.find(block.hashPrevBlock);
if (mi != mapBlockIndex.end() && (*mi).second)
nHeight = (*mi).second->nHeight + 1;
}
// ariacoin
// It is entierly possible that we don't have enough data and this could fail
// (i.e. the block could indeed be valid). Store the block for later consideration
// but issue an initial reject message.
// The case also exists that the sending peer could not have enough data to see
// that this block is invalid, so don't issue an outright ban.
if (nHeight != 0 && !IsInitialBlockDownload()) {
if (!IsBlockPayeeValid(block, nHeight)) {
mapRejectedBlocks.insert(make_pair(block.GetHash(), GetTime()));
return state.DoS(0, error("CheckBlock() : Couldn't find masternode/budget payment"),
REJECT_INVALID, "bad-cb-payee");
}
} else {
if (fDebug)
LogPrintf("CheckBlock(): Masternode payment check skipped on sync - skipping IsBlockPayeeValid()\n");
}
}
// -------------------------------------------
// Check transactions
BOOST_FOREACH (const CTransaction& tx, block.vtx)
if (!CheckTransaction(tx, state))
return error("CheckBlock() : CheckTransaction failed");
unsigned int nSigOps = 0;
BOOST_FOREACH (const CTransaction& tx, block.vtx) {
nSigOps += GetLegacySigOpCount(tx);
}
if (nSigOps > MAX_BLOCK_SIGOPS)
return state.DoS(100, error("CheckBlock() : out-of-bounds SigOpCount"),
REJECT_INVALID, "bad-blk-sigops", true);
return true;
}
bool CheckWork(const CBlock block, CBlockIndex* const pindexPrev)
{
if (pindexPrev == NULL)
return error("%s : null pindexPrev for block %s", __func__, block.GetHash().ToString().c_str());
unsigned int nBitsRequired = GetNextWorkRequired(pindexPrev, &block);
if (block.IsProofOfWork() && (pindexPrev->nHeight + 1 <= 68589)) {
double n1 = ConvertBitsToDouble(block.nBits);
double n2 = ConvertBitsToDouble(nBitsRequired);
if (abs(n1 - n2) > n1 * 0.5)
return error("%s : incorrect proof of work (DGW pre-fork) - %f %f %f at %d", __func__, abs(n1 - n2), n1, n2, pindexPrev->nHeight + 1);
return true;
}
if (block.nBits != nBitsRequired)
return error("%s : incorrect proof of work at %d", __func__, pindexPrev->nHeight + 1);
if (block.IsProofOfStake()) {
uint256 hashProofOfStake;
uint256 hash = block.GetHash();
if(!CheckProofOfStake(block, hashProofOfStake)) {
LogPrintf("WARNING: ProcessBlock(): check proof-of-stake failed for block %s\n", hash.ToString().c_str());
return false;
}
if(!mapProofOfStake.count(hash)) // add to mapProofOfStake
mapProofOfStake.insert(make_pair(hash, hashProofOfStake));
}
return true;
}
bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& state, CBlockIndex* const pindexPrev)
{
uint256 hash = block.GetHash();
if (hash == Params().HashGenesisBlock())
return true;
assert(pindexPrev);
int nHeight = pindexPrev->nHeight + 1;
//If this is a reorg, check that it is not too depp
if (chainActive.Height() - nHeight >= Params().MaxReorganizationDepth())
return state.DoS(1, error("%s: forked chain older than max reorganization depth (height %d)", __func__, nHeight));
// Check timestamp against prev
if (block.GetBlockTime() <= pindexPrev->GetMedianTimePast()) {
LogPrintf("Block time = %d , GetMedianTimePast = %d \n", block.GetBlockTime(), pindexPrev->GetMedianTimePast());
return state.Invalid(error("%s : block's timestamp is too early", __func__),
REJECT_INVALID, "time-too-old");
}
// Check that the block chain matches the known block chain up to a checkpoint
if (!Checkpoints::CheckBlock(nHeight, hash))
return state.DoS(100, error("%s : rejected by checkpoint lock-in at %d", __func__, nHeight),
REJECT_CHECKPOINT, "checkpoint mismatch");
// Don't accept any forks from the main chain prior to last checkpoint
CBlockIndex* pcheckpoint = Checkpoints::GetLastCheckpoint();
if (pcheckpoint && nHeight < pcheckpoint->nHeight)
return state.DoS(0, error("%s : forked chain older than last checkpoint (height %d)", __func__, nHeight));
// Reject block.nVersion=1 blocks when 95% (75% on testnet) of the network has upgraded:
if (block.nVersion < 2 &&
CBlockIndex::IsSuperMajority(2, pindexPrev, Params().RejectBlockOutdatedMajority())) {
return state.Invalid(error("%s : rejected nVersion=1 block", __func__),
REJECT_OBSOLETE, "bad-version");
}
// Reject block.nVersion=2 blocks when 95% (75% on testnet) of the network has upgraded:
if (block.nVersion < 3 && CBlockIndex::IsSuperMajority(3, pindexPrev, Params().RejectBlockOutdatedMajority())) {
return state.Invalid(error("%s : rejected nVersion=2 block", __func__),
REJECT_OBSOLETE, "bad-version");
}
return true;
}
bool ContextualCheckBlock(const CBlock& block, CValidationState& state, CBlockIndex* const pindexPrev)
{
const int nHeight = pindexPrev == NULL ? 0 : pindexPrev->nHeight + 1;
// Check that all transactions are finalized
BOOST_FOREACH (const CTransaction& tx, block.vtx)
if (!IsFinalTx(tx, nHeight, block.GetBlockTime())) {
return state.DoS(10, error("%s : contains a non-final transaction", __func__), REJECT_INVALID, "bad-txns-nonfinal");
}
// Enforce block.nVersion=2 rule that the coinbase starts with serialized block height
// if 750 of the last 1,000 blocks are version 2 or greater (51/100 if testnet):
if (block.nVersion >= 2 &&
CBlockIndex::IsSuperMajority(2, pindexPrev, Params().EnforceBlockUpgradeMajority())) {
CScript expect = CScript() << nHeight;
if (block.vtx[0].vin[0].scriptSig.size() < expect.size() ||
!std::equal(expect.begin(), expect.end(), block.vtx[0].vin[0].scriptSig.begin())) {
return state.DoS(100, error("%s : block height mismatch in coinbase", __func__), REJECT_INVALID, "bad-cb-height");
}
}
return true;
}
bool AcceptBlockHeader(const CBlock& block, CValidationState& state, CBlockIndex** ppindex)
{
AssertLockHeld(cs_main);
// Check for duplicate
uint256 hash = block.GetHash();
BlockMap::iterator miSelf = mapBlockIndex.find(hash);
CBlockIndex* pindex = NULL;
// TODO : ENABLE BLOCK CACHE IN SPECIFIC CASES
if (miSelf != mapBlockIndex.end()) {
// Block header is already known.
pindex = miSelf->second;
if (ppindex)
*ppindex = pindex;
if (pindex->nStatus & BLOCK_FAILED_MASK)
return state.Invalid(error("%s : block is marked invalid", __func__), 0, "duplicate");
return true;
}
if (!CheckBlockHeader(block, state, false)) {
LogPrintf("AcceptBlockHeader(): CheckBlockHeader failed \n");
return false;
}
// Get prev block index
CBlockIndex* pindexPrev = NULL;
if (hash != Params().HashGenesisBlock()) {
BlockMap::iterator mi = mapBlockIndex.find(block.hashPrevBlock);
if (mi == mapBlockIndex.end())
return state.DoS(0, error("%s : prev block %s not found", __func__, block.hashPrevBlock.ToString().c_str()), 0, "bad-prevblk");
pindexPrev = (*mi).second;
if (pindexPrev->nStatus & BLOCK_FAILED_MASK)
return state.DoS(100, error("%s : prev block invalid", __func__), REJECT_INVALID, "bad-prevblk");
}
if (!ContextualCheckBlockHeader(block, state, pindexPrev))
return false;
if (pindex == NULL)
pindex = AddToBlockIndex(block);
if (ppindex)
*ppindex = pindex;
return true;
}
bool AcceptBlock(CBlock& block, CValidationState& state, CBlockIndex** ppindex, CDiskBlockPos* dbp)
{
AssertLockHeld(cs_main);
CBlockIndex*& pindex = *ppindex;
// Get prev block index
CBlockIndex* pindexPrev = NULL;
if (block.GetHash() != Params().HashGenesisBlock()) {
BlockMap::iterator mi = mapBlockIndex.find(block.hashPrevBlock);
if (mi == mapBlockIndex.end())
return state.DoS(0, error("%s : prev block %s not found", __func__, block.hashPrevBlock.ToString().c_str()), 0, "bad-prevblk");
pindexPrev = (*mi).second;
if (pindexPrev->nStatus & BLOCK_FAILED_MASK)
return state.DoS(100, error("%s : prev block invalid", __func__), REJECT_INVALID, "bad-prevblk");
}
if (block.GetHash() != Params().HashGenesisBlock() && !CheckWork(block, pindexPrev))
return false;
if (!AcceptBlockHeader(block, state, &pindex))
return false;
if (pindex->nStatus & BLOCK_HAVE_DATA) {
// TODO: deal better with duplicate blocks.
// return state.DoS(20, error("AcceptBlock() : already have block %d %s", pindex->nHeight, pindex->GetBlockHash().ToString()), REJECT_DUPLICATE, "duplicate");
return true;
}
if ((!CheckBlock(block, state)) || !ContextualCheckBlock(block, state, pindex->pprev)) {
if (state.IsInvalid() && !state.CorruptionPossible()) {
pindex->nStatus |= BLOCK_FAILED_VALID;
setDirtyBlockIndex.insert(pindex);
}
return false;
}
int nHeight = pindex->nHeight;
// Write block to history file
try {
unsigned int nBlockSize = ::GetSerializeSize(block, SER_DISK, CLIENT_VERSION);
CDiskBlockPos blockPos;
if (dbp != NULL)
blockPos = *dbp;
if (!FindBlockPos(state, blockPos, nBlockSize + 8, nHeight, block.GetBlockTime(), dbp != NULL))
return error("AcceptBlock() : FindBlockPos failed");
if (dbp == NULL)
if (!WriteBlockToDisk(block, blockPos))
return state.Abort("Failed to write block");
if (!ReceivedBlockTransactions(block, state, pindex, blockPos))
return error("AcceptBlock() : ReceivedBlockTransactions failed");
} catch (std::runtime_error& e) {
return state.Abort(std::string("System error: ") + e.what());
}
return true;
}
bool CBlockIndex::IsSuperMajority(int minVersion, const CBlockIndex* pstart, unsigned int nRequired)
{
unsigned int nToCheck = Params().ToCheckBlockUpgradeMajority();
unsigned int nFound = 0;
for (unsigned int i = 0; i < nToCheck && nFound < nRequired && pstart != NULL; i++) {
if (pstart->nVersion >= minVersion)
++nFound;
pstart = pstart->pprev;
}
return (nFound >= nRequired);
}
/** Turn the lowest '1' bit in the binary representation of a number into a '0'. */
int static inline InvertLowestOne(int n) { return n & (n - 1); }
/** Compute what height to jump back to with the CBlockIndex::pskip pointer. */
int static inline GetSkipHeight(int height)
{
if (height < 2)
return 0;
// Determine which height to jump back to. Any number strictly lower than height is acceptable,
// but the following expression seems to perform well in simulations (max 110 steps to go back
// up to 2**18 blocks).
return (height & 1) ? InvertLowestOne(InvertLowestOne(height - 1)) + 1 : InvertLowestOne(height);
}
CBlockIndex* CBlockIndex::GetAncestor(int height)
{
if (height > nHeight || height < 0)
return NULL;
CBlockIndex* pindexWalk = this;
int heightWalk = nHeight;
while (heightWalk > height) {
int heightSkip = GetSkipHeight(heightWalk);
int heightSkipPrev = GetSkipHeight(heightWalk - 1);
if (heightSkip == height ||
(heightSkip > height && !(heightSkipPrev < heightSkip - 2 && heightSkipPrev >= height))) {
// Only follow pskip if pprev->pskip isn't better than pskip->pprev.
pindexWalk = pindexWalk->pskip;
heightWalk = heightSkip;
} else {
pindexWalk = pindexWalk->pprev;
heightWalk--;
}
}
return pindexWalk;
}
const CBlockIndex* CBlockIndex::GetAncestor(int height) const
{
return const_cast<CBlockIndex*>(this)->GetAncestor(height);
}
void CBlockIndex::BuildSkip()
{
if (pprev)
pskip = pprev->GetAncestor(GetSkipHeight(nHeight));
}
bool ProcessNewBlock(CValidationState& state, CNode* pfrom, CBlock* pblock, CDiskBlockPos* dbp)
{
// Preliminary checks
bool checked = CheckBlock(*pblock, state);
// ppcoin: check proof-of-stake
// Limited duplicity on stake: prevents block flood attack
// Duplicate stake allowed only when there is orphan child block
//if (pblock->IsProofOfStake() && setStakeSeen.count(pblock->GetProofOfStake())/* && !mapOrphanBlocksByPrev.count(hash)*/)
// return error("ProcessNewBlock() : duplicate proof-of-stake (%s, %d) for block %s", pblock->GetProofOfStake().first.ToString().c_str(), pblock->GetProofOfStake().second, pblock->GetHash().ToString().c_str());
// NovaCoin: check proof-of-stake block signature
if (!pblock->CheckBlockSignature())
return error("ProcessNewBlock() : bad proof-of-stake block signature");
if (pblock->GetHash() != Params().HashGenesisBlock() && pfrom != NULL) {
//if we get this far, check if the prev block is our prev block, if not then request sync and return false
BlockMap::iterator mi = mapBlockIndex.find(pblock->hashPrevBlock);
if (mi == mapBlockIndex.end()) {
pfrom->PushMessage("getblocks", chainActive.GetLocator(), uint256(0));
return false;
}
}
while (true) {
TRY_LOCK(cs_main, lockMain);
if (!lockMain) {
MilliSleep(50);
continue;
}
MarkBlockAsReceived(pblock->GetHash());
if (!checked) {
return error("%s : CheckBlock FAILED", __func__);
}
// Store to disk
CBlockIndex* pindex = NULL;
bool ret = AcceptBlock(*pblock, state, &pindex, dbp);
if (pindex && pfrom) {
mapBlockSource[pindex->GetBlockHash()] = pfrom->GetId();
}
CheckBlockIndex();
if (!ret)
return error("%s : AcceptBlock FAILED", __func__);
break;
}
if (!ActivateBestChain(state, pblock))
return error("%s : ActivateBestChain failed", __func__);
if (!fLiteMode) {
if (masternodeSync.RequestedMasternodeAssets > MASTERNODE_SYNC_LIST) {
obfuScationPool.NewBlock();
masternodePayments.ProcessBlock(GetHeight() + 10);
budget.NewBlock();
}
}
if (pwalletMain) {
// If turned on MultiSend will send a transaction (or more) on the after maturity of a stake
if (pwalletMain->isMultiSendEnabled())
pwalletMain->MultiSend();
//If turned on Auto Combine will scan wallet for dust to combine
if (pwalletMain->fCombineDust)
pwalletMain->AutoCombineDust();
}
LogPrintf("%s : ACCEPTED\n", __func__);
return true;
}
bool TestBlockValidity(CValidationState& state, const CBlock& block, CBlockIndex* const pindexPrev, bool fCheckPOW, bool fCheckMerkleRoot)
{
AssertLockHeld(cs_main);
assert(pindexPrev == chainActive.Tip());
CCoinsViewCache viewNew(pcoinsTip);
CBlockIndex indexDummy(block);
indexDummy.pprev = pindexPrev;
indexDummy.nHeight = pindexPrev->nHeight + 1;
// NOTE: CheckBlockHeader is called by CheckBlock
if (!ContextualCheckBlockHeader(block, state, pindexPrev))
return false;
if (!CheckBlock(block, state, fCheckPOW, fCheckMerkleRoot))
return false;
if (!ContextualCheckBlock(block, state, pindexPrev))
return false;
if (!ConnectBlock(block, state, &indexDummy, viewNew, true))
return false;
assert(state.IsValid());
return true;
}
bool AbortNode(const std::string& strMessage, const std::string& userMessage)
{
strMiscWarning = strMessage;
LogPrintf("*** %s\n", strMessage);
uiInterface.ThreadSafeMessageBox(
userMessage.empty() ? _("Error: A fatal internal error occured, see debug.log for details") : userMessage,
"", CClientUIInterface::MSG_ERROR);
StartShutdown();
return false;
}
bool CheckDiskSpace(uint64_t nAdditionalBytes)
{
uint64_t nFreeBytesAvailable = filesystem::space(GetDataDir()).available;
// Check for nMinDiskSpace bytes (currently 50MB)
if (nFreeBytesAvailable < nMinDiskSpace + nAdditionalBytes)
return AbortNode("Disk space is low!", _("Error: Disk space is low!"));
return true;
}
FILE* OpenDiskFile(const CDiskBlockPos& pos, const char* prefix, bool fReadOnly)
{
if (pos.IsNull())
return NULL;
boost::filesystem::path path = GetBlockPosFilename(pos, prefix);
boost::filesystem::create_directories(path.parent_path());
FILE* file = fopen(path.string().c_str(), "rb+");
if (!file && !fReadOnly)
file = fopen(path.string().c_str(), "wb+");
if (!file) {
LogPrintf("Unable to open file %s\n", path.string());
return NULL;
}
if (pos.nPos) {
if (fseek(file, pos.nPos, SEEK_SET)) {
LogPrintf("Unable to seek to position %u of %s\n", pos.nPos, path.string());
fclose(file);
return NULL;
}
}
return file;
}
FILE* OpenBlockFile(const CDiskBlockPos& pos, bool fReadOnly)
{
return OpenDiskFile(pos, "blk", fReadOnly);
}
FILE* OpenUndoFile(const CDiskBlockPos& pos, bool fReadOnly)
{
return OpenDiskFile(pos, "rev", fReadOnly);
}
boost::filesystem::path GetBlockPosFilename(const CDiskBlockPos& pos, const char* prefix)
{
return GetDataDir() / "blocks" / strprintf("%s%05u.dat", prefix, pos.nFile);
}
CBlockIndex* InsertBlockIndex(uint256 hash)
{
if (hash == 0)
return NULL;
// Return existing
BlockMap::iterator mi = mapBlockIndex.find(hash);
if (mi != mapBlockIndex.end())
return (*mi).second;
// Create new
CBlockIndex* pindexNew = new CBlockIndex();
if (!pindexNew)
throw runtime_error("LoadBlockIndex() : new CBlockIndex failed");
mi = mapBlockIndex.insert(make_pair(hash, pindexNew)).first;
//mark as PoS seen
if (pindexNew->IsProofOfStake())
setStakeSeen.insert(make_pair(pindexNew->prevoutStake, pindexNew->nStakeTime));
pindexNew->phashBlock = &((*mi).first);
return pindexNew;
}
bool static LoadBlockIndexDB()
{
if (!pblocktree->LoadBlockIndexGuts())
return false;
boost::this_thread::interruption_point();
// Calculate nChainWork
vector<pair<int, CBlockIndex*> > vSortedByHeight;
vSortedByHeight.reserve(mapBlockIndex.size());
BOOST_FOREACH (const PAIRTYPE(uint256, CBlockIndex*) & item, mapBlockIndex) {
CBlockIndex* pindex = item.second;
vSortedByHeight.push_back(make_pair(pindex->nHeight, pindex));
}
sort(vSortedByHeight.begin(), vSortedByHeight.end());
BOOST_FOREACH (const PAIRTYPE(int, CBlockIndex*) & item, vSortedByHeight) {
CBlockIndex* pindex = item.second;
pindex->nChainWork = (pindex->pprev ? pindex->pprev->nChainWork : 0) + GetBlockProof(*pindex);
if (pindex->nStatus & BLOCK_HAVE_DATA) {
if (pindex->pprev) {
if (pindex->pprev->nChainTx) {
pindex->nChainTx = pindex->pprev->nChainTx + pindex->nTx;
} else {
pindex->nChainTx = 0;
mapBlocksUnlinked.insert(std::make_pair(pindex->pprev, pindex));
}
} else {
pindex->nChainTx = pindex->nTx;
}
}
if (pindex->IsValid(BLOCK_VALID_TRANSACTIONS) && (pindex->nChainTx || pindex->pprev == NULL))
setBlockIndexCandidates.insert(pindex);
if (pindex->nStatus & BLOCK_FAILED_MASK && (!pindexBestInvalid || pindex->nChainWork > pindexBestInvalid->nChainWork))
pindexBestInvalid = pindex;
if (pindex->pprev)
pindex->BuildSkip();
if (pindex->IsValid(BLOCK_VALID_TREE) && (pindexBestHeader == NULL || CBlockIndexWorkComparator()(pindexBestHeader, pindex)))
pindexBestHeader = pindex;
}
// Load block file info
pblocktree->ReadLastBlockFile(nLastBlockFile);
vinfoBlockFile.resize(nLastBlockFile + 1);
LogPrintf("%s: last block file = %i\n", __func__, nLastBlockFile);
for (int nFile = 0; nFile <= nLastBlockFile; nFile++) {
pblocktree->ReadBlockFileInfo(nFile, vinfoBlockFile[nFile]);
}
LogPrintf("%s: last block file info: %s\n", __func__, vinfoBlockFile[nLastBlockFile].ToString());
for (int nFile = nLastBlockFile + 1; true; nFile++) {
CBlockFileInfo info;
if (pblocktree->ReadBlockFileInfo(nFile, info)) {
vinfoBlockFile.push_back(info);
} else {
break;
}
}
// Check presence of blk files
LogPrintf("Checking all blk files are present...\n");
set<int> setBlkDataFiles;
BOOST_FOREACH (const PAIRTYPE(uint256, CBlockIndex*) & item, mapBlockIndex) {
CBlockIndex* pindex = item.second;
if (pindex->nStatus & BLOCK_HAVE_DATA) {
setBlkDataFiles.insert(pindex->nFile);
}
}
for (std::set<int>::iterator it = setBlkDataFiles.begin(); it != setBlkDataFiles.end(); it++) {
CDiskBlockPos pos(*it, 0);
if (CAutoFile(OpenBlockFile(pos, true), SER_DISK, CLIENT_VERSION).IsNull()) {
return false;
}
}
//Check if the shutdown procedure was followed on last client exit
bool fLastShutdownWasPrepared = true;
pblocktree->ReadFlag("shutdown", fLastShutdownWasPrepared);
LogPrintf("%s: Last shutdown was prepared: %s\n", __func__, fLastShutdownWasPrepared);
//Check for inconsistency with block file info and internal state
if (!fLastShutdownWasPrepared && !GetBoolArg("-forcestart", false) && !GetBoolArg("-reindex", false) && (vSortedByHeight.size() != vinfoBlockFile[nLastBlockFile].nHeightLast + 1) && (vinfoBlockFile[nLastBlockFile].nHeightLast != 0)) {
//The database is in a state where a block has been accepted and written to disk, but not
//all of the block has perculated through the code. The block and the index should both be
//intact (although assertions are added if they are not), and the block will be reprocessed
//to ensure all data will be accounted for.
LogPrintf("%s: Inconsistent State Detected mapBlockIndex.size()=%d blockFileBlocks=%d\n", __func__, vSortedByHeight.size(), vinfoBlockFile[nLastBlockFile].nHeightLast + 1);
LogPrintf("%s: lastIndexPos=%d blockFileSize=%d\n", __func__, vSortedByHeight[vSortedByHeight.size() - 1].second->GetBlockPos().nPos,
vinfoBlockFile[nLastBlockFile].nSize);
//try reading the block from the last index we have
bool isFixed = true;
string strError = "";
LogPrintf("%s: Attempting to re-add last block that was recorded to disk\n", __func__);
//get the last block that was properly recorded to the block info file
CBlockIndex* pindexLastMeta = vSortedByHeight[vinfoBlockFile[nLastBlockFile].nHeightLast + 1].second;
//fix Assertion `hashPrevBlock == view.GetBestBlock()' failed. By adjusting height to the last recorded by coinsview
CBlockIndex* pindexCoinsView = mapBlockIndex[pcoinsTip->GetBestBlock()];
for(unsigned int i = vinfoBlockFile[nLastBlockFile].nHeightLast + 1; i < vSortedByHeight.size(); i++)
{
pindexLastMeta = vSortedByHeight[i].second;
if(pindexLastMeta->nHeight > pindexCoinsView->nHeight)
break;
}
LogPrintf("%s: Last block properly recorded: #%d %s\n", __func__, pindexLastMeta->nHeight, pindexLastMeta->GetBlockHash().ToString().c_str());
CBlock lastMetaBlock;
if (!ReadBlockFromDisk(lastMetaBlock, pindexLastMeta)) {
isFixed = false;
strError = strprintf("failed to read block %d from disk", pindexLastMeta->nHeight);
}
//set the chain to the block before lastMeta so that the meta block will be seen as new
chainActive.SetTip(pindexLastMeta->pprev);
//Process the lastMetaBlock again, using the known location on disk
CDiskBlockPos blockPos = pindexLastMeta->GetBlockPos();
CValidationState state;
ProcessNewBlock(state, NULL, &lastMetaBlock, &blockPos);
//ensure that everything is as it should be
if (pcoinsTip->GetBestBlock() != vSortedByHeight[vSortedByHeight.size() - 1].second->GetBlockHash()) {
isFixed = false;
strError = "pcoinsTip best block is not correct";
}
//properly account for all of the blocks that were not in the meta data. If this is not done the file
//positioning will be wrong and blocks will be overwritten and later cause serialization errors
CBlockIndex *pindexLast = vSortedByHeight[vSortedByHeight.size() - 1].second;
CBlock lastBlock;
if (!ReadBlockFromDisk(lastBlock, pindexLast)) {
isFixed = false;
strError = strprintf("failed to read block %d from disk", pindexLast->nHeight);
}
vinfoBlockFile[nLastBlockFile].nHeightLast = pindexLast->nHeight;
vinfoBlockFile[nLastBlockFile].nSize = pindexLast->GetBlockPos().nPos + ::GetSerializeSize(lastBlock, SER_DISK, CLIENT_VERSION);;
setDirtyFileInfo.insert(nLastBlockFile);
FlushStateToDisk(state, FLUSH_STATE_ALWAYS);
//Print out file info again
pblocktree->ReadLastBlockFile(nLastBlockFile);
vinfoBlockFile.resize(nLastBlockFile + 1);
LogPrintf("%s: last block file = %i\n", __func__, nLastBlockFile);
for (int nFile = 0; nFile <= nLastBlockFile; nFile++) {
pblocktree->ReadBlockFileInfo(nFile, vinfoBlockFile[nFile]);
}
LogPrintf("%s: last block file info: %s\n", __func__, vinfoBlockFile[nLastBlockFile].ToString());
if (!isFixed) {
strError = "Failed reading from database. " + strError + ". The block database is in an inconsistent state and may cause issues in the future."
"To force start use -forcestart";
uiInterface.ThreadSafeMessageBox(strError, "", CClientUIInterface::MSG_ERROR);
abort();
}
LogPrintf("Passed corruption fix\n");
}
// Check whether we need to continue reindexing
bool fReindexing = false;
pblocktree->ReadReindexing(fReindexing);
fReindex |= fReindexing;
// Check whether we have a transaction index
pblocktree->ReadFlag("txindex", fTxIndex);
LogPrintf("LoadBlockIndexDB(): transaction index %s\n", fTxIndex ? "enabled" : "disabled");
// If this is written true before the next client init, then we know the shutdown process failed
pblocktree->WriteFlag("shutdown", false);
// Load pointer to end of best chain
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock());
if (it == mapBlockIndex.end())
return true;
chainActive.SetTip(it->second);
PruneBlockIndexCandidates();
LogPrintf("LoadBlockIndexDB(): hashBestChain=%s height=%d date=%s progress=%f\n",
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(),
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()),
Checkpoints::GuessVerificationProgress(chainActive.Tip()));
return true;
}
CVerifyDB::CVerifyDB()
{
uiInterface.ShowProgress(_("Verifying blocks..."), 0);
}
CVerifyDB::~CVerifyDB()
{
uiInterface.ShowProgress("", 100);
}
bool CVerifyDB::VerifyDB(CCoinsView* coinsview, int nCheckLevel, int nCheckDepth)
{
LOCK(cs_main);
if (chainActive.Tip() == NULL || chainActive.Tip()->pprev == NULL)
return true;
// Verify blocks in the best chain
if (nCheckDepth <= 0)
nCheckDepth = 1000000000; // suffices until the year 19000
if (nCheckDepth > chainActive.Height())
nCheckDepth = chainActive.Height();
nCheckLevel = std::max(0, std::min(4, nCheckLevel));
LogPrintf("Verifying last %i blocks at level %i\n", nCheckDepth, nCheckLevel);
CCoinsViewCache coins(coinsview);
CBlockIndex* pindexState = chainActive.Tip();
CBlockIndex* pindexFailure = NULL;
int nGoodTransactions = 0;
CValidationState state;
for (CBlockIndex* pindex = chainActive.Tip(); pindex && pindex->pprev; pindex = pindex->pprev) {
boost::this_thread::interruption_point();
uiInterface.ShowProgress(_("Verifying blocks..."), std::max(1, std::min(99, (int)(((double)(chainActive.Height() - pindex->nHeight)) / (double)nCheckDepth * (nCheckLevel >= 4 ? 50 : 100)))));
if (pindex->nHeight < chainActive.Height() - nCheckDepth)
break;
CBlock block;
// check level 0: read from disk
if (!ReadBlockFromDisk(block, pindex))
return error("VerifyDB() : *** ReadBlockFromDisk failed at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString());
// check level 1: verify block validity
if (nCheckLevel >= 1 && !CheckBlock(block, state))
return error("VerifyDB() : *** found bad block at %d, hash=%s\n", pindex->nHeight, pindex->GetBlockHash().ToString());
// check level 2: verify undo validity
if (nCheckLevel >= 2 && pindex) {
CBlockUndo undo;
CDiskBlockPos pos = pindex->GetUndoPos();
if (!pos.IsNull()) {
if (!undo.ReadFromDisk(pos, pindex->pprev->GetBlockHash()))
return error("VerifyDB() : *** found bad undo data at %d, hash=%s\n", pindex->nHeight, pindex->GetBlockHash().ToString());
}
}
// check level 3: check for inconsistencies during memory-only disconnect of tip blocks
if (nCheckLevel >= 3 && pindex == pindexState && (coins.GetCacheSize() + pcoinsTip->GetCacheSize()) <= nCoinCacheSize) {
bool fClean = true;
if (!DisconnectBlock(block, state, pindex, coins, &fClean))
return error("VerifyDB() : *** irrecoverable inconsistency in block data at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString());
pindexState = pindex->pprev;
if (!fClean) {
nGoodTransactions = 0;
pindexFailure = pindex;
} else
nGoodTransactions += block.vtx.size();
}
if (ShutdownRequested())
return true;
}
if (pindexFailure)
return error("VerifyDB() : *** coin database inconsistencies found (last %i blocks, %i good transactions before that)\n", chainActive.Height() - pindexFailure->nHeight + 1, nGoodTransactions);
// check level 4: try reconnecting blocks
if (nCheckLevel >= 4) {
CBlockIndex* pindex = pindexState;
while (pindex != chainActive.Tip()) {
boost::this_thread::interruption_point();
uiInterface.ShowProgress(_("Verifying blocks..."), std::max(1, std::min(99, 100 - (int)(((double)(chainActive.Height() - pindex->nHeight)) / (double)nCheckDepth * 50))));
pindex = chainActive.Next(pindex);
CBlock block;
if (!ReadBlockFromDisk(block, pindex))
return error("VerifyDB() : *** ReadBlockFromDisk failed at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString());
if (!ConnectBlock(block, state, pindex, coins))
return error("VerifyDB() : *** found unconnectable block at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString());
}
}
LogPrintf("No coin database inconsistencies in last %i blocks (%i transactions)\n", chainActive.Height() - pindexState->nHeight, nGoodTransactions);
return true;
}
void UnloadBlockIndex()
{
mapBlockIndex.clear();
setBlockIndexCandidates.clear();
chainActive.SetTip(NULL);
pindexBestInvalid = NULL;
}
bool LoadBlockIndex()
{
// Load block index from databases
if (!fReindex && !LoadBlockIndexDB())
return false;
return true;
}
bool InitBlockIndex()
{
LOCK(cs_main);
// Check whether we're already initialized
if (chainActive.Genesis() != NULL)
return true;
// Use the provided setting for -txindex in the new database
fTxIndex = GetBoolArg("-txindex", true);
pblocktree->WriteFlag("txindex", fTxIndex);
LogPrintf("Initializing databases...\n");
// Only add the genesis block if not reindexing (in which case we reuse the one already on disk)
if (!fReindex) {
try {
CBlock& block = const_cast<CBlock&>(Params().GenesisBlock());
// Start new block file
unsigned int nBlockSize = ::GetSerializeSize(block, SER_DISK, CLIENT_VERSION);
CDiskBlockPos blockPos;
CValidationState state;
if (!FindBlockPos(state, blockPos, nBlockSize + 8, 0, block.GetBlockTime()))
return error("LoadBlockIndex() : FindBlockPos failed");
if (!WriteBlockToDisk(block, blockPos))
return error("LoadBlockIndex() : writing genesis block to disk failed");
CBlockIndex* pindex = AddToBlockIndex(block);
if (!ReceivedBlockTransactions(block, state, pindex, blockPos))
return error("LoadBlockIndex() : genesis block not accepted");
if (!ActivateBestChain(state, &block))
return error("LoadBlockIndex() : genesis block cannot be activated");
// Force a chainstate write so that when we VerifyDB in a moment, it doesnt check stale data
return FlushStateToDisk(state, FLUSH_STATE_ALWAYS);
} catch (std::runtime_error& e) {
return error("LoadBlockIndex() : failed to initialize block database: %s", e.what());
}
}
return true;
}
bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos* dbp)
{
// Map of disk positions for blocks with unknown parent (only used for reindex)
static std::multimap<uint256, CDiskBlockPos> mapBlocksUnknownParent;
int64_t nStart = GetTimeMillis();
int nLoaded = 0;
try {
// This takes over fileIn and calls fclose() on it in the CBufferedFile destructor
CBufferedFile blkdat(fileIn, 2 * MAX_BLOCK_SIZE, MAX_BLOCK_SIZE + 8, SER_DISK, CLIENT_VERSION);
uint64_t nRewind = blkdat.GetPos();
while (!blkdat.eof()) {
boost::this_thread::interruption_point();
blkdat.SetPos(nRewind);
nRewind++; // start one byte further next time, in case of failure
blkdat.SetLimit(); // remove former limit
unsigned int nSize = 0;
try {
// locate a header
unsigned char buf[MESSAGE_START_SIZE];
blkdat.FindByte(Params().MessageStart()[0]);
nRewind = blkdat.GetPos() + 1;
blkdat >> FLATDATA(buf);
if (memcmp(buf, Params().MessageStart(), MESSAGE_START_SIZE))
continue;
// read size
blkdat >> nSize;
if (nSize < 80 || nSize > MAX_BLOCK_SIZE)
continue;
} catch (const std::exception&) {
// no valid block header found; don't complain
break;
}
try {
// read block
uint64_t nBlockPos = blkdat.GetPos();
if (dbp)
dbp->nPos = nBlockPos;
blkdat.SetLimit(nBlockPos + nSize);
blkdat.SetPos(nBlockPos);
CBlock block;
blkdat >> block;
nRewind = blkdat.GetPos();
// detect out of order blocks, and store them for later
uint256 hash = block.GetHash();
if (hash != Params().HashGenesisBlock() && mapBlockIndex.find(block.hashPrevBlock) == mapBlockIndex.end()) {
LogPrint("reindex", "%s: Out of order block %s, parent %s not known\n", __func__, hash.ToString(),
block.hashPrevBlock.ToString());
if (dbp)
mapBlocksUnknownParent.insert(std::make_pair(block.hashPrevBlock, *dbp));
continue;
}
// process in case the block isn't known yet
if (mapBlockIndex.count(hash) == 0 || (mapBlockIndex[hash]->nStatus & BLOCK_HAVE_DATA) == 0) {
CValidationState state;
if (ProcessNewBlock(state, NULL, &block, dbp))
nLoaded++;
if (state.IsError())
break;
} else if (hash != Params().HashGenesisBlock() && mapBlockIndex[hash]->nHeight % 1000 == 0) {
LogPrintf("Block Import: already had block %s at height %d\n", hash.ToString(), mapBlockIndex[hash]->nHeight);
}
// Recursively process earlier encountered successors of this block
deque<uint256> queue;
queue.push_back(hash);
while (!queue.empty()) {
uint256 head = queue.front();
queue.pop_front();
std::pair<std::multimap<uint256, CDiskBlockPos>::iterator, std::multimap<uint256, CDiskBlockPos>::iterator> range = mapBlocksUnknownParent.equal_range(head);
while (range.first != range.second) {
std::multimap<uint256, CDiskBlockPos>::iterator it = range.first;
if (ReadBlockFromDisk(block, it->second)) {
LogPrintf("%s: Processing out of order child %s of %s\n", __func__, block.GetHash().ToString(),
head.ToString());
CValidationState dummy;
if (ProcessNewBlock(dummy, NULL, &block, &it->second)) {
nLoaded++;
queue.push_back(block.GetHash());
}
}
range.first++;
mapBlocksUnknownParent.erase(it);
}
}
} catch (std::exception& e) {
LogPrintf("%s : Deserialize or I/O error - %s", __func__, e.what());
}
}
} catch (std::runtime_error& e) {
AbortNode(std::string("System error: ") + e.what());
}
if (nLoaded > 0)
LogPrintf("Loaded %i blocks from external file in %dms\n", nLoaded, GetTimeMillis() - nStart);
return nLoaded > 0;
}
void static CheckBlockIndex()
{
if (!fCheckBlockIndex) {
return;
}
LOCK(cs_main);
// During a reindex, we read the genesis block and call CheckBlockIndex before ActivateBestChain,
// so we have the genesis block in mapBlockIndex but no active chain. (A few of the tests when
// iterating the block tree require that chainActive has been initialized.)
if (chainActive.Height() < 0) {
assert(mapBlockIndex.size() <= 1);
return;
}
// Build forward-pointing map of the entire block tree.
std::multimap<CBlockIndex*, CBlockIndex*> forward;
for (BlockMap::iterator it = mapBlockIndex.begin(); it != mapBlockIndex.end(); it++) {
forward.insert(std::make_pair(it->second->pprev, it->second));
}
assert(forward.size() == mapBlockIndex.size());
std::pair<std::multimap<CBlockIndex*, CBlockIndex*>::iterator, std::multimap<CBlockIndex*, CBlockIndex*>::iterator> rangeGenesis = forward.equal_range(NULL);
CBlockIndex* pindex = rangeGenesis.first->second;
rangeGenesis.first++;
assert(rangeGenesis.first == rangeGenesis.second); // There is only one index entry with parent NULL.
// Iterate over the entire block tree, using depth-first search.
// Along the way, remember whether there are blocks on the path from genesis
// block being explored which are the first to have certain properties.
size_t nNodes = 0;
int nHeight = 0;
CBlockIndex* pindexFirstInvalid = NULL; // Oldest ancestor of pindex which is invalid.
CBlockIndex* pindexFirstMissing = NULL; // Oldest ancestor of pindex which does not have BLOCK_HAVE_DATA.
CBlockIndex* pindexFirstNotTreeValid = NULL; // Oldest ancestor of pindex which does not have BLOCK_VALID_TREE (regardless of being valid or not).
CBlockIndex* pindexFirstNotChainValid = NULL; // Oldest ancestor of pindex which does not have BLOCK_VALID_CHAIN (regardless of being valid or not).
CBlockIndex* pindexFirstNotScriptsValid = NULL; // Oldest ancestor of pindex which does not have BLOCK_VALID_SCRIPTS (regardless of being valid or not).
while (pindex != NULL) {
nNodes++;
if (pindexFirstInvalid == NULL && pindex->nStatus & BLOCK_FAILED_VALID) pindexFirstInvalid = pindex;
if (pindexFirstMissing == NULL && !(pindex->nStatus & BLOCK_HAVE_DATA)) pindexFirstMissing = pindex;
if (pindex->pprev != NULL && pindexFirstNotTreeValid == NULL && (pindex->nStatus & BLOCK_VALID_MASK) < BLOCK_VALID_TREE) pindexFirstNotTreeValid = pindex;
if (pindex->pprev != NULL && pindexFirstNotChainValid == NULL && (pindex->nStatus & BLOCK_VALID_MASK) < BLOCK_VALID_CHAIN) pindexFirstNotChainValid = pindex;
if (pindex->pprev != NULL && pindexFirstNotScriptsValid == NULL && (pindex->nStatus & BLOCK_VALID_MASK) < BLOCK_VALID_SCRIPTS) pindexFirstNotScriptsValid = pindex;
// Begin: actual consistency checks.
if (pindex->pprev == NULL) {
// Genesis block checks.
assert(pindex->GetBlockHash() == Params().HashGenesisBlock()); // Genesis block's hash must match.
assert(pindex == chainActive.Genesis()); // The current active chain's genesis block must be this block.
}
// HAVE_DATA is equivalent to VALID_TRANSACTIONS and equivalent to nTx > 0 (we stored the number of transactions in the block)
assert(!(pindex->nStatus & BLOCK_HAVE_DATA) == (pindex->nTx == 0));
assert(((pindex->nStatus & BLOCK_VALID_MASK) >= BLOCK_VALID_TRANSACTIONS) == (pindex->nTx > 0));
if (pindex->nChainTx == 0) assert(pindex->nSequenceId == 0); // nSequenceId can't be set for blocks that aren't linked
// All parents having data is equivalent to all parents being VALID_TRANSACTIONS, which is equivalent to nChainTx being set.
assert((pindexFirstMissing != NULL) == (pindex->nChainTx == 0)); // nChainTx == 0 is used to signal that all parent block's transaction data is available.
assert(pindex->nHeight == nHeight); // nHeight must be consistent.
assert(pindex->pprev == NULL || pindex->nChainWork >= pindex->pprev->nChainWork); // For every block except the genesis block, the chainwork must be larger than the parent's.
assert(nHeight < 2 || (pindex->pskip && (pindex->pskip->nHeight < nHeight))); // The pskip pointer must point back for all but the first 2 blocks.
assert(pindexFirstNotTreeValid == NULL); // All mapBlockIndex entries must at least be TREE valid
if ((pindex->nStatus & BLOCK_VALID_MASK) >= BLOCK_VALID_TREE) assert(pindexFirstNotTreeValid == NULL); // TREE valid implies all parents are TREE valid
if ((pindex->nStatus & BLOCK_VALID_MASK) >= BLOCK_VALID_CHAIN) assert(pindexFirstNotChainValid == NULL); // CHAIN valid implies all parents are CHAIN valid
if ((pindex->nStatus & BLOCK_VALID_MASK) >= BLOCK_VALID_SCRIPTS) assert(pindexFirstNotScriptsValid == NULL); // SCRIPTS valid implies all parents are SCRIPTS valid
if (pindexFirstInvalid == NULL) {
// Checks for not-invalid blocks.
assert((pindex->nStatus & BLOCK_FAILED_MASK) == 0); // The failed mask cannot be set for blocks without invalid parents.
}
if (!CBlockIndexWorkComparator()(pindex, chainActive.Tip()) && pindexFirstMissing == NULL) {
if (pindexFirstInvalid == NULL) { // If this block sorts at least as good as the current tip and is valid, it must be in setBlockIndexCandidates.
assert(setBlockIndexCandidates.count(pindex));
}
} else { // If this block sorts worse than the current tip, it cannot be in setBlockIndexCandidates.
assert(setBlockIndexCandidates.count(pindex) == 0);
}
// Check whether this block is in mapBlocksUnlinked.
std::pair<std::multimap<CBlockIndex*, CBlockIndex*>::iterator, std::multimap<CBlockIndex*, CBlockIndex*>::iterator> rangeUnlinked = mapBlocksUnlinked.equal_range(pindex->pprev);
bool foundInUnlinked = false;
while (rangeUnlinked.first != rangeUnlinked.second) {
assert(rangeUnlinked.first->first == pindex->pprev);
if (rangeUnlinked.first->second == pindex) {
foundInUnlinked = true;
break;
}
rangeUnlinked.first++;
}
if (pindex->pprev && pindex->nStatus & BLOCK_HAVE_DATA && pindexFirstMissing != NULL) {
if (pindexFirstInvalid == NULL) { // If this block has block data available, some parent doesn't, and has no invalid parents, it must be in mapBlocksUnlinked.
assert(foundInUnlinked);
}
} else { // If this block does not have block data available, or all parents do, it cannot be in mapBlocksUnlinked.
assert(!foundInUnlinked);
}
// assert(pindex->GetBlockHash() == pindex->GetBlockHeader().GetHash()); // Perhaps too slow
// End: actual consistency checks.
// Try descending into the first subnode.
std::pair<std::multimap<CBlockIndex*, CBlockIndex*>::iterator, std::multimap<CBlockIndex*, CBlockIndex*>::iterator> range = forward.equal_range(pindex);
if (range.first != range.second) {
// A subnode was found.
pindex = range.first->second;
nHeight++;
continue;
}
// This is a leaf node.
// Move upwards until we reach a node of which we have not yet visited the last child.
while (pindex) {
// We are going to either move to a parent or a sibling of pindex.
// If pindex was the first with a certain property, unset the corresponding variable.
if (pindex == pindexFirstInvalid) pindexFirstInvalid = NULL;
if (pindex == pindexFirstMissing) pindexFirstMissing = NULL;
if (pindex == pindexFirstNotTreeValid) pindexFirstNotTreeValid = NULL;
if (pindex == pindexFirstNotChainValid) pindexFirstNotChainValid = NULL;
if (pindex == pindexFirstNotScriptsValid) pindexFirstNotScriptsValid = NULL;
// Find our parent.
CBlockIndex* pindexPar = pindex->pprev;
// Find which child we just visited.
std::pair<std::multimap<CBlockIndex*, CBlockIndex*>::iterator, std::multimap<CBlockIndex*, CBlockIndex*>::iterator> rangePar = forward.equal_range(pindexPar);
while (rangePar.first->second != pindex) {
assert(rangePar.first != rangePar.second); // Our parent must have at least the node we're coming from as child.
rangePar.first++;
}
// Proceed to the next one.
rangePar.first++;
if (rangePar.first != rangePar.second) {
// Move to the sibling.
pindex = rangePar.first->second;
break;
} else {
// Move up further.
pindex = pindexPar;
nHeight--;
continue;
}
}
}
// Check that we actually traversed the entire map.
assert(nNodes == forward.size());
}
//////////////////////////////////////////////////////////////////////////////
//
// CAlert
//
string GetWarnings(string strFor)
{
int nPriority = 0;
string strStatusBar;
string strRPC;
/////if (!CLIENT_VERSION_IS_RELEASE)
///////strStatusBar = _("This is a pre-release test build - use at your own risk - do not use for staking or merchant applications!");
if (GetBoolArg("-testsafemode", false))
strStatusBar = strRPC = "testsafemode enabled";
// Misc warnings like out of disk space and clock is wrong
if (strMiscWarning != "") {
nPriority = 1000;
strStatusBar = strMiscWarning;
}
if (fLargeWorkForkFound) {
nPriority = 2000;
strStatusBar = strRPC = _("Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.");
} else if (fLargeWorkInvalidChainFound) {
nPriority = 2000;
strStatusBar = strRPC = _("Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade.");
}
// Alerts
{
LOCK(cs_mapAlerts);
BOOST_FOREACH (PAIRTYPE(const uint256, CAlert) & item, mapAlerts) {
const CAlert& alert = item.second;
if (alert.AppliesToMe() && alert.nPriority > nPriority) {
nPriority = alert.nPriority;
strStatusBar = alert.strStatusBar;
}
}
}
if (strFor == "statusbar")
return strStatusBar;
else if (strFor == "rpc")
return strRPC;
assert(!"GetWarnings() : invalid parameter");
return "error";
}
//////////////////////////////////////////////////////////////////////////////
//
// Messages
//
bool static AlreadyHave(const CInv& inv)
{
switch (inv.type) {
case MSG_TX: {
bool txInMap = false;
txInMap = mempool.exists(inv.hash);
return txInMap || mapOrphanTransactions.count(inv.hash) ||
pcoinsTip->HaveCoins(inv.hash);
}
case MSG_DSTX:
return mapObfuscationBroadcastTxes.count(inv.hash);
case MSG_BLOCK:
return mapBlockIndex.count(inv.hash);
case MSG_TXLOCK_REQUEST:
return mapTxLockReq.count(inv.hash) ||
mapTxLockReqRejected.count(inv.hash);
case MSG_TXLOCK_VOTE:
return mapTxLockVote.count(inv.hash);
case MSG_SPORK:
return mapSporks.count(inv.hash);
case MSG_MASTERNODE_WINNER:
if (masternodePayments.mapMasternodePayeeVotes.count(inv.hash)) {
masternodeSync.AddedMasternodeWinner(inv.hash);
return true;
}
return false;
case MSG_BUDGET_VOTE:
if (budget.mapSeenMasternodeBudgetVotes.count(inv.hash)) {
masternodeSync.AddedBudgetItem(inv.hash);
return true;
}
return false;
case MSG_BUDGET_PROPOSAL:
if (budget.mapSeenMasternodeBudgetProposals.count(inv.hash)) {
masternodeSync.AddedBudgetItem(inv.hash);
return true;
}
return false;
case MSG_BUDGET_FINALIZED_VOTE:
if (budget.mapSeenFinalizedBudgetVotes.count(inv.hash)) {
masternodeSync.AddedBudgetItem(inv.hash);
return true;
}
return false;
case MSG_BUDGET_FINALIZED:
if (budget.mapSeenFinalizedBudgets.count(inv.hash)) {
masternodeSync.AddedBudgetItem(inv.hash);
return true;
}
return false;
case MSG_MASTERNODE_ANNOUNCE:
if (mnodeman.mapSeenMasternodeBroadcast.count(inv.hash)) {
masternodeSync.AddedMasternodeList(inv.hash);
return true;
}
return false;
case MSG_MASTERNODE_PING:
return mnodeman.mapSeenMasternodePing.count(inv.hash);
}
// Don't know what it is, just say we already got one
return true;
}
void static ProcessGetData(CNode* pfrom)
{
std::deque<CInv>::iterator it = pfrom->vRecvGetData.begin();
vector<CInv> vNotFound;
LOCK(cs_main);
while (it != pfrom->vRecvGetData.end()) {
// Don't bother if send buffer is too full to respond anyway
if (pfrom->nSendSize >= SendBufferSize())
break;
const CInv& inv = *it;
{
boost::this_thread::interruption_point();
it++;
if (inv.type == MSG_BLOCK || inv.type == MSG_FILTERED_BLOCK) {
bool send = false;
BlockMap::iterator mi = mapBlockIndex.find(inv.hash);
if (mi != mapBlockIndex.end()) {
if (chainActive.Contains(mi->second)) {
send = true;
} else {
// To prevent fingerprinting attacks, only send blocks outside of the active
// chain if they are valid, and no more than a max reorg depth than the best header
// chain we know about.
send = mi->second->IsValid(BLOCK_VALID_SCRIPTS) && (pindexBestHeader != NULL) &&
(chainActive.Height() - mi->second->nHeight < Params().MaxReorganizationDepth());
if (!send) {
LogPrintf("ProcessGetData(): ignoring request from peer=%i for old block that isn't in the main chain\n", pfrom->GetId());
}
}
}
if (send) {
// Send block from disk
CBlock block;
if (!ReadBlockFromDisk(block, (*mi).second))
assert(!"cannot load block from disk");
if (inv.type == MSG_BLOCK)
pfrom->PushMessage("block", block);
else // MSG_FILTERED_BLOCK)
{
LOCK(pfrom->cs_filter);
if (pfrom->pfilter) {
CMerkleBlock merkleBlock(block, *pfrom->pfilter);
pfrom->PushMessage("merkleblock", merkleBlock);
// CMerkleBlock just contains hashes, so also push any transactions in the block the client did not see
// This avoids hurting performance by pointlessly requiring a round-trip
// Note that there is currently no way for a node to request any single transactions we didnt send here -
// they must either disconnect and retry or request the full block.
// Thus, the protocol spec specified allows for us to provide duplicate txn here,
// however we MUST always provide at least what the remote peer needs
typedef std::pair<unsigned int, uint256> PairType;
BOOST_FOREACH (PairType& pair, merkleBlock.vMatchedTxn)
if (!pfrom->setInventoryKnown.count(CInv(MSG_TX, pair.second)))
pfrom->PushMessage("tx", block.vtx[pair.first]);
}
// else
// no response
}
// Trigger them to send a getblocks request for the next batch of inventory
if (inv.hash == pfrom->hashContinue) {
// Bypass PushInventory, this must send even if redundant,
// and we want it right after the last block so they don't
// wait for other stuff first.
vector<CInv> vInv;
vInv.push_back(CInv(MSG_BLOCK, chainActive.Tip()->GetBlockHash()));
pfrom->PushMessage("inv", vInv);
pfrom->hashContinue = 0;
}
}
} else if (inv.IsKnownType()) {
// Send stream from relay memory
bool pushed = false;
{
LOCK(cs_mapRelay);
map<CInv, CDataStream>::iterator mi = mapRelay.find(inv);
if (mi != mapRelay.end()) {
pfrom->PushMessage(inv.GetCommand(), (*mi).second);
pushed = true;
}
}
if (!pushed && inv.type == MSG_TX) {
CTransaction tx;
if (mempool.lookup(inv.hash, tx)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << tx;
pfrom->PushMessage("tx", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_TXLOCK_VOTE) {
if (mapTxLockVote.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mapTxLockVote[inv.hash];
pfrom->PushMessage("txlvote", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_TXLOCK_REQUEST) {
if (mapTxLockReq.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mapTxLockReq[inv.hash];
pfrom->PushMessage("ix", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_SPORK) {
if (mapSporks.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mapSporks[inv.hash];
pfrom->PushMessage("spork", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_MASTERNODE_WINNER) {
if (masternodePayments.mapMasternodePayeeVotes.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << masternodePayments.mapMasternodePayeeVotes[inv.hash];
pfrom->PushMessage("mnw", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_BUDGET_VOTE) {
if (budget.mapSeenMasternodeBudgetVotes.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << budget.mapSeenMasternodeBudgetVotes[inv.hash];
pfrom->PushMessage("mvote", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_BUDGET_PROPOSAL) {
if (budget.mapSeenMasternodeBudgetProposals.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << budget.mapSeenMasternodeBudgetProposals[inv.hash];
pfrom->PushMessage("mprop", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_BUDGET_FINALIZED_VOTE) {
if (budget.mapSeenFinalizedBudgetVotes.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << budget.mapSeenFinalizedBudgetVotes[inv.hash];
pfrom->PushMessage("fbvote", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_BUDGET_FINALIZED) {
if (budget.mapSeenFinalizedBudgets.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << budget.mapSeenFinalizedBudgets[inv.hash];
pfrom->PushMessage("fbs", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_MASTERNODE_ANNOUNCE) {
if (mnodeman.mapSeenMasternodeBroadcast.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mnodeman.mapSeenMasternodeBroadcast[inv.hash];
pfrom->PushMessage("mnb", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_MASTERNODE_PING) {
if (mnodeman.mapSeenMasternodePing.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mnodeman.mapSeenMasternodePing[inv.hash];
pfrom->PushMessage("mnp", ss);
pushed = true;
}
}
if (!pushed && inv.type == MSG_DSTX) {
if (mapObfuscationBroadcastTxes.count(inv.hash)) {
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
ss.reserve(1000);
ss << mapObfuscationBroadcastTxes[inv.hash].tx << mapObfuscationBroadcastTxes[inv.hash].vin << mapObfuscationBroadcastTxes[inv.hash].vchSig << mapObfuscationBroadcastTxes[inv.hash].sigTime;
pfrom->PushMessage("dstx", ss);
pushed = true;
}
}
if (!pushed) {
vNotFound.push_back(inv);
}
}
// Track requests for our stuff.
g_signals.Inventory(inv.hash);
if (inv.type == MSG_BLOCK || inv.type == MSG_FILTERED_BLOCK)
break;
}
}
pfrom->vRecvGetData.erase(pfrom->vRecvGetData.begin(), it);
if (!vNotFound.empty()) {
// Let the peer know that we didn't find what it asked for, so it doesn't
// have to wait around forever. Currently only SPV clients actually care
// about this message: it's needed when they are recursively walking the
// dependencies of relevant unconfirmed transactions. SPV clients want to
// do that because they want to know about (and store and rebroadcast and
// risk analyze) the dependencies of transactions relevant to them, without
// having to download the entire memory pool.
pfrom->PushMessage("notfound", vNotFound);
}
}
bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, int64_t nTimeReceived)
{
RandAddSeedPerfmon();
if (fDebug)
LogPrintf("received: %s (%u bytes) peer=%d\n", SanitizeString(strCommand), vRecv.size(), pfrom->id);
if (mapArgs.count("-dropmessagestest") && GetRand(atoi(mapArgs["-dropmessagestest"])) == 0) {
LogPrintf("dropmessagestest DROPPING RECV MESSAGE\n");
return true;
}
if (strCommand == "version") {
// Each connection can only send one version message
if (pfrom->nVersion != 0) {
pfrom->PushMessage("reject", strCommand, REJECT_DUPLICATE, string("Duplicate version message"));
Misbehaving(pfrom->GetId(), 1);
return false;
}
int64_t nTime;
CAddress addrMe;
CAddress addrFrom;
uint64_t nNonce = 1;
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;
if (pfrom->DisconnectOldProtocol(ActiveProtocol(), strCommand))
return false;
if (pfrom->nVersion == 10300)
pfrom->nVersion = 300;
if (!vRecv.empty())
vRecv >> addrFrom >> nNonce;
if (!vRecv.empty()) {
vRecv >> LIMITED_STRING(pfrom->strSubVer, 256);
pfrom->cleanSubVer = SanitizeString(pfrom->strSubVer);
}
if (!vRecv.empty())
vRecv >> pfrom->nStartingHeight;
if (!vRecv.empty())
vRecv >> pfrom->fRelayTxes; // set to true after we get the first filter* message
else
pfrom->fRelayTxes = true;
// Disconnect if we connected to ourself
if (nNonce == nLocalHostNonce && nNonce > 1) {
LogPrintf("connected to self at %s, disconnecting\n", pfrom->addr.ToString());
pfrom->fDisconnect = true;
return true;
}
pfrom->addrLocal = addrMe;
if (pfrom->fInbound && addrMe.IsRoutable()) {
SeenLocal(addrMe);
}
// Be shy and don't send version until we hear
if (pfrom->fInbound)
pfrom->PushVersion();
pfrom->fClient = !(pfrom->nServices & NODE_NETWORK);
// Potentially mark this peer as a preferred download peer.
UpdatePreferredDownload(pfrom, State(pfrom->GetId()));
// Change version
pfrom->PushMessage("verack");
pfrom->ssSend.SetVersion(min(pfrom->nVersion, PROTOCOL_VERSION));
if (!pfrom->fInbound) {
// Advertise our address
if (fListen && !IsInitialBlockDownload()) {
CAddress addr = GetLocalAddress(&pfrom->addr);
if (addr.IsRoutable()) {
pfrom->PushAddress(addr);
} else if (IsPeerAddrLocalGood(pfrom)) {
addr.SetIP(pfrom->addrLocal);
pfrom->PushAddress(addr);
}
}
// Get recent addresses
if (pfrom->fOneShot || pfrom->nVersion >= CADDR_TIME_VERSION || addrman.size() < 1000) {
pfrom->PushMessage("getaddr");
pfrom->fGetAddr = true;
}
addrman.Good(pfrom->addr);
} else {
if (((CNetAddr)pfrom->addr) == (CNetAddr)addrFrom) {
addrman.Add(addrFrom, addrFrom);
addrman.Good(addrFrom);
}
}
// Relay alerts
{
LOCK(cs_mapAlerts);
BOOST_FOREACH (PAIRTYPE(const uint256, CAlert) & item, mapAlerts)
item.second.RelayTo(pfrom);
}
pfrom->fSuccessfullyConnected = true;
string remoteAddr;
if (fLogIPs)
remoteAddr = ", peeraddr=" + pfrom->addr.ToString();
LogPrintf("receive version message: %s: version %d, blocks=%d, us=%s, peer=%d%s\n",
pfrom->cleanSubVer, pfrom->nVersion,
pfrom->nStartingHeight, addrMe.ToString(), pfrom->id,
remoteAddr);
AddTimeData(pfrom->addr, nTime);
}
else if (pfrom->nVersion == 0) {
// Must have a version message before anything else
Misbehaving(pfrom->GetId(), 1);
return false;
}
else if (strCommand == "verack") {
pfrom->SetRecvVersion(min(pfrom->nVersion, PROTOCOL_VERSION));
// Mark this node as currently connected, so we update its timestamp later.
if (pfrom->fNetworkNode) {
LOCK(cs_main);
State(pfrom->GetId())->fCurrentlyConnected = true;
}
}
else if (strCommand == "addr") {
vector<CAddress> vAddr;
vRecv >> vAddr;
// Don't want addr from older versions unless seeding
if (pfrom->nVersion < CADDR_TIME_VERSION && addrman.size() > 1000)
return true;
if (vAddr.size() > 1000) {
Misbehaving(pfrom->GetId(), 20);
return error("message addr size() = %u", vAddr.size());
}
// Store the new addresses
vector<CAddress> vAddrOk;
int64_t nNow = GetAdjustedTime();
int64_t nSince = nNow - 10 * 60;
BOOST_FOREACH (CAddress& addr, vAddr) {
boost::this_thread::interruption_point();
if (addr.nTime <= 100000000 || addr.nTime > nNow + 10 * 60)
addr.nTime = nNow - 5 * 24 * 60 * 60;
pfrom->AddAddressKnown(addr);
bool fReachable = IsReachable(addr);
if (addr.nTime > nSince && !pfrom->fGetAddr && vAddr.size() <= 10 && addr.IsRoutable()) {
// Relay to a limited number of other nodes
{
LOCK(cs_vNodes);
// Use deterministic randomness to send to the same nodes for 24 hours
// at a time so the setAddrKnowns of the chosen nodes prevent repeats
static uint256 hashSalt;
if (hashSalt == 0)
hashSalt = GetRandHash();
uint64_t hashAddr = addr.GetHash();
uint256 hashRand = hashSalt ^ (hashAddr << 32) ^ ((GetTime() + hashAddr) / (24 * 60 * 60));
hashRand = Hash(BEGIN(hashRand), END(hashRand));
multimap<uint256, CNode*> mapMix;
BOOST_FOREACH (CNode* pnode, vNodes) {
if (pnode->nVersion < CADDR_TIME_VERSION)
continue;
unsigned int nPointer;
memcpy(&nPointer, &pnode, sizeof(nPointer));
uint256 hashKey = hashRand ^ nPointer;
hashKey = Hash(BEGIN(hashKey), END(hashKey));
mapMix.insert(make_pair(hashKey, pnode));
}
int nRelayNodes = fReachable ? 2 : 1; // limited relaying of addresses outside our network(s)
for (multimap<uint256, CNode*>::iterator mi = mapMix.begin(); mi != mapMix.end() && nRelayNodes-- > 0; ++mi)
((*mi).second)->PushAddress(addr);
}
}
// Do not store addresses outside our network
if (fReachable)
vAddrOk.push_back(addr);
}
addrman.Add(vAddrOk, pfrom->addr, 2 * 60 * 60);
if (vAddr.size() < 1000)
pfrom->fGetAddr = false;
if (pfrom->fOneShot)
pfrom->fDisconnect = true;
}
else if (strCommand == "inv") {
vector<CInv> vInv;
vRecv >> vInv;
if (vInv.size() > MAX_INV_SZ) {
Misbehaving(pfrom->GetId(), 20);
return error("message inv size() = %u", vInv.size());
}
LOCK(cs_main);
std::vector<CInv> vToFetch;
for (unsigned int nInv = 0; nInv < vInv.size(); nInv++) {
const CInv& inv = vInv[nInv];
boost::this_thread::interruption_point();
pfrom->AddInventoryKnown(inv);
bool fAlreadyHave = AlreadyHave(inv);
LogPrint("net", "got inv: %s %s peer=%d\n", inv.ToString(), fAlreadyHave ? "have" : "new", pfrom->id);
if (!fAlreadyHave && !fImporting && !fReindex && inv.type != MSG_BLOCK)
pfrom->AskFor(inv);
if (inv.type == MSG_BLOCK) {
UpdateBlockAvailability(pfrom->GetId(), inv.hash);
if (!fAlreadyHave && !fImporting && !fReindex && !mapBlocksInFlight.count(inv.hash)) {
// Add this to the list of blocks to request
vToFetch.push_back(inv);
LogPrint("net", "getblocks (%d) %s to peer=%d\n", pindexBestHeader->nHeight, inv.hash.ToString(), pfrom->id);
}
}
// Track requests for our stuff
g_signals.Inventory(inv.hash);
if (pfrom->nSendSize > (SendBufferSize() * 2)) {
Misbehaving(pfrom->GetId(), 50);
return error("send buffer size() = %u", pfrom->nSendSize);
}
}
if (!vToFetch.empty())
pfrom->PushMessage("getdata", vToFetch);
}
else if (strCommand == "getdata") {
vector<CInv> vInv;
vRecv >> vInv;
if (vInv.size() > MAX_INV_SZ) {
Misbehaving(pfrom->GetId(), 20);
return error("message getdata size() = %u", vInv.size());
}
if (fDebug || (vInv.size() != 1))
LogPrint("net", "received getdata (%u invsz) peer=%d\n", vInv.size(), pfrom->id);
if ((fDebug && vInv.size() > 0) || (vInv.size() == 1))
LogPrint("net", "received getdata for: %s peer=%d\n", vInv[0].ToString(), pfrom->id);
pfrom->vRecvGetData.insert(pfrom->vRecvGetData.end(), vInv.begin(), vInv.end());
ProcessGetData(pfrom);
}
else if (strCommand == "getblocks" || strCommand == "getheaders") {
CBlockLocator locator;
uint256 hashStop;
vRecv >> locator >> hashStop;
LOCK(cs_main);
// Find the last block the caller has in the main chain
CBlockIndex* pindex = FindForkInGlobalIndex(chainActive, locator);
// Send the rest of the chain
if (pindex)
pindex = chainActive.Next(pindex);
int nLimit = 500;
LogPrintf("getblocks %d to %s limit %d from peer=%d\n", (pindex ? pindex->nHeight : -1), hashStop == uint256(0) ? "end" : hashStop.ToString(), nLimit, pfrom->id);
for (; pindex; pindex = chainActive.Next(pindex)) {
if (pindex->GetBlockHash() == hashStop) {
LogPrint("net", " getblocks stopping at %d %s\n", pindex->nHeight, pindex->GetBlockHash().ToString());
break;
}
pfrom->PushInventory(CInv(MSG_BLOCK, pindex->GetBlockHash()));
if (--nLimit <= 0) {
// When this block is requested, we'll send an inv that'll make them
// getblocks the next batch of inventory.
LogPrint("net", " getblocks stopping at limit %d %s\n", pindex->nHeight, pindex->GetBlockHash().ToString());
pfrom->hashContinue = pindex->GetBlockHash();
break;
}
}
}
else if (strCommand == "headers" && Params().HeadersFirstSyncingActive()) {
CBlockLocator locator;
uint256 hashStop;
vRecv >> locator >> hashStop;
LOCK(cs_main);
if (IsInitialBlockDownload())
return true;
CBlockIndex* pindex = NULL;
if (locator.IsNull()) {
// If locator is null, return the hashStop block
BlockMap::iterator mi = mapBlockIndex.find(hashStop);
if (mi == mapBlockIndex.end())
return true;
pindex = (*mi).second;
} else {
// Find the last block the caller has in the main chain
pindex = FindForkInGlobalIndex(chainActive, locator);
if (pindex)
pindex = chainActive.Next(pindex);
}
// we must use CBlocks, as CBlockHeaders won't include the 0x00 nTx count at the end
vector<CBlock> vHeaders;
int nLimit = MAX_HEADERS_RESULTS;
if (fDebug)
LogPrintf("getheaders %d to %s from peer=%d\n", (pindex ? pindex->nHeight : -1), hashStop.ToString(), pfrom->id);
for (; pindex; pindex = chainActive.Next(pindex)) {
vHeaders.push_back(pindex->GetBlockHeader());
if (--nLimit <= 0 || pindex->GetBlockHash() == hashStop)
break;
}
pfrom->PushMessage("headers", vHeaders);
}
else if (strCommand == "tx" || strCommand == "dstx") {
vector<uint256> vWorkQueue;
vector<uint256> vEraseQueue;
CTransaction tx;
//masternode signed transaction
bool ignoreFees = false;
CTxIn vin;
vector<unsigned char> vchSig;
int64_t sigTime;
if (strCommand == "tx") {
vRecv >> tx;
} else if (strCommand == "dstx") {
//these allow masternodes to publish a limited amount of free transactions
vRecv >> tx >> vin >> vchSig >> sigTime;
CMasternode* pmn = mnodeman.Find(vin);
if (pmn != NULL) {
if (!pmn->allowFreeTx) {
//multiple peers can send us a valid masternode transaction
if (fDebug) LogPrintf("dstx: Masternode sending too many transactions %s\n", tx.GetHash().ToString());
return true;
}
std::string strMessage = tx.GetHash().ToString() + boost::lexical_cast<std::string>(sigTime);
std::string errorMessage = "";
if (!obfuScationSigner.VerifyMessage(pmn->pubKeyMasternode, vchSig, strMessage, errorMessage)) {
LogPrintf("dstx: Got bad masternode address signature %s \n", vin.ToString());
//pfrom->Misbehaving(20);
return false;
}
LogPrintf("dstx: Got Masternode transaction %s\n", tx.GetHash().ToString());
ignoreFees = true;
pmn->allowFreeTx = false;
if (!mapObfuscationBroadcastTxes.count(tx.GetHash())) {
CObfuscationBroadcastTx dstx;
dstx.tx = tx;
dstx.vin = vin;
dstx.vchSig = vchSig;
dstx.sigTime = sigTime;
mapObfuscationBroadcastTxes.insert(make_pair(tx.GetHash(), dstx));
}
}
}
CInv inv(MSG_TX, tx.GetHash());
pfrom->AddInventoryKnown(inv);
LOCK(cs_main);
bool fMissingInputs = false;
CValidationState state;
mapAlreadyAskedFor.erase(inv);
if (AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, false, ignoreFees)) {
mempool.check(pcoinsTip);
RelayTransaction(tx);
vWorkQueue.push_back(inv.hash);
LogPrint("mempool", "AcceptToMemoryPool: peer=%d %s : accepted %s (poolsz %u)\n",
pfrom->id, pfrom->cleanSubVer,
tx.GetHash().ToString(),
mempool.mapTx.size());
// Recursively process any orphan transactions that depended on this one
set<NodeId> setMisbehaving;
for (unsigned int i = 0; i < vWorkQueue.size(); i++) {
map<uint256, set<uint256> >::iterator itByPrev = mapOrphanTransactionsByPrev.find(vWorkQueue[i]);
if (itByPrev == mapOrphanTransactionsByPrev.end())
continue;
for (set<uint256>::iterator mi = itByPrev->second.begin();
mi != itByPrev->second.end();
++mi) {
const uint256& orphanHash = *mi;
const CTransaction& orphanTx = mapOrphanTransactions[orphanHash].tx;
NodeId fromPeer = mapOrphanTransactions[orphanHash].fromPeer;
bool fMissingInputs2 = false;
// Use a dummy CValidationState so someone can't setup nodes to counter-DoS based on orphan
// resolution (that is, feeding people an invalid transaction based on LegitTxX in order to get
// anyone relaying LegitTxX banned)
CValidationState stateDummy;
if (setMisbehaving.count(fromPeer))
continue;
if (AcceptToMemoryPool(mempool, stateDummy, orphanTx, true, &fMissingInputs2)) {
LogPrint("mempool", " accepted orphan tx %s\n", orphanHash.ToString());
RelayTransaction(orphanTx);
vWorkQueue.push_back(orphanHash);
vEraseQueue.push_back(orphanHash);
} else if (!fMissingInputs2) {
int nDos = 0;
if (stateDummy.IsInvalid(nDos) && nDos > 0) {
// Punish peer that gave us an invalid orphan tx
Misbehaving(fromPeer, nDos);
setMisbehaving.insert(fromPeer);
LogPrint("mempool", " invalid orphan tx %s\n", orphanHash.ToString());
}
// Has inputs but not accepted to mempool
// Probably non-standard or insufficient fee/priority
LogPrint("mempool", " removed orphan tx %s\n", orphanHash.ToString());
vEraseQueue.push_back(orphanHash);
}
mempool.check(pcoinsTip);
}
}
BOOST_FOREACH (uint256 hash, vEraseQueue)
EraseOrphanTx(hash);
} else if (fMissingInputs) {
AddOrphanTx(tx, pfrom->GetId());
// DoS prevention: do not allow mapOrphanTransactions to grow unbounded
unsigned int nMaxOrphanTx = (unsigned int)std::max((int64_t)0, GetArg("-maxorphantx", DEFAULT_MAX_ORPHAN_TRANSACTIONS));
unsigned int nEvicted = LimitOrphanTxSize(nMaxOrphanTx);
if (nEvicted > 0)
LogPrint("mempool", "mapOrphan overflow, removed %u tx\n", nEvicted);
} else if (pfrom->fWhitelisted) {
// Always relay transactions received from whitelisted peers, even
// if they are already in the mempool (allowing the node to function
// as a gateway for nodes hidden behind it).
RelayTransaction(tx);
}
if (strCommand == "dstx") {
CInv inv(MSG_DSTX, tx.GetHash());
RelayInv(inv);
}
int nDoS = 0;
if (state.IsInvalid(nDoS)) {
LogPrint("mempool", "%s from peer=%d %s was not accepted into the memory pool: %s\n", tx.GetHash().ToString(),
pfrom->id, pfrom->cleanSubVer,
state.GetRejectReason());
pfrom->PushMessage("reject", strCommand, state.GetRejectCode(),
state.GetRejectReason().substr(0, MAX_REJECT_MESSAGE_LENGTH), inv.hash);
if (nDoS > 0)
Misbehaving(pfrom->GetId(), nDoS);
}
}
else if (strCommand == "headers" && Params().HeadersFirstSyncingActive() && !fImporting && !fReindex) // Ignore headers received while importing
{
std::vector<CBlockHeader> headers;
// Bypass the normal CBlock deserialization, as we don't want to risk deserializing 2000 full blocks.
unsigned int nCount = ReadCompactSize(vRecv);
if (nCount > MAX_HEADERS_RESULTS) {
Misbehaving(pfrom->GetId(), 20);
return error("headers message size = %u", nCount);
}
headers.resize(nCount);
for (unsigned int n = 0; n < nCount; n++) {
vRecv >> headers[n];
ReadCompactSize(vRecv); // ignore tx count; assume it is 0.
}
LOCK(cs_main);
if (nCount == 0) {
// Nothing interesting. Stop asking this peers for more headers.
return true;
}
CBlockIndex* pindexLast = NULL;
BOOST_FOREACH (const CBlockHeader& header, headers) {
CValidationState state;
if (pindexLast != NULL && header.hashPrevBlock != pindexLast->GetBlockHash()) {
Misbehaving(pfrom->GetId(), 20);
return error("non-continuous headers sequence");
}
/*TODO: this has a CBlock cast on it so that it will compile. There should be a solution for this
* before headers are reimplemented on mainnet
*/
if (!AcceptBlockHeader((CBlock)header, state, &pindexLast)) {
int nDoS;
if (state.IsInvalid(nDoS)) {
if (nDoS > 0)
Misbehaving(pfrom->GetId(), nDoS);
std::string strError = "invalid header received " + header.GetHash().ToString();
return error(strError.c_str());
}
}
}
if (pindexLast)
UpdateBlockAvailability(pfrom->GetId(), pindexLast->GetBlockHash());
if (nCount == MAX_HEADERS_RESULTS && pindexLast) {
// Headers message had its maximum size; the peer may have more headers.
// TODO: optimize: if pindexLast is an ancestor of chainActive.Tip or pindexBestHeader, continue
// from there instead.
LogPrintf("more getheaders (%d) to end to peer=%d (startheight:%d)\n", pindexLast->nHeight, pfrom->id, pfrom->nStartingHeight);
pfrom->PushMessage("getheaders", chainActive.GetLocator(pindexLast), uint256(0));
}
CheckBlockIndex();
}
else if (strCommand == "block" && !fImporting && !fReindex) // Ignore blocks received while importing
{
CBlock block;
vRecv >> block;
uint256 hashBlock = block.GetHash();
CInv inv(MSG_BLOCK, hashBlock);
LogPrint("net", "received block %s peer=%d\n", inv.hash.ToString(), pfrom->id);
//sometimes we will be sent their most recent block and its not the one we want, in that case tell where we are
if (!mapBlockIndex.count(block.hashPrevBlock)) {
if (find(pfrom->vBlockRequested.begin(), pfrom->vBlockRequested.end(), hashBlock) != pfrom->vBlockRequested.end()) {
//we already asked for this block, so lets work backwards and ask for the previous block
pfrom->PushMessage("getblocks", chainActive.GetLocator(), block.hashPrevBlock);
pfrom->vBlockRequested.push_back(block.hashPrevBlock);
} else {
//ask to sync to this block
pfrom->PushMessage("getblocks", chainActive.GetLocator(), hashBlock);
pfrom->vBlockRequested.push_back(hashBlock);
}
} else {
pfrom->AddInventoryKnown(inv);
CValidationState state;
ProcessNewBlock(state, pfrom, &block);
int nDoS;
if (state.IsInvalid(nDoS)) {
pfrom->PushMessage("reject", strCommand, state.GetRejectCode(),
state.GetRejectReason().substr(0, MAX_REJECT_MESSAGE_LENGTH), inv.hash);
if (nDoS > 0) {
TRY_LOCK(cs_main, lockMain);
if (lockMain) Misbehaving(pfrom->GetId(), nDoS);
}
//disconnect this node if its old protocol version
pfrom->DisconnectOldProtocol(ActiveProtocol(), strCommand);
}
}
}
// This asymmetric behavior for inbound and outbound connections was introduced
// to prevent a fingerprinting attack: an attacker can send specific fake addresses
// to users' AddrMan and later request them by sending getaddr messages.
// Making users (which are behind NAT and can only make outgoing connections) ignore
// getaddr message mitigates the attack.
else if ((strCommand == "getaddr") && (pfrom->fInbound)) {
pfrom->vAddrToSend.clear();
vector<CAddress> vAddr = addrman.GetAddr();
BOOST_FOREACH (const CAddress& addr, vAddr)
pfrom->PushAddress(addr);
}
else if (strCommand == "mempool") {
LOCK2(cs_main, pfrom->cs_filter);
std::vector<uint256> vtxid;
mempool.queryHashes(vtxid);
vector<CInv> vInv;
BOOST_FOREACH (uint256& hash, vtxid) {
CInv inv(MSG_TX, hash);
CTransaction tx;
bool fInMemPool = mempool.lookup(hash, tx);
if (!fInMemPool) continue; // another thread removed since queryHashes, maybe...
if ((pfrom->pfilter && pfrom->pfilter->IsRelevantAndUpdate(tx)) ||
(!pfrom->pfilter))
vInv.push_back(inv);
if (vInv.size() == MAX_INV_SZ) {
pfrom->PushMessage("inv", vInv);
vInv.clear();
}
}
if (vInv.size() > 0)
pfrom->PushMessage("inv", vInv);
}
else if (strCommand == "ping") {
if (pfrom->nVersion > BIP0031_VERSION) {
uint64_t nonce = 0;
vRecv >> nonce;
// Echo the message back with the nonce. This allows for two useful features:
//
// 1) A remote node can quickly check if the connection is operational
// 2) Remote nodes can measure the latency of the network thread. If this node
// is overloaded it won't respond to pings quickly and the remote node can
// avoid sending us more work, like chain download requests.
//
// The nonce stops the remote getting confused between different pings: without
// it, if the remote node sends a ping once per second and this node takes 5
// seconds to respond to each, the 5th ping the remote sends would appear to
// return very quickly.
pfrom->PushMessage("pong", nonce);
}
}
else if (strCommand == "pong") {
int64_t pingUsecEnd = nTimeReceived;
uint64_t nonce = 0;
size_t nAvail = vRecv.in_avail();
bool bPingFinished = false;
std::string sProblem;
if (nAvail >= sizeof(nonce)) {
vRecv >> nonce;
// Only process pong message if there is an outstanding ping (old ping without nonce should never pong)
if (pfrom->nPingNonceSent != 0) {
if (nonce == pfrom->nPingNonceSent) {
// Matching pong received, this ping is no longer outstanding
bPingFinished = true;
int64_t pingUsecTime = pingUsecEnd - pfrom->nPingUsecStart;
if (pingUsecTime > 0) {
// Successful ping time measurement, replace previous
pfrom->nPingUsecTime = pingUsecTime;
} else {
// This should never happen
sProblem = "Timing mishap";
}
} else {
// Nonce mismatches are normal when pings are overlapping
sProblem = "Nonce mismatch";
if (nonce == 0) {
// This is most likely a bug in another implementation somewhere, cancel this ping
bPingFinished = true;
sProblem = "Nonce zero";
}
}
} else {
sProblem = "Unsolicited pong without ping";
}
} else {
// This is most likely a bug in another implementation somewhere, cancel this ping
bPingFinished = true;
sProblem = "Short payload";
}
if (!(sProblem.empty())) {
LogPrint("net", "pong peer=%d %s: %s, %x expected, %x received, %u bytes\n",
pfrom->id,
pfrom->cleanSubVer,
sProblem,
pfrom->nPingNonceSent,
nonce,
nAvail);
}
if (bPingFinished) {
pfrom->nPingNonceSent = 0;
}
}
else if (fAlerts && strCommand == "alert") {
CAlert alert;
vRecv >> alert;
uint256 alertHash = alert.GetHash();
if (pfrom->setKnown.count(alertHash) == 0) {
if (alert.ProcessAlert()) {
// Relay
pfrom->setKnown.insert(alertHash);
{
LOCK(cs_vNodes);
BOOST_FOREACH (CNode* pnode, vNodes)
alert.RelayTo(pnode);
}
} else {
// Small DoS penalty so peers that send us lots of
// duplicate/expired/invalid-signature/whatever alerts
// eventually get banned.
// This isn't a Misbehaving(100) (immediate ban) because the
// peer might be an older or different implementation with
// a different signature key, etc.
Misbehaving(pfrom->GetId(), 10);
}
}
}
else if (!(nLocalServices & NODE_BLOOM) &&
(strCommand == "filterload" ||
strCommand == "filteradd" ||
strCommand == "filterclear")) {
LogPrintf("bloom message=%s\n", strCommand);
Misbehaving(pfrom->GetId(), 100);
}
else if (strCommand == "filterload") {
CBloomFilter filter;
vRecv >> filter;
if (!filter.IsWithinSizeConstraints())
// There is no excuse for sending a too-large filter
Misbehaving(pfrom->GetId(), 100);
else {
LOCK(pfrom->cs_filter);
delete pfrom->pfilter;
pfrom->pfilter = new CBloomFilter(filter);
pfrom->pfilter->UpdateEmptyFull();
}
pfrom->fRelayTxes = true;
}
else if (strCommand == "filteradd") {
vector<unsigned char> vData;
vRecv >> vData;
// Nodes must NEVER send a data item > 520 bytes (the max size for a script data object,
// and thus, the maximum size any matched object can have) in a filteradd message
if (vData.size() > MAX_SCRIPT_ELEMENT_SIZE) {
Misbehaving(pfrom->GetId(), 100);
} else {
LOCK(pfrom->cs_filter);
if (pfrom->pfilter)
pfrom->pfilter->insert(vData);
else
Misbehaving(pfrom->GetId(), 100);
}
}
else if (strCommand == "filterclear") {
LOCK(pfrom->cs_filter);
delete pfrom->pfilter;
pfrom->pfilter = new CBloomFilter();
pfrom->fRelayTxes = true;
}
else if (strCommand == "reject") {
if (fDebug) {
try {
string strMsg;
unsigned char ccode;
string strReason;
vRecv >> LIMITED_STRING(strMsg, CMessageHeader::COMMAND_SIZE) >> ccode >> LIMITED_STRING(strReason, MAX_REJECT_MESSAGE_LENGTH);
ostringstream ss;
ss << strMsg << " code " << itostr(ccode) << ": " << strReason;
if (strMsg == "block" || strMsg == "tx") {
uint256 hash;
vRecv >> hash;
ss << ": hash " << hash.ToString();
}
LogPrint("net", "Reject %s\n", SanitizeString(ss.str()));
} catch (std::ios_base::failure& e) {
// Avoid feedback loops by preventing reject messages from triggering a new reject message.
LogPrint("net", "Unparseable reject message received\n");
}
}
} else {
//probably one the extensions
obfuScationPool.ProcessMessageObfuscation(pfrom, strCommand, vRecv);
mnodeman.ProcessMessage(pfrom, strCommand, vRecv);
budget.ProcessMessage(pfrom, strCommand, vRecv);
masternodePayments.ProcessMessageMasternodePayments(pfrom, strCommand, vRecv);
ProcessMessageSwiftTX(pfrom, strCommand, vRecv);
ProcessSpork(pfrom, strCommand, vRecv);
masternodeSync.ProcessMessage(pfrom, strCommand, vRecv);
}
return true;
}
// Note: whenever a protocol update is needed toggle between both implementations (comment out the formerly active one)
// so we can leave the existing clients untouched (old SPORK will stay on so they don't see even older clients).
// Those old clients won't react to the changes of the other (new) SPORK because at the time of their implementation
// it was the one which was commented out
int ActiveProtocol()
{
// SPORK_14 was used for 70710. Leave it 'ON' so they don't see < 70710 nodes. They won't react to SPORK_15
// messages because it's not in their code
/*
if (IsSporkActive(SPORK_14_NEW_PROTOCOL_ENFORCEMENT)) {
if (chainActive.Tip()->nHeight >= Params().ModifierUpgradeBlock())
return MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT;
}
return MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT;
*/
// SPORK_15 is used for 70910. Nodes < 70910 don't see it and still get their protocol version via SPORK_14 and their
// own ModifierUpgradeBlock()
if (IsSporkActive(SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2))
return MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT;
return MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT;
}
// requires LOCK(cs_vRecvMsg)
bool ProcessMessages(CNode* pfrom)
{
//if (fDebug)
// LogPrintf("ProcessMessages(%u messages)\n", pfrom->vRecvMsg.size());
//
// Message format
// (4) message start
// (12) command
// (4) size
// (4) checksum
// (x) data
//
bool fOk = true;
if (!pfrom->vRecvGetData.empty())
ProcessGetData(pfrom);
// this maintains the order of responses
if (!pfrom->vRecvGetData.empty()) return fOk;
std::deque<CNetMessage>::iterator it = pfrom->vRecvMsg.begin();
while (!pfrom->fDisconnect && it != pfrom->vRecvMsg.end()) {
// Don't bother if send buffer is too full to respond anyway
if (pfrom->nSendSize >= SendBufferSize())
break;
// get next message
CNetMessage& msg = *it;
//if (fDebug)
// LogPrintf("ProcessMessages(message %u msgsz, %u bytes, complete:%s)\n",
// msg.hdr.nMessageSize, msg.vRecv.size(),
// msg.complete() ? "Y" : "N");
// end, if an incomplete message is found
if (!msg.complete())
break;
// at this point, any failure means we can delete the current message
it++;
// Scan for message start
if (memcmp(msg.hdr.pchMessageStart, Params().MessageStart(), MESSAGE_START_SIZE) != 0) {
LogPrintf("PROCESSMESSAGE: INVALID MESSAGESTART %s peer=%d\n", SanitizeString(msg.hdr.GetCommand()), pfrom->id);
fOk = false;
break;
}
// Read header
CMessageHeader& hdr = msg.hdr;
if (!hdr.IsValid()) {
LogPrintf("PROCESSMESSAGE: ERRORS IN HEADER %s peer=%d\n", SanitizeString(hdr.GetCommand()), pfrom->id);
continue;
}
string strCommand = hdr.GetCommand();
// Message size
unsigned int nMessageSize = hdr.nMessageSize;
// Checksum
CDataStream& vRecv = msg.vRecv;
uint256 hash = Hash(vRecv.begin(), vRecv.begin() + nMessageSize);
unsigned int nChecksum = 0;
memcpy(&nChecksum, &hash, sizeof(nChecksum));
if (nChecksum != hdr.nChecksum) {
LogPrintf("ProcessMessages(%s, %u bytes): CHECKSUM ERROR nChecksum=%08x hdr.nChecksum=%08x\n",
SanitizeString(strCommand), nMessageSize, nChecksum, hdr.nChecksum);
continue;
}
// Process message
bool fRet = false;
try {
fRet = ProcessMessage(pfrom, strCommand, vRecv, msg.nTime);
boost::this_thread::interruption_point();
} catch (std::ios_base::failure& e) {
pfrom->PushMessage("reject", strCommand, REJECT_MALFORMED, string("error parsing message"));
if (strstr(e.what(), "end of data")) {
// Allow exceptions from under-length message on vRecv
LogPrintf("ProcessMessages(%s, %u bytes): Exception '%s' caught, normally caused by a message being shorter than its stated length\n", SanitizeString(strCommand), nMessageSize, e.what());
} else if (strstr(e.what(), "size too large")) {
// Allow exceptions from over-long size
LogPrintf("ProcessMessages(%s, %u bytes): Exception '%s' caught\n", SanitizeString(strCommand), nMessageSize, e.what());
} else {
PrintExceptionContinue(&e, "ProcessMessages()");
}
} catch (boost::thread_interrupted) {
throw;
} catch (std::exception& e) {
PrintExceptionContinue(&e, "ProcessMessages()");
} catch (...) {
PrintExceptionContinue(NULL, "ProcessMessages()");
}
if (!fRet)
LogPrintf("ProcessMessage(%s, %u bytes) FAILED peer=%d\n", SanitizeString(strCommand), nMessageSize, pfrom->id);
break;
}
// In case the connection got shut down, its receive buffer was wiped
if (!pfrom->fDisconnect)
pfrom->vRecvMsg.erase(pfrom->vRecvMsg.begin(), it);
return fOk;
}
bool SendMessages(CNode* pto, bool fSendTrickle)
{
{
// Don't send anything until we get their version message
if (pto->nVersion == 0)
return true;
//
// Message: ping
//
bool pingSend = false;
if (pto->fPingQueued) {
// RPC ping request by user
pingSend = true;
}
if (pto->nPingNonceSent == 0 && pto->nPingUsecStart + PING_INTERVAL * 1000000 < GetTimeMicros()) {
// Ping automatically sent as a latency probe & keepalive.
pingSend = true;
}
if (pingSend) {
uint64_t nonce = 0;
while (nonce == 0) {
GetRandBytes((unsigned char*)&nonce, sizeof(nonce));
}
pto->fPingQueued = false;
pto->nPingUsecStart = GetTimeMicros();
if (pto->nVersion > BIP0031_VERSION) {
pto->nPingNonceSent = nonce;
pto->PushMessage("ping", nonce);
} else {
// Peer is too old to support ping command with nonce, pong will never arrive.
pto->nPingNonceSent = 0;
pto->PushMessage("ping");
}
}
TRY_LOCK(cs_main, lockMain); // Acquire cs_main for IsInitialBlockDownload() and CNodeState()
if (!lockMain)
return true;
// Address refresh broadcast
static int64_t nLastRebroadcast;
if (!IsInitialBlockDownload() && (GetTime() - nLastRebroadcast > 24 * 60 * 60)) {
LOCK(cs_vNodes);
BOOST_FOREACH (CNode* pnode, vNodes) {
// Periodically clear setAddrKnown to allow refresh broadcasts
if (nLastRebroadcast)
pnode->setAddrKnown.clear();
// Rebroadcast our address
AdvertizeLocal(pnode);
}
if (!vNodes.empty())
nLastRebroadcast = GetTime();
}
//
// Message: addr
//
if (fSendTrickle) {
vector<CAddress> vAddr;
vAddr.reserve(pto->vAddrToSend.size());
BOOST_FOREACH (const CAddress& addr, pto->vAddrToSend) {
// returns true if wasn't already contained in the set
if (pto->setAddrKnown.insert(addr).second) {
vAddr.push_back(addr);
// receiver rejects addr messages larger than 1000
if (vAddr.size() >= 1000) {
pto->PushMessage("addr", vAddr);
vAddr.clear();
}
}
}
pto->vAddrToSend.clear();
if (!vAddr.empty())
pto->PushMessage("addr", vAddr);
}
CNodeState& state = *State(pto->GetId());
if (state.fShouldBan) {
if (pto->fWhitelisted)
LogPrintf("Warning: not punishing whitelisted peer %s!\n", pto->addr.ToString());
else {
pto->fDisconnect = true;
if (pto->addr.IsLocal())
LogPrintf("Warning: not banning local peer %s!\n", pto->addr.ToString());
else {
CNode::Ban(pto->addr);
}
}
state.fShouldBan = false;
}
BOOST_FOREACH (const CBlockReject& reject, state.rejects)
pto->PushMessage("reject", (string) "block", reject.chRejectCode, reject.strRejectReason, reject.hashBlock);
state.rejects.clear();
// Start block sync
if (pindexBestHeader == NULL)
pindexBestHeader = chainActive.Tip();
bool fFetch = state.fPreferredDownload || (nPreferredDownload == 0 && !pto->fClient && !pto->fOneShot); // Download if this is a nice peer, or we have no nice peers and this one might do.
if (!state.fSyncStarted && !pto->fClient && fFetch /*&& !fImporting*/ && !fReindex) {
// Only actively request headers from a single peer, unless we're close to end of initial download.
if (nSyncStarted == 0 || pindexBestHeader->GetBlockTime() > GetAdjustedTime() - 6 * 60 * 60) { // NOTE: was "close to today" and 24h in Bitcoin
state.fSyncStarted = true;
nSyncStarted++;
//CBlockIndex *pindexStart = pindexBestHeader->pprev ? pindexBestHeader->pprev : pindexBestHeader;
//LogPrint("net", "initial getheaders (%d) to peer=%d (startheight:%d)\n", pindexStart->nHeight, pto->id, pto->nStartingHeight);
//pto->PushMessage("getheaders", chainActive.GetLocator(pindexStart), uint256(0));
pto->PushMessage("getblocks", chainActive.GetLocator(chainActive.Tip()), uint256(0));
}
}
// Resend wallet transactions that haven't gotten in a block yet
// Except during reindex, importing and IBD, when old wallet
// transactions become unconfirmed and spams other nodes.
if (!fReindex /*&& !fImporting && !IsInitialBlockDownload()*/) {
g_signals.Broadcast();
}
//
// Message: inventory
//
vector<CInv> vInv;
vector<CInv> vInvWait;
{
LOCK(pto->cs_inventory);
vInv.reserve(pto->vInventoryToSend.size());
vInvWait.reserve(pto->vInventoryToSend.size());
BOOST_FOREACH (const CInv& inv, pto->vInventoryToSend) {
if (pto->setInventoryKnown.count(inv))
continue;
// trickle out tx inv to protect privacy
if (inv.type == MSG_TX && !fSendTrickle) {
// 1/4 of tx invs blast to all immediately
static uint256 hashSalt;
if (hashSalt == 0)
hashSalt = GetRandHash();
uint256 hashRand = inv.hash ^ hashSalt;
hashRand = Hash(BEGIN(hashRand), END(hashRand));
bool fTrickleWait = ((hashRand & 3) != 0);
if (fTrickleWait) {
vInvWait.push_back(inv);
continue;
}
}
// returns true if wasn't already contained in the set
if (pto->setInventoryKnown.insert(inv).second) {
vInv.push_back(inv);
if (vInv.size() >= 1000) {
pto->PushMessage("inv", vInv);
vInv.clear();
}
}
}
pto->vInventoryToSend = vInvWait;
}
if (!vInv.empty())
pto->PushMessage("inv", vInv);
// Detect whether we're stalling
int64_t nNow = GetTimeMicros();
if (!pto->fDisconnect && state.nStallingSince && state.nStallingSince < nNow - 1000000 * BLOCK_STALLING_TIMEOUT) {
// Stalling only triggers when the block download window cannot move. During normal steady state,
// the download window should be much larger than the to-be-downloaded set of blocks, so disconnection
// should only happen during initial block download.
LogPrintf("Peer=%d is stalling block download, disconnecting\n", pto->id);
pto->fDisconnect = true;
}
// In case there is a block that has been in flight from this peer for (2 + 0.5 * N) times the block interval
// (with N the number of validated blocks that were in flight at the time it was requested), disconnect due to
// timeout. We compensate for in-flight blocks to prevent killing off peers due to our own downstream link
// being saturated. We only count validated in-flight blocks so peers can't advertize nonexisting block hashes
// to unreasonably increase our timeout.
if (!pto->fDisconnect && state.vBlocksInFlight.size() > 0 && state.vBlocksInFlight.front().nTime < nNow - 500000 * Params().TargetSpacing() * (4 + state.vBlocksInFlight.front().nValidatedQueuedBefore)) {
LogPrintf("Timeout downloading block %s from peer=%d, disconnecting\n", state.vBlocksInFlight.front().hash.ToString(), pto->id);
pto->fDisconnect = true;
}
//
// Message: getdata (blocks)
//
vector<CInv> vGetData;
if (!pto->fDisconnect && !pto->fClient && fFetch && state.nBlocksInFlight < MAX_BLOCKS_IN_TRANSIT_PER_PEER) {
vector<CBlockIndex*> vToDownload;
NodeId staller = -1;
FindNextBlocksToDownload(pto->GetId(), MAX_BLOCKS_IN_TRANSIT_PER_PEER - state.nBlocksInFlight, vToDownload, staller);
BOOST_FOREACH (CBlockIndex* pindex, vToDownload) {
vGetData.push_back(CInv(MSG_BLOCK, pindex->GetBlockHash()));
MarkBlockAsInFlight(pto->GetId(), pindex->GetBlockHash(), pindex);
LogPrintf("Requesting block %s (%d) peer=%d\n", pindex->GetBlockHash().ToString(),
pindex->nHeight, pto->id);
}
if (state.nBlocksInFlight == 0 && staller != -1) {
if (State(staller)->nStallingSince == 0) {
State(staller)->nStallingSince = nNow;
LogPrint("net", "Stall started peer=%d\n", staller);
}
}
}
//
// Message: getdata (non-blocks)
//
while (!pto->fDisconnect && !pto->mapAskFor.empty() && (*pto->mapAskFor.begin()).first <= nNow) {
const CInv& inv = (*pto->mapAskFor.begin()).second;
if (!AlreadyHave(inv)) {
if (fDebug)
LogPrint("net", "Requesting %s peer=%d\n", inv.ToString(), pto->id);
vGetData.push_back(inv);
if (vGetData.size() >= 1000) {
pto->PushMessage("getdata", vGetData);
vGetData.clear();
}
}
pto->mapAskFor.erase(pto->mapAskFor.begin());
}
if (!vGetData.empty())
pto->PushMessage("getdata", vGetData);
}
return true;
}
bool CBlockUndo::WriteToDisk(CDiskBlockPos& pos, const uint256& hashBlock)
{
// Open history file to append
CAutoFile fileout(OpenUndoFile(pos), SER_DISK, CLIENT_VERSION);
if (fileout.IsNull())
return error("CBlockUndo::WriteToDisk : OpenUndoFile failed");
// Write index header
unsigned int nSize = fileout.GetSerializeSize(*this);
fileout << FLATDATA(Params().MessageStart()) << nSize;
// Write undo data
long fileOutPos = ftell(fileout.Get());
if (fileOutPos < 0)
return error("CBlockUndo::WriteToDisk : ftell failed");
pos.nPos = (unsigned int)fileOutPos;
fileout << *this;
// calculate & write checksum
CHashWriter hasher(SER_GETHASH, PROTOCOL_VERSION);
hasher << hashBlock;
hasher << *this;
fileout << hasher.GetHash();
return true;
}
bool CBlockUndo::ReadFromDisk(const CDiskBlockPos& pos, const uint256& hashBlock)
{
// Open history file to read
CAutoFile filein(OpenUndoFile(pos, true), SER_DISK, CLIENT_VERSION);
if (filein.IsNull())
return error("CBlockUndo::ReadFromDisk : OpenBlockFile failed");
// Read block
uint256 hashChecksum;
try {
filein >> *this;
filein >> hashChecksum;
} catch (std::exception& e) {
return error("%s : Deserialize or I/O error - %s", __func__, e.what());
}
// Verify checksum
CHashWriter hasher(SER_GETHASH, PROTOCOL_VERSION);
hasher << hashBlock;
hasher << *this;
if (hashChecksum != hasher.GetHash())
return error("CBlockUndo::ReadFromDisk : Checksum mismatch");
return true;
}
std::string CBlockFileInfo::ToString() const
{
return strprintf("CBlockFileInfo(blocks=%u, size=%u, heights=%u...%u, time=%s...%s)", nBlocks, nSize, nHeightFirst, nHeightLast, DateTimeStrFormat("%Y-%m-%d", nTimeFirst), DateTimeStrFormat("%Y-%m-%d", nTimeLast));
}
class CMainCleanup
{
public:
CMainCleanup() {}
~CMainCleanup()
{
// block headers
BlockMap::iterator it1 = mapBlockIndex.begin();
for (; it1 != mapBlockIndex.end(); it1++)
delete (*it1).second;
mapBlockIndex.clear();
// orphan transactions
mapOrphanTransactions.clear();
mapOrphanTransactionsByPrev.clear();
}
} instance_of_cmaincleanup;
| [
"like2play@gmail.com"
] | like2play@gmail.com |
25bb397c62fbea1448792e711cc4d91b8404a109 | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /codeforces/1209/d.cpp | 0b7cd334ba72a0fa62cbbc9e10ae77b4cf2704f6 | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
// DON'T USE THESE MACROS DURING ICPC PRACTICE
#define For(i,n) for (int i=0; i<n; i++)
#define FOR(i,a,b) for (int i=a; i<=b; i++)
#define Down(i,n) for (int i=n-1; i>=0; i--)
#define DOWN(i,a,b) for (int i=b; i>=a; i--)
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ld,ld> pdd;
typedef complex<ld> pt;
typedef vector<pt> pol;
typedef vector<int> vi;
const char nl = '\n';
const int INF = 0x3f3f3f3f;
const ll INFLL = 0x3f3f3f3f3f3f3f3f;
const ll MOD = 1e9+7;
const ld EPS = 1e-10;
mt19937 rng(chrono::high_resolution_clock::now().time_since_epoch().count());
const int N = 1e5+1;
int root[N];
int find(int i) {
if(root[i] == -1) return i;
return root[i] = find(root[i]);
}
int link(int i, int j) {
i=find(i); j=find(j);
if(i==j) return false;
root[i] = j;
return true;
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
cout << fixed << setprecision(10);
memset(root,-1,sizeof root);
int n,m;
cin>>n>>m;
int ans = 0;
for(int i=0;i<m;i++) {
int a,b;
cin>>a>>b;
ans += !link(a,b);
}
cout<<ans<<nl;
return 0;
}
| [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
9f17b87ef912a1fc8e10598c74575bd9d75db4b0 | bff2f57983cb92184e4febb02e4d32df4ef39994 | /src/VPetLCD/Screens/AnimationScreen.h | afb20c5162388018a063188ac9777efd3b20235d | [
"MIT"
] | permissive | ReLock/DigimonVPet | 670606dffd7db947738cdda23613179cd390cbf5 | cdc17e041ce6d64659e6d2605a0990fe700549ef | refs/heads/master | 2023-04-10T19:27:20.050203 | 2021-02-03T03:29:55 | 2021-02-03T03:29:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | /////////////////////////////////////////////////////////////////
/*
Created by Berat Özdemir, January 24 , 2021.
*/
/////////////////////////////////////////////////////////////////
#pragma once
#include "../VPetLCD.h"
#include <functional>
namespace V20 {
class AnimationScreen : public VPetLCD::Screen {
private:
AbstractSpriteManager* spriteManager;
std::function<void(VPetLCD* lcd, AnimationScreen* context)> *frames;
//this function is called when the animation ends (last frame showed)
std::function<void(void)> animationEndAction;
uint16_t digimonSpriteIndex;
uint8_t numberOfFramesMax;
uint8_t numberOfFrames;
uint8_t currentFrame;
uint32_t frameDurationMillis;
uint32_t timer;
void nextFrame();
public:
void loop(unsigned long delta);
AnimationScreen(AbstractSpriteManager *_spriteManager, uint16_t _digimonSpriteIndex, uint8_t _numberOfFrames);
boolean addFrame(std::function<void(VPetLCD* lcd, AnimationScreen* context)> frame);
void draw(VPetLCD *lcd);
void setAnimationEndAction(std::function<void(void)> _animationEndAction);
AbstractSpriteManager* getSpriteManager(){return spriteManager;};
uint16_t getDigimonSpriteIndex(){ return digimonSpriteIndex;};
//starts the Animation
void startAnimation(){currentFrame=0;};
void abortAnimation(){currentFrame=-1;}
};
} | [
"berational1991@gmail.com"
] | berational1991@gmail.com |
f8eff05e470b936c6db63c04b3117db9342e9a17 | 24b9ab4f9ada63120ec5523d05c6039da4e9619e | /deps/phoenix-example/include/ctre/phoenix/motorcontrol/can/WPI_TalonSRX.h | c238473e75066f20cb33a4a36cfad27688f76970 | [
"MIT"
] | permissive | UND-Robotic-Mining-Team/rover-manager | 96c61ef0395c1f4f5ef1391ac50b19f66f05747a | e86c9cf194be505a173aaed0b463e803a1adf5d1 | refs/heads/master | 2020-08-29T18:23:27.626803 | 2020-03-10T18:45:23 | 2020-03-10T18:45:23 | 218,127,336 | 0 | 0 | MIT | 2020-03-10T18:45:25 | 2019-10-28T19:20:28 | null | UTF-8 | C++ | false | false | 3,637 | h | /**
* WPI Compliant motor controller class.
* WPILIB's object model requires many interfaces to be implemented to use
* the various features.
* This includes...
* - Software PID loops running in the robot controller
* - LiveWindow/Test mode features
* - Motor Safety (auto-turn off of motor if Set stops getting called)
* - Single Parameter set that assumes a simple motor controller.
*/
#pragma once
#if defined(CTR_INCLUDE_WPILIB_CLASSES) || defined(__FRC_ROBORIO__)
#include "ctre/phoenix/MotorControl/CAN/TalonSRX.h"
#include "SmartDashboard/SendableBase.h"
#include "SmartDashboard/SendableBuilder.h"
#include "SpeedController.h"
#include "MotorSafety.h"
#include "MotorSafetyHelper.h"
namespace ctre {
namespace phoenix {
namespace motorcontrol {
namespace can {
class WPI_TalonSRX: public virtual TalonSRX,
public virtual frc::SpeedController,
public frc::SendableBase,
public frc::MotorSafety {
public:
WPI_TalonSRX(int deviceNumber);
virtual ~WPI_TalonSRX();
WPI_TalonSRX() = delete;
WPI_TalonSRX(WPI_TalonSRX const&) = delete;
WPI_TalonSRX& operator=(WPI_TalonSRX const&) = delete;
//----------------------- set/get routines for WPILIB interfaces -------------------//
/**
* Common interface for setting the speed of a simple speed controller.
*
* @param speed The speed to set. Value should be between -1.0 and 1.0.
* Value is also saved for Get().
*/
virtual void Set(double speed);
virtual void PIDWrite(double output);
/**
* Common interface for getting the current set speed of a speed controller.
*
* @return The current set speed. Value is between -1.0 and 1.0.
*/
virtual double Get() const;
//----------------------- Intercept CTRE calls for motor safety -------------------//
virtual void Set(ControlMode mode, double value);
virtual void Set(ControlMode mode, double demand0, double demand1);
//----------------------- Invert routines -------------------//
/**
* Common interface for inverting direction of a speed controller.
*
* @param isInverted The state of inversion, true is inverted.
*/
virtual void SetInverted(bool isInverted);
/**
* Common interface for returning the inversion state of a speed controller.
*
* @return isInverted The state of inversion, true is inverted.
*/
virtual bool GetInverted() const;
//----------------------- turn-motor-off routines-------------------//
/**
* Common interface for disabling a motor.
*/
virtual void Disable();
/**
* Common interface to stop the motor until Set is called again.
*/
virtual void StopMotor();
//----------------------- Motor Safety-------------------//
/**
* Set the safety expiration time.
*
* @param timeout The timeout (in seconds) for this motor object
*/
void SetExpiration(double timeout);
/**
* Return the safety expiration time.
*
* @return The expiration time value.
*/
double GetExpiration() const;
/**
* Check if the motor is currently alive or stopped due to a timeout.
*
* @return a bool value that is true if the motor has NOT timed out and should
* still be running.
*/
bool IsAlive() const;
/**
* Check if motor safety is enabled.
*
* @return True if motor safety is enforced for this object
*/
bool IsSafetyEnabled() const;
void SetSafetyEnabled(bool enabled);
void GetDescription(llvm::raw_ostream& desc) const;
protected:
virtual void InitSendable(frc::SendableBuilder& builder);
private:
double _speed = 0;
std::string _desc;
frc::MotorSafetyHelper _safetyHelper;
};
} // namespace can
} // namespace motorcontrol
} // namespace phoenix
} // namespace ctre
#endif
| [
"bmueller@saltpeter"
] | bmueller@saltpeter |
6c1f09b698d0d2a3127db9a5035acdfa5d9ab2fd | d1eb7c1a17a83eb908713c1f1fe09dd37a7d7b9b | /volume1/1025.cpp | 570f0bd9516f810ec9bff3c11f21bac2148e00ce | [] | no_license | spetz911/acm | e23c6a78be900049c8c263efe628f84aa6bacee4 | d462d2aab56b1f14d677c563faf260f4b4d145bb | refs/heads/master | 2021-01-01T18:28:10.520284 | 2013-10-14T16:52:07 | 2013-10-14T16:52:07 | 2,620,471 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int M[9000];
inline void swap(int &a, int &b){
a = a ^ b;
b = a ^ b;
a = a ^ b;
}
void sort(int A[], int n)
{
int count = 1;
while(count > 0){
count = 0;
for(int i=0; i<n-1; i++){
if (A[i] > A[i+1]){
swap(A[i], A[i+1]);
count++;
}
}
}
}
int summ(int A[], int m, int n)
{
int count = 0;
for(int i=m; i<n; i++){
count += A[i]/2 + 1;
}
return count;
}
int
main()
{
int n;
cin >> n;
for(int i=0; i<n; i++){
cin >> M[i];
}
sort(M, n);
// for(int i=0; i<n; i++){
// cout << M[i] << " ";
// }
cout << summ(M, 0, n/2 +1) << endl;
// cout << M[0] << endl;
// cin >> m >> n >> k;
// printf("%d\n", 2*m*n*k );
return 0;
}
| [
"spetz911@gmail.com"
] | spetz911@gmail.com |
0e4215d4cd6c7f4e9dd3f12fe5673b7b9019b4f3 | f31c0986ebc80731362a136f99bb6be461690440 | /src/UILayer/CtrlEx/TabItem_MainTabBn.cpp | 2e6ea1b3538db785f49459244a6c6503634364b1 | [] | no_license | witeyou/easyMule | 9c3e0af72c49f754704f029a6c3c609f7300811a | ac91abd9cdf35dd5bb697e175e8d07a89c496944 | refs/heads/master | 2023-03-30T16:19:27.200126 | 2021-03-26T12:22:52 | 2021-03-26T12:22:52 | 351,774,027 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,764 | cpp | /*
* $Id: TabItem_MainTabBn.cpp 6511 2008-08-04 07:30:17Z huby $
*
* this file is part of easyMule
* Copyright (C)2002-2008 VeryCD Dev Team ( strEmail.Format("%s@%s", "emuledev", "verycd.com") / http: * www.easymule.org )
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
// TabItem_MainTabBn.cpp : 实现文件
//
#include "stdafx.h"
#include "TabItem_MainTabBn.h"
#include "Util.h"
#include "CmdFuncs.h"
#include "Resource.h"
#include "otherfunctions.h"
#include "CmdMainTabOp.h"
#include "FaceManager.h"
#include "emuleDlg.h"
#include "CmdFuncs.h"
#include "CreditsDlg.h"
// CTabItem_MainTabBn
IMPLEMENT_DYNCREATE(CTabItem_MainTabBn, CTabItem)
CTabItem_MainTabBn::CTabItem_MainTabBn()
{
SetAttribute(ATTR_FIXLEN);
}
CTabItem_MainTabBn::~CTabItem_MainTabBn()
{
}
// CTabItem_MainTabBn 成员函数
void CTabItem_MainTabBn::Paint(CDC* pDC)
{
//CRect rtDraw(GetRectInbar());
//CBufferDC bufDC(pDC->GetSafeHdc(), rtDraw);
//CBrush brush(RGB(200, 200, 200));
//bufDC.FillRect(&rtDraw, &brush);
//int iOldMode = pDC->GetBkMode();
//bufDC.SetBkMode(TRANSPARENT);
//bufDC.DrawText(m_strCaption, rtDraw, DT_VCENTER | DT_SINGLELINE | DT_CENTER);
//bufDC.SetBkMode(iOldMode);
//DrawRound(pDC->GetSafeHdc(), rtDraw, 3);
/*CFontDC font(pDC->GetSafeHdc(), _T("Wingdings 3"));
font = 12;*/
CRect rect;
rect = GetRect();
rect.right -= m_iItemGap;
//if (m_bActive)
//{
// DrawActiveBk(pDC, rect);
//}
//else
//{
// if(IsHover())
// {
// DrawHover(pDC, rect);
// }
// else
// {
// DrawInactiveBk(pDC, rect);
// }
//}
CSize sizeIcon;
CRect rtIcon;
CFaceManager::GetInstance()->GetImageSize(II_MAINTABMORE_N, sizeIcon);
CenterRect(&rtIcon, rect, sizeIcon);
rtIcon.OffsetRect(0, 3);
if (IsHover())
{
CFaceManager::GetInstance()->DrawImageBar(IBI_MAINBTN_H, pDC->m_hDC, rect);
CFaceManager::GetInstance()->DrawImage(II_MAINTABMORE_H, pDC->m_hDC, rtIcon);
}
else
{
CFaceManager::GetInstance()->DrawImageBar(IBI_MAINBTN_N, pDC->m_hDC, rect);
CFaceManager::GetInstance()->DrawImage(II_MAINTABMORE_N, pDC->m_hDC, rtIcon);
}
//{
// CPenDC penDC(pDC->GetSafeHdc(), RGB(255, 255, 255));
// DrawTriangle(pDC, rect);
//}
}
void CTabItem_MainTabBn::OnLButtonDown(UINT /*nFlags*/, CPoint /*point*/)
{
CRect rtItem(GetRectInScreen());
CCmdMainTabOp cmdMainTabOp;
/*CMenu file;
file.CreateMenu();
file.AppendMenu(MF_STRING, 8, GetResString(IDS_NEWTASK));
file.AppendMenu(MF_SEPARATOR);
file.AppendMenu(MF_STRING, 3, GetResString(IDS_IMPORT_UNFINISHED));*/
CMenu tool;
tool.CreateMenu();
tool.AppendMenu(MF_STRING, 8, GetResString(IDS_NEWTASK));
tool.AppendMenu(MF_STRING, 3, GetResString(IDS_IMPORT_UNFINISHED));
CMenu help;
help.CreateMenu();
help.AppendMenu(MF_STRING, 2, GetResString(IDS_HELP_));
//help.AppendMenu(MF_STRING, 5, GetResString(IDS_BUGREPORT));
#ifndef _FOREIGN_VERSION
help.AppendMenu(MF_STRING, 6, GetResString(IDS_NEWVERSIONREPORT));
#endif
help.AppendMenu(MF_SEPARATOR);
help.AppendMenu(MF_STRING, 4, GetResString(IDS_VERSIONCHECK));
help.AppendMenu(MF_SEPARATOR);
help.AppendMenu(MF_STRING, 9, GetResString(IDS_ABOUTBOX));
CMenu menu;
menu.CreatePopupMenu();
/*menu.AppendMenu(MF_STRING|MF_POPUP,(UINT_PTR)file.m_hMenu, GetResString(IDS_FILE));*/
menu.AppendMenu(MF_STRING, 1, GetResString(IDS_EM_PREFS));
menu.AppendMenu(MF_SEPARATOR);
menu.AppendMenu(MF_STRING|MF_POPUP,(UINT_PTR)tool.m_hMenu, GetResString(IDS_TOOLS));
menu.AppendMenu(MF_STRING|MF_POPUP,(UINT_PTR)help.m_hMenu, GetResString(IDS_HELP));
menu.AppendMenu(MF_SEPARATOR);
const static int SHOW_TAB_CMD_START = 7;
if (cmdMainTabOp.IsTabShowed(CMainTabWnd::TI_ADVANCE))
menu.AppendMenu(MF_STRING | MF_CHECKED, SHOW_TAB_CMD_START, GetResString(IDS_ADVANCE_));
else
menu.AppendMenu(MF_STRING, SHOW_TAB_CMD_START, GetResString(IDS_ADVANCE_));
int iRet = menu.TrackPopupMenu(TPM_RETURNCMD, rtItem.left, rtItem.bottom, ::AfxGetMainWnd());
menu.DestroyMenu();
switch(iRet)
{
case 1:
CmdFuncs::OpenPreferencesWnd();
break;
case 2:
CmdFuncs::GotoGuide();
break;
case 3:
CmdFuncs::ImportUnfinishedTasks();
break;
case 4:
theApp.emuledlg->DoVersioncheck(true);
break;
case 5:
CmdFuncs::OpenNewUrl(_T("http://www.verycd.com/groups/eMuleBug"), GetResString(IDS_BUGREPORT));
break;
case 6:
CmdFuncs::OpenNewUrl(_T("http://www.verycd.com/groups/eMuleBeta/"), GetResString(IDS_NEWVERSIONREPORT));
break;
case SHOW_TAB_CMD_START:
if (cmdMainTabOp.IsTabShowed(CMainTabWnd::TI_ADVANCE))
{
cmdMainTabOp.RemoveTabById(CMainTabWnd::TI_ADVANCE);
}
else
{
cmdMainTabOp.AddTabById(CMainTabWnd::TI_ADVANCE);
}
break;
case 8:
CmdFuncs::PopupNewTaskDlg();
break;
case 9:
{
CCreditsDlg dlgAbout;
dlgAbout.DoModal();
break;
}
default:
break;
}
}
void CTabItem_MainTabBn::DrawActiveBk(CDC* pDC, const CRect &rect)
{
CRect rtFrm;
CRect rtFace;
rtFrm = rect;
rtFace = rect;
{
CPenDC penOutSide(pDC->GetSafeHdc(), RGB(110, 150, 199));
rtFace.top += 3;
Draw2GradLayerRect(pDC->GetSafeHdc(), rtFace, RGB(239, 243, 249), RGB(220, 229, 241), RGB(187, 206, 229), RGB(255, 255, 255), 62);
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
{
CPenDC penInSide(pDC->GetSafeHdc(), RGB(255, 255, 255), 2);
rtFrm.left += 2;
rtFrm.top += 2;
rtFrm.right -= 1;
rtFrm.bottom -= 2;
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
}
void CTabItem_MainTabBn::DrawInactiveBk(CDC* pDC, const CRect &rect)
{
CRect rtFrm;
CRect rtFace;
rtFrm = rect;
rtFace = rect;
{
CPenDC penOutSide(pDC->GetSafeHdc(), RGB(171, 164, 150));
rtFace.top += 3;
Draw2GradLayerRect(pDC->GetSafeHdc(), rtFace, RGB(255, 255, 255), RGB(239, 238, 234), RGB(226, 223, 215), RGB(242, 241, 235), 62);
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
{
CPenDC penInSide(pDC->GetSafeHdc(), RGB(255, 255, 255), 2);
rtFrm.left += 2;
rtFrm.top += 2;
rtFrm.right -= 1;
rtFrm.bottom -= 2;
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
}
void CTabItem_MainTabBn::OnMouseHover(void)
{
CTabItem::OnMouseHover();
Invalidate();
}
void CTabItem_MainTabBn::OnMouseLeave(void)
{
CTabItem::OnMouseLeave();
Invalidate();
}
void CTabItem_MainTabBn::DrawHover(CDC* pDC, const CRect &rect)
{
CRect rtFrm;
CRect rtFace;
rtFrm = rect;
rtFace = rect;
{
CPenDC penOutSide(pDC->GetSafeHdc(), RGB(126, 165, 250));
rtFace.top += 3;
Draw2GradLayerRect(pDC->GetSafeHdc(), rtFace, RGB(255, 255, 255), RGB(228, 236, 254), RGB(205, 221, 253), RGB(240, 246, 255), 62);
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
{
CPenDC penInSide(pDC->GetSafeHdc(), RGB(255, 255, 255), 2);
rtFrm.left += 2;
rtFrm.top += 2;
rtFrm.right -= 1;
rtFrm.bottom -= 2;
DrawRound(pDC->GetSafeHdc(), rtFrm, 3);
}
}
void CTabItem_MainTabBn::DrawTriangle(CDC* pDC, CRect &rect)
{
rect.left += rect.Width()/2 - 2;
rect.top += rect.Height()/2 + 3;
pDC->MoveTo(rect.left, rect.top);
pDC->LineTo(rect.left + 5, rect.top);
pDC->MoveTo(rect.left + 1, rect.top + 1);
pDC->LineTo(rect.left + 4, rect.top + 1);
pDC->MoveTo(rect.left + 2, rect.top + 2);
pDC->LineTo(rect.left + 3, rect.top + 2);
}
| [
"1171838741@qq.com"
] | 1171838741@qq.com |
0ef1ea459977b5639d61c659402ba152cafd363d | 97aa25fabc07393cb8f6fd7cb77ad0c7d8b8bb07 | /src/core/ext/filters/fault_injection/fault_injection_filter.cc | d0afb63398a8305b94e7e84821e10357f24f3ec7 | [
"Apache-2.0"
] | permissive | shershen0/grpc | e8cdc331758701a0f62ef4e17f00b4654644ae1d | a2645aaff4a5976836687fc7877397521b6221de | refs/heads/master | 2023-04-09T18:02:44.405488 | 2021-04-23T13:18:00 | 2021-04-23T13:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,572 | cc | //
// Copyright 2021 gRPC authors.
//
// 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.
//
#include <grpc/support/port_platform.h>
#include "src/core/ext/filters/fault_injection/fault_injection_filter.h"
#include "absl/strings/numbers.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/ext/filters/client_channel/service_config.h"
#include "src/core/ext/filters/client_channel/service_config_call_data.h"
#include "src/core/ext/filters/fault_injection/service_config_parser.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/status_util.h"
#include "src/core/lib/gprpp/atomic.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/lib/transport/status_conversion.h"
namespace grpc_core {
TraceFlag grpc_fault_injection_filter_trace(false, "fault_injection_filter");
namespace {
Atomic<uint32_t> g_active_faults{0};
static_assert(
std::is_trivially_destructible<Atomic<uint32_t>>::value,
"the active fault counter needs to have a trivially destructible type");
inline int GetLinkedMetadatumValueInt(grpc_linked_mdelem* md) {
int res;
if (absl::SimpleAtoi(StringViewFromSlice(GRPC_MDVALUE(md->md)), &res)) {
return res;
} else {
return -1;
}
}
inline uint32_t GetLinkedMetadatumValueUnsignedInt(grpc_linked_mdelem* md) {
uint32_t res;
if (absl::SimpleAtoi(StringViewFromSlice(GRPC_MDVALUE(md->md)), &res)) {
return res;
} else {
return -1;
}
}
inline int64_t GetLinkedMetadatumValueInt64(grpc_linked_mdelem* md) {
int64_t res;
if (absl::SimpleAtoi(StringViewFromSlice(GRPC_MDVALUE(md->md)), &res)) {
return res;
} else {
return -1;
}
}
inline bool UnderFraction(const uint32_t numerator,
const uint32_t denominator) {
if (numerator <= 0) return false;
if (numerator >= denominator) return true;
// Generate a random number in [0, denominator).
const uint32_t random_number = rand() % denominator;
return random_number < numerator;
}
class ChannelData {
public:
static grpc_error_handle Init(grpc_channel_element* elem,
grpc_channel_element_args* args);
static void Destroy(grpc_channel_element* elem);
int index() const { return index_; }
private:
ChannelData(grpc_channel_element* elem, grpc_channel_element_args* args);
~ChannelData() = default;
// The relative index of instances of the same filter.
int index_;
};
class CallData {
public:
static grpc_error_handle Init(grpc_call_element* elem,
const grpc_call_element_args* args);
static void Destroy(grpc_call_element* elem,
const grpc_call_final_info* /*final_info*/,
grpc_closure* /*then_schedule_closure*/);
static void StartTransportStreamOpBatch(
grpc_call_element* elem, grpc_transport_stream_op_batch* batch);
private:
class ResumeBatchCanceller;
CallData(grpc_call_element* elem, const grpc_call_element_args* args);
~CallData();
void DecideWhetherToInjectFaults(grpc_metadata_batch* initial_metadata);
// Checks if current active faults exceed the allowed max faults.
bool HaveActiveFaultsQuota(bool increment);
// Returns true if this RPC needs to be delayed. If so, this call will be
// counted as an active fault.
bool MaybeDelay();
// Returns the aborted RPC status if this RPC needs to be aborted. If so,
// this call will be counted as an active fault. Otherwise, it returns
// GRPC_ERROR_NONE.
// If this call is already been delay injected, skip the active faults
// quota check.
grpc_error_handle MaybeAbort();
// Delays the stream operations batch.
void DelayBatch(grpc_call_element* elem,
grpc_transport_stream_op_batch* batch);
// Cancels the delay timer.
void CancelDelayTimer() { grpc_timer_cancel(&delay_timer_); }
// Finishes the fault injection, should only be called once.
void FaultInjectionFinished() {
g_active_faults.FetchSub(1, MemoryOrder::RELAXED);
}
// This is a callback that will be invoked after the delay timer is up.
static void ResumeBatch(void* arg, grpc_error_handle error);
// This is a callback invoked upon completion of recv_trailing_metadata.
// Injects the abort_error_ to the recv_trailing_metadata batch if needed.
static void HijackedRecvTrailingMetadataReady(void* arg, grpc_error_handle);
// Used to track the policy structs that needs to be destroyed in dtor.
bool fi_policy_owned_ = false;
const FaultInjectionMethodParsedConfig::FaultInjectionPolicy* fi_policy_;
grpc_call_stack* owning_call_;
Arena* arena_;
CallCombiner* call_combiner_;
// Indicates whether we are doing a delay and/or an abort for this call.
bool delay_request_ = false;
bool abort_request_ = false;
// Delay states
grpc_timer delay_timer_ ABSL_GUARDED_BY(delay_mu_);
ResumeBatchCanceller* resume_batch_canceller_ ABSL_GUARDED_BY(delay_mu_);
grpc_transport_stream_op_batch* delayed_batch_ ABSL_GUARDED_BY(delay_mu_);
// Abort states
grpc_error_handle abort_error_ = GRPC_ERROR_NONE;
grpc_closure recv_trailing_metadata_ready_;
grpc_closure* original_recv_trailing_metadata_ready_;
// Protects the asynchronous delay, resume, and cancellation.
Mutex delay_mu_;
};
// ChannelData
grpc_error_handle ChannelData::Init(grpc_channel_element* elem,
grpc_channel_element_args* args) {
GPR_ASSERT(elem->filter == &FaultInjectionFilterVtable);
new (elem->channel_data) ChannelData(elem, args);
return GRPC_ERROR_NONE;
}
void ChannelData::Destroy(grpc_channel_element* elem) {
auto* chand = static_cast<ChannelData*>(elem->channel_data);
chand->~ChannelData();
}
ChannelData::ChannelData(grpc_channel_element* elem,
grpc_channel_element_args* args)
: index_(grpc_channel_stack_filter_instance_number(args->channel_stack,
elem)) {}
// CallData::ResumeBatchCanceller
class CallData::ResumeBatchCanceller {
public:
explicit ResumeBatchCanceller(grpc_call_element* elem) : elem_(elem) {
auto* calld = static_cast<CallData*>(elem->call_data);
GRPC_CALL_STACK_REF(calld->owning_call_, "ResumeBatchCanceller");
GRPC_CLOSURE_INIT(&closure_, &Cancel, this, grpc_schedule_on_exec_ctx);
calld->call_combiner_->SetNotifyOnCancel(&closure_);
}
private:
static void Cancel(void* arg, grpc_error_handle error) {
auto* self = static_cast<ResumeBatchCanceller*>(arg);
auto* chand = static_cast<ChannelData*>(self->elem_->channel_data);
auto* calld = static_cast<CallData*>(self->elem_->call_data);
{
MutexLock lock(&calld->delay_mu_);
if (GRPC_TRACE_FLAG_ENABLED(grpc_fault_injection_filter_trace)) {
gpr_log(GPR_INFO,
"chand=%p calld=%p: cancelling schdueled pick: "
"error=%s self=%p calld->resume_batch_canceller_=%p",
chand, calld, grpc_error_string(error), self,
calld->resume_batch_canceller_);
}
if (error != GRPC_ERROR_NONE && calld->resume_batch_canceller_ == self) {
// Cancel the delayed pick.
calld->CancelDelayTimer();
calld->FaultInjectionFinished();
// Fail pending batches on the call.
grpc_transport_stream_op_batch_finish_with_failure(
calld->delayed_batch_, GRPC_ERROR_REF(error),
calld->call_combiner_);
}
}
GRPC_CALL_STACK_UNREF(calld->owning_call_, "ResumeBatchCanceller");
delete self;
}
grpc_call_element* elem_;
grpc_closure closure_;
};
// CallData
grpc_error_handle CallData::Init(grpc_call_element* elem,
const grpc_call_element_args* args) {
auto* calld = new (elem->call_data) CallData(elem, args);
if (calld->fi_policy_ == nullptr) {
return GRPC_ERROR_CREATE_FROM_STATIC_STRING(
"failed to find fault injection policy");
}
return GRPC_ERROR_NONE;
}
void CallData::Destroy(grpc_call_element* elem,
const grpc_call_final_info* /*final_info*/,
grpc_closure* /*then_schedule_closure*/) {
auto* calld = static_cast<CallData*>(elem->call_data);
calld->~CallData();
}
void CallData::StartTransportStreamOpBatch(
grpc_call_element* elem, grpc_transport_stream_op_batch* batch) {
auto* calld = static_cast<CallData*>(elem->call_data);
// There should only be one send_initial_metdata op, and fault injection also
// only need to be enforced once.
if (batch->send_initial_metadata) {
calld->DecideWhetherToInjectFaults(
batch->payload->send_initial_metadata.send_initial_metadata);
if (GRPC_TRACE_FLAG_ENABLED(grpc_fault_injection_filter_trace)) {
gpr_log(GPR_INFO,
"chand=%p calld=%p: Fault injection triggered delay=%d abort=%d",
elem->channel_data, calld, calld->delay_request_,
calld->abort_request_);
}
if (calld->MaybeDelay()) {
// Delay the batch, and pass down the batch in the scheduled closure.
calld->DelayBatch(elem, batch);
return;
}
grpc_error_handle abort_error = calld->MaybeAbort();
if (abort_error != GRPC_ERROR_NONE) {
calld->abort_error_ = abort_error;
grpc_transport_stream_op_batch_finish_with_failure(
batch, GRPC_ERROR_REF(calld->abort_error_), calld->call_combiner_);
return;
}
} else {
if (batch->recv_trailing_metadata) {
// Intercept recv_trailing_metadata callback so that we can inject the
// failure when aborting streaming calls, because their
// recv_trailing_metatdata op may not be on the same batch as the
// send_initial_metadata op.
calld->original_recv_trailing_metadata_ready_ =
batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready;
batch->payload->recv_trailing_metadata.recv_trailing_metadata_ready =
&calld->recv_trailing_metadata_ready_;
}
if (calld->abort_error_ != GRPC_ERROR_NONE) {
// If we already decided to abort, then immediately fail this batch.
grpc_transport_stream_op_batch_finish_with_failure(
batch, GRPC_ERROR_REF(calld->abort_error_), calld->call_combiner_);
return;
}
}
// Chain to the next filter.
grpc_call_next_op(elem, batch);
}
CallData::CallData(grpc_call_element* elem, const grpc_call_element_args* args)
: owning_call_(args->call_stack),
arena_(args->arena),
call_combiner_(args->call_combiner) {
auto* chand = static_cast<ChannelData*>(elem->channel_data);
// Fetch the fault injection policy from the service config, based on the
// relative index for which policy should this CallData use.
auto* service_config_call_data = static_cast<ServiceConfigCallData*>(
args->context[GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA].value);
auto* method_params = static_cast<FaultInjectionMethodParsedConfig*>(
service_config_call_data->GetMethodParsedConfig(
FaultInjectionServiceConfigParser::ParserIndex()));
if (method_params != nullptr) {
fi_policy_ = method_params->fault_injection_policy(chand->index());
}
GRPC_CLOSURE_INIT(&recv_trailing_metadata_ready_,
HijackedRecvTrailingMetadataReady, elem,
grpc_schedule_on_exec_ctx);
}
CallData::~CallData() {
if (fi_policy_owned_) {
fi_policy_->~FaultInjectionPolicy();
}
GRPC_ERROR_UNREF(abort_error_);
}
void CallData::DecideWhetherToInjectFaults(
grpc_metadata_batch* initial_metadata) {
FaultInjectionMethodParsedConfig::FaultInjectionPolicy* copied_policy =
nullptr;
// Update the policy with values in initial metadata.
if (!fi_policy_->abort_code_header.empty() ||
!fi_policy_->abort_percentage_header.empty() ||
!fi_policy_->delay_header.empty() ||
!fi_policy_->delay_percentage_header.empty()) {
// Defer the actual copy until the first matched header.
auto maybe_copy_policy_func = [this, &copied_policy]() {
if (copied_policy == nullptr) {
copied_policy =
arena_->New<FaultInjectionMethodParsedConfig::FaultInjectionPolicy>(
*fi_policy_);
}
};
for (grpc_linked_mdelem* md = initial_metadata->list.head; md != nullptr;
md = md->next) {
absl::string_view key = StringViewFromSlice(GRPC_MDKEY(md->md));
// Only perform string comparison if:
// 1. Needs to check this header;
// 2. The value is not been filled before.
if (!fi_policy_->abort_code_header.empty() &&
(copied_policy == nullptr ||
copied_policy->abort_code == GRPC_STATUS_OK) &&
key == fi_policy_->abort_code_header) {
maybe_copy_policy_func();
grpc_status_code_from_int(GetLinkedMetadatumValueInt(md),
&copied_policy->abort_code);
}
if (!fi_policy_->abort_percentage_header.empty() &&
key == fi_policy_->abort_percentage_header) {
maybe_copy_policy_func();
copied_policy->abort_percentage_numerator =
GPR_MIN(GetLinkedMetadatumValueUnsignedInt(md),
fi_policy_->abort_percentage_numerator);
}
if (!fi_policy_->delay_header.empty() &&
(copied_policy == nullptr || copied_policy->delay == 0) &&
key == fi_policy_->delay_header) {
maybe_copy_policy_func();
copied_policy->delay = static_cast<grpc_millis>(
GPR_MAX(GetLinkedMetadatumValueInt64(md), 0));
}
if (!fi_policy_->delay_percentage_header.empty() &&
key == fi_policy_->delay_percentage_header) {
maybe_copy_policy_func();
copied_policy->delay_percentage_numerator =
GPR_MIN(GetLinkedMetadatumValueUnsignedInt(md),
fi_policy_->delay_percentage_numerator);
}
}
if (copied_policy != nullptr) fi_policy_ = copied_policy;
}
// Roll the dice
delay_request_ = fi_policy_->delay != 0 &&
UnderFraction(fi_policy_->delay_percentage_numerator,
fi_policy_->delay_percentage_denominator);
abort_request_ = fi_policy_->abort_code != GRPC_STATUS_OK &&
UnderFraction(fi_policy_->abort_percentage_numerator,
fi_policy_->abort_percentage_denominator);
if (!delay_request_ && !abort_request_) {
if (copied_policy != nullptr) copied_policy->~FaultInjectionPolicy();
// No fault injection for this call
} else {
fi_policy_owned_ = copied_policy != nullptr;
}
}
bool CallData::HaveActiveFaultsQuota(bool increment) {
if (g_active_faults.Load(MemoryOrder::ACQUIRE) >= fi_policy_->max_faults) {
return false;
}
if (increment) g_active_faults.FetchAdd(1, MemoryOrder::RELAXED);
return true;
}
bool CallData::MaybeDelay() {
if (delay_request_) {
return HaveActiveFaultsQuota(true);
}
return false;
}
grpc_error_handle CallData::MaybeAbort() {
if (abort_request_ && (delay_request_ || HaveActiveFaultsQuota(false))) {
return grpc_error_set_int(
GRPC_ERROR_CREATE_FROM_COPIED_STRING(fi_policy_->abort_message.c_str()),
GRPC_ERROR_INT_GRPC_STATUS, fi_policy_->abort_code);
}
return GRPC_ERROR_NONE;
}
void CallData::DelayBatch(grpc_call_element* elem,
grpc_transport_stream_op_batch* batch) {
MutexLock lock(&delay_mu_);
delayed_batch_ = batch;
resume_batch_canceller_ = new ResumeBatchCanceller(elem);
grpc_millis resume_time = ExecCtx::Get()->Now() + fi_policy_->delay;
GRPC_CLOSURE_INIT(&batch->handler_private.closure, ResumeBatch, elem,
grpc_schedule_on_exec_ctx);
grpc_timer_init(&delay_timer_, resume_time, &batch->handler_private.closure);
}
void CallData::ResumeBatch(void* arg, grpc_error_handle error) {
grpc_call_element* elem = static_cast<grpc_call_element*>(arg);
auto* calld = static_cast<CallData*>(elem->call_data);
MutexLock lock(&calld->delay_mu_);
// Cancelled or canceller has already run
if (error == GRPC_ERROR_CANCELLED ||
calld->resume_batch_canceller_ == nullptr) {
return;
}
if (GRPC_TRACE_FLAG_ENABLED(grpc_fault_injection_filter_trace)) {
gpr_log(GPR_INFO, "chand=%p calld=%p: Resuming delayed stream op batch %p",
elem->channel_data, calld, calld->delayed_batch_);
}
// Lame the canceller
calld->resume_batch_canceller_ = nullptr;
// Finish fault injection.
calld->FaultInjectionFinished();
// Abort if needed.
error = calld->MaybeAbort();
if (error != GRPC_ERROR_NONE) {
grpc_transport_stream_op_batch_finish_with_failure(
calld->delayed_batch_, error, calld->call_combiner_);
return;
}
// Chain to the next filter.
grpc_call_next_op(elem, calld->delayed_batch_);
}
void CallData::HijackedRecvTrailingMetadataReady(void* arg,
grpc_error_handle error) {
grpc_call_element* elem = static_cast<grpc_call_element*>(arg);
auto* calld = static_cast<CallData*>(elem->call_data);
if (calld->abort_error_ != GRPC_ERROR_NONE) {
error = grpc_error_add_child(GRPC_ERROR_REF(error),
GRPC_ERROR_REF(calld->abort_error_));
} else {
error = GRPC_ERROR_REF(error);
}
Closure::Run(DEBUG_LOCATION, calld->original_recv_trailing_metadata_ready_,
error);
}
} // namespace
extern const grpc_channel_filter FaultInjectionFilterVtable = {
CallData::StartTransportStreamOpBatch,
grpc_channel_next_op,
sizeof(CallData),
CallData::Init,
grpc_call_stack_ignore_set_pollset_or_pollset_set,
CallData::Destroy,
sizeof(ChannelData),
ChannelData::Init,
ChannelData::Destroy,
grpc_channel_next_get_info,
"fault_injection_filter",
};
void FaultInjectionFilterInit(void) {
grpc_core::FaultInjectionServiceConfigParser::Register();
}
void FaultInjectionFilterShutdown(void) {}
} // namespace grpc_core
| [
"noreply@github.com"
] | noreply@github.com |
3458d8757b849093756489fe17e1561b95509e43 | e3865a44599efa24984d50ed9eff96c5e2ddd00c | /Classes/main.cpp | 53ebe79e26d842e3e2c08ce1239be26618a2558f | [
"MIT"
] | permissive | junggang/blackbags | 214d681bb68d84d06b16bbf81c0f64d8ac44fc0f | db96cff0fd382f98d75eec24ca20a926a7f9aa85 | refs/heads/master | 2021-01-01T18:02:45.981443 | 2017-09-04T14:09:24 | 2017-09-04T14:09:24 | 16,198,911 | 2 | 1 | null | 2017-09-04T14:09:07 | 2014-01-24T08:22:28 | C++ | UTF-8 | C++ | false | false | 638 | cpp | #include "main.h"
#include "config.h"
#include "AppDelegate.h"
#include "CCEGLView.h"
USING_NS_CC;
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// create the application instance
AppDelegate app;
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
eglView->setViewName("MonsterScramble");
eglView->setFrameSize(WINDOW_WIDTH, WINDOW_HEIGHT);
return CCApplication::sharedApplication()->run();
}
| [
"wooq@nhnnext.org"
] | wooq@nhnnext.org |
3e7265d1d830ad38dc876c3a758c0f3c0c82d6d9 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /dts/include/tencentcloud/dts/v20211206/model/OnlineDDL.h | 87f3ee1c4eb90fd163269200ac3dc7c810a67e6f | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,981 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
#ifndef TENCENTCLOUD_DTS_V20211206_MODEL_ONLINEDDL_H_
#define TENCENTCLOUD_DTS_V20211206_MODEL_ONLINEDDL_H_
#include <string>
#include <vector>
#include <map>
#include <tencentcloud/core/utils/rapidjson/document.h>
#include <tencentcloud/core/utils/rapidjson/writer.h>
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
#include <tencentcloud/core/AbstractModel.h>
namespace TencentCloud
{
namespace Dts
{
namespace V20211206
{
namespace Model
{
/**
* Online DDL type
*/
class OnlineDDL : public AbstractModel
{
public:
OnlineDDL();
~OnlineDDL() = default;
void ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const;
CoreInternalOutcome Deserialize(const rapidjson::Value &value);
/**
* 获取Status
Note: This field may return null, indicating that no valid values can be obtained.
* @return Status Status
Note: This field may return null, indicating that no valid values can be obtained.
*
*/
std::string GetStatus() const;
/**
* 设置Status
Note: This field may return null, indicating that no valid values can be obtained.
* @param _status Status
Note: This field may return null, indicating that no valid values can be obtained.
*
*/
void SetStatus(const std::string& _status);
/**
* 判断参数 Status 是否已赋值
* @return Status 是否已赋值
*
*/
bool StatusHasBeenSet() const;
private:
/**
* Status
Note: This field may return null, indicating that no valid values can be obtained.
*/
std::string m_status;
bool m_statusHasBeenSet;
};
}
}
}
}
#endif // !TENCENTCLOUD_DTS_V20211206_MODEL_ONLINEDDL_H_
| [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
7bd1885ed9bcb0b37d89ddb3640f165da4111aa6 | cfb7bc487ea8f11df30c5b9fbee1fcb5a7deeb74 | /Directory/100. Same Tree/Solution.cpp | 09d9ea93a72c267d5d8df71e635ed949a1f7a1c1 | [] | no_license | fengzhiyugithub/LeetCode | 9a0c9740d4ecd7ca3feff416c457cf2dc3d1232b | 369bfee9d63aaf66f12e7f1777ca035ef7860d67 | refs/heads/master | 2020-03-30T01:15:04.469334 | 2018-11-12T14:13:46 | 2018-11-12T14:13:46 | 150,566,822 | 1 | 1 | null | 2018-10-14T02:04:19 | 2018-09-27T10:03:39 | C++ | UTF-8 | C++ | false | false | 568 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isSameTree(TreeNode* p, TreeNode* q) {
if(p==NULL&&q==NULL) {
return true;
}
if(p!=NULL&&q==NULL||p==NULL&&q!=NULL){
return false;
}
if(p->val!=q->val){
return false;
}
return isSameTree(p->left, q->left)&&isSameTree(p->right, q->right);
}
}; | [
"noreply@github.com"
] | noreply@github.com |
4476997197fd80850eae610204296b0c2b84e053 | 5ec7b58af2c779710dd25cee2c774f7e7e82ea0d | /허/MapDraw.h | 3c7850a839963143987192ebaaef0239515b43ec | [] | no_license | ShinBoWon/Shin_Bo_Won | b5b5b0802fb6ec5d767799eb00dfc8cca5b63fa0 | 1eec64e7be6b5a7a86f40d0e650e90ff61e89d35 | refs/heads/main | 2023-04-23T05:12:02.791374 | 2021-05-07T07:04:05 | 2021-05-07T07:04:05 | 334,827,233 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 788 | h | #pragma once
#include"Mecro.h"
#define UP 'w'
#define DOWN 's'
#define ENTER 13
enum PLAYING
{
PLAYING_DONGEON = 1,
PLAYING_PLAYER_INFO,
PLAYING_MONSTER_INFO,
PLAYING_WEAPON_SHOP,
PLAYING_SAVE,
PLAYING_EXIT
};
class MapDraw // 어디서든 사용이 가능 하고 namespace 화 해서
{
public:
void BoxDraw(int Start_x,int Start_y, int Width, int Height);
void BoxErase(int Width, int Height);
void DrawPoint(string str, int x, int y);
void DrawMidText(string str, int x, int y);
void TextDraw(string str, int x, int y);
void ErasePoint(int x, int y);
int MenuSelectCursor(int MenuLen, int AddCol, int x, int y);
MapDraw();
inline void gotoxy(int x, int y)
{
COORD Pos = { x, y };
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Pos);
}
~MapDraw();
};
| [
"bowon8826@hanmail.net"
] | bowon8826@hanmail.net |
4e669e9b4c68fa832c2db600c75d89353bff5118 | 118f8801e36c16b1d4946e69d049d53ee8f9f675 | /Dragon/voice.h | d2e0b4892f3958f6e937394ef40c66677dc1c57d | [] | no_license | ZERO-Lei/Dragon | 02ca4ff4159ca83885e2b540d4dee088ff724798 | c33586733d8e02aaf02ceb10398067af86d952eb | refs/heads/master | 2022-12-25T06:14:02.640517 | 2020-10-12T12:19:21 | 2020-10-12T12:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | h | /*
* @Author: your name
* @Date: 2020-10-09 10:32:24
* @LastEditTime: 2020-10-11 15:37:58
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \Voice\voice\voice.ino
*/
#ifndef VOICE
#define VOICE
#include "Interface.h"
#include "motor.h"
/*
* DIST_INFO 对象用于存储超声波回传的信息
* 成员 front, left 和 right 分别保存距离三个方向墙壁的距离,单位:cm。
*/
struct DIST_INFO {
u16 front;
u16 left;
u16 right;
};
/*
* dist 对象用于初始化超声波测距系统和进行超声波测距
* dist() :构造函数,会完成引脚的初始化工作
* get_dist() :会测量好距离,并打包成 DIST_INFO 对象
* mode() : 进入超声波模式
*/
class voice
{
u8 send_pin;
u8 front_pin;
u8 left_pin;
u8 right_pin;
motor &control;
public:
voice(motor &_control, u8 _send_pin, u8 _front_pin, u8 _left_pin, u8 _right_pin);
/* return the distance with cm */
void get_dist(DIST_INFO &distance);
void mode();
};
#endif
| [
"61238494+Carl-Carl@users.noreply.github.com"
] | 61238494+Carl-Carl@users.noreply.github.com |
4aba4d365537d829466f994ea6ec4498d88e6c3d | 8581123da86777f7eb5cab234d25150d32e43a2d | /LEDBrightness/brightness/brightness.ino | 9d14673669f652e1efaad783b0e41f2fd944bff2 | [] | no_license | scasica0/Arduino | ce4ba18c5f6ca91233165d09f38668dd1112a797 | 7b431e82db9ef8282fabc3f42276c52e2cc92f73 | refs/heads/master | 2020-03-26T22:24:14.564306 | 2018-08-20T18:39:33 | 2018-08-20T18:39:33 | 145,455,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | ino | // the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin “10” as an output.
pinMode(10, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(10, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(10, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
| [
"noreply@github.com"
] | noreply@github.com |
c09340be220f844c83cc4f205dd8cc8130c1e0b5 | 4506e6ceb97714292c3250023b634c3a07b73d5b | /rpg2kLib/rpg2k/define/Sound.cpp | 4ded26368325434ac9dc979593ece6a278b61e5e | [] | no_license | take-cheeze/rpgtukuru-iphone | 76f23ddfe015018c9ae44b5e887cf837eb061bdf | 3447dbfab84ed1f17e46e9d6936c28b766dadd36 | refs/heads/master | 2016-09-05T10:47:30.461471 | 2011-11-01T09:45:19 | 2011-11-01T09:45:19 | 1,151,984 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include "Define.hpp"
const char* rpg2k::define::Sound = (" \
Array1D Sound \n \
{ \n \
[1]: string fileName; \n \
[3]: int volume = 100; \n \
[4]: int tempo = 100; \n \
[5]: int balance = 50; \n \
}; \n \
");
| [
"takechi101010@07b74652-1305-11df-902e-ef6c94960d2c"
] | takechi101010@07b74652-1305-11df-902e-ef6c94960d2c |
d2332674b6cf0a69c812799754b8b3e273f6af6c | c485cb363d29d81212427d3268df1ddcda64d952 | /dependencies/Ogre/Samples/Isosurf/include/ProceduralTools.h | 19a7351f5f19dca3428aee22495c43ddecbb4a25 | [
"MIT"
] | permissive | peplopez/El-Rayo-de-Zeus | 66e4ed24d7d1d14a036a144d9414ca160f65fb9c | dc6f0a98f65381e8280d837062a28dc5c9b3662a | refs/heads/master | 2021-01-22T04:40:57.358138 | 2013-10-04T01:19:18 | 2013-10-04T01:19:18 | 7,038,026 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | #ifndef __PROCEDURAL_TOOLS_H__
#define __PROCEDURAL_TOOLS_H__
#include <OgrePrerequisites.h>
#include <OgreMesh.h>
//A class containing utility methods to generate procedural content required by the demo
class ProceduralTools
{
public:
static Ogre::MeshPtr generateTetrahedra();
};
#endif
| [
"fibrizo.raziel@gmail.com"
] | fibrizo.raziel@gmail.com |
3da9aab2ca166ebef17abd9abcaa04a605c6cb29 | c8f0b0f490dee2859f2912fd4ed4389d2d3ba2c1 | /Assignments/Assignment4/EKF_UKF/codegen/lib/EKF_predict/examples/main.cpp | 87555ad6a6db3928738842491759de1bd03a7962 | [] | no_license | deepakgangwar/EE698G | 647946e6c32a16ce0d2ebe1292b725288033caa0 | d320caac3bf863bcfdf077f6eac5ccdff67a0951 | refs/heads/master | 2021-03-19T16:22:09.955965 | 2018-02-07T08:57:45 | 2018-02-07T08:57:45 | 81,822,755 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,126 | cpp | //
// File: main.cpp
//
// MATLAB Coder version : 2.8
// C/C++ source code generated on : 02-Apr-2017 18:48:16
//
//***********************************************************************
// This automatically generated example C main file shows how to call
// entry-point functions that MATLAB Coder generated. You must customize
// this file for your application. Do not modify this file directly.
// Instead, make a copy of this file, modify it, and integrate it into
// your development environment.
//
// This file initializes entry-point function arguments to a default
// size and value before calling the entry-point functions. It does
// not store or use any values returned from the entry-point functions.
// If necessary, it does pre-allocate memory for returned values.
// You can use this file as a starting point for a main function that
// you can deploy in your application.
//
// After you copy the file, and before you deploy it, you must make the
// following changes:
// * For variable-size function arguments, change the example sizes to
// the sizes that your application requires.
// * Change the example values of function arguments to the values that
// your application requires.
// * If the entry-point functions return values, store these values or
// otherwise use them as required by your application.
//
//***********************************************************************
// Include Files
#include "rt_nonfinite.h"
#include "EKF_predict.h"
#include "EKF_update.h"
#include "main.h"
#include "EKF_predict_terminate.h"
#include "EKF_predict_initialize.h"
// Function Declarations
static void argInit_1xd2_real_T(double result_data[], int result_size[2]);
static void argInit_2x20_real_T(double result[40]);
static void argInit_2x2_real_T(double result[4]);
static void argInit_2xd2_real_T(double result_data[], int result_size[2]);
static void argInit_3x1_real_T(double result[3]);
static void argInit_3x3_real_T(double result[9]);
static double argInit_real_T();
static void main_EKF_predict();
static void main_EKF_update();
// Function Definitions
//
// Arguments : double result_data[]
// int result_size[2]
// Return Type : void
//
static void argInit_1xd2_real_T(double result_data[], int result_size[2])
{
int b_j1;
// Set the size of the array.
// Change this size to the value that the application requires.
result_size[0] = 1;
result_size[1] = 2;
// Loop over the array to initialize each element.
for (b_j1 = 0; b_j1 < 2; b_j1++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result_data[b_j1] = argInit_real_T();
}
}
//
// Arguments : double result[40]
// Return Type : void
//
static void argInit_2x20_real_T(double result[40])
{
int b_j0;
int b_j1;
// Loop over the array to initialize each element.
for (b_j0 = 0; b_j0 < 2; b_j0++) {
for (b_j1 = 0; b_j1 < 20; b_j1++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result[b_j0 + (b_j1 << 1)] = argInit_real_T();
}
}
}
//
// Arguments : double result[4]
// Return Type : void
//
static void argInit_2x2_real_T(double result[4])
{
int b_j0;
int b_j1;
// Loop over the array to initialize each element.
for (b_j0 = 0; b_j0 < 2; b_j0++) {
for (b_j1 = 0; b_j1 < 2; b_j1++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result[b_j0 + (b_j1 << 1)] = argInit_real_T();
}
}
}
//
// Arguments : double result_data[]
// int result_size[2]
// Return Type : void
//
static void argInit_2xd2_real_T(double result_data[], int result_size[2])
{
int b_j0;
int b_j1;
// Set the size of the array.
// Change this size to the value that the application requires.
result_size[0] = 2;
result_size[1] = 2;
// Loop over the array to initialize each element.
for (b_j0 = 0; b_j0 < 2; b_j0++) {
for (b_j1 = 0; b_j1 < 2; b_j1++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result_data[b_j0 + 2 * b_j1] = argInit_real_T();
}
}
}
//
// Arguments : double result[3]
// Return Type : void
//
static void argInit_3x1_real_T(double result[3])
{
int b_j0;
// Loop over the array to initialize each element.
for (b_j0 = 0; b_j0 < 3; b_j0++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result[b_j0] = argInit_real_T();
}
}
//
// Arguments : double result[9]
// Return Type : void
//
static void argInit_3x3_real_T(double result[9])
{
int b_j0;
int b_j1;
// Loop over the array to initialize each element.
for (b_j0 = 0; b_j0 < 3; b_j0++) {
for (b_j1 = 0; b_j1 < 3; b_j1++) {
// Set the value of the array element.
// Change this value to the value that the application requires.
result[b_j0 + 3 * b_j1] = argInit_real_T();
}
}
}
//
// Arguments : void
// Return Type : double
//
static double argInit_real_T()
{
return 0.0;
}
//
// Arguments : void
// Return Type : void
//
static void main_EKF_predict()
{
double x[3];
double P[9];
double dv0[4];
// Initialize function 'EKF_predict' input arguments.
// Initialize function input argument 'x'.
argInit_3x1_real_T(x);
// Initialize function input argument 'P'.
argInit_3x3_real_T(P);
// Initialize function input argument 'Q'.
// Call the entry-point 'EKF_predict'.
argInit_2x2_real_T(dv0);
EKF_predict(x, P, argInit_real_T(), argInit_real_T(), dv0, argInit_real_T());
}
//
// Arguments : void
// Return Type : void
//
static void main_EKF_update()
{
double x[3];
double P[9];
int z_size[2];
double z_data[4];
double R[4];
int idf_size[2];
double idf_data[2];
double dv1[40];
// Initialize function 'EKF_update' input arguments.
// Initialize function input argument 'x'.
argInit_3x1_real_T(x);
// Initialize function input argument 'P'.
argInit_3x3_real_T(P);
// Initialize function input argument 'z'.
argInit_2xd2_real_T(z_data, z_size);
// Initialize function input argument 'R'.
argInit_2x2_real_T(R);
// Initialize function input argument 'idf'.
argInit_1xd2_real_T(idf_data, idf_size);
// Initialize function input argument 'lm'.
// Call the entry-point 'EKF_update'.
argInit_2x20_real_T(dv1);
EKF_update(x, P, z_data, z_size, R, idf_data, idf_size, dv1);
}
//
// Arguments : int argc
// const char * const argv[]
// Return Type : int
//
int main(int, const char * const [])
{
// Initialize the application.
// You do not need to do this more than one time.
EKF_predict_initialize();
// Invoke the entry-point functions.
// You can call entry-point functions multiple times.
main_EKF_predict();
main_EKF_update();
// Terminate the application.
// You do not need to do this more than one time.
EKF_predict_terminate();
return 0;
}
//
// File trailer for main.cpp
//
// [EOF]
//
| [
"deeepakg1998@gmail.com"
] | deeepakg1998@gmail.com |
d964bbf2546ad377e3b51ac4d2fb9ba537b7d15c | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /bmlb/include/tencentcloud/bmlb/v20180625/model/LoadBalancerPortInfoListener.h | 46c96165fa5d167c65aea862c2067a1486e8cec0 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 9,079 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
#ifndef TENCENTCLOUD_BMLB_V20180625_MODEL_LOADBALANCERPORTINFOLISTENER_H_
#define TENCENTCLOUD_BMLB_V20180625_MODEL_LOADBALANCERPORTINFOLISTENER_H_
#include <string>
#include <vector>
#include <map>
#include <tencentcloud/core/utils/rapidjson/document.h>
#include <tencentcloud/core/utils/rapidjson/writer.h>
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
#include <tencentcloud/core/AbstractModel.h>
namespace TencentCloud
{
namespace Bmlb
{
namespace V20180625
{
namespace Model
{
/**
* 获取黑石负载均衡端口相关信息时返回的监听器信息(四层和七层)。
*/
class LoadBalancerPortInfoListener : public AbstractModel
{
public:
LoadBalancerPortInfoListener();
~LoadBalancerPortInfoListener() = default;
void ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const;
CoreInternalOutcome Deserialize(const rapidjson::Value &value);
/**
* 获取负载均衡监听器ID。
* @return ListenerId 负载均衡监听器ID。
*/
std::string GetListenerId() const;
/**
* 设置负载均衡监听器ID。
* @param ListenerId 负载均衡监听器ID。
*/
void SetListenerId(const std::string& _listenerId);
/**
* 判断参数 ListenerId 是否已赋值
* @return ListenerId 是否已赋值
*/
bool ListenerIdHasBeenSet() const;
/**
* 获取监听器名称。
* @return ListenerName 监听器名称。
*/
std::string GetListenerName() const;
/**
* 设置监听器名称。
* @param ListenerName 监听器名称。
*/
void SetListenerName(const std::string& _listenerName);
/**
* 判断参数 ListenerName 是否已赋值
* @return ListenerName 是否已赋值
*/
bool ListenerNameHasBeenSet() const;
/**
* 获取监听器协议类型,可选值:http,https,tcp,udp。
* @return Protocol 监听器协议类型,可选值:http,https,tcp,udp。
*/
std::string GetProtocol() const;
/**
* 设置监听器协议类型,可选值:http,https,tcp,udp。
* @param Protocol 监听器协议类型,可选值:http,https,tcp,udp。
*/
void SetProtocol(const std::string& _protocol);
/**
* 判断参数 Protocol 是否已赋值
* @return Protocol 是否已赋值
*/
bool ProtocolHasBeenSet() const;
/**
* 获取监听器的监听端口。
* @return LoadBalancerPort 监听器的监听端口。
*/
int64_t GetLoadBalancerPort() const;
/**
* 设置监听器的监听端口。
* @param LoadBalancerPort 监听器的监听端口。
*/
void SetLoadBalancerPort(const int64_t& _loadBalancerPort);
/**
* 判断参数 LoadBalancerPort 是否已赋值
* @return LoadBalancerPort 是否已赋值
*/
bool LoadBalancerPortHasBeenSet() const;
/**
* 获取计费模式为按固定带宽方式时监听器的限速值,单位:Mbps。
* @return Bandwidth 计费模式为按固定带宽方式时监听器的限速值,单位:Mbps。
*/
int64_t GetBandwidth() const;
/**
* 设置计费模式为按固定带宽方式时监听器的限速值,单位:Mbps。
* @param Bandwidth 计费模式为按固定带宽方式时监听器的限速值,单位:Mbps。
*/
void SetBandwidth(const int64_t& _bandwidth);
/**
* 判断参数 Bandwidth 是否已赋值
* @return Bandwidth 是否已赋值
*/
bool BandwidthHasBeenSet() const;
/**
* 获取监听器当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
* @return Status 监听器当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
*/
int64_t GetStatus() const;
/**
* 设置监听器当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
* @param Status 监听器当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
*/
void SetStatus(const int64_t& _status);
/**
* 判断参数 Status 是否已赋值
* @return Status 是否已赋值
*/
bool StatusHasBeenSet() const;
/**
* 获取与监听器绑定的主机端口。
* @return Port 与监听器绑定的主机端口。
*/
int64_t GetPort() const;
/**
* 设置与监听器绑定的主机端口。
* @param Port 与监听器绑定的主机端口。
*/
void SetPort(const int64_t& _port);
/**
* 判断参数 Port 是否已赋值
* @return Port 是否已赋值
*/
bool PortHasBeenSet() const;
private:
/**
* 负载均衡监听器ID。
*/
std::string m_listenerId;
bool m_listenerIdHasBeenSet;
/**
* 监听器名称。
*/
std::string m_listenerName;
bool m_listenerNameHasBeenSet;
/**
* 监听器协议类型,可选值:http,https,tcp,udp。
*/
std::string m_protocol;
bool m_protocolHasBeenSet;
/**
* 监听器的监听端口。
*/
int64_t m_loadBalancerPort;
bool m_loadBalancerPortHasBeenSet;
/**
* 计费模式为按固定带宽方式时监听器的限速值,单位:Mbps。
*/
int64_t m_bandwidth;
bool m_bandwidthHasBeenSet;
/**
* 监听器当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
*/
int64_t m_status;
bool m_statusHasBeenSet;
/**
* 与监听器绑定的主机端口。
*/
int64_t m_port;
bool m_portHasBeenSet;
};
}
}
}
}
#endif // !TENCENTCLOUD_BMLB_V20180625_MODEL_LOADBALANCERPORTINFOLISTENER_H_
| [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
6f3d07fa431ee0ec6cbda1bddb956475c4de40f7 | b68de833bc3bd8ec12686a059fe275e195a2e6b8 | /src/test/uint256_tests.cpp | cedddad1bd9cf591842df1c01fd7c249e68cde98 | [
"MIT"
] | permissive | voicechain/voicechain | 0e3fd61875d706e7049355c3c240d9f26d26e67a | 7c48aabad58c4681ee7c1663bb1e6c232c418b4e | refs/heads/master | 2023-03-02T01:41:18.885950 | 2021-02-16T00:01:26 | 2021-02-16T00:01:26 | 336,066,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,354 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "arith_uint256.h"
#include "uint256.h"
#include "version.h"
#include "test/test_voice.h"
#include <boost/test/unit_test.hpp>
#include <stdint.h>
#include <sstream>
#include <iomanip>
#include <limits>
#include <cmath>
#include <string>
#include <stdio.h>
BOOST_FIXTURE_TEST_SUITE(uint256_tests, BasicTestingSetup)
const unsigned char R1Array[] =
"\x9c\x52\x4a\xdb\xcf\x56\x11\x12\x2b\x29\x12\x5e\x5d\x35\xd2\xd2"
"\x22\x81\xaa\xb5\x33\xf0\x08\x32\xd5\x56\xb1\xf9\xea\xe5\x1d\x7d";
const char R1ArrayHex[] = "7D1DE5EAF9B156D53208F033B5AA8122D2d2355d5e12292b121156cfdb4a529c";
const uint256 R1L = uint256(std::vector<unsigned char>(R1Array,R1Array+32));
const uint160 R1S = uint160(std::vector<unsigned char>(R1Array,R1Array+20));
const unsigned char R2Array[] =
"\x70\x32\x1d\x7c\x47\xa5\x6b\x40\x26\x7e\x0a\xc3\xa6\x9c\xb6\xbf"
"\x13\x30\x47\xa3\x19\x2d\xda\x71\x49\x13\x72\xf0\xb4\xca\x81\xd7";
const uint256 R2L = uint256(std::vector<unsigned char>(R2Array,R2Array+32));
const uint160 R2S = uint160(std::vector<unsigned char>(R2Array,R2Array+20));
const unsigned char ZeroArray[] =
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
const uint256 ZeroL = uint256(std::vector<unsigned char>(ZeroArray,ZeroArray+32));
const uint160 ZeroS = uint160(std::vector<unsigned char>(ZeroArray,ZeroArray+20));
const unsigned char OneArray[] =
"\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
const uint256 OneL = uint256(std::vector<unsigned char>(OneArray,OneArray+32));
const uint160 OneS = uint160(std::vector<unsigned char>(OneArray,OneArray+20));
const unsigned char MaxArray[] =
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff";
const uint256 MaxL = uint256(std::vector<unsigned char>(MaxArray,MaxArray+32));
const uint160 MaxS = uint160(std::vector<unsigned char>(MaxArray,MaxArray+20));
std::string ArrayToString(const unsigned char A[], unsigned int width)
{
std::stringstream Stream;
Stream << std::hex;
for (unsigned int i = 0; i < width; ++i)
{
Stream<<std::setw(2)<<std::setfill('0')<<(unsigned int)A[width-i-1];
}
return Stream.str();
}
inline uint160 uint160S(const char *str)
{
uint160 rv;
rv.SetHex(str);
return rv;
}
inline uint160 uint160S(const std::string& str)
{
uint160 rv;
rv.SetHex(str);
return rv;
}
BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality
{
BOOST_CHECK(1 == 0+1);
// constructor uint256(vector<char>):
BOOST_CHECK(R1L.ToString() == ArrayToString(R1Array,32));
BOOST_CHECK(R1S.ToString() == ArrayToString(R1Array,20));
BOOST_CHECK(R2L.ToString() == ArrayToString(R2Array,32));
BOOST_CHECK(R2S.ToString() == ArrayToString(R2Array,20));
BOOST_CHECK(ZeroL.ToString() == ArrayToString(ZeroArray,32));
BOOST_CHECK(ZeroS.ToString() == ArrayToString(ZeroArray,20));
BOOST_CHECK(OneL.ToString() == ArrayToString(OneArray,32));
BOOST_CHECK(OneS.ToString() == ArrayToString(OneArray,20));
BOOST_CHECK(MaxL.ToString() == ArrayToString(MaxArray,32));
BOOST_CHECK(MaxS.ToString() == ArrayToString(MaxArray,20));
BOOST_CHECK(OneL.ToString() != ArrayToString(ZeroArray,32));
BOOST_CHECK(OneS.ToString() != ArrayToString(ZeroArray,20));
// == and !=
BOOST_CHECK(R1L != R2L && R1S != R2S);
BOOST_CHECK(ZeroL != OneL && ZeroS != OneS);
BOOST_CHECK(OneL != ZeroL && OneS != ZeroS);
BOOST_CHECK(MaxL != ZeroL && MaxS != ZeroS);
// String Constructor and Copy Constructor
BOOST_CHECK(uint256S("0x"+R1L.ToString()) == R1L);
BOOST_CHECK(uint256S("0x"+R2L.ToString()) == R2L);
BOOST_CHECK(uint256S("0x"+ZeroL.ToString()) == ZeroL);
BOOST_CHECK(uint256S("0x"+OneL.ToString()) == OneL);
BOOST_CHECK(uint256S("0x"+MaxL.ToString()) == MaxL);
BOOST_CHECK(uint256S(R1L.ToString()) == R1L);
BOOST_CHECK(uint256S(" 0x"+R1L.ToString()+" ") == R1L);
BOOST_CHECK(uint256S("") == ZeroL);
BOOST_CHECK(R1L == uint256S(R1ArrayHex));
BOOST_CHECK(uint256(R1L) == R1L);
BOOST_CHECK(uint256(ZeroL) == ZeroL);
BOOST_CHECK(uint256(OneL) == OneL);
BOOST_CHECK(uint160S("0x"+R1S.ToString()) == R1S);
BOOST_CHECK(uint160S("0x"+R2S.ToString()) == R2S);
BOOST_CHECK(uint160S("0x"+ZeroS.ToString()) == ZeroS);
BOOST_CHECK(uint160S("0x"+OneS.ToString()) == OneS);
BOOST_CHECK(uint160S("0x"+MaxS.ToString()) == MaxS);
BOOST_CHECK(uint160S(R1S.ToString()) == R1S);
BOOST_CHECK(uint160S(" 0x"+R1S.ToString()+" ") == R1S);
BOOST_CHECK(uint160S("") == ZeroS);
BOOST_CHECK(R1S == uint160S(R1ArrayHex));
BOOST_CHECK(uint160(R1S) == R1S);
BOOST_CHECK(uint160(ZeroS) == ZeroS);
BOOST_CHECK(uint160(OneS) == OneS);
}
BOOST_AUTO_TEST_CASE( comparison ) // <= >= < >
{
uint256 LastL;
for (int i = 255; i >= 0; --i) {
uint256 TmpL;
*(TmpL.begin() + (i>>3)) |= 1<<(7-(i&7));
BOOST_CHECK( LastL < TmpL );
LastL = TmpL;
}
BOOST_CHECK( ZeroL < R1L );
BOOST_CHECK( R2L < R1L );
BOOST_CHECK( ZeroL < OneL );
BOOST_CHECK( OneL < MaxL );
BOOST_CHECK( R1L < MaxL );
BOOST_CHECK( R2L < MaxL );
uint160 LastS;
for (int i = 159; i >= 0; --i) {
uint160 TmpS;
*(TmpS.begin() + (i>>3)) |= 1<<(7-(i&7));
BOOST_CHECK( LastS < TmpS );
LastS = TmpS;
}
BOOST_CHECK( ZeroS < R1S );
BOOST_CHECK( R2S < R1S );
BOOST_CHECK( ZeroS < OneS );
BOOST_CHECK( OneS < MaxS );
BOOST_CHECK( R1S < MaxS );
BOOST_CHECK( R2S < MaxS );
}
BOOST_AUTO_TEST_CASE( methods ) // GetHex SetHex begin() end() size() GetLow64 GetSerializeSize, Serialize, Unserialize
{
BOOST_CHECK(R1L.GetHex() == R1L.ToString());
BOOST_CHECK(R2L.GetHex() == R2L.ToString());
BOOST_CHECK(OneL.GetHex() == OneL.ToString());
BOOST_CHECK(MaxL.GetHex() == MaxL.ToString());
uint256 TmpL(R1L);
BOOST_CHECK(TmpL == R1L);
TmpL.SetHex(R2L.ToString()); BOOST_CHECK(TmpL == R2L);
TmpL.SetHex(ZeroL.ToString()); BOOST_CHECK(TmpL == uint256());
TmpL.SetHex(R1L.ToString());
BOOST_CHECK(memcmp(R1L.begin(), R1Array, 32)==0);
BOOST_CHECK(memcmp(TmpL.begin(), R1Array, 32)==0);
BOOST_CHECK(memcmp(R2L.begin(), R2Array, 32)==0);
BOOST_CHECK(memcmp(ZeroL.begin(), ZeroArray, 32)==0);
BOOST_CHECK(memcmp(OneL.begin(), OneArray, 32)==0);
BOOST_CHECK(R1L.size() == sizeof(R1L));
BOOST_CHECK(sizeof(R1L) == 32);
BOOST_CHECK(R1L.size() == 32);
BOOST_CHECK(R2L.size() == 32);
BOOST_CHECK(ZeroL.size() == 32);
BOOST_CHECK(MaxL.size() == 32);
BOOST_CHECK(R1L.begin() + 32 == R1L.end());
BOOST_CHECK(R2L.begin() + 32 == R2L.end());
BOOST_CHECK(OneL.begin() + 32 == OneL.end());
BOOST_CHECK(MaxL.begin() + 32 == MaxL.end());
BOOST_CHECK(TmpL.begin() + 32 == TmpL.end());
BOOST_CHECK(GetSerializeSize(R1L, 0, PROTOCOL_VERSION) == 32);
BOOST_CHECK(GetSerializeSize(ZeroL, 0, PROTOCOL_VERSION) == 32);
CDataStream ss(0, PROTOCOL_VERSION);
ss << R1L;
BOOST_CHECK(ss.str() == std::string(R1Array,R1Array+32));
ss >> TmpL;
BOOST_CHECK(R1L == TmpL);
ss.clear();
ss << ZeroL;
BOOST_CHECK(ss.str() == std::string(ZeroArray,ZeroArray+32));
ss >> TmpL;
BOOST_CHECK(ZeroL == TmpL);
ss.clear();
ss << MaxL;
BOOST_CHECK(ss.str() == std::string(MaxArray,MaxArray+32));
ss >> TmpL;
BOOST_CHECK(MaxL == TmpL);
ss.clear();
BOOST_CHECK(R1S.GetHex() == R1S.ToString());
BOOST_CHECK(R2S.GetHex() == R2S.ToString());
BOOST_CHECK(OneS.GetHex() == OneS.ToString());
BOOST_CHECK(MaxS.GetHex() == MaxS.ToString());
uint160 TmpS(R1S);
BOOST_CHECK(TmpS == R1S);
TmpS.SetHex(R2S.ToString()); BOOST_CHECK(TmpS == R2S);
TmpS.SetHex(ZeroS.ToString()); BOOST_CHECK(TmpS == uint160());
TmpS.SetHex(R1S.ToString());
BOOST_CHECK(memcmp(R1S.begin(), R1Array, 20)==0);
BOOST_CHECK(memcmp(TmpS.begin(), R1Array, 20)==0);
BOOST_CHECK(memcmp(R2S.begin(), R2Array, 20)==0);
BOOST_CHECK(memcmp(ZeroS.begin(), ZeroArray, 20)==0);
BOOST_CHECK(memcmp(OneS.begin(), OneArray, 20)==0);
BOOST_CHECK(R1S.size() == sizeof(R1S));
BOOST_CHECK(sizeof(R1S) == 20);
BOOST_CHECK(R1S.size() == 20);
BOOST_CHECK(R2S.size() == 20);
BOOST_CHECK(ZeroS.size() == 20);
BOOST_CHECK(MaxS.size() == 20);
BOOST_CHECK(R1S.begin() + 20 == R1S.end());
BOOST_CHECK(R2S.begin() + 20 == R2S.end());
BOOST_CHECK(OneS.begin() + 20 == OneS.end());
BOOST_CHECK(MaxS.begin() + 20 == MaxS.end());
BOOST_CHECK(TmpS.begin() + 20 == TmpS.end());
BOOST_CHECK(GetSerializeSize(R1S, 0, PROTOCOL_VERSION) == 20);
BOOST_CHECK(GetSerializeSize(ZeroS, 0, PROTOCOL_VERSION) == 20);
ss << R1S;
BOOST_CHECK(ss.str() == std::string(R1Array,R1Array+20));
ss >> TmpS;
BOOST_CHECK(R1S == TmpS);
ss.clear();
ss << ZeroS;
BOOST_CHECK(ss.str() == std::string(ZeroArray,ZeroArray+20));
ss >> TmpS;
BOOST_CHECK(ZeroS == TmpS);
ss.clear();
ss << MaxS;
BOOST_CHECK(ss.str() == std::string(MaxArray,MaxArray+20));
ss >> TmpS;
BOOST_CHECK(MaxS == TmpS);
ss.clear();
}
BOOST_AUTO_TEST_CASE( conversion )
{
BOOST_CHECK(ArithToUint256(UintToArith256(ZeroL)) == ZeroL);
BOOST_CHECK(ArithToUint256(UintToArith256(OneL)) == OneL);
BOOST_CHECK(ArithToUint256(UintToArith256(R1L)) == R1L);
BOOST_CHECK(ArithToUint256(UintToArith256(R2L)) == R2L);
BOOST_CHECK(UintToArith256(ZeroL) == 0);
BOOST_CHECK(UintToArith256(OneL) == 1);
BOOST_CHECK(ArithToUint256(0) == ZeroL);
BOOST_CHECK(ArithToUint256(1) == OneL);
BOOST_CHECK(arith_uint256(R1L.GetHex()) == UintToArith256(R1L));
BOOST_CHECK(arith_uint256(R2L.GetHex()) == UintToArith256(R2L));
BOOST_CHECK(R1L.GetHex() == UintToArith256(R1L).GetHex());
BOOST_CHECK(R2L.GetHex() == UintToArith256(R2L).GetHex());
}
BOOST_AUTO_TEST_SUITE_END()
| [
"60183029+AndresCHz45@users.noreply.github.com"
] | 60183029+AndresCHz45@users.noreply.github.com |
573afe8a1665b5d99185c4cd3dbe9402b5d5690c | 5c27a588a4fedb7d3a1bdab151c05abafb6acce8 | /MachiavelliServer/Mage.h | d1c89f69b9a2d648a8e1cb5564237f87287fa31c | [] | no_license | luukspierings/MachiavelliServer | 9895ba94676e0526e21768ccafc309aa34f97210 | f9d7e6671d43e13395cd01eb3a3f9d3ef6874dbf | refs/heads/master | 2021-03-16T05:55:58.455843 | 2018-01-09T21:38:36 | 2018-01-09T21:38:36 | 115,526,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | h | #pragma once
#include <memory>
#include <vector>
#include "Character.h"
#include "Player.h"
#include "Game.h"
#include "BuildingHand.h"
class Mage : public Character {
public:
Mage(int order) : Character(order) {
name = "Mage";
description = "Could trade building cards";
}
void printOptions(Game& game, Player& player) override;
void processState(Game& game, Player& player, string command) override;
private:
BuildingHand chosenSwaps;
bool choosingCards = false;
void printChoosingOptions(Game & game, Player & player);
void characterOptions(Game & game, Player & player) override;
}; | [
"lcpspier@avans.nl"
] | lcpspier@avans.nl |
841e4605683ae89bc8d2ebc5ca769b556d99b14a | 70fab0b00e2d0b0800f88e29cc42b41b8df09ee6 | /bbp/src/uwsr/FEM/SingleDomParamIter.cpp | 9e6f74a81f769ab35b2f69d92f1bf26de7679e16 | [
"Apache-2.0"
] | permissive | alborzgh/bbp | b51e57d93f2141407bcb0f1d092f3bed7b7fdf6a | bc0cce2378aa071a5537d25c1a738e58ef610561 | refs/heads/master | 2020-04-03T00:41:39.088013 | 2018-12-05T21:52:39 | 2018-12-05T21:52:39 | 154,905,925 | 0 | 1 | Apache-2.0 | 2018-10-26T23:46:45 | 2018-10-26T23:46:45 | null | UTF-8 | C++ | false | false | 2,639 | cpp | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** **
** (C) Copyright 1999, The Regents of the University of California **
** All Rights Reserved. **
** **
** Commercial use of this program without express permission of the **
** University of California, Berkeley, is strictly prohibited. See **
** file 'COPYRIGHT' in main directory for information on usage and **
** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
** **
** Developed by: **
** Frank McKenna (fmckenna@ce.berkeley.edu) **
** Gregory L. Fenves (fenves@ce.berkeley.edu) **
** Filip C. Filippou (filippou@ce.berkeley.edu) **
** **
** ****************************************************************** */
// $Revision: 1.1 $
// $Date: 2006-12-13 18:17:37 $
// $Source: /usr/local/cvs/OpenSees/SRC/domain/domain/single/SingleDomParamIter.cpp,v $
// Description: This file contains the method definitions for class
// SingleDomParamIter. SingleDomParamIter is a class for iterating through the
// parameters of a domain.
#include <SingleDomParamIter.h>
#include <Parameter.h>
#include <TaggedObjectIter.h>
#include <TaggedObjectStorage.h>
// SingleDomParamIter(SingleDomain &theDomain):
// constructor that takes the model, just the basic iter
SingleDomParamIter::SingleDomParamIter(TaggedObjectStorage *theStorage)
:myIter(theStorage->getComponents())
{
}
SingleDomParamIter::~SingleDomParamIter()
{
}
void
SingleDomParamIter::reset(void)
{
myIter.reset();
}
Parameter *
SingleDomParamIter::operator()(void)
{
// check if we still have parameters in the model
// if not return 0, indicating we are done
TaggedObject *theComponent = myIter();
if (theComponent == 0)
return 0;
else {
Parameter *result = (Parameter *)theComponent;
return result;
}
}
| [
"alborzgh@uw.edu"
] | alborzgh@uw.edu |
0d9ea07e3b32d3df7620fc6c76c1d1bb428d2cde | 8bea8348d17bf4e3bf28e5a42282c95cb14a8f2e | /main.cpp | 0c14d48dc08bbf7e1a38e7aaef2a291b3b3f266b | [] | no_license | pushok666/labs_of_IVGPU | f7f3e817c168156f25785dd62ac6504c50bfa582 | b8b3c08949e25f907faae327022336c43f40aa63 | refs/heads/master | 2023-04-23T21:35:42.704849 | 2021-04-29T14:28:22 | 2021-04-29T14:28:22 | 340,602,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | #include <iostream>
#include <cmath>
#include "lab#1.cpp"
#include "lab#2.cpp"
#include "lab#3.cpp"
#include "lab#4.cpp"
#include "lab#5.cpp"
using namespace std;
int main()
{
cout << "lab 1-5(console) Sidorov P.V ISTB-11"<<endl;
cout<<"lab #1 work"<<endl;
lab1();
cout<<"-----------------------------------------------------------"<<endl;
cout<<"lab #2 work"<<endl;
lab2();
cout<<"-----------------------------------------------------------"<<endl;
cout<<"lab #3 work"<<endl;
lab3();
cout<<"-----------------------------------------------------------"<<endl;
cout<<"lab #4 work"<<endl;
lab4();
cout<<"-----------------------------------------------------------"<<endl;
cout<<"lab #5 work"<<endl;
lab5();
cout<<"-----------------------------------------------------------"<<endl;
return 0;
}
| [
"pavel.work.01@bk.ru"
] | pavel.work.01@bk.ru |
2e44370d11a18e1698ae4b340d99739fc2316083 | effa0f0346bfb402c3949626ab7beb5d059b4f33 | /src/debug.h | 57916569ecb3112b5ce14ff21f825d845327d78d | [] | no_license | amalon/bathysphere | 5f51b0dc3b516f9a98da0f7ff8ab14d3caa49790 | 22b12015e95b9ff82e693e1cd579d6106e982cef | refs/heads/master | 2021-01-13T10:07:25.427124 | 2016-09-27T21:19:30 | 2016-09-27T21:46:39 | 69,401,786 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | h | /*
* debug.h
*
* Copyright (C) 2007-2014 James Hogan <james@albanarts.com>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
* (in the file called COPYING).
*
*
* Debug object which times out.
*
*/
#ifndef _FILE_debug_h
#define _FILE_debug_h
#include "object.h"
namespace Debug {
/// Simple renderable debug object which times out.
class DebugObject : public Object
{
protected:
/// Timeout.
float _timeout;
/// Whether to draw debug objects
static bool _enableDebugRender;
public:
/// Main constructor.
DebugObject(float timeout);
/// Set whether to draw debug objects.
inline static void SetDebugRender(bool render)
{
_enableDebugRender = render;
}
/// Find whether debug rendering is enabled.
inline static bool GetDebugRender()
{
return _enableDebugRender;
}
protected:
/// Advance the timeout.
void VAdvance(float dt);
/// Draw the debug object.
void VRender(const Observer & observer)
{
if (_enableDebugRender) {
VDebugRender(observer);
}
}
/// Debug drawing functions for derivitive classes to implement.
virtual void VDebugRender(const Observer & observer) {}
};
/// Draws a simple set of arrows for the axes.
class Axes : public DebugObject
{
public:
/// Main constructor.
Axes(float size, float timeout);
protected:
/// Draw the axes
void VDebugRender(const Observer & observer);
};
}
#endif // _FILE_debug_h
| [
"james@albanarts.com"
] | james@albanarts.com |
fe18836e3ff130670e09b92e26bbb15c2e3bd5c2 | de9007da0a65c09afca01f032c8afa5f5c317978 | /Chapter08_AnimationSystemUtilization/Source/TutorialProject/ABCharacter.h | 4b22d511f2753fdb96310fb30142e51b95cee8ff | [] | no_license | lyunDev/Unreal-basic-tutorial | fa475191075fa8e2153861fd42f2082029ee34f9 | 21afa717cf71e9a1d2d569e721642d57d47eef99 | refs/heads/main | 2023-02-03T14:13:34.753978 | 2020-12-22T01:11:22 | 2020-12-22T01:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,255 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "TutorialProject.h"
#include "GameFramework/Character.h"
#include "ABCharacter.generated.h"
UCLASS()
class TUTORIALPROJECT_API AABCharacter : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this character's properties
AABCharacter();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
enum class EControlMode
{
GTA,
DIABLO
};
void SetControlMode(EControlMode NewControlMode);
EControlMode CurrentControlMode = EControlMode::GTA;
FVector DirectionToMove = FVector::ZeroVector;
float ArmLengthTo = 0.0f;
FRotator ArmRotationTo = FRotator::ZeroRotator;
float ArmLengthSpeed = 0.0f;
float ArmRotationSpeed = 0.0f;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
virtual void PostInitializeComponents() override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
UPROPERTY(VisibleAnywhere, Category = Camera)
USpringArmComponent * SpringArm;
UPROPERTY(VisibleAnywhere, Category = Camera)
UCameraComponent * Camera;
private :
void UpDown(float NewAxisValue);
void LeftRight(float NewAxisValue);
void LookUp(float NewAxisValue);
void Turn(float NewAxisValue);
void ViewChange();
void Attack();
UFUNCTION()
void OnAttackMontageEnded(UAnimMontage* Montage, bool bInterrupted);
void AttackStartComboState();
void AttackEndComboState();
private :
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, Category = Attack, Meta = (AllowPrivateAccess = true))
bool IsAttacking;
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, Category = Attack, Meta = (AllowPrivateAccess = true))
bool CanNextCombo;
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, Category = Attack, Meta = (AllowPrivateAccess = true))
bool IsComboInputOn;
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, Category = Attack, Meta = (AllowPrivateAccess = true))
int32 CurrentCombo;
UPROPERTY(VisibleInstanceOnly, BlueprintReadOnly, Category = Attack, Meta = (AllowPrivateAccess = true))
int32 MaxCombo;
UPROPERTY()
class UABAnimInstance * ABAnim;
};
| [
"lyun.dev@gmail.com"
] | lyun.dev@gmail.com |
52b7049bffb8cf6f22ae27f458e80cde44fd1ebe | ed9cb0c78499b6c4dc9a0045693a28c267f55e09 | /NatSelection/src/Robot.h | 98d78eebd737b7294e1e0482d6eac7ac067f74ff | [] | no_license | Winter091/NaturalSelection | a3edac324ad3a08cd358c272981c51265336ae88 | ad0abdf03f56d0cef7d8b37c860e51c29430301b | refs/heads/master | 2020-09-17T05:19:03.206321 | 2020-07-29T11:41:18 | 2020-07-29T11:41:18 | 224,002,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | h | #pragma once
#include <vector>
#include "Cell.h"
#include <SFML/Graphics.hpp>
enum class Actions
{
NONE,
EATING_FOOD,
TURNING_WALL_TO_FOOD
};
class Robot
{
private:
unsigned int x, y;
int lifeTimer;
// There's a delay in action commiting
int actionTimer;
Actions currAction;
int pendingMoveX, pendingMoveY;
// code's length is 64
std::vector<unsigned int> code;
unsigned int codePtr;
// All robots share the same drawing stuff
static sf::RectangleShape drawRect;
static sf::Font font;
static sf::Text text;
bool CheckBorders(unsigned int direction);
void DoCurrentAction(const std::vector<std::vector<Cell*>>& cells);
void Move(unsigned int direction, const std::vector<std::vector<Cell*>>& cells);
void EatFood(unsigned int direction, const std::vector<std::vector<Cell*>>& cells);
void TurnWallIntoFood(unsigned int direction, const std::vector<std::vector<Cell*>>& cells);
void AddLife(unsigned int amount);
void SetPosition(unsigned int x, unsigned int y, const std::vector<std::vector<Cell*>>& cells);
public:
Robot(unsigned int x, unsigned int y);
Robot(unsigned int x, unsigned int y, std::vector<unsigned int> code);
std::vector<unsigned int>& GetCode();
int GetHealth();
unsigned int GetX();
unsigned int GetY();
static void InitDrawingStuff();
void SetDefaults();
void SetRandomPos(std::vector<std::vector<Cell*>>& cells);
bool ExecuteProgram(std::vector<std::vector<Cell*>>& cells, std::vector<std::unique_ptr<Robot>>& robots);
void Draw(sf::RenderWindow& window);
}; | [
"winter091@yandex.ru"
] | winter091@yandex.ru |
992b35a06846d48f92baaa913a6b817149a9806e | 827e40cc066fbb72d4b86b396b38028863686df5 | /ui/views/animation/animation_builder_unittest.cc | d32fd21cdc22b129bc8bc068f1a2988506cd4df9 | [
"BSD-3-Clause"
] | permissive | Sunder-AK/chromium | b06dd0aaa575d0e246156bcba7c3f3aafb69f863 | 0e4ccd1012f3ee3e9e2f2b1897c717ab7a2bc097 | refs/heads/main | 2023-06-26T06:20:22.364094 | 2021-08-19T16:41:02 | 2021-08-19T16:41:02 | 398,025,627 | 1 | 0 | BSD-3-Clause | 2021-08-19T17:36:05 | 2021-08-19T17:36:05 | null | UTF-8 | C++ | false | false | 7,113 | cc | // Copyright 2021 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.
#include "ui/views/animation/animation_builder.h"
#include "base/bind.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animator.h"
#include "ui/compositor/layer_owner.h"
#include "ui/compositor/test/layer_animator_test_controller.h"
#include "ui/compositor/test/test_layer_animation_delegate.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
namespace views {
class TestAnimatibleLayerOwner : public ui::LayerOwner {
public:
TestAnimatibleLayerOwner() : ui::LayerOwner(std::make_unique<ui::Layer>()) {
layer()->GetAnimator()->set_disable_timer_for_test(true);
layer()->GetAnimator()->SetDelegate(&delegate_);
}
ui::LayerAnimationDelegate* delegate() { return &delegate_; }
private:
ui::TestLayerAnimationDelegate delegate_;
};
class AnimationBuilderTest : public testing::Test {
public:
AnimationBuilderTest() = default;
TestAnimatibleLayerOwner* CreateTestLayerOwner() {
layer_owners_.push_back(std::make_unique<TestAnimatibleLayerOwner>());
animator_controllers_.push_back(
std::make_unique<ui::LayerAnimatorTestController>(
layer_owners_.back()->layer()->GetAnimator()));
return layer_owners_.back().get();
}
void Step(const base::TimeDelta& duration) {
DCHECK_GT(duration, base::TimeDelta());
for (const auto& controller : animator_controllers_) {
controller->StartThreadedAnimationsIfNeeded(
controller->animator()->last_step_time());
controller->Step(duration);
}
elapsed_ += duration;
}
private:
std::vector<std::unique_ptr<TestAnimatibleLayerOwner>> layer_owners_;
std::vector<std::unique_ptr<ui::LayerAnimatorTestController>>
animator_controllers_;
base::TimeDelta elapsed_;
};
// This test builds two animation sequences and checks that the properties are
// animated in the specified durations.
TEST_F(AnimationBuilderTest, SimpleAnimation) {
TestAnimatibleLayerOwner* first_animating_view = CreateTestLayerOwner();
TestAnimatibleLayerOwner* second_animating_view = CreateTestLayerOwner();
ui::LayerAnimationDelegate* first_delegate = first_animating_view->delegate();
ui::LayerAnimationDelegate* second_delegate =
second_animating_view->delegate();
gfx::RoundedCornersF rounded_corners(12.0f, 12.0f, 12.0f, 12.0f);
constexpr auto kDelay = base::TimeDelta::FromSeconds(3);
{
AnimationBuilder()
.Once()
.SetDuration(kDelay)
.SetOpacity(first_animating_view, 0.4f)
.SetRoundedCorners(first_animating_view, rounded_corners)
.Offset(base::TimeDelta())
.SetDuration(kDelay * 2)
.SetOpacity(second_animating_view, 0.9f);
}
// Original value before the animation steps.
EXPECT_TRUE(first_animating_view->layer()->GetAnimator()->is_animating());
EXPECT_TRUE(second_animating_view->layer()->GetAnimator()->is_animating());
EXPECT_FLOAT_EQ(first_delegate->GetOpacityForAnimation(), 1.0);
EXPECT_FLOAT_EQ(first_delegate->GetRoundedCornersForAnimation().upper_left(),
0.0);
EXPECT_FLOAT_EQ(second_delegate->GetOpacityForAnimation(), 1.0);
Step(kDelay);
EXPECT_FLOAT_EQ(first_delegate->GetOpacityForAnimation(), 0.4f);
// Sanity check one of the corners.
EXPECT_FLOAT_EQ(first_delegate->GetRoundedCornersForAnimation().upper_left(),
12.0f);
// This animation should not be finished yet.
EXPECT_NE(second_delegate->GetOpacityForAnimation(), 0.9f);
Step(kDelay);
EXPECT_FLOAT_EQ(second_delegate->GetOpacityForAnimation(), 0.9f);
}
TEST_F(AnimationBuilderTest, CheckTweenType) {
TestAnimatibleLayerOwner* first_animating_view = CreateTestLayerOwner();
gfx::Tween::Type tween_type = gfx::Tween::EASE_IN;
constexpr auto kDelay = base::TimeDelta::FromSeconds(4);
// Set initial opacity.
first_animating_view->delegate()->SetOpacityFromAnimation(
0.0f, ui::PropertyChangeReason::NOT_FROM_ANIMATION);
constexpr float opacity_end_val = 0.5f;
{
AnimationBuilder().Once().SetDuration(kDelay).SetOpacity(
first_animating_view, opacity_end_val, tween_type);
}
EXPECT_TRUE(first_animating_view->layer()->GetAnimator()->is_animating());
Step(kDelay / 2);
// Force an update to the delegate by aborting the animation.
first_animating_view->layer()->GetAnimator()->AbortAllAnimations();
// Values at intermediate steps may not be exact.
EXPECT_NEAR(gfx::Tween::CalculateValue(tween_type, 0.5) * opacity_end_val,
first_animating_view->delegate()->GetOpacityForAnimation(),
0.001f);
}
TEST_F(AnimationBuilderTest, CheckStartEndCallbacks) {
TestAnimatibleLayerOwner* first_animating_view = CreateTestLayerOwner();
TestAnimatibleLayerOwner* second_animating_view = CreateTestLayerOwner();
constexpr auto kDelay = base::TimeDelta::FromSeconds(3);
bool started = false;
bool ended = false;
{
AnimationBuilder()
.Once()
.OnStarted(
base::BindOnce([](bool* started) { *started = true; }, &started))
.OnEnded(base::BindOnce([](bool* ended) { *ended = true; }, &ended))
.SetDuration(kDelay)
.SetOpacity(first_animating_view, 0.4f)
.Offset(base::TimeDelta())
.SetDuration(kDelay * 2)
.SetOpacity(second_animating_view, 0.9f);
}
EXPECT_TRUE(first_animating_view->layer()->GetAnimator()->is_animating());
EXPECT_TRUE(started);
Step(kDelay * 2);
EXPECT_TRUE(ended);
}
TEST_F(AnimationBuilderTest, DelayedStart) {
TestAnimatibleLayerOwner* view = CreateTestLayerOwner();
ui::LayerAnimationDelegate* delegate = view->delegate();
constexpr auto kDelay = base::TimeDelta::FromSeconds(1);
constexpr auto kDuration = base::TimeDelta::FromSeconds(1);
{
// clang-format off
AnimationBuilder()
.Once()
.At(kDelay)
.SetDuration(kDuration)
.SetOpacity(view, 0.4f);
// clang-format on
}
// Original value before the animation steps.
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 1.0);
Step(kDelay);
// The animation on opacity is not yet started.
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 1.0);
Step(kDuration);
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 0.4f);
}
TEST_F(AnimationBuilderTest, TwoKeyFrame) {
TestAnimatibleLayerOwner* view = CreateTestLayerOwner();
ui::LayerAnimationDelegate* delegate = view->delegate();
constexpr auto kDuration = base::TimeDelta::FromSeconds(1);
{
AnimationBuilder()
.Once()
.SetDuration(kDuration)
.SetOpacity(view, 0.4f)
.Then()
.SetDuration(kDuration)
.SetOpacity(view, 0.9f);
}
// The animation on opacity is not yet started.
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 1.0);
Step(kDuration);
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 0.4f);
Step(kDuration);
EXPECT_FLOAT_EQ(delegate->GetOpacityForAnimation(), 0.9f);
}
} // namespace views
| [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
bf093d97c046db706c524bd15dd4ff27ba8465f3 | 4a4f7519db3e10911e42d842dfc290a69249c498 | /MSCL/source/mscl/MicroStrain/Wireless/Configuration/FatigueOptions.h | 0945813f4512cc26a9caf26ed54915e25f6fbf11 | [
"MIT"
] | permissive | ezhangle/MSCL | b41ae0b3e2124c050c18ed21cac83c2bd686b284 | c74c1faddc40a070dd0555c1c42a38a44dc7476b | refs/heads/master | 2021-07-09T16:58:41.216070 | 2017-10-04T18:09:41 | 2017-10-04T18:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,196 | h | /*******************************************************************************
Copyright(c) 2015-2017 LORD Corporation. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
#pragma once
#include <map>
#include "mscl/MicroStrain/Wireless/WirelessTypes.h"
#include "mscl/Types.h"
namespace mscl
{
//API Title: FatigueOptions
//API Class: SnCurveSegment
// Represents a single segment of an SN-Curve.
class SnCurveSegment
{
public:
//API Default Constructor: SnCurveSegment
// Creates a default constructed SnCurveSegment.
SnCurveSegment();
//API Constructor: SnCurveSegment
// Creates an SnCurveSegment.
//
//Parameters:
// m - The m value of the segment.
// loga - The logA value of the segment.
SnCurveSegment(float m, float loga);
private:
//Variable: m_m
// The m value of the segment.
float m_m;
//Variable: m_loga
// The logA value of the segment.
float m_loga;
public:
//API Function: m
// Gets the m value of the segment.
float m() const;
//API Function: m
// Sets the m value of the segment.
//
//Parameters:
// val - The m value to set.
void m(float val);
//API Function: logA
// Gets the logA value of the segment.
float logA() const;
//API Function: logA
// Sets the logA value of the segment.
//
//Parameters:
// val - The logA value to set.
void logA(float val);
};
//API Typedef: DamageAngles
// Typedef for a map of angle IDs (uint8) to damage angles (float).
typedef std::map<uint8, float> DamageAngles;
//API Typedef: SnCurveSegments
// Typedef for a map of segment IDs (uint8) to <SnCurveSegment> objects.
typedef std::map<uint8, SnCurveSegment> SnCurveSegments;
//API Class: FatigueOptions
// Contains all of the fatigue options that can be configured for a WirelessNode.
class FatigueOptions
{
public:
//API Default Constructor: FatigueOptions
// Creates a default constructed FatigueOptions object.
FatigueOptions();
private:
//Variable: m_youngsModulus
// The Young's Modulus value.
float m_youngsModulus;
//Variable: m_poissonsRatio
// The Poisson's Ratio value.
float m_poissonsRatio;
//Variable: m_peakValleyThreshold
// The peak/valley threshold.
uint16 m_peakValleyThreshold;
//Variable: m_debugMode
// Whether raw data is enabled or disabled.
bool m_debugMode;
//Variable: m_damageAngles
// The <DamageAngles>.
DamageAngles m_damageAngles;
//Variable: m_snCurveSegments
// The <SnCurveSegments>.
SnCurveSegments m_snCurveSegments;
//Variable: m_fatigueMode
// Whether distributed angle mode is enabled or disabled.
WirelessTypes::FatigueMode m_fatigueMode;
//Variable: m_distMode_numAngles
// The number of angles (4 - 16) to use in distributed angle mode.
uint8 m_distMode_numAngles;
//Variable: m_distMode_lowerBound
// The lower bound angle when using the distributed angle mode.
float m_distMode_lowerBound;
//Variable: m_distMode_upperBound
// The upper bound angle when using the distributed angle mode.
float m_distMode_upperBound;
//Variable: m_histogramEnable
// Whether histograms are enabled or disabled.
bool m_histogramEnable;
public:
//API Function: youngsModulus
// Gets the Young's Modulus set in this options object.
float youngsModulus() const;
//API Function: youngsModulus
// Sets the Young's Modulus in this options object.
//
//Parameters:
// val - The Young's Modulus to set.
void youngsModulus(float val);
//API Function: poissonsRatio
// Gets the Poisson's Ration set in this options object.
float poissonsRatio() const;
//API Function: poissonsRatio
// Sets the Poisson's Ratio in this options object.
//
//Parameters:
// val - The Poisson's Ratio to set.
void poissonsRatio(float val);
//API Function: peakValleyThreshold
// Gets the Peak/Valley Threshold set in this options object.
uint16 peakValleyThreshold() const;
//API Function: peakValleyThreshold
// Sets the Peak/Valley Threshold in this options object.
//
//Parameters:
// val - The Peak/Valley Threshold to set.
void peakValleyThreshold(uint16 val);
//API Function: debugMode
// Gets the debug mode flag set in this options object.
// This determines whether raw angle data that builds the Histograms will be sent when sampling.
bool debugMode() const;
//API Function: debugMode
// Sets the debug mode flag in this options object.
// This determines whether raw angle data that builds the Histograms will be sent when sampling.
//
//Parameters:
// enable - Whether to enable (true) or disable (false) debug mode.
void debugMode(bool enable);
//API Function: damageAngle
// Gets the damage angle set in this options object, for the given angle id (0-based).
//
//Parameters:
// angleId - The angle ID to get the damage angle for.
//
//Exceptions:
// <Error_NoData> - The given angle ID was not set in this object.
float damageAngle(uint8 angleId) const;
//API Function: damageAngles
// Gets the <DamageAngles> container set in this options object.
const DamageAngles& damageAngles() const;
//API Function: damageAngle
// Sets the damage angle in this options object, for the given angle id (0-based).
// The angle will be automatically converted to between 0 and 360 if it is out of range.
//
//Parameters:
// angleId - The angle ID to set the damage angle for.
// angle - The damage angle value to set.
void damageAngle(uint8 angleId, float angle);
//API Function: snCurveSegment
// Gets the <SnCurveSegment> set in this options object, for the given segment id (0-based).
//
//Parameters:
// segmentId - The segment ID to get the segment for.
//
//Exceptions:
// <Error_NoData> - The given segment ID was not set in this object.
const SnCurveSegment& snCurveSegment(uint8 segmentId) const;
//API Function: snCurveSegments
// Gets the <SnCurveSegments> container set in this options object.
const SnCurveSegments& snCurveSegments() const;
//API Function: snCurveSegment
// Sets the <SnCurveSegment> in this options object, for the given segment id (0-based).
//
//Parameters:
// segmentId - The segment ID to set the segment for.
// segment - The <SnCurveSegment> to set.
void snCurveSegment(uint8 segmentId, const SnCurveSegment& segment);
//API Function: fatigueMode
// The <WirelessTypes::FatigueMode> that is set in this options object.
WirelessTypes::FatigueMode fatigueMode() const;
//API Function: distributedAngleMode_enabled
// Sets whether distributed angle mode is enabled or disabled in this options object.
// Distributed Angle Mode allows the user to enable an even distribution of 4-16 angles.
// When in this mode, the standard <damageAngles> will not be used by the Node.
//
//Parameters:
// enable - Whether to enable or disable distributed angle mode.
void fatigueMode(WirelessTypes::FatigueMode mode);
//API Function: distributedAngleMode_numAngles
// Gets the current number of angles to use for distributed angle mode in this options object.
// Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
uint8 distributedAngleMode_numAngles() const;
//API Function: distributedAngleMode_numAngles
// Sets the current number of angles to use for distributed angle mode in this options object.
// Note: Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
//
//Parameters:
// numAngles - The number of angles to use (4-16).
void distributedAngleMode_numAngles(uint8 numAngles);
//API Function: distributedAngleMode_lowerBound
// Gets the current lower bound angle (in degrees) to use for distributed angle mode in this options object.
// Note: Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
float distributedAngleMode_lowerBound() const;
//API Function: distributedAngleMode_lowerBound
// Sets the current lower bound angle to use for distributed angle mode in this options object.
// Note: Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
// Note: The lower bound and upper bound angles must be at least 1 degree.
//
//Parameters:
// angle - The lower bound angle (in degrees) to use.
void distributedAngleMode_lowerBound(float angle);
//API Function: distributedAngleMode_upperBound
// Gets the current upper bound angle (in degrees) to use for distributed angle mode in this options object.
// Note: Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
float distributedAngleMode_upperBound() const;
//API Function: distributedAngleMode_upperBound
// Sets the current upper bound angle to use for distributed angle mode in this options object.
// Note: Note: The Node will only use this if the <fatigueMode> is set to distributed angle mode.
// Note: The lower bound and upper bound angles must be at least 1 degree.
//
//Parameters:
// angle - The upper bound angle (in degrees) to use.
void distributedAngleMode_upperBound(float angle);
//API Function: histogramEnable
// Gets whether sending Histograms is enabled or disabled, in this options object.
bool histogramEnable() const;
//API Function: histogramEnable
// Sets whether sending Histograms is enabled or disabled, in this options object.
//
//Parameters:
// enable - Whehter to enable or disable sending Histograms.
void histogramEnable(bool enable);
};
} | [
"richard.stoneback@lord.com"
] | richard.stoneback@lord.com |
02b036cb076301bf2a84bcf1e56bf180c443cff7 | f8d5a636bd2adafc3b63f8113ededc1fb03b80ea | /source/math/vector4.hpp | c37194fa65d7dabd09b372dbd6ea0d99922257db | [] | no_license | MAPSWorks/earthInfo | f6468bed82dbee66e8841c500cf317a9d74591c0 | 5b8c8317ff2636053f5c78d63c3164048e0c5f76 | refs/heads/master | 2020-07-10T17:44:34.215908 | 2018-05-24T08:41:58 | 2018-05-24T08:41:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,399 | hpp | #pragma once
#include "../lib/glm/vec4.hpp"
#include "../lib/glm/op/common.hpp"
#include "../lib/glm/op/geom.hpp"
#include "vector3.hpp"
#include "forward.hpp"
#include <iostream>
namespace ss
{
namespace math
{
float dot(Vector4 const& a, Vector4 const& b);
float min(Vector4 const& a);
float max(Vector4 const& a);
struct Vector4
{
union {
struct {
float x;
float y;
float z;
float w;
};
glm::vec4 v;
};
Vector4() : v{} {}
Vector4(float x) : v{x} {}
Vector4(float x, float y, float z, float w) : v{x, y, z, w} {}
explicit Vector4(Vector3 a, float w) : v{a.v, w} {}
explicit Vector4(glm::vec4 x) : v{x} {}
explicit operator Vector3 () { return Vector3{glm::vec3{v}}; }
Vector4(float (&xs)[4]) : v{xs[0], xs[1], xs[2], xs[3]} {}
Vector4(float xs[]) : v{xs[0], xs[1], xs[2], xs[3]} {}
Vector4(int (&xs)[4])
: v{
float(xs[0]),
float(xs[1]),
float(xs[2]),
float(xs[3]),
}
{}
Vector4(int xs[])
: v{
float(xs[0]),
float(xs[1]),
float(xs[2]),
float(xs[3]),
}
{}
void swap(Vector4 & a) { std::swap(v, a.v); }
auto& operator [] (int i) const { return v[i]; }
auto& operator [] (int i) { return v[i]; }
auto ptr() const { return &v[0]; }
auto ptr() { return &v[0]; }
auto operator + () const { return Vector4{+v}; }
auto operator - () const { return Vector4{-v}; }
auto& operator += (Vector4 const& a) { v += a.v; return *this; }
auto& operator -= (Vector4 const& a) { v -= a.v; return *this; }
auto& operator *= (Vector4 const& a) { v *= a.v; return *this; }
auto& operator /= (Vector4 const& a) { v /= a.v; return *this; }
float dotProduct(Vector4 const& a) const { return dot(*this, a); }
static const Vector4 ZERO;
};
inline bool operator == (Vector4 const& a, Vector4 const& b) { return a.v == b.v; }
inline bool operator != (Vector4 const& a, Vector4 const& b) { return a.v != b.v; }
inline Vector4 operator + (Vector4 const& a, Vector4 const& b) { return Vector4{a.v + b.v}; }
inline Vector4 operator - (Vector4 const& a, Vector4 const& b) { return Vector4{a.v - b.v}; }
inline Vector4 operator * (Vector4 const& a, Vector4 const& b) { return Vector4{a.v * b.v}; }
inline Vector4 operator / (Vector4 const& a, Vector4 const& b) { return Vector4{a.v / b.v}; }
inline float dot(Vector4 const& a, Vector4 const& b) { return dot(a.v, b.v); }
inline float min(Vector4 const& a) { return compMin(a.v); }
inline float max(Vector4 const& a) { return compMax(a.v); }
inline std::ostream & operator << (std::ostream & o, Vector4 const& a)
{
return (o << "Vector4{" << a.x << ", " << a.y << ", " << a.z << ", " << a.w << "}");
}
}
}
| [
"624585443@qq.com"
] | 624585443@qq.com |
394b321f083b9c2f67edc2545dbfd211d0307898 | 68d428b02b96d7336d6d718fa9a05e5e31541a02 | /images/tryCopy.cpp | 2faf89ad4a62e0e61b6de22defc400cc87a95c03 | [] | no_license | kevin-a-nelson/SD | 43d5b1c9b6fb96c94b4df88ddb77c00f2048f379 | 89412223185104d2580b4a75c373b2375d96331a | refs/heads/master | 2022-07-24T06:50:56.720543 | 2019-05-10T19:32:04 | 2019-05-10T19:32:04 | 265,990,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include<iostream>
#include<string>
using namespace std;
void copyString(char *&a,const char *b){
a = new char[6];
for(int i = 0; i < 6; i++){
a[i] = b[i];
}
}
int main(){
const char *str1 = "Hello!";
char *str2;
copyString(str2, str1);
cout << "str1 is " << str1 << " and str2 is " << str2 << endl;
delete [] str2;
return 0;
} | [
"nelson67@stolaf.edu"
] | nelson67@stolaf.edu |
cfeaa20531386646bf97e2607e36c8deb86b7084 | d836c18f79efefecbf38e4c221d54aae2e7e79ec | /src/chainparams.cpp | ba12affdeaad2397092df739995aca55aa93c6b3 | [] | no_license | xgy1221/jdcoin | 329c410489c31a55ff95b38e7e643dd5869ed947 | ac351c1120750712679b7893446a8f517730a658 | refs/heads/main | 2023-03-11T14:57:09.740625 | 2021-03-02T18:45:38 | 2021-03-02T18:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,128 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The JDCOIN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "libzerocoin/Params.h"
#include "chainparams.h"
#include "consensus/merkle.h"
#include "random.h"
#include "util.h"
#include "utilstrencodings.h"
#include <assert.h>
#include <boost/assign/list_of.hpp>
#include <limits>
#include "chainparamsseeds.h"
std::string CDNSSeedData::getHost(uint64_t requiredServiceBits) const {
//use default host for non-filter-capable seeds or if we use the default service bits (NODE_NETWORK)
if (!supportsServiceBitsFiltering || requiredServiceBits == NODE_NETWORK)
return host;
return strprintf("x%x.%s", requiredServiceBits, host);
}
static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
{
CMutableTransaction txNew;
txNew.nVersion = 1;
txNew.vin.resize(1);
txNew.vout.resize(1);
txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << std::vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
txNew.vout[0].nValue = genesisReward;
txNew.vout[0].scriptPubKey = genesisOutputScript;
CBlock genesis;
genesis.vtx.push_back(txNew);
genesis.hashPrevBlock.SetNull();
genesis.nVersion = nVersion;
genesis.nTime = nTime;
genesis.nBits = nBits;
genesis.nNonce = nNonce;
genesis.hashMerkleRoot = BlockMerkleRoot(genesis);
return genesis;
}
/**
* Build the genesis block. Note that the output of the genesis coinbase cannot
* be spent as it did not originally exist in the database.
*
* CBlock(hash=00000ffd590b14, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=e0028e, nTime=1390095618, nBits=1e0ffff0, nNonce=28917698, vtx=1)
* CTransaction(hash=e0028e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
* CTxIn(COutPoint(000000, -1), coinbase 04ffff001d01044c5957697265642030392f4a616e2f3230313420546865204772616e64204578706572696d656e7420476f6573204c6976653a204f76657273746f636b2e636f6d204973204e6f7720416363657074696e6720426974636f696e73)
* CTxOut(nValue=50.00000000, scriptPubKey=0xA9037BAC7050C479B121CF)
* vMerkleTree: e0028e
*/
static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
{
const char* pszTimestamp = "NY Times 10/06/2020 Re-Generate Coin hash";
const CScript genesisOutputScript = CScript() << ParseHex("04c10e83b2703ccf322f7dbd62dd5855ac7c10bd055814ce121ba32607d573b8810c02c0582aed05b4deb9c4b77b26d92428c61256cd42774babea0a073b2ed0c9") << OP_CHECKSIG;
return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTime, nNonce, nBits, nVersion, genesisReward);
}
/**
* Main network
*/
//! Convert the pnSeeds6 array into usable address objects.
static void convertSeed6(std::vector<CAddress>& vSeedsOut, const SeedSpec6* data, unsigned int count)
{
// It'll only connect to one or two seed nodes because once it connects,
// it'll get a pile of addresses with newer timestamps.
// Seed nodes are given a random 'last seen time' of between one and two
// weeks ago.
const int64_t nOneWeek = 7 * 24 * 60 * 60;
for (unsigned int i = 0; i < count; i++) {
struct in6_addr ip;
memcpy(&ip, data[i].addr, sizeof(ip));
CAddress addr(CService(ip, data[i].port));
addr.nTime = GetTime() - GetRand(nOneWeek) - nOneWeek;
vSeedsOut.push_back(addr);
}
}
// What makes a good checkpoint block?
// + Is surrounded by blocks with reasonable timestamps
// (no blocks before with a timestamp after, none after with
// timestamp before)
// + Contains no strange transactions
static Checkpoints::MapCheckpoints mapCheckpoints =
boost::assign::map_list_of
( 1, uint256S("00000da93ba8c84747f8e94566680a2e4daa2c6a6463d358e29866450cba326e"))
( 751, uint256S("6e19a8f958dc6799fb91370442a0d411243e05d82eef97aa8896ef557382f69b"))
( 868, uint256S("a0310a497c6b18e3a52992f7b9097953d010808acd120fdeeb0bd90002e797cc"));
static const Checkpoints::CCheckpointData data = {
&mapCheckpoints,
1591856430, // * UNIX timestamp of last checkpoint block
990, // * total number of transactions between genesis and last checkpoint
// (the tx=... number in the SetBestChain debug.log lines)
2000 // * estimated number of transactions per day after checkpoint
};
static Checkpoints::MapCheckpoints mapCheckpointsTestnet =
boost::assign::map_list_of
(0, uint256S("0x001")); //!< First v7 block
static const Checkpoints::CCheckpointData dataTestnet = {
&mapCheckpointsTestnet,
1575145155,
0,
250};
static Checkpoints::MapCheckpoints mapCheckpointsRegtest =
boost::assign::map_list_of(0, uint256S("0x001"));
static const Checkpoints::CCheckpointData dataRegtest = {
&mapCheckpointsRegtest,
1454124731,
0,
100};
class CMainParams : public CChainParams
{
public:
CMainParams()
{
networkID = CBaseChainParams::MAIN;
strNetworkID = "main";
genesis = CreateGenesisBlock(1591786035, 810055, 0x1e0ffff0, 1, 0 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
assert(consensus.hashGenesisBlock == uint256S("0x000008da4ce70cc5d61eb0f5f9688077be0ed197e1a5b10e09af0379f8a577fe"));
assert(genesis.hashMerkleRoot == uint256S("0x78f6a18b681bd6ddf780d542152e4597a7391964af0c2d1b71b5d9150923dfe7"));
consensus.fPowAllowMinDifficultyBlocks = false;
consensus.powLimit = ~UINT256_ZERO >> 20; // JDCOIN starting difficulty is 1 / 2^12
consensus.posLimitV1 = ~UINT256_ZERO >> 24;
consensus.posLimitV2 = ~UINT256_ZERO >> 20;
consensus.nBudgetCycleBlocks = 43200; // approx. 1 every 30 days
consensus.nBudgetFeeConfirmations = 6; // Number of confirmations for the finalization fee
consensus.nCoinbaseMaturity = 100;
consensus.nFutureTimeDriftPoW = 7200;
consensus.nFutureTimeDriftPoS = 180;
consensus.nMasternodeCountDrift = 20; // num of MN we allow the see-saw payments to be off by
consensus.nMaxMoneyOut = 84000000 * COIN;
consensus.nPoolMaxTransactions = 3;
consensus.nProposalEstablishmentTime = 60 * 60 * 24; // must be at least a day old to make it into a budget
consensus.nStakeMinAge = 60 * 60;
consensus.nStakeMinDepth = 600;
consensus.nTargetTimespan = 3.5 * 24 * 60 * 60;
consensus.nTargetTimespanV2 = 2.5 * 24 * 60 * 60;
consensus.nTargetSpacing = 1 * 60;
consensus.nTimeSlotLength = 15;
// spork keys
consensus.strSporkPubKey = "040F129DE6546FE405995329A887329BED4321325B1A73B0A257423C05C1FCFE9E40EF0678AEF59036A22C42E61DFD29DF7EFB09F56CC73CADF64E05741880E3E7";
consensus.strSporkPubKeyOld = "0499A7AF4806FC6DE640D23BC5936C29B77ADF2174B4F45492727F897AE63CF8D27B2F05040606E0D14B547916379FA10716E344E745F880EDC037307186AA25B7";
consensus.nTime_EnforceNewSporkKey = 1591786565; //!> August 26, 2019 11:00:00 PM GMT
consensus.nTime_RejectOldSporkKey = 1591986565; //!> September 26, 2019 11:00:00 PM GMT
// height-based activations
consensus.height_last_PoW = 750;
consensus.height_last_ZC_AccumCheckpoint = 762;
consensus.height_last_ZC_WrappedSerials = 766;
consensus.height_start_BIP65 = 780; // Block v5: 82629b7a9978f5c7ea3f70a12db92633a7d2e436711500db28b97efd48b1e527
consensus.height_start_InvalidUTXOsCheck = 788;
consensus.height_start_MessSignaturesV2 = 792; // height_start_TimeProtoV2
consensus.height_start_StakeModifierNewSelection = 799;
consensus.height_start_StakeModifierV2 = 806; // Block v6: 0ef2556e40f3b9f6e02ce611b832e0bbfe7734a8ea751c7b555310ee49b61456
consensus.height_start_TimeProtoV2 = 809; // Block v7: 14e477e597d24549cac5e59d97d32155e6ec2861c1003b42d0566f9bf39b65d5
consensus.height_start_ZC = 811; // Block v4: 5b2482eca24caf2a46bb22e0545db7b7037282733faa3a42ec20542509999a64
consensus.height_start_ZC_InvalidSerials = 812;
consensus.height_start_ZC_PublicSpends = 815;
consensus.height_start_ZC_SerialRangeCheck = 822;
consensus.height_start_ZC_SerialsV2 = 829;
consensus.height_ZC_RecalcAccumulators = 837;
// validation by-pass
consensus.nJdcoinBadBlockTime = 1471401614; // Skip nBit validation of Block 259201 per PR #915
consensus.nJdcoinBadBlockBits = 0x1c056dac; // Skip nBit validation of Block 259201 per PR #915
// Zerocoin-related params
consensus.ZC_Modulus = "25195908475657893494027183240048398571429282126204032027777137836043662020707595556264018525880784"
"4069182906412495150821892985591491761845028084891200728449926873928072877767359714183472702618963750149718246911"
"6507761337985909570009733045974880842840179742910064245869181719511874612151517265463228221686998754918242243363"
"7259085141865462043576798423387184774447920739934236584823824281198163815010674810451660377306056201619676256133"
"8441436038339044149526344321901146575444541784240209246165157233507787077498171257724679629263863563732899121548"
"31438167899885040445364023527381951378636564391212010397122822120720357";
consensus.ZC_MaxPublicSpendsPerTx = 637; // Assume about 220 bytes each input
consensus.ZC_MaxSpendsPerTx = 7; // Assume about 20kb each input
consensus.ZC_MinMintConfirmations = 20;
consensus.ZC_MinMintFee = 1 * CENT;
consensus.ZC_MinStakeDepth = 200;
consensus.ZC_TimeStart = 1591846565; // October 17, 2017 4:30:00 AM
consensus.ZC_WrappedSerialsSupply = 0 * COIN; // zerocoin supply at height_last_ZC_WrappedSerials
/**
* The message start string is designed to be unlikely to occur in normal data.
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
* a large 4-byte int at any alignment.
*/
pchMessageStart[0] = 0x70;
pchMessageStart[1] = 0x24;
pchMessageStart[2] = 0xdd;
pchMessageStart[3] = 0xf9;
nDefaultPort = 5550;
// Note that of those with the service bits flag, most only support a subset of possible options
vSeeds.push_back(CDNSSeedData("3.19.144.31", "3.19.144.31", true));
vSeeds.push_back(CDNSSeedData("3.23.149.64", "3.23.149.64", true));
vSeeds.push_back(CDNSSeedData("3.133.230.144", "3.133.230.144", true));
vSeeds.push_back(CDNSSeedData("3.136.6.201", "3.136.6.201", true));
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 48);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 5);
base58Prefixes[STAKING_ADDRESS] = std::vector<unsigned char>(1, 63); // starting with 'S'
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1, 11);
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x02)(0x2D)(0x25)(0x33).convert_to_container<std::vector<unsigned char> >();
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x02)(0x21)(0x31)(0x2B).convert_to_container<std::vector<unsigned char> >();
// BIP44 coin type is from https://github.com/satoshilabs/slips/blob/master/slip-0044.md
base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80)(0x00)(0x00)(0x77).convert_to_container<std::vector<unsigned char> >();
convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main));
}
const Checkpoints::CCheckpointData& Checkpoints() const
{
return data;
}
};
static CMainParams mainParams;
/**
* Testnet (v3)
*/
class CTestNetParams : public CMainParams
{
public:
CTestNetParams()
{
networkID = CBaseChainParams::TESTNET;
strNetworkID = "test";
genesis = CreateGenesisBlock(1591786188, 3024058, 0x1e0ffff0, 1, 0 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
assert(consensus.hashGenesisBlock == uint256S("0x0000045b6f35c10ffcaf4bce0404e09d9075b43f991a9cf341994d2670ec53ba"));
assert(genesis.hashMerkleRoot == uint256S("0x78f6a18b681bd6ddf780d542152e4597a7391964af0c2d1b71b5d9150923dfe7"));
consensus.fPowAllowMinDifficultyBlocks = true;
consensus.powLimit = ~UINT256_ZERO >> 20; // JDCOIN starting difficulty is 1 / 2^12
consensus.posLimitV1 = ~UINT256_ZERO >> 24;
consensus.posLimitV2 = ~UINT256_ZERO >> 20;
consensus.nBudgetCycleBlocks = 144; // approx 10 cycles per day
consensus.nBudgetFeeConfirmations = 3; // (only 8-blocks window for finalization on testnet)
consensus.nCoinbaseMaturity = 15;
consensus.nFutureTimeDriftPoW = 7200;
consensus.nFutureTimeDriftPoS = 180;
consensus.nMasternodeCountDrift = 4; // num of MN we allow the see-saw payments to be off by
consensus.nMaxMoneyOut = 43199500 * COIN;
consensus.nPoolMaxTransactions = 2;
consensus.nProposalEstablishmentTime = 60 * 5; // at least 5 min old to make it into a budget
consensus.nStakeMinAge = 60 * 60;
consensus.nStakeMinDepth = 100;
consensus.nTargetTimespan = 40 * 60;
consensus.nTargetTimespanV2 = 30 * 60;
consensus.nTargetSpacing = 1 * 60;
consensus.nTimeSlotLength = 15;
// spork keys
consensus.strSporkPubKey = "04E88BB455E2A04E65FCC41D88CD367E9CCE1F5A409BE94D8C2B4B35D223DED9C8E2F4E061349BA3A38839282508066B6DC4DB72DD432AC4067991E6BF20176127";
consensus.strSporkPubKeyOld = "04A8B319388C0F8588D238B9941DC26B26D3F9465266B368A051C5C100F79306A557780101FE2192FE170D7E6DEFDCBEE4C8D533396389C0DAFFDBC842B002243C";
consensus.nTime_EnforceNewSporkKey = 1566860400; //!> August 26, 2019 11:00:00 PM GMT
consensus.nTime_RejectOldSporkKey = 1569538800; //!> September 26, 2019 11:00:00 PM GMT
// height based activations
consensus.height_last_PoW = 200;
consensus.height_last_ZC_AccumCheckpoint = 1106090;
consensus.height_last_ZC_WrappedSerials = -1;
consensus.height_start_BIP65 = 851019; // Block v5: d1ec8838ba8f644e78dd4f8e861d31e75457dfe607b31deade30e806b5f46c1c
consensus.height_start_InvalidUTXOsCheck = 999999999;
consensus.height_start_MessSignaturesV2 = 1347000; // height_start_TimeProtoV2
consensus.height_start_StakeModifierNewSelection = 51197;
consensus.height_start_StakeModifierV2 = 1214000; // Block v6: 1822577176173752aea33d1f60607cefe9e0b1c54ebaa77eb40201a385506199
consensus.height_start_TimeProtoV2 = 1347000; // Block v7: 30c173ffc09a13f288bf6e828216107037ce5b79536b1cebd750a014f4939882
consensus.height_start_ZC = 201576; // Block v4: 258c489f42f03cb97db2255e47938da4083eee4e242853c2d48bae2b1d0110a6
consensus.height_start_ZC_InvalidSerials = 999999999;
consensus.height_start_ZC_PublicSpends = 1106100;
consensus.height_start_ZC_SerialRangeCheck = 1;
consensus.height_start_ZC_SerialsV2 = 444020;
consensus.height_ZC_RecalcAccumulators = 999999999;
// validation by-pass
consensus.nJdcoinBadBlockTime = 1489001494; // Skip nBit validation of Block 201 per PR #915
consensus.nJdcoinBadBlockBits = 0x1e0a20bd; // Skip nBit validation of Block 201 per PR #915
// Zerocoin-related params
consensus.ZC_Modulus = "25195908475657893494027183240048398571429282126204032027777137836043662020707595556264018525880784"
"4069182906412495150821892985591491761845028084891200728449926873928072877767359714183472702618963750149718246911"
"6507761337985909570009733045974880842840179742910064245869181719511874612151517265463228221686998754918242243363"
"7259085141865462043576798423387184774447920739934236584823824281198163815010674810451660377306056201619676256133"
"8441436038339044149526344321901146575444541784240209246165157233507787077498171257724679629263863563732899121548"
"31438167899885040445364023527381951378636564391212010397122822120720357";
consensus.ZC_MaxPublicSpendsPerTx = 637; // Assume about 220 bytes each input
consensus.ZC_MaxSpendsPerTx = 7; // Assume about 20kb each input
consensus.ZC_MinMintConfirmations = 20;
consensus.ZC_MinMintFee = 1 * CENT;
consensus.ZC_MinStakeDepth = 200;
consensus.ZC_TimeStart = 1501776000;
consensus.ZC_WrappedSerialsSupply = 0; // WrappedSerials only on main net
/**
* The message start string is designed to be unlikely to occur in normal data.
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
* a large 4-byte int at any alignment.
*/
pchMessageStart[0] = 0x45;
pchMessageStart[1] = 0xd6;
pchMessageStart[2] = 0x85;
pchMessageStart[3] = 0xba;
nDefaultPort = 51474;
vFixedSeeds.clear();
vSeeds.clear();
// nodes with support for servicebits filtering should be at the top
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1, 139); // Testnet jdcoin addresses start with 'x' or 'y'
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1, 19); // Testnet jdcoin script addresses start with '8' or '9'
base58Prefixes[STAKING_ADDRESS] = std::vector<unsigned char>(1, 73); // starting with 'W'
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1, 239); // Testnet private keys start with '9' or 'c' (Bitcoin defaults)
// Testnet jdcoin BIP32 pubkeys start with 'DRKV'
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x3a)(0x80)(0x61)(0xa0).convert_to_container<std::vector<unsigned char> >();
// Testnet jdcoin BIP32 prvkeys start with 'DRKP'
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x3a)(0x80)(0x58)(0x37).convert_to_container<std::vector<unsigned char> >();
// Testnet jdcoin BIP44 coin type is '1' (All coin's testnet default)
base58Prefixes[EXT_COIN_TYPE] = boost::assign::list_of(0x80)(0x00)(0x00)(0x01).convert_to_container<std::vector<unsigned char> >();
convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test));
}
const Checkpoints::CCheckpointData& Checkpoints() const
{
return dataTestnet;
}
};
static CTestNetParams testNetParams;
/**
* Regression test
*/
class CRegTestParams : public CTestNetParams
{
public:
CRegTestParams()
{
networkID = CBaseChainParams::REGTEST;
strNetworkID = "regtest";
genesis = CreateGenesisBlock(1591786324, 1513369, 0x1e0ffff0, 1, 0 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
assert(consensus.hashGenesisBlock == uint256S("0x0000004941044d06b87928afebabb046138445b968994d59c56659db2818c066"));
assert(genesis.hashMerkleRoot == uint256S("0x78f6a18b681bd6ddf780d542152e4597a7391964af0c2d1b71b5d9150923dfe7"));
consensus.fPowAllowMinDifficultyBlocks = true;
consensus.powLimit = ~UINT256_ZERO >> 20; // JDCOIN starting difficulty is 1 / 2^12
consensus.posLimitV1 = ~UINT256_ZERO >> 24;
consensus.posLimitV2 = ~UINT256_ZERO >> 20;
consensus.nBudgetCycleBlocks = 144; // approx 10 cycles per day
consensus.nBudgetFeeConfirmations = 3; // (only 8-blocks window for finalization on regtest)
consensus.nCoinbaseMaturity = 100;
consensus.nFutureTimeDriftPoW = 7200;
consensus.nFutureTimeDriftPoS = 180;
consensus.nMasternodeCountDrift = 4; // num of MN we allow the see-saw payments to be off by
consensus.nMaxMoneyOut = 43199500 * COIN;
consensus.nPoolMaxTransactions = 2;
consensus.nProposalEstablishmentTime = 60 * 5; // at least 5 min old to make it into a budget
consensus.nStakeMinAge = 0;
consensus.nStakeMinDepth = 2;
consensus.nTargetTimespan = 40 * 60;
consensus.nTargetTimespanV2 = 30 * 60;
consensus.nTargetSpacing = 1 * 60;
consensus.nTimeSlotLength = 15;
/* Spork Key for RegTest:
WIF private key: 932HEevBSujW2ud7RfB1YF91AFygbBRQj3de3LyaCRqNzKKgWXi
private key hex: bd4960dcbd9e7f2223f24e7164ecb6f1fe96fc3a416f5d3a830ba5720c84b8ca
Address: yCvUVd72w7xpimf981m114FSFbmAmne7j9
*/
consensus.strSporkPubKey = "043969b1b0e6f327de37f297a015d37e2235eaaeeb3933deecd8162c075cee0207b13537618bde640879606001a8136091c62ec272dd0133424a178704e6e75bb7";
consensus.strSporkPubKeyOld = "";
consensus.nTime_EnforceNewSporkKey = 0;
consensus.nTime_RejectOldSporkKey = 0;
// height based activations
consensus.height_last_PoW = 250;
consensus.height_last_ZC_AccumCheckpoint = 310; // no checkpoints on regtest
consensus.height_last_ZC_WrappedSerials = -1;
consensus.height_start_BIP65 = 851019; // Not defined for regtest. Inherit TestNet value.
consensus.height_start_InvalidUTXOsCheck = 999999999;
consensus.height_start_MessSignaturesV2 = 1;
consensus.height_start_StakeModifierNewSelection = 0;
consensus.height_start_StakeModifierV2 = 251; // start with modifier V2 on regtest
consensus.height_start_TimeProtoV2 = 999999999;
consensus.height_start_ZC = 300;
consensus.height_start_ZC_InvalidSerials = 999999999;
consensus.height_start_ZC_PublicSpends = 400;
consensus.height_start_ZC_SerialRangeCheck = 300;
consensus.height_start_ZC_SerialsV2 = 300;
consensus.height_ZC_RecalcAccumulators = 999999999;
// Zerocoin-related params
consensus.ZC_Modulus = "25195908475657893494027183240048398571429282126204032027777137836043662020707595556264018525880784"
"4069182906412495150821892985591491761845028084891200728449926873928072877767359714183472702618963750149718246911"
"6507761337985909570009733045974880842840179742910064245869181719511874612151517265463228221686998754918242243363"
"7259085141865462043576798423387184774447920739934236584823824281198163815010674810451660377306056201619676256133"
"8441436038339044149526344321901146575444541784240209246165157233507787077498171257724679629263863563732899121548"
"31438167899885040445364023527381951378636564391212010397122822120720357";
consensus.ZC_MaxPublicSpendsPerTx = 637; // Assume about 220 bytes each input
consensus.ZC_MaxSpendsPerTx = 7; // Assume about 20kb each input
consensus.ZC_MinMintConfirmations = 10;
consensus.ZC_MinMintFee = 1 * CENT;
consensus.ZC_MinStakeDepth = 10;
consensus.ZC_TimeStart = 0; // not implemented on regtest
consensus.ZC_WrappedSerialsSupply = 0;
/**
* The message start string is designed to be unlikely to occur in normal data.
* The characters are rarely used upper ASCII, not valid as UTF-8, and produce
* a large 4-byte int at any alignment.
*/
pchMessageStart[0] = 0xa1;
pchMessageStart[1] = 0xcf;
pchMessageStart[2] = 0x7e;
pchMessageStart[3] = 0xac;
nDefaultPort = 51476;
vFixedSeeds.clear(); //! Testnet mode doesn't have any fixed seeds.
vSeeds.clear(); //! Testnet mode doesn't have any DNS seeds.
}
const Checkpoints::CCheckpointData& Checkpoints() const
{
return dataRegtest;
}
};
static CRegTestParams regTestParams;
static CChainParams* pCurrentParams = 0;
const CChainParams& Params()
{
assert(pCurrentParams);
return *pCurrentParams;
}
CChainParams& Params(CBaseChainParams::Network network)
{
switch (network) {
case CBaseChainParams::MAIN:
return mainParams;
case CBaseChainParams::TESTNET:
return testNetParams;
case CBaseChainParams::REGTEST:
return regTestParams;
default:
assert(false && "Unimplemented network");
return mainParams;
}
}
void SelectParams(CBaseChainParams::Network network)
{
SelectBaseParams(network);
pCurrentParams = &Params(network);
}
bool SelectParamsFromCommandLine()
{
CBaseChainParams::Network network = NetworkIdFromCommandLine();
if (network == CBaseChainParams::MAX_NETWORK_TYPES)
return false;
SelectParams(network);
return true;
}
| [
"developer@jdcoin.us"
] | developer@jdcoin.us |
a6a3c4d7349b6b3108dc373bcfe3ffc7098e6f3b | f7f479cbdf49a8791fa53dc6b5cd4a69236d8827 | /leetcode-solved/search-in-rotated-array-ii.cc | 5e5ffb8bbf738ee651fa157786d03fae86fc30b6 | [] | no_license | y26jin/Coding-Practice-Answer | a6e7fb00b80b5a8d4bdb17a530c6b0596797c008 | 2f950c9e6f76460a435f16662599e92c49fd5ce4 | refs/heads/master | 2020-12-24T15:23:17.157003 | 2014-12-09T19:10:03 | 2014-12-09T19:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cc | class Solution {
public:
bool search(int A[], int n, int target) {
if(!A || n<0) return false;
int lo = 0, hi = n-1;
while(lo<hi){
int mid = lo + (hi-lo)/2;
if(A[mid] == target) return true;
if(A[lo]==A[mid] && A[lo] != target) lo++;
if(A[hi]==A[mid] && A[hi] != target) hi--;
else if(A[lo]<=A[mid]){
if(A[lo]<=target && target<=A[mid]) hi = mid - 1;
else lo = mid + 1;
}
else{
if(A[lo]<= target || A[mid] >=target) hi = mid - 1;
else lo = mid + 1;
}
}
if(A[lo] == target || A[hi] == target) return true;
else return false;
}
};
| [
"yuhang.jin@uwaterloo.ca"
] | yuhang.jin@uwaterloo.ca |
23d4b2482e10343427a4b3146e4545298894bcc8 | d63afcb6b86b21dbb34f25d5290734ef59a19029 | /12.29/E1.cpp | c359ccdbff10d355a1a67321dcc4dfb297bf56bd | [] | no_license | alicepolice/C_Practice_All | 7ce1f3392aafbd8fbb325836294848a896c422bd | f8e9c5773a56612e1cc6b1af8d170ff0833caed0 | refs/heads/main | 2023-03-21T14:01:00.915845 | 2021-03-04T09:11:09 | 2021-03-04T09:11:09 | 325,172,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include <stdio.h>
#include <string.h>
int main()
{
int i,k,n;
char str[10][31],buffer[31];
while(scanf("%d",&n)!=EOF)
{
getchar();
for(i=0;i<n;i++)
{
gets(str[i]);
}
for(i=0;i<n;i++)
{
for(k=i+1;k<n;k++)
{
if(strcmp(str[i],str[k])>0)
{
strcpy(buffer,str[i]);
strcpy(str[i],str[k]);
strcpy(str[k],buffer);
}
}
}
for(i=0;i<n;i++)
{
puts(str[i]);
}
printf("\n");
}
return 0;
} | [
"1048146700@qq.com"
] | 1048146700@qq.com |
9247a237599532430414b81d4c218103c9341493 | 2c65ca2f5307cf56bd0039f5b6f2e236862e963f | /Matrix/toeplitz.cpp | c92e01fae8d8d9bcff417b7874f86a31efe33bf9 | [] | no_license | aaryan6789/cppSpace | e0af567cb37f2a151ad764f73221ec59fbefc491 | 53d79178e44df70d00c2039e0326a6be47ad14e9 | refs/heads/master | 2021-06-25T12:24:57.939582 | 2021-04-01T18:50:20 | 2021-04-01T18:50:20 | 216,731,462 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | /**
*
* A matrix is Toeplitz if every diagonal from top-left to bottom-right has the
* same element.
* Now given an M x N matrix, return True if and only if the matrix is Toeplitz.
*
* Example 1:
* Input:
* matrix = [[1,2,3,4],
[5,1,2,3],
[9,5,1,2]]
Output: True
Explanation:
In the above grid, the diagonals are:
"[9]", "[5, 5]", "[1, 1, 1]", "[2, 2, 2]", "[3, 3]", "[4]".
In each diagonal all elements are the same, so the answer is True.
Example 2:
Input:
matrix = [[1,2],
[2,2]]
Output: False
Explanation:
The diagonal "[1, 2]" has different elements.
Note:
1. matrix will be a 2D array of integers.
2. matrix will have a number of rows and columns in range [1, 20].
3. matrix[i][j] will be integers in range [0, 99].
Follow up:
1. What if the matrix is stored on disk, and the memory is limited such that you
can only load at most one row of the matrix into the memory at once?
2. What if the matrix is so large that you can only load up a partial row into
the memory at once?
*/
#include "_matrix.h"
bool isToeplitzMatrix(vector<vector<int>>& matrix) {
int R = matrix.size();
int C = matrix[0].size();
for(int i = 1; i< R; i++){
for (int j = 1; j< C; j++) {
if(matrix[i][j] != matrix[i-1][j-1]){
return false;
}
}
}
return true;
}
| [
"aaryan6789@gmail.com"
] | aaryan6789@gmail.com |
d0311b1fc9347c56ad850d9439c0ba1ad684437b | 57b6fa831fe532cf0739135c77946f0061e3fbf5 | /NWNXLib/API/Linux/API/CVirtualMachineScript.hpp | ff40c44f2cb5d58b308f7f4759d476537ae2f791 | [
"MIT"
] | permissive | presscad/nwnee | dfcb90767258522f2b23afd9437d3dcad74f936d | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | refs/heads/master | 2020-08-22T05:26:11.221042 | 2018-11-24T16:45:45 | 2018-11-24T16:45:45 | 216,326,718 | 1 | 0 | MIT | 2019-10-20T07:54:45 | 2019-10-20T07:54:45 | null | UTF-8 | C++ | false | false | 807 | hpp | #pragma once
#include <cstdint>
#include "CExoString.hpp"
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CVirtualMachineStack;
struct CVirtualMachineScript
{
CVirtualMachineStack* m_pStack;
int32_t m_nStackSize;
int32_t m_nInstructPtr;
int32_t m_nSecondaryInstructPtr;
char* m_pCode;
int32_t m_nCodeSize;
CExoString m_sScriptName;
int32_t m_nLoadedFromSave;
// The below are auto generated stubs.
CVirtualMachineScript() = default;
CVirtualMachineScript(const CVirtualMachineScript&) = default;
CVirtualMachineScript& operator=(const CVirtualMachineScript&) = default;
~CVirtualMachineScript();
};
void CVirtualMachineScript__CVirtualMachineScriptDtor(CVirtualMachineScript* thisPtr);
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
9341e4ca3d6f6ce191ec1589d63a4472824b5fbd | 0cbc0c643bf184eba521dd7f5719926ac47a07df | /CUDPSelect.h | 44e880a4b21936c138408c9a7be8d827423d2253 | [] | no_license | btjaine/CardReadService | e0c85e2db01de734bba2d790ec33c3ac7f629dfa | d23d5eb496db6c36871b141db7345c0977b822d1 | refs/heads/master | 2023-01-08T16:53:12.802566 | 2020-10-29T01:21:08 | 2020-10-29T01:21:08 | 308,184,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #pragma once
class CUDPSelect
{
public:
CUDPSelect(char * cIP, int nPort);
~CUDPSelect();
public:
bool RecvMsg(char* recvbuf,int nRecvSize);
int InitSocket();
int SendMsg(char* sendbuf, int nSendSize);
void CloseSocket();
private:
SOCKADDR_IN CVR_Server_addrSrv;
SOCKADDR_IN Recv_addrSrv;
SOCKET m_Socket;
};
| [
"18020597312@189.cn"
] | 18020597312@189.cn |
2a897e244ed9711c808cf36c18f84b1fca0002b7 | 88c21289ce109ccf8be0fdd219d6bee86d20066c | /Printer_Lib/Spooler.cpp | b77dbb7be706b56f9fba260549e8a1fcf0a72a94 | [] | no_license | NUBIC/Printer | 3b78819b58021f0503a8cc92aa4cd336137639ab | 751b5ad2a4593add193536f089160f7e84702f3b | refs/heads/master | 2020-04-06T03:40:03.104080 | 2013-10-31T20:43:24 | 2013-10-31T20:43:24 | 13,416,081 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,685 | cpp | #include "stdafx.h"
#include <winspool.h>
#include "Spooler.h"
#include "SpoolException.h"
#include "SpoolStatus.h"
using namespace std;
/**
* This method instructs the local print spooler to write
* a document to the specified printer. A `SpoolStatus` is
* returned which can be used to get success of the spooling
* operation or a job identifier.
*
* A SpoolException is thrown if there is failure when...
* 1. obtaining a handle to a printer or printer server
* 2. notifying the spooler a document will be spooled
* 3. notifying the spooler a page will be printed
* 4. reading the file
* 5. notifying the spooler the data should be written to the printer
*
* @param <LPTSTR> printer name
* @param <LPTSTR> file path
* @return <SpoolStatus> spool success
* @throws <SpoolException>
**/
SpoolStatus* Spooler::spool(LPTSTR printerName, LPTSTR filePath) {
HANDLE printerHandle = NULL;
if (!OpenPrinter(printerName, &printerHandle, NULL)) {
throw SpoolException("Failed to obtain a handle to the printer or printer server");
}
DWORD printJobIdentifier = 0;
DOC_INFO_1 docinfo = {0};
docinfo.pDocName = L"MAR File";
docinfo.pDatatype = L"raw";
printJobIdentifier = StartDocPrinter(printerHandle, 1, (PBYTE)&docinfo);
if (!printJobIdentifier) {
ClosePrinter(printerHandle);
throw SpoolException("Failed to notify the spooler a document will be spooled");
}
if (!StartPagePrinter(printerHandle)) {
EndDocPrinter(printerHandle);
ClosePrinter(printerHandle);
throw SpoolException("Failed to notify the spooler a page will be printed");
}
HANDLE hFile = CreateFile(filePath, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE) {
CloseHandle(hFile);
EndPagePrinter(printerHandle);
EndDocPrinter(printerHandle);
ClosePrinter(printerHandle);
char buffer[1000];
sprintf_s(buffer, 1000, "Failed reading the file '%S'", filePath);
throw SpoolException(buffer);
}
char buffer[1024] = {0};
for (int size = GetFileSize(hFile, NULL); size; )
{
DWORD dwRead = 0, dwWritten = 0;
if (!ReadFile(hFile, buffer, min(size, sizeof(buffer)), &dwRead, NULL)) {
break;
}
if (!WritePrinter(printerHandle, buffer, (DWORD) sizeof(buffer), &dwWritten)) {
CloseHandle(hFile);
EndPagePrinter(printerHandle);
EndDocPrinter(printerHandle);
ClosePrinter(printerHandle);
throw SpoolException("Failed to notify the spooler the data should be written to the printer");
}
size -= dwRead;
}
// TODO: Log the following when failure
CloseHandle(hFile);
EndPagePrinter(printerHandle);
EndDocPrinter(printerHandle);
ClosePrinter(printerHandle);
return new SpoolStatus(printJobIdentifier);
}
/*
// Check Status
printerHandle = NULL;
if (!OpenPrinter(L"NPI6C6DB9 (HP LaserJet 500 colorMFP M570dn)", &printerHandle, NULL)) {
throw std::runtime_error("failed OpenPrinter");
}
JOB_INFO_1 *jobInfo = new JOB_INFO_1();
DWORD pcbNeeded = NULL;
DWORD pcbNeeded2 = NULL;
for (int i = 0; i < 10; i++)
{
pcbNeeded = NULL;
pcbNeeded2 = NULL;
if (!GetJob(printerHandle,sd, 1, (LPBYTE)jobInfo, 0, &pcbNeeded)) {
if (!GetJob(printerHandle,sd, 1, (LPBYTE)jobInfo, pcbNeeded, &pcbNeeded2)) {
cout << "Failed GetJob: " << GetLastError() << endl;
//throw std::runtime_error("failed GetJob");
} else {
if ((jobInfo->Status & JOB_STATUS_COMPLETE) == JOB_STATUS_COMPLETE) {
cout << "Success" << endl;
} else {
cout << "Failed" << endl;
}
}
} else {
if (jobInfo->Status & JOB_STATUS_COMPLETE) {
cout << "Success" << endl;
} else {
cout << "Failed" << endl;
}
}
cin.get();
}
*/ | [
"j-dzak@northwestern.edu"
] | j-dzak@northwestern.edu |
fa62bc431f1f7bb8a75cac077b7e5066d7feb2d2 | daad80da304a6f3fda93f7ceaa4b67f740191cce | /include/elemental/lapack-like/QR/Explicit.hpp | 2f45358a1fd1a01df4e5fed2f6a4779c48701548 | [] | no_license | aterrel/Elemental | c9303f923d535eaed1ecc485fd71352b49721a56 | e27041fbb411f1d26df711c8408aa63b230ca0ea | refs/heads/master | 2021-01-18T03:20:45.791190 | 2013-07-08T18:21:27 | 2013-07-08T18:21:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | hpp | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef LAPACK_QR_EXPLICIT_HPP
#define LAPACK_QR_EXPLICIT_HPP
#include "elemental/blas-like/level1/MakeTriangular.hpp"
#include "elemental/lapack-like/ExpandPackedReflectors.hpp"
#include "elemental/lapack-like/QR.hpp"
namespace elem {
namespace qr {
template<typename F>
inline void
Explicit( Matrix<F>& A )
{
#ifndef RELEASE
CallStackEntry cse("qr::Explicit");
#endif
Matrix<F> t;
QR( A, t );
ExpandPackedReflectors( LOWER, VERTICAL, UNCONJUGATED, 0, A, t );
}
template<typename F>
inline void
Explicit( DistMatrix<F>& A )
{
#ifndef RELEASE
CallStackEntry cse("qr::Explicit");
#endif
const Grid& g = A.Grid();
DistMatrix<F,MD,STAR> t( g );
QR( A, t );
ExpandPackedReflectors( LOWER, VERTICAL, UNCONJUGATED, 0, A, t );
}
template<typename F>
inline void
Explicit( Matrix<F>& A, Matrix<F>& R )
{
#ifndef RELEASE
CallStackEntry cse("qr::Explicit");
#endif
Matrix<F> t;
QR( A, t );
Matrix<F> AT,
AB;
PartitionDown
( A, AT,
AB, std::min(A.Height(),A.Width()) );
R = AT;
MakeTriangular( UPPER, R );
ExpandPackedReflectors( LOWER, VERTICAL, UNCONJUGATED, 0, A, t );
}
template<typename F>
inline void
Explicit( DistMatrix<F>& A, DistMatrix<F>& R )
{
#ifndef RELEASE
CallStackEntry cse("qr::Explicit");
#endif
const Grid& g = A.Grid();
DistMatrix<F,MD,STAR> t( g );
QR( A, t );
DistMatrix<F> AT(g),
AB(g);
PartitionDown
( A, AT,
AB, std::min(A.Height(),A.Width()) );
R = AT;
MakeTriangular( UPPER, R );
ExpandPackedReflectors( LOWER, VERTICAL, UNCONJUGATED, 0, A, t );
}
} // namespace qr
} // namespace elem
#endif // ifndef LAPACK_QR_EXPLICIT_HPP
| [
"jack.poulson@gmail.com"
] | jack.poulson@gmail.com |
c3f775dc289cfdf07f5e99aeba955be153b5a28f | 173abb9f709b3e64cb5fd093e8717b73d2edf672 | /src/UpKeyAction.h | 88fd47a5cd485d775e67c69abee639da0d8955fe | [] | no_license | nohda/CodeEditor | f642dbf8d4848c9fde5199292bddef57efc90952 | d2469a64f24492f93e996a203794bc3114f440dd | refs/heads/master | 2023-04-29T05:38:34.366703 | 2023-04-19T07:11:16 | 2023-04-19T07:11:16 | 214,812,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | //UpKeyAction.h
#ifndef _UPKEYACTION_H
#define _UPKEYACTION_H
#include "KeyAction.h"
typedef signed long int Long;
class CodeEditForm;
class UpKeyAction : public KeyAction {
public:
UpKeyAction(CodeEditorForm *codeEditorForm);
virtual ~UpKeyAction();
virtual void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
};
#endif //_UPKEYACTION_H
| [
"49062739+nohda@users.noreply.github.com"
] | 49062739+nohda@users.noreply.github.com |
06ed74f817d747a126b9b252ab7e16b92ab54058 | e5e91680d82cc3cd8a67424a1e9f7891e6353585 | /src/hanp_layer.cpp | 590d0d891aacd394694f8806c6412233ea97a4e8 | [] | no_license | silgon/hanp_layer | 4d8034c70fc7a6b182cb8e02f88fd6d253da58e1 | aefa9263ad844dbfdd408a1c9d0fd8d8d9f5e9d2 | refs/heads/master | 2020-12-25T04:10:57.297149 | 2015-07-26T15:29:40 | 2015-07-26T15:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,894 | cpp | /*/
* Copyright (c) 2015 LAAS/CNRS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* Harmish Khambhaita on Fri Jun 12 2015
*/
#include <math.h>
#include <hanp_layer/hanp_layer.h>
#include <geometry_msgs/PoseStamped.h>
// declare the HANPLayer as a plugin class
#include <pluginlib/class_list_macros.h>
PLUGINLIB_EXPORT_CLASS(hanp_layer::HANPLayer, costmap_2d::Layer)
namespace hanp_layer
{
HANPLayer::HANPLayer() {}
// onInitialize is called just after setting tf_, name_, and layered_costmap_
// layered_costmap_ is the costmap which this plugin gets from the map_server
void HANPLayer::onInitialize()
{
ros::NodeHandle nh("~/" + name_);
// subscribe to human positions
std::string humans_topic;
nh.param("humans_topic", humans_topic, std::string("/human_tracker"));
humans_sub = nh.subscribe(humans_topic, 1, &HANPLayer::humansUpdate, this);
// set up dynamic reconfigure server
dsrv_ = new dynamic_reconfigure::Server<hanp_layer::HANPLayerConfig>(nh);
dynamic_reconfigure::Server<hanp_layer::HANPLayerConfig>::CallbackType cb =
boost::bind(&HANPLayer::reconfigureCB, this, _1, _2);
dsrv_->setCallback(cb);
// store global_frame name locally
global_frame_ = layered_costmap_->getGlobalFrameID();
resolution = layered_costmap_->getCostmap()->getResolution();
// initialize last bounds
last_min_x = last_min_y = last_max_x = last_max_y = 0.0;
// declare current state of layer up-to-date
current_ = true;
}
// method for updating internal map of this layer
void HANPLayer::updateBounds(double origin_x, double origin_y, double origin_yaw,
double* min_x, double* min_y, double* max_x, double* max_y)
{
boost::recursive_mutex::scoped_lock lock(configuration_mutex_);
update_mutex_.lock();
// check for enable and availability of human tracking before continuing
if(!enabled_
|| !lastTrackedHumans
|| ((ros::Time::now() - lastTrackedHumans->header.stamp) > human_tracking_delay)
|| !(use_safety || use_visibility)
)
{
if(lastTransformedHumans.size() != 0)
{
lastTransformedHumans.clear();
*min_x = last_min_x;
*min_y = last_min_y;
*max_x = last_max_x;
*max_y = last_max_y;
}
return;
}
// clear last data
lastTransformedHumans.clear();
// TODO: use locking for lastTrackedHumans
// check if frame transformation is still possible
auto humans_header = lastTrackedHumans->header;
// copy limits for the costmap to local variables
double min_x_ = *min_x, min_y_ = *min_y, max_x_ = *max_x, max_y_ = *max_y;
// transform each human into costmap frame and calculate bounds for costmap
//lastTransformedHumans = new geometry_msgs::PoseStamped[lastTrackedHumans->tracks.size()]
for(auto &human : lastTrackedHumans->tracks)
{
// don't consider this human if walking
if (sqrt(human.twist.twist.linear.x * human.twist.twist.linear.x +
human.twist.twist.linear.y * human.twist.twist.linear.y) >= walking_velocity )
{
continue;
}
// fist transform human positions
geometry_msgs::PoseStamped in_human, out_human;
in_human.header.stamp = humans_header.stamp;
in_human.header.frame_id = humans_header.frame_id;
in_human.pose = human.pose.pose;
try
{
// lookup and transform in_human in global_frame_
// at time found in in_human
tf_->transformPose(global_frame_, in_human, out_human);
}
catch(tf::TransformException& ex)
{
ROS_ERROR("hanp_layer: tf exception while transforming human pose in \\%s frame: %s",
global_frame_.c_str(), ex.what());
lastTransformedHumans.clear();
return;
}
// now calculate costmap bounds
// note: bouds should be returned in meters, not in grid-points
auto size_x = std::max(safety_max, visibility_max), size_y = size_x;
min_x_ = std::min(min_x_, out_human.pose.position.x - size_x);
min_y_ = std::min(min_y_, out_human.pose.position.y - size_y);
max_x_ = std::max(max_x_, out_human.pose.position.x + size_x);
max_y_ = std::max(max_y_, out_human.pose.position.y + size_y);
lastTransformedHumans.push_back(out_human);
}
// for correct clearing of the map apply last calculated bounds
*min_x = std::min(min_x_, last_min_x);
*min_y = std::min(min_y_, last_min_y);
*max_x = std::max(max_x_, last_max_x);
*max_y = std::max(max_y_, last_max_y);
// save current update bounds for future clearance
last_min_x = min_x_;
last_min_y = min_y_;
last_max_x = max_x_;
last_max_y = max_y_;
}
// method for applyting changes in this layer to global costmap
void HANPLayer::updateCosts(costmap_2d::Costmap2D& master_grid, int min_i, int min_j,
int max_i, int max_j)
{
boost::recursive_mutex::scoped_lock lock(configuration_mutex_);
if(!enabled_ || (lastTransformedHumans.size() == 0))
{
update_mutex_.unlock();
return;
}
// update map according to each human position
for(auto human : lastTransformedHumans)
{
// get position of human in map
unsigned int cell_x, cell_y;
if(!master_grid.worldToMap(human.pose.position.x, human.pose.position.y, cell_x, cell_y))
{
ROS_ERROR("hanp_layer: no world coordinates for human at x:%f y:%f",
human.pose.position.x, human.pose.position.y);
continue;
}
//ROS_INFO("hanp_layer: human x:%d y:%d", cell_x, cell_y);
// general algorithm is to
// create satic grids according to human posture, standing, sitting, walking
// to calcuate cost use a sigmoid function
// however 'sitting' posture is not implemented yet
if(use_safety)
{
// apply safety grid according to position of each human
auto size_x = (int)(safety_max / resolution), size_y = size_x;
// by convention x is number of columns, y is number of rows
for(int y = 0; y <= 2 * size_y; y++)
{
for(int x = 0; x <= 2 * size_x; x++)
{
// add to current cost
auto cost = (double)master_grid.getCost(x + cell_x - size_x, y + cell_y - size_y)
+ (double)(safety_grid[x + ((2 * size_x + 1) * y)] * safety_weight);
// detect overflow
if(cost > (int)costmap_2d::LETHAL_OBSTACLE)
{
cost = costmap_2d::LETHAL_OBSTACLE;
}
master_grid.setCost(x + cell_x - size_x, y + cell_y - size_y, (unsigned int)cost);
}
}
}
if(use_visibility)
{
// calculate visibility grid
double yaw = tf::getYaw(human.pose.orientation);
auto visibility_grid = createVisibilityGrid(visibility_max, resolution,
costmap_2d::LETHAL_OBSTACLE, cos(yaw), sin(yaw));
// apply the visibility grid
auto size_x = (int)(visibility_max / resolution), size_y = size_x;
for(int y = 0; y <= 2 * size_y; y++)
{
for(int x = 0; x <= 2 * size_x; x++)
{
// add to current cost
auto cost = (double)master_grid.getCost(x + cell_x - size_x, y + cell_y - size_y)
+ (double)(visibility_grid[x + ((2 * size_x + 1) * y)] * visibility_weight);
// detect overflow
if(cost > (int)costmap_2d::LETHAL_OBSTACLE)
{
cost = costmap_2d::LETHAL_OBSTACLE;
}
master_grid.setCost(x + cell_x - size_x, y + cell_y - size_y, (unsigned int)cost);
}
}
}
}
update_mutex_.unlock();
}
void HANPLayer::humansUpdate(const hanp_msgs::TrackedHumansPtr& humans)
{
update_mutex_.lock();
// store humans to local variable
lastTrackedHumans = humans;
update_mutex_.unlock();
}
// configure the SafetyLayer parameters
void HANPLayer::reconfigureCB(hanp_layer::HANPLayerConfig &config, uint32_t level)
{
boost::recursive_mutex::scoped_lock lock(configuration_mutex_);
enabled_ = config.enabled;
use_safety = config.use_safety;
use_visibility= config.use_visibility;
safety_max = use_safety ? config.safety_max : 0.0;
visibility_max = use_visibility ? config.visibility_max : 0.0;
// first copy the weights
auto safety_weight_val = use_safety ? config.safety_weight : 0.0;
auto visibility_weight_val = use_visibility ? config.visibility_weight : 0.0;
// calculate effective weights, only when required
auto total_weight = safety_weight_val + visibility_weight_val;
if (total_weight > 0.0)
{
safety_weight = safety_weight_val / total_weight;
visibility_weight = visibility_weight_val / total_weight;
}
else
{
safety_weight = visibility_weight = 0.0;
}
walking_velocity = config.walking_velocity;
ROS_DEBUG("hanp_layer: safety_weight = %f, visibility_weight = %f",
safety_weight, visibility_weight);
human_tracking_delay = ros::Duration(config.human_tracking_delay);
// re-create safety grid, with changed safety_max and current resolution
resolution = layered_costmap_->getCostmap()->getResolution();
safety_grid = createSafetyGrid(safety_max, resolution, costmap_2d::LETHAL_OBSTACLE);
}
// creates safety grid around the human for different postures
// radius is in meters
// resolution is in meters/cell, default is 0.5
unsigned char* HANPLayer::createSafetyGrid(double safety_max, double resolution, unsigned int max_value)
{
if (safety_max < 0 || resolution < 0)
{
ROS_ERROR("hanp_layer: safety_max or resolution of safety grid cannot be negative");
return NULL;
}
// size of the grid depends on the resolution
// array should be of 'round' shape. since that is not possible, we use square and put 0 otherwise
auto size_x = (int)(safety_max / resolution), size_y = size_x;
// create safety grid array using safety function (a sigmoid function)
// r = pi/safety_max
// safety(x, y) =
// (cos(r * x) + 1)(cos(r * y) +1) / 4 if dist(x,y) <= safety_max
// 0 if dist(x,y) > safety_max
// create a grid where human is at center, and #cells both sides = size
auto safetyGrid = new unsigned char[(2 * size_x + 1) * (2 * size_y + 1)];
// multiply r by resolution to get proper values for cells in sub-meter grid
double r = M_PI * resolution / safety_max;
// reducing index calculation from
// (y + size_y) (2 size_x + 1) + (x + size_x)
// to
// (2 size_x size_y + size_x + size_y) + (1 + 2 size_y) y + x
int index_1 = (2 * size_x * size_y) + size_x + size_y;
int index_2 = 1 + (2 * size_y);
// by convention x is number of columns, y is number of rows
for(int y = -size_y; y <= size_y; y++)
{
for(int x = -size_x; x <= size_x; x++)
{
if (sqrt((x * x) + (y * y)) <= (safety_max / resolution))
{
safetyGrid[index_1 + (index_2 * y) + x] =
(unsigned char)(((cos(r * x) +1) * (cos(r * y) +1) * max_value / 4) + 0.5);
// multiply by max_value to get full value range from 0-max_value
// addint 0.5 at the end because converstain of u_int trancates
}
else
{
safetyGrid[index_1 + (index_2 * y) + x] = (unsigned char)0;
}
}
}
ROS_DEBUG("hanp_layer: created safety_grid of size %d %d", 2 * size_x + 1, 2 * size_y + 1);
return safetyGrid;
}
// creates visibility grid around the human for different postures
// radius in meters
// resolution in meters/cell, default is 0.5
unsigned char* HANPLayer::createVisibilityGrid(double visibilityMax, double resolution,
unsigned int max_value, double look_x, double look_y)
{
if (visibilityMax < 0 || resolution < 0)
{
ROS_ERROR("hanp_layer: visibilityMax or resolution of visibility grid cannot be negative");
return NULL;
}
// size of the grid depends on the resolution
// array should be of 'round' shape, since it not possible we use square and put 0 otherwise
auto size_x = (int)(visibilityMax / resolution), size_y = size_x;
// create visibility grid array using visibility function
// r = pi/visibilityMax
// g(i,j) = cos(r x i + 1) cos(r x j + 1) / 4
// Δψ = | arccos(Pi,j . L) |
// where P is vector to point (i,j) and L is vector of human looking direction
// fvisibility(x, y) = Δψ g(i,j) if dist(i,j) <= D_visMax and Δψ >= Ψ
// = 0 if dist(i,j) > D_visMax or Δψ < Ψ
// we calculate the grid for Ψ = π/2
// and we nomalize values for max value of 255 if dist(x,y) > visibitlityMax
// create a grid where human is at center, and #cells both sides = size
auto visibilityGrid = new unsigned char[(2 * size_x + 1) * (2 * size_y + 1)];
// fix angle for visibility
double psi = M_PI / 2;
// multiply r by resolution to get proper values for cells in sub-meter grid
double r = M_PI * resolution / visibilityMax;
// reducing index calculation from
// (y + size_y) (2 size_x + 1) + (x + size_x)
// to
// (2 size_x size_y + size_x + size_y) + (1 + 2 size_y) y + x
int index_1 = (2 * size_x * size_y) + size_x + size_y;
int index_2 = 1 + (2 * size_y);
// by convention x is number of columns, y is number of rows
for(int y = -size_y; y <= size_y; y++)
{
for(int x = -size_x; x <= size_x; x++)
{
double delta_psi;
if ((x == 0) && (y == 0))
{
delta_psi = M_PI / 2;
}
else
{
delta_psi = fabs( acos( (look_x * x + look_y * y) /
(sqrt(x*x + y*y) * sqrt(look_x*look_x + look_y*look_y)) ));
}
if ((sqrt((x * x) + (y * y)) <= (visibilityMax / resolution)) && delta_psi >= psi)
{
visibilityGrid[index_1 + (index_2 * y) + x] =
(unsigned char)((delta_psi * ((cos(r * x) +1) * (cos(r * y) +1) * 255 / 4) / M_PI) + 0.5);
// devide by π to normalize
// multiply by 255 to get full value range from 0-255
// addint 0.5 at the end because converstain of u_int trancates
}
else
{
visibilityGrid[index_1 + (index_2 * y) + x] = (unsigned char)0;
}
}
}
return visibilityGrid;
}
}
| [
"harmish@laas.fr"
] | harmish@laas.fr |
30925d658396ccc3c68fb14dd4b27e40f94b9076 | 2d2ef8e96a277ada17f74ace1e1447839ce2ccfd | /DarkSoulsIIModLoader/src/dllmain.cpp | efcf58544cfe68ab82546e1a3c7840cb35734879 | [
"MIT"
] | permissive | Atvaark/Dark-Souls-II-Mod-Loader | c7a3f37119084ba6d1617617180cd05dd860c318 | 65b6cda1f2b3aa26e22aa8400662620478369b22 | refs/heads/master | 2021-01-25T04:57:58.330272 | 2017-03-28T19:19:27 | 2017-03-28T19:19:27 | 31,071,205 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,277 | cpp | #include "dllmain.h"
#include "ModLoaderSettings.h"
#include "FileLoaderTaskInterceptorSettings.h"
#include "FileLoaderTaskInterceptor.h"
#include "FileLoaderTaskDumper.h"
#include "RttiAcceptHelper.h"
#include "TestFileOperatorVisitor.h"
#include "DarkSoulsII/TaskManager.h"
#include "minhook.1.3/lib/native/include/Minhook.h"
#pragma comment(lib, "libMinHook.lib")
const unsigned int kIsTaskManagerInitialized = 0x158BC78;
const unsigned int kTaskManager = 0x158C290;
const unsigned int kFileLoader_ReadFile = 0x009C54F0;
const unsigned int kFileLoader_ReadFileInner = 0x009C6F00;
const unsigned int kFileLoader_AddNewFileToLoad = 0x009C5C60;
const unsigned int kHashFileName = 0x01227350;
const unsigned int kGetSystemHeapImpl = 0x00913CD0;
const unsigned int kPlainConditionSignal_SetEvent = 0x009739D0;
TaskManager* p_task_manager = reinterpret_cast<TaskManager*>(kTaskManager);
BOOL* p_is_file_manager_initialized = reinterpret_cast<BOOL*>(kIsTaskManagerInitialized);
tFileLoader_ReadFile FileLoader_ReadFile = reinterpret_cast<tFileLoader_ReadFile>(kFileLoader_ReadFile);
tFileLoader_ReadFileInner FileLoader_ReadFileInnenr = reinterpret_cast<tFileLoader_ReadFileInner>(kFileLoader_ReadFileInner);
tFileLoader_AddNewFileToLoad FileLoader_AddNewFileToLoad = reinterpret_cast<tFileLoader_AddNewFileToLoad>(kFileLoader_AddNewFileToLoad);
tHashFileName HashFileName = reinterpret_cast<tHashFileName>(kHashFileName);
tGetSystemHeapImpl GetSystemHeapImpl = reinterpret_cast<tGetSystemHeapImpl>(kGetSystemHeapImpl);
tPlainConditionSignal_SetEvent PlainConditionSignal_SetEvent = reinterpret_cast<tPlainConditionSignal_SetEvent>(kPlainConditionSignal_SetEvent);
tFileLoader_ReadFile oFileLoader_ReadFile = nullptr;
tFileLoader_ReadFileInner oFileLoader_ReadFileInner = nullptr;
tFileLoader_AddNewFileToLoad oFileLoader_AddNewFileToLoad = nullptr;
tHashFileName oHashFileName = nullptr;
ModLoaderSettings settings;
FileLoaderTaskInterceptorSettings interceptor_settings;
FileLoaderTaskInterceptor interceptor;
FileLoaderTaskDumper dumper;
RttiAcceptHelper accept_helper;
HMODULE module_handle;
FILE* p_hash_log_file = nullptr;
bool deques_initialized = false;
std::deque<FileLoaderTask>* p_global_read_deque;
std::deque<FileLoaderTask>* p_global_unknown_deque1;
std::deque<FileLoaderInputTask>* p_global_input_deque;
std::deque<FileLoaderOutputTask>* p_global_output_deque;
std::deque<FileLoaderTask>* p_global_deque2;
void __fastcall hk_FileLoader_read_file(FileLoader* This, void* /*notUsed*/, std::deque<FileLoaderTask>* queue)
{
if (queue->empty() == false)
{
FileLoaderTask& task = queue->front();
oFileLoader_ReadFile(This, queue);
if (interceptor.handle(task))
{
TestFileOperatorVisitor visitor;
//FileLoaderOutputTask& front = This->mOutputDeque.front();
//FileOperator* file_operator = front.pFileInputStream->pInner->pFileOperator;
FileOperator* file_operator = task.p_file_input_stream->p_inner->p_fileOperator;
accept_helper.accept_file_operator_visitor<int>(file_operator, &visitor);
}
else
{
dumper.handle(task);
}
}
else
{
oFileLoader_ReadFile(This, queue);
}
}
bool __fastcall hk_FileLoader_read_file_inner(FileLoader* This, void* /*notUsed*/, FileLoaderTask* task, int* totalBytesRead)
{
bool result = oFileLoader_ReadFileInner(This, task, totalBytesRead);
return result;
}
void __fastcall hk_FileLoader_add_new_file_to_load(FileLoader* This,
void* /*notUsed*/,
std::deque<FileLoaderTask>* readDeque,
std::deque<FileLoaderTask>* unknownDeque1,
std::deque<FileLoaderInputTask>* inputDeque,
std::deque<FileLoaderOutputTask>* outputDeque,
std::deque<FileLoaderTask>* unknownDeque2)
{
if (deques_initialized == false)
{
p_global_read_deque = readDeque;
p_global_unknown_deque1 = unknownDeque1;
p_global_input_deque = inputDeque;
p_global_output_deque = outputDeque;
p_global_deque2 = unknownDeque2;
deques_initialized = true;
}
oFileLoader_AddNewFileToLoad(This, readDeque, unknownDeque1, inputDeque, outputDeque, unknownDeque2);
}
char __fastcall hk_FileLoader_Run(FileLoader *This, void* /*notUsed*/, int /*a2*/)
{
std::deque<FileLoaderTask> readDeque;
std::deque<FileLoaderTask> unknownDeque1;
std::deque<FileLoaderInputTask> inputDeque;
std::deque<FileLoaderOutputTask> outputDeque;
std::deque<FileLoaderTask> unknownDeque2;
while (This->is_running)
{
FileLoader_AddNewFileToLoad(This, &readDeque, &unknownDeque1, &inputDeque, &outputDeque, &unknownDeque2);
if (readDeque.empty() && unknownDeque1.empty() && inputDeque.empty() && outputDeque.empty() && unknownDeque2.empty())
{
This->mutex1.enter(-1);
if (readDeque.empty() && inputDeque.empty() && outputDeque.empty())
{
PlainConditionSignal_SetEvent(&This->signal1, 0);
//UpdateExecutionTime(&This->field_C4);
}
This->mutex1.leave();
if (This->is_running == false)
break;
This->signal1.wait(-1);
//UpdateExecutionTime2(&This->field_C4);
}
else
{
if (This->sleep_or_wait == 1)
{
if (This->sleep_time > 0)
{
Sleep((This->sleep_time + 999) / 1000);
}
}
else
{
This->signal2.wait(-1);
}
if (readDeque.empty() && unknownDeque1.empty())
{
if (outputDeque.empty() != false || inputDeque.empty() != false)
{
//FileLoader::UpdateOutputDeque(This, &output_deque);
//FileLoader::UpdateInputDeque(This, &input_deque);
}
else
{
//LARGE_INTEGER performanceCount1;
//LARGE_INTEGER performanceCount2;
//if (This->m_pCacheManager)
//{
// performanceCount2 = This->m_pCacheManager.performanceCount;
//}
//QueryPerformanceCounter(&performanceCount1);
//if (...)
// Sleep((1000 + 999) / 1000);
//else
// FileLoader_ReadFile(This, &unknown_deque2);
}
}
//FileLoader_ReadFile(This, &readDeque);
//FileLoader::UpdateDeque1(This, &unknown_deque1);
}
}
return 0;
}
__declspec(naked) bool __fastcall hk_HashFileName(wchar_t* /*fileName*/, void* /*notUsedDcx*/, unsigned int* /*out_hash*/)
{
__asm
{
push ebp
mov ebp, esp
push ecx // Save the file name on the stack
GET_NEXT_CHARACTER :
movzx eax, word ptr [ecx]
test ax, ax
jz short ERROR_INVALID_FILENAME
add ecx, 2
cmp eax, 3Ah
jnz short GET_NEXT_CHARACTER
movzx eax, word ptr [ecx]
xor edx, edx
test eax, eax
jz short SUCCESS
push esi
lea ecx, [ecx+0]
GET_NEXT_CHARACTER_TO_HASH:
lea esi, [eax-41h]
cmp esi, 19h
ja short LOWERCASE_CHARACTER
add eax, 20h
jmp short HASH_CHARACTER
LOWERCASE_CHARACTER:
cmp eax, 5Ch
jnz short HASH_CHARACTER
mov eax, 2Fh
HASH_CHARACTER :
imul edx, 25h
add ecx, 2
add edx, eax
movzx eax, word ptr [ecx]
test eax, eax
jnz short GET_NEXT_CHARACTER_TO_HASH
pop esi
SUCCESS:
mov eax, [ebp+8]
mov [eax], edx
pop eax // Remove the file name from the stack
push edx // log_hash 2nd argument
push eax // log_hash 1st argument
call log_hash
mov eax, 1
pop ebp
retn
ERROR_INVALID_FILENAME :
pop eax // Remove the file name from the stack
xor eax, eax
pop ebp
retn
}
}
void __stdcall log_hash(wchar_t* fileName, unsigned int hash)
{
if (settings.log_hashes)
{
if (p_hash_log_file == nullptr)
{
p_hash_log_file = _wfsopen(get_default_hash_log_path().c_str(), L"a", _SH_DENYWR);
}
fwprintf_s(p_hash_log_file, L"%010u;%s\n", hash, fileName);
fflush(p_hash_log_file);
}
}
int create_hooks()
{
if (MH_Initialize() != MH_OK)
return 0;
if (MH_CreateHook(static_cast<void*>(FileLoader_ReadFile), &hk_FileLoader_read_file, reinterpret_cast<void**>(&oFileLoader_ReadFile)) != MH_OK)
return 0;
if (MH_CreateHook(static_cast<void*>(FileLoader_ReadFileInnenr), &hk_FileLoader_read_file_inner, reinterpret_cast<void**>(&oFileLoader_ReadFileInner)) != MH_OK)
return 0;
if (MH_CreateHook(static_cast<void*>(FileLoader_AddNewFileToLoad), &hk_FileLoader_add_new_file_to_load, reinterpret_cast<void**>(&oFileLoader_AddNewFileToLoad)) != MH_OK)
return 0;
if (MH_CreateHook(static_cast<void*>(HashFileName), &hk_HashFileName, reinterpret_cast<void**>(&oHashFileName)) != MH_OK)
return 0;
return 1;
}
int enable_hooks()
{
// The antirvirus engine Jiangmin detects this (Minihook MH_EnableHook) as AdWare/SubTab.b
if (MH_EnableHook(static_cast<void*>(FileLoader_ReadFile)) != MH_OK)
return 0;
if (MH_EnableHook(static_cast<void*>(FileLoader_ReadFileInnenr)) != MH_OK)
return 0;
if (MH_EnableHook(static_cast<void*>(FileLoader_AddNewFileToLoad)) != MH_OK)
return 0;
if (MH_EnableHook(static_cast<void*>(HashFileName)) != MH_OK)
return 0;
return 1;
}
int remove_hooks()
{
if (MH_RemoveHook(static_cast<void*>(FileLoader_ReadFile)) != MH_OK)
return 0;
if (MH_RemoveHook(static_cast<void*>(FileLoader_ReadFileInnenr)) != MH_OK)
return 0;
if (MH_RemoveHook(static_cast<void*>(FileLoader_AddNewFileToLoad)) != MH_OK)
return 0;
if (MH_RemoveHook(static_cast<void*>(HashFileName)) != MH_OK)
return 0;
return 1;
}
int disable_hooks()
{
if (MH_DisableHook(static_cast<void*>(FileLoader_ReadFile)) != MH_OK)
return 0;
if (MH_DisableHook(static_cast<void*>(FileLoader_ReadFileInnenr)) != MH_OK)
return 0;
if (MH_DisableHook(static_cast<void*>(FileLoader_AddNewFileToLoad)) != MH_OK)
return 0;
if (MH_DisableHook(static_cast<void*>(HashFileName)) != MH_OK)
return 0;
return 1;
}
std::wstring get_executable_path()
{
wchar_t buff[MAX_PATH];
GetModuleFileName(nullptr, buff, MAX_PATH);
return std::wstring(buff);
}
std::wstring get_module_path()
{
wchar_t buff[MAX_PATH];
GetModuleFileName(module_handle, buff, MAX_PATH);
return std::wstring(buff);
}
std::wstring get_default_log_path()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L".");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L".dump.log");
}
std::wstring get_default_hash_log_path()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L".");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L".hash.log");
}
std::wstring get_default_dump_directory()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L"\\/");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L"\\dump\\");
}
std::wstring get_default_mods_directory()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L"\\/");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L"\\mods\\");
}
std::wstring get_default_replacement_settings_path()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L".");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L".mods.ini");
}
std::wstring get_default_settings_path()
{
std::wstring path = get_module_path();
std::wstring::size_type pos = path.find_last_of(L".");
if (pos != std::wstring::npos)
path = path.substr(0, pos);
return path.append(L".ini");
}
void initialize()
{
while (!p_is_file_manager_initialized)
{
Sleep(10);
}
std::wstring settings_path = get_default_settings_path();
std::wstring interceptor_settings_path = get_default_replacement_settings_path();
std::wstring log_path = get_default_log_path();
settings = ModLoaderSettings(settings_path);
if (settings.mods_path == L"")
settings.mods_path = get_default_mods_directory();
if (settings.dump_directory == L"")
settings.dump_directory = get_default_dump_directory();
interceptor_settings = FileLoaderTaskInterceptorSettings(settings.mods_path, interceptor_settings_path);
interceptor = FileLoaderTaskInterceptor(interceptor_settings);
dumper = FileLoaderTaskDumper(settings.dump_directory, log_path);
interceptor.enabled = settings.replace_files;
dumper.enabled = settings.dump_files;
create_hooks();
enable_hooks();
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID /*lpReserved*/
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
module_handle = hModule;
initialize();
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
| [
"Atvaark@users.noreply.github.com"
] | Atvaark@users.noreply.github.com |
ef8cea40d67b5e7acfd5fe7835f29e9ad9a4676b | 8f134532a9a2d2d2b9a838ee79b28eb676ca6a77 | /webrtc_example/inc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc | 4f79628fa672e1769f793c92e40f5a48e20e7b7f | [
"MIT"
] | permissive | TopsLuo/webrtc-1 | c9a1a3f8445ed2d35f38e5254e5a1dfaf52ada60 | bb1a94770d1aa629cdd67cea062eb3d34ce3b875 | refs/heads/master | 2020-03-26T11:51:11.353672 | 2018-08-15T10:17:27 | 2018-08-15T10:17:27 | 144,862,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,829 | cc | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "modules/video_coding/codecs/test/videoprocessor_integrationtest.h"
#include <algorithm>
#include <memory>
#include <utility>
#if defined(WEBRTC_ANDROID)
#include "modules/video_coding/codecs/test/android_codec_factory_helper.h"
#elif defined(WEBRTC_IOS)
#include "modules/video_coding/codecs/test/objc_codec_factory_helper.h"
#endif
#include "common_types.h" // NOLINT(build/include)
#include "media/base/h264_profile_level_id.h"
#include "media/engine/internaldecoderfactory.h"
#include "media/engine/internalencoderfactory.h"
#include "media/engine/videodecodersoftwarefallbackwrapper.h"
#include "media/engine/videoencodersoftwarefallbackwrapper.h"
#include "modules/video_coding/codecs/vp8/include/vp8_common_types.h"
#include "modules/video_coding/include/video_codec_interface.h"
#include "modules/video_coding/include/video_coding.h"
#include "rtc_base/checks.h"
#include "rtc_base/cpu_time.h"
#include "rtc_base/event.h"
#include "rtc_base/file.h"
#include "rtc_base/ptr_util.h"
#include "system_wrappers/include/sleep.h"
#include "test/testsupport/fileutils.h"
#include "test/testsupport/metrics/video_metrics.h"
namespace webrtc {
namespace test {
namespace {
bool RunEncodeInRealTime(const TestConfig& config) {
if (config.measure_cpu) {
return true;
}
#if defined(WEBRTC_ANDROID)
// In order to not overwhelm the OpenMAX buffers in the Android MediaCodec.
return (config.hw_encoder || config.hw_decoder);
#else
return false;
#endif
}
SdpVideoFormat CreateSdpVideoFormat(const TestConfig& config) {
switch (config.codec_settings.codecType) {
case kVideoCodecVP8:
return SdpVideoFormat(cricket::kVp8CodecName);
case kVideoCodecVP9:
return SdpVideoFormat(cricket::kVp9CodecName);
case kVideoCodecH264: {
const char* packetization_mode =
config.h264_codec_settings.packetization_mode ==
H264PacketizationMode::NonInterleaved
? "1"
: "0";
return SdpVideoFormat(
cricket::kH264CodecName,
{{cricket::kH264FmtpProfileLevelId,
*H264::ProfileLevelIdToString(H264::ProfileLevelId(
config.h264_codec_settings.profile, H264::kLevel3_1))},
{cricket::kH264FmtpPacketizationMode, packetization_mode}});
}
default:
RTC_NOTREACHED();
return SdpVideoFormat("");
}
}
} // namespace
void VideoProcessorIntegrationTest::H264KeyframeChecker::CheckEncodedFrame(
webrtc::VideoCodecType codec,
const EncodedImage& encoded_frame) const {
EXPECT_EQ(kVideoCodecH264, codec);
bool contains_sps = false;
bool contains_pps = false;
bool contains_idr = false;
const std::vector<webrtc::H264::NaluIndex> nalu_indices =
webrtc::H264::FindNaluIndices(encoded_frame._buffer,
encoded_frame._length);
for (const webrtc::H264::NaluIndex& index : nalu_indices) {
webrtc::H264::NaluType nalu_type = webrtc::H264::ParseNaluType(
encoded_frame._buffer[index.payload_start_offset]);
if (nalu_type == webrtc::H264::NaluType::kSps) {
contains_sps = true;
} else if (nalu_type == webrtc::H264::NaluType::kPps) {
contains_pps = true;
} else if (nalu_type == webrtc::H264::NaluType::kIdr) {
contains_idr = true;
}
}
if (encoded_frame._frameType == kVideoFrameKey) {
EXPECT_TRUE(contains_sps) << "Keyframe should contain SPS.";
EXPECT_TRUE(contains_pps) << "Keyframe should contain PPS.";
EXPECT_TRUE(contains_idr) << "Keyframe should contain IDR.";
} else if (encoded_frame._frameType == kVideoFrameDelta) {
EXPECT_FALSE(contains_sps) << "Delta frame should not contain SPS.";
EXPECT_FALSE(contains_pps) << "Delta frame should not contain PPS.";
EXPECT_FALSE(contains_idr) << "Delta frame should not contain IDR.";
} else {
RTC_NOTREACHED();
}
}
class VideoProcessorIntegrationTest::CpuProcessTime final {
public:
explicit CpuProcessTime(const TestConfig& config) : config_(config) {}
~CpuProcessTime() {}
void Start() {
if (config_.measure_cpu) {
cpu_time_ -= rtc::GetProcessCpuTimeNanos();
wallclock_time_ -= rtc::SystemTimeNanos();
}
}
void Stop() {
if (config_.measure_cpu) {
cpu_time_ += rtc::GetProcessCpuTimeNanos();
wallclock_time_ += rtc::SystemTimeNanos();
}
}
void Print() const {
if (config_.measure_cpu) {
printf("cpu_usage_percent: %f\n",
GetUsagePercent() / config_.NumberOfCores());
printf("\n");
}
}
private:
double GetUsagePercent() const {
return static_cast<double>(cpu_time_) / wallclock_time_ * 100.0;
}
const TestConfig config_;
int64_t cpu_time_ = 0;
int64_t wallclock_time_ = 0;
};
VideoProcessorIntegrationTest::VideoProcessorIntegrationTest() {
#if defined(WEBRTC_ANDROID)
InitializeAndroidObjects();
#endif
}
VideoProcessorIntegrationTest::~VideoProcessorIntegrationTest() = default;
// Processes all frames in the clip and verifies the result.
void VideoProcessorIntegrationTest::ProcessFramesAndMaybeVerify(
const std::vector<RateProfile>& rate_profiles,
const std::vector<RateControlThresholds>* rc_thresholds,
const std::vector<QualityThresholds>* quality_thresholds,
const BitstreamThresholds* bs_thresholds,
const VisualizationParams* visualization_params) {
RTC_DCHECK(!rate_profiles.empty());
// The Android HW codec needs to be run on a task queue, so we simply always
// run the test on a task queue.
rtc::TaskQueue task_queue("VidProc TQ");
SetUpAndInitObjects(
&task_queue, static_cast<const int>(rate_profiles[0].target_kbps),
static_cast<const int>(rate_profiles[0].input_fps), visualization_params);
PrintSettings(&task_queue);
ProcessAllFrames(&task_queue, rate_profiles);
ReleaseAndCloseObjects(&task_queue);
AnalyzeAllFrames(rate_profiles, rc_thresholds, quality_thresholds,
bs_thresholds);
}
void VideoProcessorIntegrationTest::ProcessAllFrames(
rtc::TaskQueue* task_queue,
const std::vector<RateProfile>& rate_profiles) {
// Process all frames.
size_t rate_update_index = 0;
// Set initial rates.
task_queue->PostTask([this, &rate_profiles, rate_update_index] {
processor_->SetRates(rate_profiles[rate_update_index].target_kbps,
rate_profiles[rate_update_index].input_fps);
});
cpu_process_time_->Start();
for (size_t frame_number = 0; frame_number < config_.num_frames;
++frame_number) {
if (frame_number ==
rate_profiles[rate_update_index].frame_index_rate_update) {
++rate_update_index;
RTC_DCHECK_GT(rate_profiles.size(), rate_update_index);
task_queue->PostTask([this, &rate_profiles, rate_update_index] {
processor_->SetRates(rate_profiles[rate_update_index].target_kbps,
rate_profiles[rate_update_index].input_fps);
});
}
task_queue->PostTask([this] { processor_->ProcessFrame(); });
if (RunEncodeInRealTime(config_)) {
// Roughly pace the frames.
size_t frame_duration_ms =
rtc::kNumMillisecsPerSec / rate_profiles[rate_update_index].input_fps;
SleepMs(static_cast<int>(frame_duration_ms));
}
}
rtc::Event sync_event(false, false);
task_queue->PostTask([&sync_event] { sync_event.Set(); });
sync_event.Wait(rtc::Event::kForever);
// Give the VideoProcessor pipeline some time to process the last frame,
// and then release the codecs.
if (config_.hw_encoder || config_.hw_decoder) {
SleepMs(1 * rtc::kNumMillisecsPerSec);
}
cpu_process_time_->Stop();
}
void VideoProcessorIntegrationTest::AnalyzeAllFrames(
const std::vector<RateProfile>& rate_profiles,
const std::vector<RateControlThresholds>* rc_thresholds,
const std::vector<QualityThresholds>* quality_thresholds,
const BitstreamThresholds* bs_thresholds) {
for (size_t rate_update_idx = 0; rate_update_idx < rate_profiles.size();
++rate_update_idx) {
const size_t first_frame_num =
(rate_update_idx == 0)
? 0
: rate_profiles[rate_update_idx - 1].frame_index_rate_update;
const size_t last_frame_num =
rate_profiles[rate_update_idx].frame_index_rate_update - 1;
RTC_CHECK(last_frame_num >= first_frame_num);
std::vector<VideoStatistics> layer_stats =
stats_.SliceAndCalcLayerVideoStatistic(first_frame_num, last_frame_num);
printf("==> Receive stats\n");
for (const auto& layer_stat : layer_stats) {
printf("%s\n\n", layer_stat.ToString("recv_").c_str());
}
VideoStatistics send_stat = stats_.SliceAndCalcAggregatedVideoStatistic(
first_frame_num, last_frame_num);
printf("==> Send stats\n");
printf("%s\n", send_stat.ToString("send_").c_str());
const RateControlThresholds* rc_threshold =
rc_thresholds ? &(*rc_thresholds)[rate_update_idx] : nullptr;
const QualityThresholds* quality_threshold =
quality_thresholds ? &(*quality_thresholds)[rate_update_idx] : nullptr;
VerifyVideoStatistic(send_stat, rc_threshold, quality_threshold,
bs_thresholds,
rate_profiles[rate_update_idx].target_kbps,
rate_profiles[rate_update_idx].input_fps);
}
cpu_process_time_->Print();
printf("\n");
}
void VideoProcessorIntegrationTest::VerifyVideoStatistic(
const VideoStatistics& video_stat,
const RateControlThresholds* rc_thresholds,
const QualityThresholds* quality_thresholds,
const BitstreamThresholds* bs_thresholds,
size_t target_bitrate_kbps,
float input_framerate_fps) {
if (rc_thresholds) {
const float bitrate_mismatch_percent =
100 * std::fabs(1.0f * video_stat.bitrate_kbps - target_bitrate_kbps) /
target_bitrate_kbps;
const float framerate_mismatch_percent =
100 * std::fabs(video_stat.framerate_fps - input_framerate_fps) /
input_framerate_fps;
EXPECT_LE(bitrate_mismatch_percent,
rc_thresholds->max_avg_bitrate_mismatch_percent);
EXPECT_LE(video_stat.time_to_reach_target_bitrate_sec,
rc_thresholds->max_time_to_reach_target_bitrate_sec);
EXPECT_LE(framerate_mismatch_percent,
rc_thresholds->max_avg_framerate_mismatch_percent);
EXPECT_LE(video_stat.avg_delay_sec,
rc_thresholds->max_avg_buffer_level_sec);
EXPECT_LE(video_stat.max_key_frame_delay_sec,
rc_thresholds->max_max_key_frame_delay_sec);
EXPECT_LE(video_stat.max_delta_frame_delay_sec,
rc_thresholds->max_max_delta_frame_delay_sec);
EXPECT_LE(video_stat.num_spatial_resizes,
rc_thresholds->max_num_spatial_resizes);
EXPECT_LE(video_stat.num_key_frames, rc_thresholds->max_num_key_frames);
}
if (quality_thresholds) {
EXPECT_GT(video_stat.avg_psnr, quality_thresholds->min_avg_psnr);
EXPECT_GT(video_stat.min_psnr, quality_thresholds->min_min_psnr);
EXPECT_GT(video_stat.avg_ssim, quality_thresholds->min_avg_ssim);
EXPECT_GT(video_stat.min_ssim, quality_thresholds->min_min_ssim);
}
if (bs_thresholds) {
EXPECT_LE(video_stat.max_nalu_size_bytes,
bs_thresholds->max_max_nalu_size_bytes);
}
}
void VideoProcessorIntegrationTest::CreateEncoderAndDecoder() {
std::unique_ptr<VideoEncoderFactory> encoder_factory;
if (config_.hw_encoder) {
#if defined(WEBRTC_ANDROID)
encoder_factory = CreateAndroidEncoderFactory();
#elif defined(WEBRTC_IOS)
EXPECT_EQ(kVideoCodecH264, config_.codec_settings.codecType)
<< "iOS HW codecs only support H264.";
encoder_factory = CreateObjCEncoderFactory();
#else
RTC_NOTREACHED() << "Only support HW encoder on Android and iOS.";
#endif
} else {
encoder_factory = rtc::MakeUnique<InternalEncoderFactory>();
}
std::unique_ptr<VideoDecoderFactory> decoder_factory;
if (config_.hw_decoder) {
#if defined(WEBRTC_ANDROID)
decoder_factory = CreateAndroidDecoderFactory();
#elif defined(WEBRTC_IOS)
EXPECT_EQ(kVideoCodecH264, config_.codec_settings.codecType)
<< "iOS HW codecs only support H264.";
decoder_factory = CreateObjCDecoderFactory();
#else
RTC_NOTREACHED() << "Only support HW decoder on Android and iOS.";
#endif
} else {
decoder_factory = rtc::MakeUnique<InternalDecoderFactory>();
}
const SdpVideoFormat format = CreateSdpVideoFormat(config_);
encoder_ = encoder_factory->CreateVideoEncoder(format);
const size_t num_simulcast_or_spatial_layers = std::max(
config_.NumberOfSimulcastStreams(), config_.NumberOfSpatialLayers());
for (size_t i = 0; i < num_simulcast_or_spatial_layers; ++i) {
decoders_.push_back(std::unique_ptr<VideoDecoder>(
decoder_factory->CreateVideoDecoder(format)));
}
if (config_.sw_fallback_encoder) {
encoder_ = rtc::MakeUnique<VideoEncoderSoftwareFallbackWrapper>(
InternalEncoderFactory().CreateVideoEncoder(format),
std::move(encoder_));
}
if (config_.sw_fallback_decoder) {
for (auto& decoder : decoders_) {
decoder = rtc::MakeUnique<VideoDecoderSoftwareFallbackWrapper>(
InternalDecoderFactory().CreateVideoDecoder(format),
std::move(decoder));
}
}
EXPECT_TRUE(encoder_) << "Encoder not successfully created.";
for (const auto& decoder : decoders_) {
EXPECT_TRUE(decoder) << "Decoder not successfully created.";
}
}
void VideoProcessorIntegrationTest::DestroyEncoderAndDecoder() {
encoder_.reset();
decoders_.clear();
}
void VideoProcessorIntegrationTest::SetUpAndInitObjects(
rtc::TaskQueue* task_queue,
const int initial_bitrate_kbps,
const int initial_framerate_fps,
const VisualizationParams* visualization_params) {
CreateEncoderAndDecoder();
config_.codec_settings.minBitrate = 0;
config_.codec_settings.startBitrate = initial_bitrate_kbps;
config_.codec_settings.maxFramerate = initial_framerate_fps;
// Create file objects for quality analysis.
source_frame_reader_.reset(
new YuvFrameReaderImpl(config_.filepath, config_.codec_settings.width,
config_.codec_settings.height));
EXPECT_TRUE(source_frame_reader_->Init());
const size_t num_simulcast_or_spatial_layers = std::max(
config_.NumberOfSimulcastStreams(), config_.NumberOfSpatialLayers());
if (visualization_params) {
for (size_t simulcast_svc_idx = 0;
simulcast_svc_idx < num_simulcast_or_spatial_layers;
++simulcast_svc_idx) {
const std::string output_filename_base =
OutputPath() + config_.FilenameWithParams() + "_" +
std::to_string(simulcast_svc_idx);
if (visualization_params->save_encoded_ivf) {
rtc::File post_encode_file =
rtc::File::Create(output_filename_base + ".ivf");
encoded_frame_writers_.push_back(
IvfFileWriter::Wrap(std::move(post_encode_file), 0));
}
if (visualization_params->save_decoded_y4m) {
FrameWriter* decoded_frame_writer = new Y4mFrameWriterImpl(
output_filename_base + ".y4m", config_.codec_settings.width,
config_.codec_settings.height, initial_framerate_fps);
EXPECT_TRUE(decoded_frame_writer->Init());
decoded_frame_writers_.push_back(
std::unique_ptr<FrameWriter>(decoded_frame_writer));
}
}
}
stats_.Clear();
cpu_process_time_.reset(new CpuProcessTime(config_));
rtc::Event sync_event(false, false);
task_queue->PostTask([this, &sync_event]() {
processor_ = rtc::MakeUnique<VideoProcessor>(
encoder_.get(), &decoders_, source_frame_reader_.get(), config_,
&stats_,
encoded_frame_writers_.empty() ? nullptr : &encoded_frame_writers_,
decoded_frame_writers_.empty() ? nullptr : &decoded_frame_writers_);
sync_event.Set();
});
sync_event.Wait(rtc::Event::kForever);
}
void VideoProcessorIntegrationTest::ReleaseAndCloseObjects(
rtc::TaskQueue* task_queue) {
rtc::Event sync_event(false, false);
task_queue->PostTask([this, &sync_event]() {
processor_.reset();
sync_event.Set();
});
sync_event.Wait(rtc::Event::kForever);
// The VideoProcessor must be destroyed before the codecs.
DestroyEncoderAndDecoder();
source_frame_reader_->Close();
// Close visualization files.
for (auto& encoded_frame_writer : encoded_frame_writers_) {
EXPECT_TRUE(encoded_frame_writer->Close());
}
for (auto& decoded_frame_writer : decoded_frame_writers_) {
decoded_frame_writer->Close();
}
}
void VideoProcessorIntegrationTest::PrintSettings(
rtc::TaskQueue* task_queue) const {
printf("==> TestConfig\n");
printf("%s\n", config_.ToString().c_str());
printf("==> Codec names\n");
std::string encoder_name;
std::string decoder_name;
rtc::Event sync_event(false, false);
task_queue->PostTask([this, &encoder_name, &decoder_name, &sync_event] {
encoder_name = encoder_->ImplementationName();
decoder_name = decoders_.at(0)->ImplementationName();
sync_event.Set();
});
sync_event.Wait(rtc::Event::kForever);
printf("enc_impl_name: %s\n", encoder_name.c_str());
printf("dec_impl_name: %s\n", decoder_name.c_str());
if (encoder_name == decoder_name) {
printf("codec_impl_name: %s_%s\n", config_.CodecName().c_str(),
encoder_name.c_str());
}
printf("\n");
}
} // namespace test
} // namespace webrtc
| [
"feixiao2020@sina.com"
] | feixiao2020@sina.com |
d81ce325454dc337855693fc0875205a6ad96ce2 | f2598ff3ddeee3686360567682bf5eddd8ba1ab5 | /src/pubkey.h | 403cd2931100c92107ec693de917ff470f9b6b68 | [
"MIT"
] | permissive | MyProductsKft/Vitalcoin | c4566dca1b9a60cbb39de25faa7251e3a3786735 | 492306908ee457362f2ba777cbd235d417f6d3b5 | refs/heads/master | 2020-03-21T02:15:27.776360 | 2018-10-31T17:32:15 | 2018-10-31T19:14:54 | 137,989,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,490 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef VITALCOIN_PUBKEY_H
#define VITALCOIN_PUBKEY_H
#include "hash.h"
#include "serialize.h"
#include "uint256.h"
#include <stdexcept>
#include <vector>
/**
* secp256k1:
* const unsigned int PRIVATE_KEY_SIZE = 279;
* const unsigned int PUBLIC_KEY_SIZE = 65;
* const unsigned int SIGNATURE_SIZE = 72;
*
* see www.keylength.com
* script supports up to 75 for single byte push
*/
const unsigned int BIP32_EXTKEY_SIZE = 74;
/** A reference to a CKey: the Hash160 of its serialized public key */
class CKeyID : public uint160 {
public:
CKeyID() : uint160() {}
CKeyID(const uint160 &in) : uint160(in) {}
};
typedef uint256 ChainCode;
/** An encapsulated public key. */
class CPubKey {
private:
/**
* Just store the serialized data.
* Its length can very cheaply be computed from the first byte.
*/
unsigned char vch[65];
//! Compute the length of a pubkey with a given first byte.
unsigned int static GetLen(unsigned char chHeader) {
if (chHeader == 2 || chHeader == 3)
return 33;
if (chHeader == 4 || chHeader == 6 || chHeader == 7)
return 65;
return 0;
}
//! Set this key data to be invalid
void Invalidate() { vch[0] = 0xFF; }
public:
//! Construct an invalid public key.
CPubKey() { Invalidate(); }
//! Initialize a public key using begin/end iterators to byte data.
template <typename T> void Set(const T pbegin, const T pend) {
int len = pend == pbegin ? 0 : GetLen(pbegin[0]);
if (len && len == (pend - pbegin))
memcpy(vch, (unsigned char *)&pbegin[0], len);
else
Invalidate();
}
//! Construct a public key using begin/end iterators to byte data.
template <typename T> CPubKey(const T pbegin, const T pend) {
Set(pbegin, pend);
}
//! Construct a public key from a byte vector.
CPubKey(const std::vector<unsigned char> &_vch) {
Set(_vch.begin(), _vch.end());
}
//! Simple read-only vector-like interface to the pubkey data.
unsigned int size() const { return GetLen(vch[0]); }
const unsigned char *begin() const { return vch; }
const unsigned char *end() const { return vch + size(); }
const unsigned char &operator[](unsigned int pos) const { return vch[pos]; }
//! Comparator implementation.
friend bool operator==(const CPubKey &a, const CPubKey &b) {
return a.vch[0] == b.vch[0] && memcmp(a.vch, b.vch, a.size()) == 0;
}
friend bool operator!=(const CPubKey &a, const CPubKey &b) {
return !(a == b);
}
friend bool operator<(const CPubKey &a, const CPubKey &b) {
return a.vch[0] < b.vch[0] ||
(a.vch[0] == b.vch[0] && memcmp(a.vch, b.vch, a.size()) < 0);
}
//! Implement serialization, as if this was a byte vector.
template <typename Stream> void Serialize(Stream &s) const {
unsigned int len = size();
::WriteCompactSize(s, len);
s.write((char *)vch, len);
}
template <typename Stream> void Unserialize(Stream &s) {
unsigned int len = ::ReadCompactSize(s);
if (len <= 65) {
s.read((char *)vch, len);
} else {
// invalid pubkey, skip available data
char dummy;
while (len--)
s.read(&dummy, 1);
Invalidate();
}
}
//! Get the KeyID of this public key (hash of its serialization)
CKeyID GetID() const { return CKeyID(Hash160(vch, vch + size())); }
//! Get the 256-bit hash of this public key.
uint256 GetHash() const { return Hash(vch, vch + size()); }
/*
* Check syntactic correctness.
*
* Note that this is consensus critical as CheckSig() calls it!
*/
bool IsValid() const { return size() > 0; }
//! fully validate whether this is a valid public key (more expensive than
//! IsValid())
bool IsFullyValid() const;
//! Check whether this is a compressed public key.
bool IsCompressed() const { return size() == 33; }
/**
* Verify a DER signature (~72 bytes).
* If this public key is not fully valid, the return value will be false.
*/
bool Verify(const uint256 &hash,
const std::vector<unsigned char> &vchSig) const;
/**
* Check whether a signature is normalized (lower-S).
*/
static bool CheckLowS(const std::vector<unsigned char> &vchSig);
//! Recover a public key from a compact signature.
bool RecoverCompact(const uint256 &hash,
const std::vector<unsigned char> &vchSig);
//! Turn this public key into an uncompressed public key.
bool Decompress();
//! Derive BIP32 child pubkey.
bool Derive(CPubKey &pubkeyChild, ChainCode &ccChild, unsigned int nChild,
const ChainCode &cc) const;
};
struct CExtPubKey {
unsigned char nDepth;
unsigned char vchFingerprint[4];
unsigned int nChild;
ChainCode chaincode;
CPubKey pubkey;
friend bool operator==(const CExtPubKey &a, const CExtPubKey &b) {
return a.nDepth == b.nDepth &&
memcmp(&a.vchFingerprint[0], &b.vchFingerprint[0],
sizeof(vchFingerprint)) == 0 &&
a.nChild == b.nChild && a.chaincode == b.chaincode &&
a.pubkey == b.pubkey;
}
void Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const;
void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]);
bool Derive(CExtPubKey &out, unsigned int nChild) const;
void Serialize(CSizeComputer &s) const {
// Optimized implementation for ::GetSerializeSize that avoids copying.
s.seek(BIP32_EXTKEY_SIZE + 1); // add one byte for the size (compact int)
}
template <typename Stream> void Serialize(Stream &s) const {
unsigned int len = BIP32_EXTKEY_SIZE;
::WriteCompactSize(s, len);
unsigned char code[BIP32_EXTKEY_SIZE];
Encode(code);
s.write((const char *)&code[0], len);
}
template <typename Stream> void Unserialize(Stream &s) {
unsigned int len = ::ReadCompactSize(s);
unsigned char code[BIP32_EXTKEY_SIZE];
if (len != BIP32_EXTKEY_SIZE)
throw std::runtime_error("Invalid extended key size\n");
s.read((char *)&code[0], len);
Decode(code);
}
};
/** Users of this module must hold an ECCVerifyHandle. The constructor and
* destructor of these are not allowed to run in parallel, though. */
class ECCVerifyHandle {
static int refcount;
public:
ECCVerifyHandle();
~ECCVerifyHandle();
};
#endif // VITALCOIN_PUBKEY_H
| [
"40405254+LeslieDombi@users.noreply.github.com"
] | 40405254+LeslieDombi@users.noreply.github.com |
fd9bb2ac427087e440b2a355c9f5a28677720747 | 4260931a5fbbb068e3378a00abebd494486e193e | /src/qt/rpcconsole.cpp | 20d4ad2363cf774b25ff4a193aa01d44a4ecc171 | [
"MIT"
] | permissive | binariumpay/binarium | 2a0d09aef38859ee7f0b65e5ec8684b363d0ab14 | 9f5de397da53eae9765d7d7495c8106b122ee3ab | refs/heads/master | 2023-01-20T20:24:28.352931 | 2023-01-12T18:52:59 | 2023-01-12T18:52:59 | 117,983,211 | 25 | 10 | MIT | 2021-03-27T21:49:04 | 2018-01-18T12:59:04 | C++ | UTF-8 | C++ | false | false | 40,389 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcconsole.h"
#include "ui_debugwindow.h"
#include "bantablemodel.h"
#include "clientmodel.h"
#include "guiutil.h"
#include "platformstyle.h"
#include "chainparams.h"
#include "netbase.h"
#include "rpc/server.h"
#include "rpc/client.h"
#include "util.h"
#include <openssl/crypto.h>
#include <univalue.h>
#ifdef ENABLE_WALLET
#include <db_cxx.h>
#endif
#include <qpainter.h>
#include <QDir>
#include <QKeyEvent>
#include <QMenu>
#include <QScrollBar>
#include <QSettings>
#include <QSignalMapper>
#include <QThread>
#include <QTime>
#include <QTimer>
#include <QStringList>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
// TODO: add a scrollback limit, as there is currently none
// TODO: make it possible to filter out categories (esp debug messages when implemented)
// TODO: receive errors and debug messages through ClientModel
const int CONSOLE_HISTORY = 50;
const QSize FONT_RANGE(4, 40);
const char fontSizeSettingsKey[] = "consoleFontSize";
const TrafficGraphData::GraphRange INITIAL_TRAFFIC_GRAPH_SETTING = TrafficGraphData::Range_30m;
// Repair parameters
const QString SALVAGEWALLET("-salvagewallet");
const QString RESCAN("-rescan");
const QString ZAPTXES1("-zapwallettxes=1");
const QString ZAPTXES2("-zapwallettxes=2");
const QString UPGRADEWALLET("-upgradewallet");
const QString REINDEX("-reindex");
const struct {
const char *url;
const char *source;
} ICON_MAPPING[] = {
{"cmd-request", "tx_input"},
{"cmd-reply", "tx_output"},
{"cmd-error", "tx_output"},
{"misc", "tx_inout"},
{NULL, NULL}
};
/* Object for executing console RPC commands in a separate thread.
*/
class RPCExecutor : public QObject
{
Q_OBJECT
public Q_SLOTS:
void request(const QString &command);
Q_SIGNALS:
void reply(int category, const QString &command);
};
/** Class for handling RPC timers
* (used for e.g. re-locking the wallet after a timeout)
*/
class QtRPCTimerBase: public QObject, public RPCTimerBase
{
Q_OBJECT
public:
QtRPCTimerBase(boost::function<void(void)>& func, int64_t millis):
func(func)
{
timer.setSingleShot(true);
connect(&timer, SIGNAL(timeout()), this, SLOT(timeout()));
timer.start(millis);
}
~QtRPCTimerBase() {}
private Q_SLOTS:
void timeout() { func(); }
private:
QTimer timer;
boost::function<void(void)> func;
};
class QtRPCTimerInterface: public RPCTimerInterface
{
public:
~QtRPCTimerInterface() {}
const char *Name() { return "Qt"; }
RPCTimerBase* NewTimer(boost::function<void(void)>& func, int64_t millis)
{
return new QtRPCTimerBase(func, millis);
}
};
#include "rpcconsole.moc"
/**
* Split shell command line into a list of arguments. Aims to emulate \c bash and friends.
*
* - Arguments are delimited with whitespace
* - Extra whitespace at the beginning and end and between arguments will be ignored
* - Text can be "double" or 'single' quoted
* - The backslash \c \ is used as escape character
* - Outside quotes, any character can be escaped
* - Within double quotes, only escape \c " and backslashes before a \c " or another backslash
* - Within single quotes, no escaping is possible and no special interpretation takes place
*
* @param[out] args Parsed arguments will be appended to this list
* @param[in] strCommand Command line to split
*/
bool parseCommandLine(std::vector<std::string> &args, const std::string &strCommand)
{
enum CmdParseState
{
STATE_EATING_SPACES,
STATE_ARGUMENT,
STATE_SINGLEQUOTED,
STATE_DOUBLEQUOTED,
STATE_ESCAPE_OUTER,
STATE_ESCAPE_DOUBLEQUOTED
} state = STATE_EATING_SPACES;
std::string curarg;
Q_FOREACH(char ch, strCommand)
{
switch(state)
{
case STATE_ARGUMENT: // In or after argument
case STATE_EATING_SPACES: // Handle runs of whitespace
switch(ch)
{
case '"': state = STATE_DOUBLEQUOTED; break;
case '\'': state = STATE_SINGLEQUOTED; break;
case '\\': state = STATE_ESCAPE_OUTER; break;
case ' ': case '\n': case '\t':
if(state == STATE_ARGUMENT) // Space ends argument
{
args.push_back(curarg);
curarg.clear();
}
state = STATE_EATING_SPACES;
break;
default: curarg += ch; state = STATE_ARGUMENT;
}
break;
case STATE_SINGLEQUOTED: // Single-quoted string
switch(ch)
{
case '\'': state = STATE_ARGUMENT; break;
default: curarg += ch;
}
break;
case STATE_DOUBLEQUOTED: // Double-quoted string
switch(ch)
{
case '"': state = STATE_ARGUMENT; break;
case '\\': state = STATE_ESCAPE_DOUBLEQUOTED; break;
default: curarg += ch;
}
break;
case STATE_ESCAPE_OUTER: // '\' outside quotes
curarg += ch; state = STATE_ARGUMENT;
break;
case STATE_ESCAPE_DOUBLEQUOTED: // '\' in double-quoted text
if(ch != '"' && ch != '\\') curarg += '\\'; // keep '\' for everything but the quote and '\' itself
curarg += ch; state = STATE_DOUBLEQUOTED;
break;
}
}
switch(state) // final state
{
case STATE_EATING_SPACES:
return true;
case STATE_ARGUMENT:
args.push_back(curarg);
return true;
default: // ERROR to end in one of the other states
return false;
}
}
void RPCExecutor::request(const QString &command)
{
std::vector<std::string> args;
if(!parseCommandLine(args, command.toStdString()))
{
Q_EMIT reply(RPCConsole::CMD_ERROR, QString("Parse error: unbalanced ' or \""));
return;
}
if(args.empty())
return; // Nothing to do
try
{
std::string strPrint;
// Convert argument list to JSON objects in method-dependent way,
// and pass it along with the method name to the dispatcher.
UniValue result = tableRPC.execute(
args[0],
RPCConvertValues(args[0], std::vector<std::string>(args.begin() + 1, args.end())));
// Format result reply
if (result.isNull())
strPrint = "";
else if (result.isStr())
strPrint = result.get_str();
else
strPrint = result.write(2);
Q_EMIT reply(RPCConsole::CMD_REPLY, QString::fromStdString(strPrint));
}
catch (UniValue& objError)
{
try // Nice formatting for standard-format error
{
int code = find_value(objError, "code").get_int();
std::string message = find_value(objError, "message").get_str();
Q_EMIT reply(RPCConsole::CMD_ERROR, QString::fromStdString(message) + " (code " + QString::number(code) + ")");
}
catch (const std::runtime_error&) // raised when converting to invalid type, i.e. missing code or message
{ // Show raw JSON object
Q_EMIT reply(RPCConsole::CMD_ERROR, QString::fromStdString(objError.write()));
}
}
catch (const std::exception& e)
{
Q_EMIT reply(RPCConsole::CMD_ERROR, QString("Error: ") + QString::fromStdString(e.what()));
}
}
//RPCConsole::RPCConsole(const PlatformStyle *platformStyle, QWidget *parent) :
RPCConsole::RPCConsole(QWidget *parent) :
QDialog(parent),
ui(new Ui::RPCConsole)
//model(0),
//mapper(0)
/*QWidget(parent), // QWidget
ui(new Ui::RPCConsole),
clientModel(0),
historyPtr(0),
platformStyle(platformStyle),
peersTableContextMenu(0),
banTableContextMenu(0),
consoleFontSize(0)*/
{
ui->setupUi(this);
GUIUtil::restoreWindowGeometry("nRPCConsoleWindow", this->size(), this);
QString theme = GUIUtil::getThemeName();
//if (platformStyle->getImagesOnButtons()) {
// ui->openDebugLogfileButton->setIcon(QIcon(":/icons/" + theme + "/export"));
//}
// Needed on Mac also
ui->clearButton->setIcon(QIcon(":/icons/" + theme + "/remove"));
ui->fontBiggerButton->setIcon(QIcon(":/icons/" + theme + "/fontbigger"));
ui->fontSmallerButton->setIcon(QIcon(":/icons/" + theme + "/fontsmaller"));
// Install event filter for up and down arrow
ui->lineEdit->installEventFilter(this);
ui->messagesWidget->installEventFilter(this);
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear()));
connect(ui->fontBiggerButton, SIGNAL(clicked()), this, SLOT(fontBigger()));
connect(ui->fontSmallerButton, SIGNAL(clicked()), this, SLOT(fontSmaller()));
connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear()));
// Wallet Repair Buttons
// connect(ui->btn_salvagewallet, SIGNAL(clicked()), this, SLOT(walletSalvage()));
// Disable salvage option in GUI, it's way too powerful and can lead to funds loss
ui->btn_salvagewallet->setEnabled(false);
connect(ui->btn_rescan, SIGNAL(clicked()), this, SLOT(walletRescan()));
connect(ui->btn_zapwallettxes1, SIGNAL(clicked()), this, SLOT(walletZaptxes1()));
connect(ui->btn_zapwallettxes2, SIGNAL(clicked()), this, SLOT(walletZaptxes2()));
connect(ui->btn_upgradewallet, SIGNAL(clicked()), this, SLOT(walletUpgrade()));
connect(ui->btn_reindex, SIGNAL(clicked()), this, SLOT(walletReindex()));
// set library version labels
#ifdef ENABLE_WALLET
ui->berkeleyDBVersion->setText(DbEnv::version(0, 0, 0));
std::string walletPath = GetDataDir().string();
walletPath += QDir::separator().toLatin1() + GetArg("-wallet", "wallet.dat");
ui->wallet_path->setText(QString::fromStdString(walletPath));
#else
ui->label_berkeleyDBVersion->hide();
ui->berkeleyDBVersion->hide();
#endif
// Register RPC timer interface
rpcTimerInterface = new QtRPCTimerInterface();
RPCRegisterTimerInterface(rpcTimerInterface);
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_SETTING);
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
QSettings settings;
consoleFontSize = settings.value(fontSizeSettingsKey, QFontInfo(QFont()).pointSize()).toInt();
clear();
/*setStyleSheet ( "background-color: #0f5e8d; color : #a3dce6;" );
// qApp
( ( QApplication * ) ( QApplication :: instance () ) ) -> setStyleSheet ( ".RPCConsole { background-color: #0f5e8d; color : #a3dce6; }\
.RPCConsole QLabel { color : #a3dce6; }\
.RPCConsole QButton { background-color:#0088cc; color : #ffffff; }\
.RPCConsole QWidget#tabWidget, .RPCConsole QWidget#tab_info, .RPCConsole QWidget#tab_console, .RPCConsole QWidget#tab_nettraffic,\
.RPCConsole QWidget#tab_peers, .RPCConsole QWidget#tab_repair {\
background-color:#0f5e8d;\
color : #a3dce6;\
}" );*/
this -> setStyleSheet ( GUIUtil :: loadStyleSheet () );
}
RPCConsole::~RPCConsole()
{
GUIUtil::saveWindowGeometry("nRPCConsoleWindow", this);
RPCUnregisterTimerInterface(rpcTimerInterface);
delete rpcTimerInterface;
delete ui;
}
bool RPCConsole::eventFilter(QObject* obj, QEvent *event)
{
if(event->type() == QEvent::KeyPress) // Special key handling
{
QKeyEvent *keyevt = static_cast<QKeyEvent*>(event);
int key = keyevt->key();
Qt::KeyboardModifiers mod = keyevt->modifiers();
switch(key)
{
case Qt::Key_Up: if(obj == ui->lineEdit) { browseHistory(-1); return true; } break;
case Qt::Key_Down: if(obj == ui->lineEdit) { browseHistory(1); return true; } break;
case Qt::Key_PageUp: /* pass paging keys to messages widget */
case Qt::Key_PageDown:
if(obj == ui->lineEdit)
{
QApplication::postEvent(ui->messagesWidget, new QKeyEvent(*keyevt));
return true;
}
break;
case Qt::Key_Return:
case Qt::Key_Enter:
// forward these events to lineEdit
if(obj == autoCompleter->popup()) {
QApplication::postEvent(ui->lineEdit, new QKeyEvent(*keyevt));
return true;
}
break;
default:
// Typing in messages widget brings focus to line edit, and redirects key there
// Exclude most combinations and keys that emit no text, except paste shortcuts
if(obj == ui->messagesWidget && (
(!mod && !keyevt->text().isEmpty() && key != Qt::Key_Tab) ||
((mod & Qt::ControlModifier) && key == Qt::Key_V) ||
((mod & Qt::ShiftModifier) && key == Qt::Key_Insert)))
{
ui->lineEdit->setFocus();
QApplication::postEvent(ui->lineEdit, new QKeyEvent(*keyevt));
return true;
}
}
}
return QWidget::eventFilter(obj, event);
}
void RPCConsole::setClientModel(ClientModel *model)
{
clientModel = model;
ui->trafficGraph->setClientModel(model);
if (model && clientModel->getPeerTableModel() && clientModel->getBanTableModel()) {
// Keep up to date with client
setNumConnections(model->getNumConnections());
connect(model, SIGNAL(numConnectionsChanged(int)), this, SLOT(setNumConnections(int)));
setNumBlocks(model->getNumBlocks(), model->getLastBlockDate(), model->getVerificationProgress(NULL), false);
connect(model, SIGNAL(numBlocksChanged(int,QDateTime,double,bool)), this, SLOT(setNumBlocks(int,QDateTime,double,bool)));
updateNetworkState();
connect(model, SIGNAL(networkActiveChanged(bool)), this, SLOT(setNetworkActive(bool)));
setMasternodeCount(model->getMasternodeCountString());
connect(model, SIGNAL(strMasternodesChanged(QString)), this, SLOT(setMasternodeCount(QString)));
updateTrafficStats(model->getTotalBytesRecv(), model->getTotalBytesSent());
connect(model, SIGNAL(bytesChanged(quint64,quint64)), this, SLOT(updateTrafficStats(quint64, quint64)));
connect(model, SIGNAL(mempoolSizeChanged(long,size_t)), this, SLOT(setMempoolSize(long,size_t)));
// set up peer table
ui->peerWidget->setModel(model->getPeerTableModel());
ui->peerWidget->verticalHeader()->hide();
ui->peerWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->peerWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
ui->peerWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
ui->peerWidget->setContextMenuPolicy(Qt::CustomContextMenu);
ui->peerWidget->setColumnWidth(PeerTableModel::Address, ADDRESS_COLUMN_WIDTH);
ui->peerWidget->setColumnWidth(PeerTableModel::Subversion, SUBVERSION_COLUMN_WIDTH);
ui->peerWidget->setColumnWidth(PeerTableModel::Ping, PING_COLUMN_WIDTH);
ui->peerWidget->horizontalHeader()->setStretchLastSection(true);
// create peer table context menu actions
QAction* disconnectAction = new QAction(tr("&Disconnect"), this);
QAction* banAction1h = new QAction(tr("Ban for") + " " + tr("1 &hour"), this);
QAction* banAction24h = new QAction(tr("Ban for") + " " + tr("1 &day"), this);
QAction* banAction7d = new QAction(tr("Ban for") + " " + tr("1 &week"), this);
QAction* banAction365d = new QAction(tr("Ban for") + " " + tr("1 &year"), this);
// create peer table context menu
peersTableContextMenu = new QMenu(this);
peersTableContextMenu->addAction(disconnectAction);
peersTableContextMenu->addAction(banAction1h);
peersTableContextMenu->addAction(banAction24h);
peersTableContextMenu->addAction(banAction7d);
peersTableContextMenu->addAction(banAction365d);
// Add a signal mapping to allow dynamic context menu arguments.
// We need to use int (instead of int64_t), because signal mapper only supports
// int or objects, which is okay because max bantime (1 year) is < int_max.
QSignalMapper* signalMapper = new QSignalMapper(this);
signalMapper->setMapping(banAction1h, 60*60);
signalMapper->setMapping(banAction24h, 60*60*24);
signalMapper->setMapping(banAction7d, 60*60*24*7);
signalMapper->setMapping(banAction365d, 60*60*24*365);
connect(banAction1h, SIGNAL(triggered()), signalMapper, SLOT(map()));
connect(banAction24h, SIGNAL(triggered()), signalMapper, SLOT(map()));
connect(banAction7d, SIGNAL(triggered()), signalMapper, SLOT(map()));
connect(banAction365d, SIGNAL(triggered()), signalMapper, SLOT(map()));
connect(signalMapper, SIGNAL(mapped(int)), this, SLOT(banSelectedNode(int)));
// peer table context menu signals
connect(ui->peerWidget, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(showPeersTableContextMenu(const QPoint&)));
connect(disconnectAction, SIGNAL(triggered()), this, SLOT(disconnectSelectedNode()));
// peer table signal handling - update peer details when selecting new node
connect(ui->peerWidget->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
this, SLOT(peerSelected(const QItemSelection &, const QItemSelection &)));
// peer table signal handling - update peer details when new nodes are added to the model
connect(model->getPeerTableModel(), SIGNAL(layoutChanged()), this, SLOT(peerLayoutChanged()));
// peer table signal handling - cache selected node ids
connect(model->getPeerTableModel(), SIGNAL(layoutAboutToBeChanged()), this, SLOT(peerLayoutAboutToChange()));
// set up ban table
ui->banlistWidget->setModel(model->getBanTableModel());
ui->banlistWidget->verticalHeader()->hide();
ui->banlistWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->banlistWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
ui->banlistWidget->setSelectionMode(QAbstractItemView::SingleSelection);
ui->banlistWidget->setContextMenuPolicy(Qt::CustomContextMenu);
ui->banlistWidget->setColumnWidth(BanTableModel::Address, BANSUBNET_COLUMN_WIDTH);
ui->banlistWidget->setColumnWidth(BanTableModel::Bantime, BANTIME_COLUMN_WIDTH);
ui->banlistWidget->horizontalHeader()->setStretchLastSection(true);
// create ban table context menu action
QAction* unbanAction = new QAction(tr("&Unban"), this);
// create ban table context menu
banTableContextMenu = new QMenu(this);
banTableContextMenu->addAction(unbanAction);
// ban table context menu signals
connect(ui->banlistWidget, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(showBanTableContextMenu(const QPoint&)));
connect(unbanAction, SIGNAL(triggered()), this, SLOT(unbanSelectedNode()));
// ban table signal handling - clear peer details when clicking a peer in the ban table
connect(ui->banlistWidget, SIGNAL(clicked(const QModelIndex&)), this, SLOT(clearSelectedNode()));
// ban table signal handling - ensure ban table is shown or hidden (if empty)
connect(model->getBanTableModel(), SIGNAL(layoutChanged()), this, SLOT(showOrHideBanTableIfRequired()));
showOrHideBanTableIfRequired();
// Provide initial values
ui->clientVersion->setText(model->formatFullVersion());
ui->clientUserAgent->setText(model->formatSubVersion());
ui->clientName->setText(model->clientName());
ui->dataDir->setText(model->dataDir());
ui->startupTime->setText(model->formatClientStartupTime());
ui->networkName->setText(QString::fromStdString(Params().NetworkIDString()));
//Setup autocomplete and attach it
QStringList wordList;
std::vector<std::string> commandList = tableRPC.listCommands();
for (size_t i = 0; i < commandList.size(); ++i)
{
wordList << commandList[i].c_str();
}
autoCompleter = new QCompleter(wordList, this);
ui->lineEdit->setCompleter(autoCompleter);
autoCompleter->popup()->installEventFilter(this);
// Start thread to execute RPC commands.
startExecutor();
}
if (!model) {
// Client model is being set to 0, this means shutdown() is about to be called.
// Make sure we clean up the executor thread
Q_EMIT stopExecutor();
thread.wait();
}
}
static QString categoryClass(int category)
{
switch(category)
{
case RPCConsole::CMD_REQUEST: return "cmd-request"; break;
case RPCConsole::CMD_REPLY: return "cmd-reply"; break;
case RPCConsole::CMD_ERROR: return "cmd-error"; break;
default: return "misc";
}
}
void RPCConsole::fontBigger()
{
setFontSize(consoleFontSize+1);
}
void RPCConsole::fontSmaller()
{
setFontSize(consoleFontSize-1);
}
void RPCConsole::setFontSize(int newSize)
{
QSettings settings;
//don't allow a insane font size
if (newSize < FONT_RANGE.width() || newSize > FONT_RANGE.height())
return;
// temp. store the console content
QString str = ui->messagesWidget->toHtml();
// replace font tags size in current content
str.replace(QString("font-size:%1pt").arg(consoleFontSize), QString("font-size:%1pt").arg(newSize));
// store the new font size
consoleFontSize = newSize;
settings.setValue(fontSizeSettingsKey, consoleFontSize);
// clear console (reset icon sizes, default stylesheet) and re-add the content
float oldPosFactor = 1.0 / ui->messagesWidget->verticalScrollBar()->maximum() * ui->messagesWidget->verticalScrollBar()->value();
clear(false);
ui->messagesWidget->setHtml(str);
ui->messagesWidget->verticalScrollBar()->setValue(oldPosFactor * ui->messagesWidget->verticalScrollBar()->maximum());
}
/** Restart wallet with "-salvagewallet" */
void RPCConsole::walletSalvage()
{
buildParameterlist(SALVAGEWALLET);
}
/** Restart wallet with "-rescan" */
void RPCConsole::walletRescan()
{
buildParameterlist(RESCAN);
}
/** Restart wallet with "-zapwallettxes=1" */
void RPCConsole::walletZaptxes1()
{
buildParameterlist(ZAPTXES1);
}
/** Restart wallet with "-zapwallettxes=2" */
void RPCConsole::walletZaptxes2()
{
buildParameterlist(ZAPTXES2);
}
/** Restart wallet with "-upgradewallet" */
void RPCConsole::walletUpgrade()
{
buildParameterlist(UPGRADEWALLET);
}
/** Restart wallet with "-reindex" */
void RPCConsole::walletReindex()
{
buildParameterlist(REINDEX);
}
/** Build command-line parameter list for restart */
void RPCConsole::buildParameterlist(QString arg)
{
// Get command-line arguments and remove the application name
QStringList args = QApplication::arguments();
args.removeFirst();
// Remove existing repair-options
args.removeAll(SALVAGEWALLET);
args.removeAll(RESCAN);
args.removeAll(ZAPTXES1);
args.removeAll(ZAPTXES2);
args.removeAll(UPGRADEWALLET);
args.removeAll(REINDEX);
// Append repair parameter to command line.
args.append(arg);
// Send command-line arguments to BitcoinGUI::handleRestart()
Q_EMIT handleRestart(args);
}
void RPCConsole::clear(bool clearHistory)
{
ui->messagesWidget->clear();
if(clearHistory)
{
history.clear();
historyPtr = 0;
}
ui->lineEdit->clear();
ui->lineEdit->setFocus();
// Add smoothly scaled icon images.
// (when using width/height on an img, Qt uses nearest instead of linear interpolation)
QString iconPath = ":/icons/" + GUIUtil::getThemeName() + "/";
QString iconName = "";
for(int i=0; ICON_MAPPING[i].url; ++i)
{
iconName = ICON_MAPPING[i].source;
ui->messagesWidget->document()->addResource(
QTextDocument::ImageResource,
QUrl(ICON_MAPPING[i].url),
QImage(iconPath + iconName).scaled(QSize(consoleFontSize*2, consoleFontSize*2), Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
}
// Set default style sheet
QFontInfo fixedFontInfo(GUIUtil::fixedPitchFont());
ui->messagesWidget->document()->setDefaultStyleSheet(
QString(
"table { }"
"td.time { color: #808080; font-size: %2; padding-top: 3px; } "
"td.message { font-family: %1; font-size: %2; white-space:pre-wrap; } "
"td.cmd-request { color: #006060; } "
"td.cmd-error { color: red; } "
"b { color: #006060; } "
).arg(fixedFontInfo.family(), QString("%1pt").arg(consoleFontSize))
);
message(CMD_REPLY, (tr("Welcome to the Binarium Core RPC console.") + "<br>" +
tr("Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.") + "<br>" +
tr("Type <b>help</b> for an overview of available commands.")), true);
}
void RPCConsole::keyPressEvent(QKeyEvent *event)
{
if(windowType() != Qt::Widget && event->key() == Qt::Key_Escape)
{
close();
}
}
void RPCConsole::message(int category, const QString &message, bool html)
{
QTime time = QTime::currentTime();
QString timeString = time.toString();
QString out;
out += "<table><tr><td class=\"time\" width=\"65\">" + timeString + "</td>";
out += "<td class=\"icon\" width=\"32\"><img src=\"" + categoryClass(category) + "\"></td>";
out += "<td class=\"message " + categoryClass(category) + "\" valign=\"middle\">";
if(html)
out += message;
else
out += GUIUtil::HtmlEscape(message, false);
out += "</td></tr></table>";
ui->messagesWidget->append(out);
}
void RPCConsole::updateNetworkState()
{
QString connections = QString::number(clientModel->getNumConnections()) + " (";
connections += tr("In:") + " " + QString::number(clientModel->getNumConnections(CONNECTIONS_IN)) + " / ";
connections += tr("Out:") + " " + QString::number(clientModel->getNumConnections(CONNECTIONS_OUT)) + ")";
if(!clientModel->getNetworkActive()) {
connections += " (" + tr("Network activity disabled") + ")";
}
ui->numberOfConnections->setText(connections);
}
void RPCConsole::setNumConnections(int count)
{
if (!clientModel)
return;
updateNetworkState();
}
void RPCConsole::setNetworkActive(bool networkActive)
{
updateNetworkState();
}
void RPCConsole::setNumBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, bool headers)
{
if (!headers) {
ui->numberOfBlocks->setText(QString::number(count));
ui->lastBlockTime->setText(blockDate.toString());
}
}
void RPCConsole::setMasternodeCount(const QString &strMasternodes)
{
ui->masternodeCount->setText(strMasternodes);
}
void RPCConsole::setMempoolSize(long numberOfTxs, size_t dynUsage)
{
ui->mempoolNumberTxs->setText(QString::number(numberOfTxs));
if (dynUsage < 1000000)
ui->mempoolSize->setText(QString::number(dynUsage/1000.0, 'f', 2) + " KB");
else
ui->mempoolSize->setText(QString::number(dynUsage/1000000.0, 'f', 2) + " MB");
}
void RPCConsole::on_lineEdit_returnPressed()
{
QString cmd = ui->lineEdit->text();
ui->lineEdit->clear();
if(!cmd.isEmpty())
{
message(CMD_REQUEST, cmd);
Q_EMIT cmdRequest(cmd);
// Remove command, if already in history
history.removeOne(cmd);
// Append command to history
history.append(cmd);
// Enforce maximum history size
while(history.size() > CONSOLE_HISTORY)
history.removeFirst();
// Set pointer to end of history
historyPtr = history.size();
// Scroll console view to end
scrollToEnd();
}
}
void RPCConsole::browseHistory(int offset)
{
historyPtr += offset;
if(historyPtr < 0)
historyPtr = 0;
if(historyPtr > history.size())
historyPtr = history.size();
QString cmd;
if(historyPtr < history.size())
cmd = history.at(historyPtr);
ui->lineEdit->setText(cmd);
}
void RPCConsole::startExecutor()
{
RPCExecutor *executor = new RPCExecutor();
executor->moveToThread(&thread);
// Replies from executor object must go to this object
connect(executor, SIGNAL(reply(int,QString)), this, SLOT(message(int,QString)));
// Requests from this object must go to executor
connect(this, SIGNAL(cmdRequest(QString)), executor, SLOT(request(QString)));
// On stopExecutor signal
// - quit the Qt event loop in the execution thread
connect(this, SIGNAL(stopExecutor()), &thread, SLOT(quit()));
// - queue executor for deletion (in execution thread)
connect(&thread, SIGNAL(finished()), executor, SLOT(deleteLater()), Qt::DirectConnection);
// Default implementation of QThread::run() simply spins up an event loop in the thread,
// which is what we want.
thread.start();
}
void RPCConsole::on_tabWidget_currentChanged(int index)
{
if (ui->tabWidget->widget(index) == ui->tab_console)
ui->lineEdit->setFocus();
else if (ui->tabWidget->widget(index) != ui->tab_peers)
clearSelectedNode();
}
void RPCConsole::on_openDebugLogfileButton_clicked()
{
GUIUtil::openDebugLogfile();
}
void RPCConsole::scrollToEnd()
{
QScrollBar *scrollbar = ui->messagesWidget->verticalScrollBar();
scrollbar->setValue(scrollbar->maximum());
}
void RPCConsole::on_sldGraphRange_valueChanged(int value)
{
setTrafficGraphRange(static_cast<TrafficGraphData::GraphRange>(value));
}
QString RPCConsole::FormatBytes(quint64 bytes)
{
if(bytes < 1024)
return QString(tr("%1 B")).arg(bytes);
if(bytes < 1024 * 1024)
return QString(tr("%1 KB")).arg(bytes / 1024);
if(bytes < 1024 * 1024 * 1024)
return QString(tr("%1 MB")).arg(bytes / 1024 / 1024);
return QString(tr("%1 GB")).arg(bytes / 1024 / 1024 / 1024);
}
void RPCConsole::setTrafficGraphRange(TrafficGraphData::GraphRange range)
{
ui->trafficGraph->setGraphRangeMins(range);
ui->lblGraphRange->setText(GUIUtil::formatDurationStr(TrafficGraphData::RangeMinutes[range] * 60));
}
void RPCConsole::updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
{
ui->lblBytesIn->setText(FormatBytes(totalBytesIn));
ui->lblBytesOut->setText(FormatBytes(totalBytesOut));
}
void RPCConsole::peerSelected(const QItemSelection &selected, const QItemSelection &deselected)
{
Q_UNUSED(deselected);
if (!clientModel || !clientModel->getPeerTableModel() || selected.indexes().isEmpty())
return;
const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(selected.indexes().first().row());
if (stats)
updateNodeDetail(stats);
}
void RPCConsole::peerLayoutAboutToChange()
{
QModelIndexList selected = ui->peerWidget->selectionModel()->selectedIndexes();
cachedNodeids.clear();
for(int i = 0; i < selected.size(); i++)
{
const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(selected.at(i).row());
cachedNodeids.append(stats->nodeStats.nodeid);
}
}
void RPCConsole::peerLayoutChanged()
{
if (!clientModel || !clientModel->getPeerTableModel())
return;
const CNodeCombinedStats *stats = NULL;
bool fUnselect = false;
bool fReselect = false;
if (cachedNodeids.empty()) // no node selected yet
return;
// find the currently selected row
int selectedRow = -1;
QModelIndexList selectedModelIndex = ui->peerWidget->selectionModel()->selectedIndexes();
if (!selectedModelIndex.isEmpty()) {
selectedRow = selectedModelIndex.first().row();
}
// check if our detail node has a row in the table (it may not necessarily
// be at selectedRow since its position can change after a layout change)
int detailNodeRow = clientModel->getPeerTableModel()->getRowByNodeId(cachedNodeids.first());
if (detailNodeRow < 0)
{
// detail node disappeared from table (node disconnected)
fUnselect = true;
}
else
{
if (detailNodeRow != selectedRow)
{
// detail node moved position
fUnselect = true;
fReselect = true;
}
// get fresh stats on the detail node.
stats = clientModel->getPeerTableModel()->getNodeStats(detailNodeRow);
}
if (fUnselect && selectedRow >= 0) {
clearSelectedNode();
}
if (fReselect)
{
for(int i = 0; i < cachedNodeids.size(); i++)
{
ui->peerWidget->selectRow(clientModel->getPeerTableModel()->getRowByNodeId(cachedNodeids.at(i)));
}
}
if (stats)
updateNodeDetail(stats);
}
void RPCConsole::updateNodeDetail(const CNodeCombinedStats *stats)
{
// update the detail ui with latest node information
QString peerAddrDetails(QString::fromStdString(stats->nodeStats.addrName) + " ");
peerAddrDetails += tr("(node id: %1)").arg(QString::number(stats->nodeStats.nodeid));
if (!stats->nodeStats.addrLocal.empty())
peerAddrDetails += "<br />" + tr("via %1").arg(QString::fromStdString(stats->nodeStats.addrLocal));
ui->peerHeading->setText(peerAddrDetails);
ui->peerServices->setText(GUIUtil::formatServicesStr(stats->nodeStats.nServices));
ui->peerLastSend->setText(stats->nodeStats.nLastSend ? GUIUtil::formatDurationStr(GetSystemTimeInSeconds() - stats->nodeStats.nLastSend) : tr("never"));
ui->peerLastRecv->setText(stats->nodeStats.nLastRecv ? GUIUtil::formatDurationStr(GetSystemTimeInSeconds() - stats->nodeStats.nLastRecv) : tr("never"));
ui->peerBytesSent->setText(FormatBytes(stats->nodeStats.nSendBytes));
ui->peerBytesRecv->setText(FormatBytes(stats->nodeStats.nRecvBytes));
ui->peerConnTime->setText(GUIUtil::formatDurationStr(GetSystemTimeInSeconds() - stats->nodeStats.nTimeConnected));
ui->peerPingTime->setText(GUIUtil::formatPingTime(stats->nodeStats.dPingTime));
ui->peerPingWait->setText(GUIUtil::formatPingTime(stats->nodeStats.dPingWait));
ui->peerMinPing->setText(GUIUtil::formatPingTime(stats->nodeStats.dMinPing));
ui->timeoffset->setText(GUIUtil::formatTimeOffset(stats->nodeStats.nTimeOffset));
ui->peerVersion->setText(QString("%1").arg(QString::number(stats->nodeStats.nVersion)));
ui->peerSubversion->setText(QString::fromStdString(stats->nodeStats.cleanSubVer));
ui->peerDirection->setText(stats->nodeStats.fInbound ? tr("Inbound") : tr("Outbound"));
ui->peerHeight->setText(QString("%1").arg(QString::number(stats->nodeStats.nStartingHeight)));
ui->peerWhitelisted->setText(stats->nodeStats.fWhitelisted ? tr("Yes") : tr("No"));
// This check fails for example if the lock was busy and
// nodeStateStats couldn't be fetched.
if (stats->fNodeStateStatsAvailable) {
// Ban score is init to 0
ui->peerBanScore->setText(QString("%1").arg(stats->nodeStateStats.nMisbehavior));
// Sync height is init to -1
if (stats->nodeStateStats.nSyncHeight > -1)
ui->peerSyncHeight->setText(QString("%1").arg(stats->nodeStateStats.nSyncHeight));
else
ui->peerSyncHeight->setText(tr("Unknown"));
// Common height is init to -1
if (stats->nodeStateStats.nCommonHeight > -1)
ui->peerCommonHeight->setText(QString("%1").arg(stats->nodeStateStats.nCommonHeight));
else
ui->peerCommonHeight->setText(tr("Unknown"));
}
ui->detailWidget->show();
}
void RPCConsole::resizeEvent(QResizeEvent *event)
{
QWidget::resizeEvent(event);
}
void RPCConsole::showEvent(QShowEvent *event)
{
QWidget::showEvent(event);
if (!clientModel || !clientModel->getPeerTableModel())
return;
// start PeerTableModel auto refresh
clientModel->getPeerTableModel()->startAutoRefresh();
}
void RPCConsole::hideEvent(QHideEvent *event)
{
QWidget::hideEvent(event);
if (!clientModel || !clientModel->getPeerTableModel())
return;
// stop PeerTableModel auto refresh
clientModel->getPeerTableModel()->stopAutoRefresh();
}
void RPCConsole::showPeersTableContextMenu(const QPoint& point)
{
QModelIndex index = ui->peerWidget->indexAt(point);
if (index.isValid())
peersTableContextMenu->exec(QCursor::pos());
}
void RPCConsole::showBanTableContextMenu(const QPoint& point)
{
QModelIndex index = ui->banlistWidget->indexAt(point);
if (index.isValid())
banTableContextMenu->exec(QCursor::pos());
}
void RPCConsole::disconnectSelectedNode()
{
if(!g_connman)
return;
// Get selected peer addresses
QList<QModelIndex> nodes = GUIUtil::getEntryData(ui->peerWidget, PeerTableModel::NetNodeId);
for(int i = 0; i < nodes.count(); i++)
{
// Get currently selected peer address
NodeId id = nodes.at(i).data().toInt();
// Find the node, disconnect it and clear the selected node
if(g_connman->DisconnectNode(id))
clearSelectedNode();
}
}
void RPCConsole::banSelectedNode(int bantime)
{
if (!clientModel || !g_connman)
return;
// Get selected peer addresses
QList<QModelIndex> nodes = GUIUtil::getEntryData(ui->peerWidget, PeerTableModel::NetNodeId);
for(int i = 0; i < nodes.count(); i++)
{
// Get currently selected peer address
NodeId id = nodes.at(i).data().toInt();
// Get currently selected peer address
int detailNodeRow = clientModel->getPeerTableModel()->getRowByNodeId(id);
if(detailNodeRow < 0)
return;
// Find possible nodes, ban it and clear the selected node
const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(detailNodeRow);
if(stats) {
g_connman->Ban(stats->nodeStats.addr, BanReasonManuallyAdded, bantime);
}
}
clearSelectedNode();
clientModel->getBanTableModel()->refresh();
}
void RPCConsole::unbanSelectedNode()
{
if (!clientModel)
return;
// Get selected ban addresses
QList<QModelIndex> nodes = GUIUtil::getEntryData(ui->banlistWidget, BanTableModel::Address);
for(int i = 0; i < nodes.count(); i++)
{
// Get currently selected ban address
QString strNode = nodes.at(i).data().toString();
CSubNet possibleSubnet;
LookupSubNet(strNode.toStdString().c_str(), possibleSubnet);
if (possibleSubnet.IsValid() && g_connman)
{
g_connman->Unban(possibleSubnet);
clientModel->getBanTableModel()->refresh();
}
}
}
void RPCConsole::clearSelectedNode()
{
ui->peerWidget->selectionModel()->clearSelection();
cachedNodeids.clear();
ui->detailWidget->hide();
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
}
void RPCConsole::showOrHideBanTableIfRequired()
{
if (!clientModel)
return;
bool visible = clientModel->getBanTableModel()->shouldShow();
ui->banlistWidget->setVisible(visible);
ui->banHeading->setVisible(visible);
}
void RPCConsole::setTabFocus(enum TabTypes tabType)
{
ui->tabWidget->setCurrentIndex(tabType);
}
/*void RPCConsole::paintEvent(QPaintEvent *pe)
{
QWidget::paintEvent(pe);
QStyleOption o;
o.initFrom(this);
QPainter p(this);
style()->drawPrimitive ( QStyle::PE_Widget, &o, &p, this);
};*/ | [
"RodionKarimov@yandex.ru"
] | RodionKarimov@yandex.ru |
470b055632695734d1719af7db2e6ec7a029f092 | 6a387558eed45d9a3b9c34038a8ce0dba9fab5b0 | /prueba.cpp | 225e13840f7507d38a1c77ec15e94f8b3e7b1f59 | [] | no_license | zanzagaes2/dungeon | 6682df827f2571a53d997a52530abf2fca36d661 | eebf7fa2fc321e40d31f55eca74bae360a488099 | refs/heads/master | 2020-03-28T06:34:27.572558 | 2018-09-07T15:52:39 | 2018-09-07T15:52:39 | 147,845,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include <iostream>
#include <string>
int main(){
std::string var1 = "er";
char var2;
var2 = char(var1[0]);
std::cout << var2;
std::cout << int(var2);
}
| [
"asanzramos@gmail.com"
] | asanzramos@gmail.com |
5e8948f59bfab028d9ef8d49dbcfbf12b3e4dfda | 1482d2303ae70ff65414905ba72cdf12838a6a6f | /MeasureGraph/AutoMeasureGraphMin/vector.cpp | 085afb792f69efb473eceb998a9bbaba00ca97dd | [] | no_license | shaimendel/BioTagMonitor | b96a32669647dc06cc7fb465c6845ff78e202a41 | a5c46488abd02ae6c1cfbc996a366cdd9133c26a | refs/heads/master | 2020-03-22T13:17:59.424915 | 2018-12-19T11:57:23 | 2018-12-19T11:57:23 | 140,097,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,305 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "vector.h"
#include "arduino.h"
void vector_init(vector *v)
{
v->data = NULL;
v->size = 0;
v->count = 0;
}
void vector_reset(vector *v)
{
if (v->data != NULL) {
vector_free(v);
}
vector_init(v);
}
int vector_count(vector *v)
{
return v->count;
}
void vector_add(vector *v, pulseData *e)
{
if (v->size == 0) {
v->size = 10;
v->data = (pulseData*)malloc(sizeof(pulseData) * v->size);
memset(v->data, '\0', sizeof(pulseData) * v->size);
}
// condition to increase v->data:
// last slot exhausted
if (v->size == v->count) {
v->size *= 2;
v->data = (pulseData*)realloc(v->data, sizeof(pulseData) * v->size);
}
v->data[v->count] = *e;
v->count++;
}
void vector_set(vector *v, int index, pulseData *e)
{
if (index >= v->count) {
return;
}
v->data[index] = *e;
}
pulseData *vector_get(vector *v, int index)
{
if (index >= v->count) {
return NULL;
}
return &v->data[index];
}
void vector_delete(vector *v, int index)
{
if (index >= v->count) {
return;
}
//v->data[index] = NULL;
int i, j;
pulseData *newarr = (pulseData*)malloc(sizeof(pulseData) * v->count * 2);
for (i = 0, j = 0; i < v->count; i++) {
newarr[j] = v->data[i];
j++;
}
free(v->data);
v->data = newarr;
v->count--;
}
void vector_free(vector *v)
{
free(v->data);
v->data = NULL;
}
void vector_serialize(vector* v) {
for (int i = 0; i < vector_count(v); i++) {
pulseData* d = vector_get(v, i);
if (i > 0) {
Serial.print(",");
}
Serial.print(d->voltage, 5);
Serial.print("@");
Serial.print(d->current, 5);
Serial.print("@");
Serial.print(d->micros_from_start);
}
}
//int main(void)
//{
// vector v;
// vector_init(&v);
//
// vector_add(&v, "emil");
// vector_add(&v, "hannes");
// vector_add(&v, "lydia");
// vector_add(&v, "olle");
// vector_add(&v, "erik");
//
// int i;
// printf("first round:\n");
// for (i = 0; i < vector_count(&v); i++) {
// printf("%s\n", vector_get(&v, i));
// }
//
// vector_delete(&v, 1);
// vector_delete(&v, 3);
//
// printf("second round:\n");
// for (i = 0; i < vector_count(&v); i++) {
// printf("%s\n", vector_get(&v, i));
// }
//
// vector_free(&v);
//
// return 0;
//}
| [
"shai@xm-data.com"
] | shai@xm-data.com |
d5cfa00226ffc3bdde7dd8f05f024e59f4c73258 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_3907.cpp | 8b19347ce716346a1edaba310b4d87e4a09014da | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | if (orig_request->extacl_user.size() && orig_request->extacl_passwd.size()) {
char loginbuf[256];
snprintf(loginbuf, sizeof(loginbuf), "%.*s:%.*s",
- orig_request->extacl_user.size(),
+ orig_request->extacl_user.psize(),
orig_request->extacl_user.rawBuf(),
- orig_request->extacl_passwd.size(),
+ orig_request->extacl_passwd.psize(),
orig_request->extacl_passwd.rawBuf());
httpHeaderPutStrf(hdr_out, HDR_PROXY_AUTHORIZATION, "Basic %s",
base64_encode(loginbuf));
| [
"993273596@qq.com"
] | 993273596@qq.com |
0a68566d6763a590a602f5acfe9af21b4407ba90 | 9fd8e22ded3ca7108579ed4322639c217a72e189 | /src/legacy/2018.06/HRD_Search_All.cpp | 9bbebc15fe4b9f33e672cd801b6cad0ec8b5c2ca | [
"MIT"
] | permissive | Andy-Buka/HRD_Database | 7fd5a6166454ff8fbd3c75843dbbd9e915c0835f | 82f8389a6deff4540fadffa0c08d6d2987cae517 | refs/heads/master | 2022-11-23T04:08:40.565205 | 2020-07-28T11:20:41 | 2020-07-28T11:20:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,309 | cpp | #include<iostream>
#include<fstream>
#include<vector>
#include<list>
using namespace std;
const unsigned char Output_Width=8;
const string Square_str="\u2588\u2588";
struct Block_Data{
unsigned char Address;
unsigned char Style;
};
vector<unsigned int> Data_All;
vector<unsigned int> Source;
vector<unsigned int> Solve_Data;
list<unsigned int> Hash[0xFFFF];
ofstream File_Output;
ifstream File_Input;
struct Block_Data Block[12];
unsigned char Table[21];
unsigned char Space_1,Space_2,Space_num_1,Space_num_2,Last_Move;
unsigned int Search_num,Solve_num;
bool Done,End=false;
void Solve(unsigned int Data);
void Find_Next();
void Move_Block(unsigned char num,unsigned char Direction_1,unsigned char Direction_2);
void Add_List(unsigned int Data);
void Output_str(unsigned int Data);
unsigned int Input(char Data_str[8]);
bool Check_Error(unsigned int Start_Data);
void Calculate(unsigned int Start_Data);
void Output();
void OutputData(unsigned int Data){
unsigned char i;
for(i=0;i<8;i++){
if((0x0F&Data>>(7-i)*4)==0x0){File_Output<<"0";}
if((0x0F&Data>>(7-i)*4)==0x1){File_Output<<"1";}
if((0x0F&Data>>(7-i)*4)==0x2){File_Output<<"2";}
if((0x0F&Data>>(7-i)*4)==0x3){File_Output<<"3";}
if((0x0F&Data>>(7-i)*4)==0x4){File_Output<<"4";}
if((0x0F&Data>>(7-i)*4)==0x5){File_Output<<"5";}
if((0x0F&Data>>(7-i)*4)==0x6){File_Output<<"6";}
if((0x0F&Data>>(7-i)*4)==0x7){File_Output<<"7";}
if((0x0F&Data>>(7-i)*4)==0x8){File_Output<<"8";}
if((0x0F&Data>>(7-i)*4)==0x9){File_Output<<"9";}
if((0x0F&Data>>(7-i)*4)==0xA){File_Output<<"A";}
if((0x0F&Data>>(7-i)*4)==0xB){File_Output<<"B";}
if((0x0F&Data>>(7-i)*4)==0xC){File_Output<<"C";}
if((0x0F&Data>>(7-i)*4)==0xD){File_Output<<"D";}
if((0x0F&Data>>(7-i)*4)==0xE){File_Output<<"E";}
if((0x0F&Data>>(7-i)*4)==0xF){File_Output<<"F";}
}
}
int main(){
char Name[8];
unsigned int Start_Data,i,k;
cout<<"Welcome to the HRD! (by Dnomd343)"<<endl<<endl;
File_Output.open("All HRD.txt");
cout<<hex;
for(i=0;i<=0x3ffffc;i++){
for(k=1;k<=12;k++){
Start_Data=0;
Start_Data=(Start_Data|(i<<10))|k;
if(Check_Error(Start_Data)==true){OutputData(Start_Data);File_Output<<endl;}//Output_str(Start_Data);cout<<endl;}
}
}
return 0;
i=0;
while(1){
cout<<"HRD style:";
cin>>Name;
Start_Data=Input(Name);
if(End==true){return 0;}
Calculate(Start_Data);
cout<<"Press ENTER to show the Best-Solve...";
cin.get();
for(i=0;i<Solve_Data.size();i++){
cin.get();
for(unsigned int k=0;k<=28;k++){cout<<endl;}
cout<<"Step "<<i<<" -> ";
Output_str(Solve_Data[i]);
cout<<endl;
Solve(Solve_Data[i]);
Output();
}
cout<<"Show has been compete!"<<endl<<endl<<endl;
cin.clear();
}
return 0;
}
void Calculate(unsigned int Start_Data){
unsigned int i;
Data_All.clear();
Source.clear();
Solve_Data.clear();
for(i=0;i<0xFFFF;i++){Hash[i].clear();}
if(Check_Error(Start_Data)==false){cout<<"Something Error!!!"<<endl;goto err;}
Data_All.push_back(Start_Data|0xF0);
Source.push_back(0);
Solve(Data_All[0]);
Output();
cout<<"Start to calculate : ";
Output_str(Data_All[0]&(~0xF0));
cout<<endl<<"Waiting..."<<endl;
i=0;
Done=false;
while(1){
if(i==Data_All.size()){cout<<"No Solve!"<<endl;goto err;}
Search_num=i;
Solve(Data_All[i]);
Find_Next();
i++;
if(Done==true){break;}
}
while(1){
Solve_Data.push_back(Solve_num);
Solve_num=Source[Solve_num];
if(Solve_num==0){break;}
}
Solve_Data.push_back(0);
for(i=0;i<Solve_Data.size()/2;i++){swap(Solve_Data[i],Solve_Data[Solve_Data.size()-i-1]);}
for(i=0;i<Solve_Data.size();i++){Solve_Data[i]=Data_All[Solve_Data[i]];}
cout<<"Calculate Done!"<<endl;
err:;
cout<<"Step:"<<Solve_Data.size()-1<<" Pool:"<<Data_All.size()<<endl;
}
void Add_List(unsigned int Data){
list<unsigned int>::iterator poi;
poi=Hash[Data>>16].begin();
while(poi!=Hash[Data>>16].end()){
if((Data&0xFFFFFC0F)==(Data_All[*poi]&0xFFFFFC0F)){goto out;}
++poi;
}
Hash[Data>>16].push_back(Data_All.size());
Data_All.push_back(Data);
Source.push_back(Search_num);
out:;
}
bool Check_Error(unsigned int Start_Data){
unsigned char addr,i;
bool Check[21];
unsigned char Style_0,Style_1,Style_2,Style_3,Style_4;
Style_0=Style_1=Style_2=Style_3=Style_4=0;
for(i=1;i<=20;i++){Check[i]=false;}
for(i=0;i<=11;i++){
Block[i].Address=0;
Block[i].Style=5;
}
Solve(Start_Data);
for(i=0;i<=11;i++){
addr=Block[i].Address;
if(Block[i].Style==0){
Style_0++;
if(addr<1||addr>20){return false;}
if(Check[addr]==true){return false;}
Check[addr]=true;
}
if(Block[i].Style==1){
Style_1++;
if(addr<1||addr>19){return false;}
if((addr%4)==0){return false;}
if(Check[addr]==true||Check[addr+1]==true){return false;}
Check[addr]=true;
Check[addr+1]=true;
}
if(Block[i].Style==2){
Style_2++;
if(addr<1||addr>16){return false;}
if(Check[addr]==true||Check[addr+4]==true){return false;}
Check[addr]=true;
Check[addr+4]=true;
}
if(Block[i].Style==3){
Style_3++;
if(addr<1||addr>20){return false;}
if(Check[addr]==true){return false;}
Check[addr]=true;
}
if(Block[i].Style==4){
Style_4++;
if(addr<1||addr>15){return false;}
if((addr%4)==0){return false;}
if(Check[addr]==true||Check[addr+1]==true||Check[addr+4]==true||Check[addr+5]==true){return false;}
Check[addr]=true;
Check[addr+1]=true;
Check[addr+4]=true;
Check[addr+5]=true;
}
}
if(Style_0!=2){return false;}
if((Style_1+Style_2)!=5){return false;}
if(Style_3!=4){return false;}
if(Style_4!=1){return false;}
return true;
}
void Move_Block(unsigned char Move_num,unsigned char Direction_1,unsigned char Direction_2){
Table[Block[Move_num].Address]=12;
if(Block[Move_num].Style==1){Table[Block[Move_num].Address+1]=12;}
if(Block[Move_num].Style==2){Table[Block[Move_num].Address+4]=12;}
if(Block[Move_num].Style==4){Table[Block[Move_num].Address+1]=12;Table[Block[Move_num].Address+4]=12;Table[Block[Move_num].Address+5]=12;}
Table[Space_1]=12;
Table[Space_2]=12;
if(Direction_1==1){Block[Move_num].Address-=4;}
else if(Direction_1==2){Block[Move_num].Address+=4;}
else if(Direction_1==3){Block[Move_num].Address--;}
else if(Direction_1==4){Block[Move_num].Address++;}
if(Direction_2==1){Block[Move_num].Address-=4;}
else if(Direction_2==2){Block[Move_num].Address+=4;}
else if(Direction_2==3){Block[Move_num].Address--;}
else if(Direction_2==4){Block[Move_num].Address++;}
Table[Block[Move_num].Address]=Move_num;
if(Block[Move_num].Style==1){Table[Block[Move_num].Address+1]=Move_num;}
if(Block[Move_num].Style==2){Table[Block[Move_num].Address+4]=Move_num;}
if(Block[Move_num].Style==4){Table[Block[Move_num].Address+1]=Move_num;Table[Block[Move_num].Address+4]=Move_num;Table[Block[Move_num].Address+5]=Move_num;}
unsigned int Data=0;
unsigned char addr=1,num=1;
bool jump=false,Use[13];
for(unsigned char i=0;i<=12;i++){Use[i]=false;}
while(1){
while(Use[Table[addr]]==true){addr++;}
if(Table[addr]==12){
Data=Data|(0<<((16-num)*2));
num++;
addr++;
jump=true;
}
if(jump==false){
if(Block[Table[addr]].Style==4){
Data=Data|num;
Use[0]=true;
}
else{
if(Table[addr]==Move_num){Data=Data|(num<<4);}
Data=Data|(Block[Table[addr]].Style<<((16-num)*2));
Use[Table[addr]]=true;
num++;
}
}
else{jump=false;}
if(num==12){break;}
}
Add_List(Data);
if(Block[0].Address==14){Done=true;Solve_num=Data_All.size()-1;}
if(Direction_2==1){Block[Move_num].Address+=4;}
else if(Direction_2==2){Block[Move_num].Address-=4;}
else if(Direction_2==3){Block[Move_num].Address++;}
else if(Direction_2==4){Block[Move_num].Address--;}
if(Direction_1==1){Block[Move_num].Address+=4;}
else if(Direction_1==2){Block[Move_num].Address-=4;}
else if(Direction_1==3){Block[Move_num].Address++;}
else if(Direction_1==4){Block[Move_num].Address--;}
Table[Block[Move_num].Address]=Move_num;
if(Block[Move_num].Style==1){Table[Block[Move_num].Address+1]=Move_num;}
if(Block[Move_num].Style==2){Table[Block[Move_num].Address+4]=Move_num;}
if(Block[Move_num].Style==4){Table[Block[Move_num].Address+1]=Move_num;Table[Block[Move_num].Address+4]=Move_num;Table[Block[Move_num].Address+5]=Move_num;}
Table[Space_1]=Space_num_1;
Table[Space_2]=Space_num_2;
}
void Find_Next(){
unsigned char i;
for(i=0;i<=0x0B;i++){
if(i!=Last_Move){
if(Block[i].Style==4){
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-4]].Style==0)&&(Block[Table[Block[i].Address-3]].Style==0)){Move_Block(i,1,0);}
if((Block[i].Address<=12)&&(Block[Table[Block[i].Address+8]].Style==0)&&(Block[Table[Block[i].Address+9]].Style==0)){Move_Block(i,2,0);}
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address-1]].Style==0)&&(Block[Table[Block[i].Address+3]].Style==0)){Move_Block(i,3,0);}
if(((Block[i].Address%4)!=3)&&(Block[Table[Block[i].Address+2]].Style==0)&&(Block[Table[Block[i].Address+6]].Style==0)){Move_Block(i,4,0);}
}
else if(Block[i].Style==1){
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-4]].Style==0)&&(Block[Table[Block[i].Address-3]].Style==0)){Move_Block(i,1,0);}
if((Block[i].Address<=16)&&(Block[Table[Block[i].Address+4]].Style==0)&&(Block[Table[Block[i].Address+5]].Style==0)){Move_Block(i,2,0);}
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address-1]].Style==0)){
Move_Block(i,3,0);
if(((Block[i].Address%4)!=2)&&(Block[Table[Block[i].Address-2]].Style==0)){Move_Block(i,3,3);}
}
if(((Block[i].Address%4)!=3)&&(Block[Table[Block[i].Address+2]].Style==0)){
Move_Block(i,4,0);
if(((Block[i].Address%4)!=2)&&(Block[Table[Block[i].Address+3]].Style==0)){Move_Block(i,4,4);}
}
}
else if(Block[i].Style==2){
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address-1]].Style==0)&&(Block[Table[Block[i].Address+3]].Style==0)){Move_Block(i,3,0);}
if(((Block[i].Address%4)!=0)&&(Block[Table[Block[i].Address+1]].Style==0)&&(Block[Table[Block[i].Address+5]].Style==0)){Move_Block(i,4,0);}
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-4]].Style==0)){
Move_Block(i,1,0);
if((Block[i].Address>=9)&&(Block[Table[Block[i].Address-8]].Style==0)){Move_Block(i,1,1);}
}
if((Block[i].Address<=12)&&(Block[Table[Block[i].Address+8]].Style==0)){
Move_Block(i,2,0);
if((Block[i].Address<=8)&&(Block[Table[Block[i].Address+12]].Style==0)){Move_Block(i,2,2);}
}
}
else if(Block[i].Style==3){
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-4]].Style==0)){
Move_Block(i,1,0);
if((Block[i].Address>=9)&&(Block[Table[Block[i].Address-8]].Style==0)){Move_Block(i,1,1);}
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address-5]].Style==0)){Move_Block(i,1,3);}
if(((Block[i].Address%4)!=0)&&(Block[Table[Block[i].Address-3]].Style==0)){Move_Block(i,1,4);}
}
if((Block[i].Address<=16)&&(Block[Table[Block[i].Address+4]].Style==0)){
Move_Block(i,2,0);
if((Block[i].Address<=12)&&(Block[Table[Block[i].Address+8]].Style==0)){Move_Block(i,2,2);}
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address+3]].Style==0)){Move_Block(i,2,3);}
if(((Block[i].Address%4)!=0)&&(Block[Table[Block[i].Address+5]].Style==0)){Move_Block(i,2,4);}
}
if(((Block[i].Address%4)!=1)&&(Block[Table[Block[i].Address-1]].Style==0)){
Move_Block(i,3,0);
if(((Block[i].Address%4)!=2)&&(Block[Table[Block[i].Address-2]].Style==0)){Move_Block(i,3,3);}
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-5]].Style==0)){Move_Block(i,3,1);}
if((Block[i].Address<=16)&&(Block[Table[Block[i].Address+3]].Style==0)){Move_Block(i,3,2);}
}
if(((Block[i].Address%4)!=0)&&(Block[Table[Block[i].Address+1]].Style==0)){
Move_Block(i,4,0);
if(((Block[i].Address%4)!=3)&&(Block[Table[Block[i].Address+2]].Style==0)){Move_Block(i,4,4);}
if((Block[i].Address>=5)&&(Block[Table[Block[i].Address-3]].Style==0)){Move_Block(i,4,1);}
if((Block[i].Address<=16)&&(Block[Table[Block[i].Address+5]].Style==0)){Move_Block(i,4,2);}
}
}
}
}
}
void Solve(unsigned int Data){
unsigned char i,k=1;
unsigned char dat,addr=Data&0x0F;
Space_1=Space_2=Space_num_1=Space_num_2=0;
Last_Move=(Data>>4)&0x0F;
for(i=1;i<=20;i++){Table[i]=0xFF;}
for(i=1;i<=12;i++){
while(Table[k]!=0xFF){k++;if(k>20){break;}}
if(i==addr){
Block[0].Address=k;
Block[0].Style=4;
Table[k]=Table[k+1]=Table[k+4]=Table[k+5]=0;
while(Table[k]!=0xFF){k++;if(k>20){break;}}
}
if(i==12){break;}
dat=(Data>>(32-i*2))&0x03;
Block[i].Address=k;
Table[k]=i;
if(dat==0){Block[i].Style=0;if(Space_1==0){Space_1=k;Space_num_1=i;}else{Space_2=k;Space_num_2=i;}}
else if(dat==1){Block[i].Style=1;Table[k+1]=i;}
else if(dat==2){Block[i].Style=2;Table[k+4]=i;}
else if(dat==3){Block[i].Style=3;}
}
}
void Output(){
unsigned int i,k,m;
unsigned int Start_x,Start_y,End_x,End_y;
bool Graph[(Output_Width+1)*4+1][(Output_Width+1)*5+1];
for(k=0;k<=(Output_Width+1)*5;k++){
for(i=0;i<=(Output_Width+1)*4;i++){
Graph[i][k]=false;
}
}
for(m=0;m<=0x0B;m++){
if(Block[m].Style!=0){
Start_x=((Block[m].Address-1)%4)*(Output_Width+1)+1;
Start_y=(Block[m].Address-1)/4;
Start_y=Start_y*(Output_Width+1)+1;
if((Block[m].Style==1)||(Block[m].Style==4)){
End_x=Start_x+Output_Width*2;
}
else{
End_x=Start_x+Output_Width-1;
}
if((Block[m].Style==2)||(Block[m].Style==4)){
End_y=Start_y+Output_Width*2;
}
else{
End_y=Start_y+Output_Width-1;
}
for(i=Start_x;i<=End_x;i++){
for(k=Start_y;k<=End_y;k++){
Graph[i][k]=true;
}
}
}
}
for(i=1;i<=(Output_Width+1)*4+3;i++){cout<<Square_str;}
cout<<endl<<Square_str;
for(k=0;k<=(Output_Width+1)*5;k++){
for(i=0;i<=(Output_Width+1)*4;i++){
if(Graph[i][k]==false){cout<<" ";}else{cout<<Square_str;}
}
cout<<Square_str<<endl<<Square_str;
}
for(i=1;i<=(Output_Width+1)*4+2;i++){cout<<Square_str;}
cout<<endl;
}
void Output_str(unsigned int Data){
unsigned char i;
for(i=0;i<8;i++){
if((0x0F&Data>>(7-i)*4)==0x0){cout<<"0";}
if((0x0F&Data>>(7-i)*4)==0x1){cout<<"1";}
if((0x0F&Data>>(7-i)*4)==0x2){cout<<"2";}
if((0x0F&Data>>(7-i)*4)==0x3){cout<<"3";}
if((0x0F&Data>>(7-i)*4)==0x4){cout<<"4";}
if((0x0F&Data>>(7-i)*4)==0x5){cout<<"5";}
if((0x0F&Data>>(7-i)*4)==0x6){cout<<"6";}
if((0x0F&Data>>(7-i)*4)==0x7){cout<<"7";}
if((0x0F&Data>>(7-i)*4)==0x8){cout<<"8";}
if((0x0F&Data>>(7-i)*4)==0x9){cout<<"9";}
if((0x0F&Data>>(7-i)*4)==0xA){cout<<"A";}
if((0x0F&Data>>(7-i)*4)==0xB){cout<<"B";}
if((0x0F&Data>>(7-i)*4)==0xC){cout<<"C";}
if((0x0F&Data>>(7-i)*4)==0xD){cout<<"D";}
if((0x0F&Data>>(7-i)*4)==0xE){cout<<"E";}
if((0x0F&Data>>(7-i)*4)==0xF){cout<<"F";}
}
}
unsigned int Input(char Data_str[8]){
unsigned int i,Dat=0;
if((Data_str[0]=='e')&&(Data_str[1]=='x')&&(Data_str[2]=='i')&&(Data_str[3]=='t')){End=true;}
for(i=0;i<8;i++){
if(Data_str[i]=='0'){Dat=Dat|(0x0<<(28-i*4));}
if(Data_str[i]=='1'){Dat=Dat|(0x1<<(28-i*4));}
if(Data_str[i]=='2'){Dat=Dat|(0x2<<(28-i*4));}
if(Data_str[i]=='3'){Dat=Dat|(0x3<<(28-i*4));}
if(Data_str[i]=='4'){Dat=Dat|(0x4<<(28-i*4));}
if(Data_str[i]=='5'){Dat=Dat|(0x5<<(28-i*4));}
if(Data_str[i]=='6'){Dat=Dat|(0x6<<(28-i*4));}
if(Data_str[i]=='7'){Dat=Dat|(0x7<<(28-i*4));}
if(Data_str[i]=='8'){Dat=Dat|(0x8<<(28-i*4));}
if(Data_str[i]=='9'){Dat=Dat|(0x9<<(28-i*4));}
if(Data_str[i]=='A'||Data_str[i]=='a'){Dat=Dat|(0xA<<(28-i*4));}
if(Data_str[i]=='B'||Data_str[i]=='b'){Dat=Dat|(0xB<<(28-i*4));}
if(Data_str[i]=='C'||Data_str[i]=='c'){Dat=Dat|(0xC<<(28-i*4));}
if(Data_str[i]=='D'||Data_str[i]=='d'){Dat=Dat|(0xD<<(28-i*4));}
if(Data_str[i]=='E'||Data_str[i]=='e'){Dat=Dat|(0xE<<(28-i*4));}
if(Data_str[i]=='F'||Data_str[i]=='f'){Dat=Dat|(0xF<<(28-i*4));}
}
return Dat;
}
| [
"dnomd343@163.com"
] | dnomd343@163.com |
672c9f95eb1796fdf69be945479173d85e6faa2b | 0b46253b5ea3db5a14f7045bf315b2e3c5336757 | /Exercises/FindAnagrams.cpp | 804c3bc99a303e0a09f037269708dea844b8c5c2 | [] | no_license | oliffur/learning | 73cdce4cf4e52fdf801003125a51218ab480afab | 989e7c19953a4ed255d4fd0fadab92a7c53992f2 | refs/heads/master | 2021-06-01T03:46:39.035421 | 2016-05-21T23:07:00 | 2016-05-21T23:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | /* finds the number of anagrams for a given string within a vector of strings
*
*/
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>
using namespace std;
int findAnagrams(vector<string> vec, string s){
// match sorted string with sorted strings in the vector
s.sort();
// count for number of matching strings
int count = 0;
for (int i = 0; i < vec.size(); i++) vec[i].sort();
for (int i = 0; i < vec.size(); i++) if (vec[i] == s) count++;
return count;
}
| [
"oliffur@gmail.com"
] | oliffur@gmail.com |
ff5f09e545c9594a4d23301ae1053c6b5cfc5b56 | bb56dd553f6cc70a53df998509eb7016bf9c2433 | /source/src/Player/CNitro.h | aa0189f64c33872b3f5f1757bb614464011c5b99 | [] | no_license | TMaeda32/SWAPROBOT | 96532c3bace56207d8dd87403cb161191a5e67e2 | ad3e3289d032cc87d5d1767a926ac132ab9a7b98 | refs/heads/master | 2020-09-04T19:52:56.278011 | 2019-11-06T00:25:48 | 2019-11-06T00:25:48 | 219,874,327 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 537 | h | #pragma once
class CMesh;
#include "../Library/CObject.h"
class CNitro : public CObject
{
public:
CNitro();
~CNitro();
virtual void Init() override;
virtual void Update() override;
virtual void Draw() override;
virtual void Draw2D() override;
//加速
void Accelerate();
//減速
void Decelerate();
//速度取得
const float& GetSpeed() const { return m_Speed; }
//描画させる
void DrawOn() { m_flg = true; }
private:
//描画するか
bool m_flg;
//スピード
float m_Speed;
//加速
float m_Accel;
}; | [
"kd1264611@st.kobedenshi.ac.jp"
] | kd1264611@st.kobedenshi.ac.jp |
192665d893f15480aa54fa5ee22f01fbd33c068f | 12f441018818dc2dcb1a8a89bccd946d87e0ac9e | /cppwinrt/winrt/impl/Windows.Gaming.UI.2.h | 4f65aa5678d1af1f1f65353fe4b222d3337f4967 | [
"MIT"
] | permissive | dlech/bleak-winrt | cc7dd76fca9453b7415d65a428e22b2cbfe36209 | a6c1f3fd073a7b5678304ea6bc08b9b067544320 | refs/heads/main | 2022-09-12T00:15:01.497572 | 2022-09-09T22:57:53 | 2022-09-09T22:57:53 | 391,440,675 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220608.4
#pragma once
#ifndef WINRT_Windows_Gaming_UI_2_H
#define WINRT_Windows_Gaming_UI_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Gaming.UI.1.h"
WINRT_EXPORT namespace winrt::Windows::Gaming::UI
{
struct GameBar
{
GameBar() = delete;
static auto VisibilityChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using VisibilityChanged_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_VisibilityChanged>;
[[nodiscard]] static auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto VisibilityChanged(winrt::event_token const& token);
static auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using IsInputRedirectedChanged_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_IsInputRedirectedChanged>;
[[nodiscard]] static auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto IsInputRedirectedChanged(winrt::event_token const& token);
[[nodiscard]] static auto Visible();
[[nodiscard]] static auto IsInputRedirected();
};
struct __declspec(empty_bases) GameChatOverlay : winrt::Windows::Gaming::UI::IGameChatOverlay
{
GameChatOverlay(std::nullptr_t) noexcept {}
GameChatOverlay(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Gaming::UI::IGameChatOverlay(ptr, take_ownership_from_abi) {}
static auto GetDefault();
};
}
#endif
| [
"david@lechnology.com"
] | david@lechnology.com |
05b2ca518fbcce141731ea91f96344ab79693495 | dddb122d0eaf2013429bc2a312d5a6e64a74c0f3 | /libraries/Gameduino2/6.Games/nightstrike/nightstrike.ino | 877d8ec8ab06f1372d327a84aec0cac3c38cd5b0 | [] | no_license | heyno/arduino | a23b883548e6985d7341b2f84e43377003637138 | 143c22816d5a8fa4521b3c6ef67941aee86f4876 | refs/heads/main | 2023-05-19T13:03:33.857977 | 2021-06-01T21:49:16 | 2021-06-01T21:49:16 | 366,829,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,348 | ino | #include <EEPROM.h>
#include <SPI.h>
#include <GD2.h>
// For random events.
// PROB(1, 50) One time in 50
// PROB(7, 8) 7 times in 8
#define PROB(num, denom) (GD.random() < (uint16_t)(65535UL * (num) / (denom)))
#include "nightstrike_welcome_assets.h"
#include "nightstrike_1_assets.h"
static uint32_t t;
void draw_dxt1(byte color_handle, byte bit_handle)
{
GD.Begin(BITMAPS);
GD.BlendFunc(ONE, ZERO);
GD.ColorA(0x55);
GD.Vertex2ii(0, 0, bit_handle, 0);
GD.BlendFunc(ONE, ONE);
GD.ColorA(0xaa);
GD.Vertex2ii(0, 0, bit_handle, 1);
GD.ColorMask(1,1,1,0);
GD.cmd_scale(F16(4), F16(4));
GD.cmd_setmatrix();
GD.BlendFunc(DST_ALPHA, ZERO);
GD.Vertex2ii(0, 0, color_handle, 1);
GD.BlendFunc(ONE_MINUS_DST_ALPHA, ONE);
GD.Vertex2ii(0, 0, color_handle, 0);
GD.RestoreContext();
}
struct Element {
public:
int16_t x, y;
const shape_t *shape;
void set(const shape_t *_shape) {
shape = _shape;
}
void setxy(int _x, int _y) {
x = _x;
y = _y;
}
void vertex(byte cell, byte scale) {
int x0, y0;
x0 = x - (shape->w >> 1) * scale;
y0 = y - (shape->h >> 1) * scale;
if (((x0 | y0) & 511) == 0) {
GD.Vertex2ii(x0, y0, shape->handle, cell);
} else {
GD.BitmapHandle(shape->handle);
GD.Cell(cell);
GD.Vertex2f(x0 << 4, y0 << 4);
}
}
void draw(byte cell, byte flip = 0, byte scale = 1) {
if (!flip && scale == 1) {
vertex(cell, scale);
} else {
GD.SaveContext();
GD.cmd_loadidentity();
GD.cmd_translate(F16(scale * shape->w / 2), F16(scale * shape->h / 2));
if (flip)
GD.cmd_scale(F16(-scale), F16(scale));
else
GD.cmd_scale(F16(scale), F16(scale));
GD.cmd_translate(F16(-(shape->w / 2)), F16(-(shape->h / 2)));
GD.cmd_setmatrix();
vertex(cell, scale);
GD.RestoreContext();
}
}
};
struct RotatingElement : public Element {
public:
uint16_t angle;
void set(const shape_t *_shape) {
shape = _shape;
}
void setxy(int _x, int _y) {
x = _x << 4;
y = _y << 4;
}
void setxy_16ths(int _x, int _y) {
x = _x;
y = _y;
}
void draw(byte cell) {
GD.SaveContext();
GD.cmd_loadidentity();
GD.cmd_translate(F16(shape->size / 2), F16(shape->size / 2));
GD.cmd_rotate(angle);
GD.cmd_translate(F16(-(shape->w / 2)), F16(-(shape->h / 2)));
GD.cmd_setmatrix();
int x0, y0;
x0 = x - (shape->size << 3);
y0 = y - (shape->size << 3);
GD.BitmapHandle(shape->handle);
GD.Cell(cell);
GD.Vertex2f(x0, y0);
GD.RestoreContext();
}
};
class Stack {
int8_t n;
int8_t *s; // 0 means free
public:
void initialize(int8_t *_s, size_t _n) {
s = _s;
n = _n;
memset(s, 0, n);
}
int8_t alloc(void) {
for (int8_t i = 0; i < n; i++)
if (s[i] == 0) {
s[i] = 1;
return i;
}
return -1;
}
void free(int8_t i) {
s[i] = 0;
}
int8_t alive() {
return next(-1);
}
int8_t next(int8_t i) {
i++;
for (; i < n; i++) {
if (t > 148000UL) {
REPORT(n);
REPORT(i);
}
if (s[i])
return i;
}
return -1;
}
};
#define NUM_MISSILES 8
#define MISSILE_TRAIL 8
#define NUM_FIRES 16
#define NUM_EXPLOSIONS 16
static const PROGMEM uint8_t fire_a[] = {0,1,2,3,4,5,6,7,8, 9,9, 10,10, 11,11, 12,12, 13,13, 14,14, 15,15, 16,16};
class Fires {
int8_t ss[NUM_FIRES];
Stack stack;
Element e[NUM_FIRES];
byte anim[NUM_FIRES];
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void create(int x, int y) {
int8_t i = stack.alloc();
if (i >= 0) {
e[i].set(&FIRE_SHAPE);
e[i].setxy(x, y);
anim[i] = 0;
}
}
void draw() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
e[i].draw(pgm_read_byte(fire_a + anim[i]));
}
void update(int t) {
if ((t & 1) == 0) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
if (++anim[i] == sizeof(fire_a))
stack.free(i);
}
}
}
};
static const PROGMEM uint8_t explode_a[] = {0,1,2,3,4,5,5,6,6,7,7,8,8,9,9};
class Explosions {
int8_t ss[NUM_EXPLOSIONS];
Stack stack;
RotatingElement e[NUM_EXPLOSIONS];
byte anim[NUM_EXPLOSIONS];
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void create(int x, int y, uint16_t angle) {
int8_t i = stack.alloc();
if (i >= 0) {
e[i].set(&EXPLODE_BIG_SHAPE);
e[i].setxy_16ths(x, y);
e[i].angle = angle;
anim[i] = 0;
}
GD.play(KICKDRUM);
}
void draw() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
e[i].draw(pgm_read_byte(explode_a + anim[i]));
}
void update(int t) {
if ((t & 1) == 0) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
if (++anim[i] == sizeof(explode_a))
stack.free(i);
}
}
}
};
#define NUM_SOLDIERS 3
#define SOLDIER_LEFT (-SOLDIER_RUN_WIDTH / 2)
#define SOLDIER_RIGHT (480 + (SOLDIER_RUN_WIDTH / 2))
static const PROGMEM uint8_t soldier_a[] = {0,0,0,1,1,2,2,3,3,4,4,4,5,5,6,6,7,7};
class SoldierObject {
Element e;
int8_t vx;
byte a;
public:
void initialize(int8_t _vx) {
a = 0;
vx = _vx;
e.set(&SOLDIER_RUN_SHAPE);
e.setxy((e.x < 0) ? SOLDIER_RIGHT : SOLDIER_LEFT, 272 - SOLDIER_RUN_HEIGHT / 2);
}
void draw() {
e.draw(pgm_read_byte(soldier_a + a), vx > 0);
}
byte update(int t);
};
class Soldiers {
int8_t ss[NUM_SOLDIERS];
Stack stack;
SoldierObject soldiers[NUM_SOLDIERS];
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void create() {
int8_t i = stack.alloc();
if (i >= 0) {
soldiers[i].initialize(PROB(1, 2) ? -1 : 1);
}
}
void draw() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
soldiers[i].draw();
}
void update(int t) {
if ((t & 1) == 0) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
if (soldiers[i].update(t))
stack.free(i);
}
}
if (PROB(1, 100))
create();
}
};
#define HOMING_SPEED 32
#define HOMING_SLEW 400
class MissileObject {
RotatingElement e;
union {
struct { int16_t x, y; } trail[MISSILE_TRAIL];
int dir;
};
int8_t th, ts;
int16_t vx, vy;
public:
void initialize(uint16_t angle, uint16_t vel) {
e.set(&MISSILE_A_SHAPE);
e.angle = angle;
e.setxy_16ths(16*240 - GD.rsin(16*110, angle),
16*265 + GD.rcos(16*110, angle));
vx = -GD.rsin(vel, e.angle);
vy = GD.rcos(vel, e.angle);
th = 0;
ts = 0;
}
void air(Element &o) {
e.set(&MISSILE_C_SHAPE);
e.setxy(o.x, o.y);
ts = -1;
trail[0].x = (vx < 0) ? -1 : 1;
}
void draw() {
byte player = (0 <= ts);
if (player) {
GD.Begin(LINE_STRIP);
for (int i = 0; i < ts; i++) {
GD.ColorA(255 - (i << 5));
GD.LineWidth(48 - (i << 2));
int j = (th - i) & (MISSILE_TRAIL - 1);
GD.Vertex2f(trail[j].x, trail[j].y);
}
GD.ColorA(255);
GD.Begin(BITMAPS);
e.angle = GD.atan2(vy, vx);
}
e.draw(0);
// if (!player) GD.cmd_number(e.x >> 4, e.y >>4, 26, OPT_CENTER | OPT_SIGNED, trail[0].x);
}
byte update(int t);
void blowup();
byte collide(Element &other) {
if (ts == -1)
return 0;
int dx = abs((e.x >> 4) - other.x);
int dy = abs((e.y >> 4) - other.y);
return (dx < 32) && (dy < 32);
}
byte hitbase() {
if (0 <= ts)
return 0;
int dx = abs((e.x >> 4) - 240);
int dy = abs((e.y >> 4) - 270);
return (dx < 50) && (dy < 50);
}
void tailpipe(int &x, int &y) {
uint16_t a = 0x8000 + e.angle;
x = e.x - GD.rsin(22 * 16, a);
y = e.y + GD.rcos(22 * 16, a);
}
};
class Missiles {
int8_t ss[NUM_MISSILES];
Stack stack;
MissileObject m[NUM_MISSILES];
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void launch(uint16_t angle, uint16_t vel) {
int8_t i = stack.alloc();
if (i >= 0) {
m[i].initialize(angle, vel);
}
}
void airlaunch(Element &e, uint16_t angle, uint16_t vel) {
int8_t i = stack.alloc();
if (i >= 0) {
m[i].initialize(angle, 10);
m[i].air(e);
}
}
void draw() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
m[i].draw();
}
byte collide(Element &e) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
if (m[i].collide(e)) {
stack.free(i);
m[i].blowup();
return 1;
}
return 0;
}
byte hitbase() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
if (m[i].hitbase()) {
stack.free(i);
m[i].blowup();
return 1;
}
return 0;
}
void update(int t) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
// REPORT(i);
if (m[i].update(t)) {
stack.free(i);
m[i].blowup();
}
}
}
};
#define NUM_SPLATS 10
#define RED 0
#define YELLOW 1
class Sparks {
int x[NUM_SPLATS];
int y[NUM_SPLATS];
int8_t xv[NUM_SPLATS];
int8_t yv[NUM_SPLATS];
byte age[NUM_SPLATS];
byte kind[NUM_SPLATS];
int8_t ss[NUM_SPLATS];
Stack stack;
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void launch(byte n, byte _kind, int _x, int _y) {
while (n--) {
int8_t i = stack.alloc();
if (i >= 0) {
uint16_t angle = 0x5000 + GD.random(0x6000);
byte v = 64 + (GD.random() & 63);
xv[i] = -GD.rsin(v, angle);
yv[i] = GD.rcos(v, angle);
x[i] = _x - (xv[i] << 2);
y[i] = _y - (yv[i] << 2);
kind[i] = _kind;
age[i] = 0;
}
}
}
void draw() {
GD.Begin(LINES);
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
byte size;
if (kind[i] == YELLOW) {
GD.ColorRGB(0xffe000);
size = 60;
} else {
GD.ColorRGB(0xc00000);
size = 100;
}
GD.LineWidth(GD.rsin(size, age[i] << 11));
GD.Vertex2f(x[i], y[i]);
GD.Vertex2f(x[i] + xv[i], y[i] + yv[i]);
}
GD.Begin(BITMAPS);
}
void update() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
x[i] += xv[i];
y[i] += yv[i];
yv[i] += 3;
if (++age[i] == 16)
stack.free(i);
}
}
};
#define NUM_REWARDS 3
#define REWARDS_FONT INFOFONT_HANDLE
class Rewards {
int x[NUM_REWARDS];
int y[NUM_REWARDS];
const char *amount[NUM_REWARDS];
byte age[NUM_REWARDS];
int8_t ss[NUM_REWARDS];
Stack stack;
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void create(int _x, int _y, const char *_amount) {
int8_t i = stack.alloc();
if (i >= 0) {
x[i] = _x;
y[i] = _y;
amount[i] = _amount;
age[i] = 0;
}
}
void draw() {
GD.PointSize(24 * 16);
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
GD.ColorA(255 - age[i] * 4);
GD.ColorRGB(0x000000);
GD.cmd_text(x[i] - 1, y[i] - 1, REWARDS_FONT, OPT_CENTER, amount[i]);
GD.ColorRGB(0xffffff);
GD.cmd_text(x[i], y[i], REWARDS_FONT, OPT_CENTER, amount[i]);
}
}
void update() {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i)) {
y[i]--;
if (++age[i] == 60)
stack.free(i);
}
}
};
#define THRESH 20
class BaseObject {
public:
RotatingElement turret;
Element front;
byte power;
byte prev_touching;
uint32_t cash;
byte life;
byte hurting;
void initialize() {
front.set(&DEFENSOR_FRONT_SHAPE);
front.setxy(240, 272 - 30);
turret.set(&DEFENSOR_TURRET_SHAPE);
turret.angle = 0x7000;
power = 0;
cash = 0;
life = 100;
hurting = 0;
}
void draw_base() {
// turret.angle += 200;
// if (turret.angle > 0xb800)
// turret.angle = 0x4800;
turret.setxy_16ths(16*240 - GD.rsin(16*77, turret.angle),
16*265 + GD.rcos(16*77, turret.angle));
if (hurting && (hurting < 16)) {
GD.ColorA(255 - hurting * 16);
GD.ColorRGB(0xff0000);
GD.PointSize(50 * 16 + hurting * 99);
GD.Begin(POINTS);
GD.Vertex2ii(240, 270);
GD.ColorA(255);
GD.ColorRGB(0xffffff);
GD.Begin(BITMAPS);
}
turret.draw(0);
GD.ColorRGB(0x000000);
front.draw(0);
if (hurting)
GD.ColorRGB(0xff0000);
else
GD.ColorRGB(0xffffff);
front.draw(1);
GD.ColorRGB(0xffffff);
}
void draw_status() {
GD.SaveContext();
GD.Begin(LINES);
GD.ColorA(0x70);
GD.ColorRGB(0x000000);
GD.LineWidth(5 * 16);
GD.Vertex2ii(10, 10);
GD.Vertex2ii(10 + 460, 10);
if (power > THRESH) {
int x0 = (240 - power);
int x1 = (240 + power);
GD.ColorRGB(0xff6040);
GD.Vertex2ii(x0, 10);
GD.Vertex2ii(x1, 10);
GD.ColorA(0xff);
GD.ColorRGB(0xffd0a0);
GD.LineWidth(2 * 16);
GD.Vertex2ii(x0, 10);
GD.Vertex2ii(x1, 10);
}
GD.RestoreContext();
GD.ColorA(0xf0);
GD.ColorRGB(0xd7f2fd);
GD.Begin(BITMAPS);
GD.cmd_text(3, 16, INFOFONT_HANDLE, 0, "$");
GD.cmd_number(15, 16, INFOFONT_HANDLE, 0, cash);
GD.cmd_number(30, 32, INFOFONT_HANDLE, OPT_RIGHTX, life);
GD.cmd_text(30, 32, INFOFONT_HANDLE, 0, "/100");
}
void reward(uint16_t amt) {
cash += amt;
}
void damage() {
life = max(0, life - 9);
hurting = 1;
}
byte update(Missiles &missiles) {
byte touching = (GD.inputs.x != -32768) || (~GD.inputs.wii[0].buttons & WII_A);
if (touching)
power = min(230, power + 3);
if (!touching && prev_touching && (power > THRESH)) {
GD.play(HIHAT);
missiles.launch(turret.angle, power);
power = 0;
}
prev_touching = touching;
if ((GD.inputs.track_tag & 0xff) == 1)
turret.angle = GD.inputs.track_val;
if (1) {
int x = GD.inputs.wii[0].l.x - 32;
int y = min(0, 32 - GD.inputs.wii[0].l.y);
if ((x | y) != 0) {
turret.angle = GD.atan2(y, x);
}
}
if (hurting) {
if (++hurting == 30)
hurting = 0;
}
if (missiles.hitbase())
damage();
return (life != 0);
}
};
#define NUM_HELIS 5
#define HELI_LEFT (-HELI_WIDTH / 2)
#define HELI_RIGHT (480 + (HELI_WIDTH / 2))
class HeliObject {
Element e;
int8_t vx, vy;
int8_t state; // -1 means alive, 0..n is death anim
public:
void initialize() {
e.set(&HELI_SHAPE);
int x;
if (PROB(1, 2)) {
vx = 1 + GD.random(2);
x = HELI_LEFT;
} else {
vx = -1 - GD.random(2);
x = HELI_RIGHT;
}
e.setxy(x, (HELI_HEIGHT / 2) + GD.random(100));
state = -1;
vy = 0;
}
void draw(byte anim) {
if (state == -1)
e.draw(anim, vx > 0);
else {
byte aframes[] = {0x00, 0x01, 0x02, 0x81, 0x80, 0x03, 0x83};
byte a = aframes[(state >> 1) % sizeof(aframes)];
e.draw(a & 0x7f, a & 0x80, 2);
}
}
byte update();
};
class Helis {
int8_t ss[NUM_HELIS];
Stack stack;
HeliObject m[NUM_HELIS];
public:
void initialize() {
stack.initialize(ss, sizeof(ss));
}
void launch() {
int8_t i = stack.alloc();
if (i >= 0) {
m[i].initialize();
}
}
void draw(int t) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
m[i].draw(((i + t) >> 2) & 1);
}
void update(byte level) {
for (int8_t i = stack.alive(); i >= 0; i = stack.next(i))
if (m[i].update())
stack.free(i);
}
};
class GameObject {
public:
BaseObject base;
Missiles missiles;
Fires fires;
Explosions explosions;
Helis helis;
Soldiers soldiers;
Sparks sparks;
Rewards rewards;
byte level;
int t;
void load_level(byte n) {
level = n;
GD.Clear();
GD.cmd_text(240, 110, 29, OPT_CENTER, "LEVEL");
GD.cmd_number(240, 145, 31, OPT_CENTER, n + 1);
GD.swap();
GD.finish();
char filename[] = "night#.gd2";
filename[5] = '0' + (n % 5);
GD.load(filename);
if (n == 0)
base.initialize();
missiles.initialize();
fires.initialize();
explosions.initialize();
helis.initialize();
soldiers.initialize();
sparks.initialize();
rewards.initialize();
t = 0;
}
void draw() {
GD.Clear();
GD.Tag(1);
draw_dxt1(BACKGROUND_COLOR_HANDLE, BACKGROUND_BITS_HANDLE);
GD.TagMask(0);
GD.Begin(BITMAPS);
base.draw_base();
helis.draw(t);
soldiers.draw();
fires.draw();
missiles.draw();
explosions.draw();
sparks.draw();
rewards.draw();
base.draw_status();
}
byte update(byte playing) {
byte alive = base.update(missiles);
// if ((t % 30) == 29) missiles.launch(base.turret.angle, 120);
uint16_t launch;
launch = min(1024, 128 + level * 64);
if (GD.random() < launch)
helis.launch();
helis.update(level);
soldiers.update(t);
fires.update(t);
explosions.update(t);
sparks.update();
rewards.update();
missiles.update(t);
t++;
byte leveltime = min(50, 10 + level * 5);
if (playing && (t == (leveltime * 60))) {
load_level(level + 1);
}
return alive;
}
};
static GameObject game;
void MissileObject::blowup() {
game.explosions.create(e.x, e.y /* - 16 * 40 */, e.angle);
}
byte MissileObject::update(int t)
{
if (0 <= ts) {
if ((t & 1) == 0) {
th = (th + 1) & (MISSILE_TRAIL - 1);
trail[th].x = e.x;
trail[th].y = e.y;
ts = min(MISSILE_TRAIL, ts + 1);
}
vy += 4;
} else {
vx = -GD.rsin(HOMING_SPEED, e.angle);
vy = GD.rcos(HOMING_SPEED, e.angle);
int16_t dy = (16 * 272) - e.y;
int16_t dx = (16 * 240) - e.x;
uint16_t seek = GD.atan2(dy, dx);
int16_t steer = seek - e.angle;
if (abs(steer) > HOMING_SLEW)
e.angle -= dir * HOMING_SLEW;
else
dir = 0;
if (((t & 7) == 0) && PROB(7, 8)) {
int x, y;
tailpipe(x, y);
if ((0 <= y) && (0 <= x) && (x < (16 * 480)))
game.fires.create(x >> 4, y >> 4);
}
}
e.setxy_16ths(e.x + vx, e.y + vy);
// Return true if way offscreen
return (e.x < (16 * -200)) ||
(e.x > (16 * 680)) ||
(e.y > (16 * 262));
}
byte HeliObject::update()
{
e.x += vx;
if (0 <= state) {
e.y += vy;
vy = min(vy + 1, 6);
state++;
}
if (PROB(1, 300)) {
game.missiles.airlaunch(e, (vx < 0) ? 0x4000 : 0xc000, vx);
}
if ((state == -1) && game.missiles.collide(e)) {
game.rewards.create(e.x, e.y, "+$100");
game.base.reward(100);
game.sparks.launch(8, YELLOW, e.x << 4, e.y << 4);
e.set(&COPTER_FALL_SHAPE);
state = 0;
vy = -4;
GD.play(TUBA, 36);
}
if ((0 <= state) && e.y > 252) {
game.sparks.launch(5, YELLOW, e.x << 4, e.y << 4);
game.explosions.create(e.x << 4, e.y << 4, 0x0000);
return 1;
}
return ((e.x < HELI_LEFT) || (e.x > HELI_RIGHT));
}
byte SoldierObject::update(int t)
{
if ((t & 1) == 0) {
a = (a + 1) % sizeof(soldier_a);
e.x += vx;
}
if (game.missiles.collide(e)) {
game.fires.create(e.x, e.y);
game.rewards.create(e.x, e.y, "+$50");
game.base.reward(50);
game.sparks.launch(6, RED, e.x << 4, e.y << 4);
GD.play(TUBA, 108);
return 1;
}
return ((e.x < SOLDIER_LEFT) || (e.x > SOLDIER_RIGHT));
}
static void blocktext(int x, int y, byte font, const char *s)
{
GD.SaveContext();
GD.ColorRGB(0x000000);
GD.cmd_text(x-1, y-1, font, 0, s);
GD.cmd_text(x+1, y-1, font, 0, s);
GD.cmd_text(x-1, y+1, font, 0, s);
GD.cmd_text(x+1, y+1, font, 0, s);
GD.RestoreContext();
GD.cmd_text(x, y, font, 0, s);
}
static void draw_fade(byte fade)
{
GD.TagMask(0);
GD.ColorA(fade);
GD.ColorRGB(0x000000);
GD.Begin(RECTS);
GD.Vertex2ii(0, 0);
GD.Vertex2ii(480, 272);
}
static void welcome()
{
// Streamer stream;
GD.safeload("nightw.gd2");
byte fade = 0;
int t;
const char song[] = "mesmeriz.ima";
// stream.begin(song);
byte playing = 1;
do {
GD.Clear();
GD.get_inputs();
if ((GD.inputs.tag == 100) || (GD.inputs.wii[0].buttons != 0xffff))
fade = 1;
if (fade != 0)
fade = min(255, fade + 30);
draw_dxt1(BACKGROUND_COLOR_HANDLE, BACKGROUND_BITS_HANDLE);
GD.ColorRGB(0xd7f2fd);
blocktext(25, 16, WELCOME_DISPLAYFONT_HANDLE, "NIGHTSTRIKE");
byte flash = 128 + GD.rsin(127, t);
t += 1000;
GD.ColorA(flash);
GD.Tag(100);
blocktext(51, 114, WELCOME_DISPLAYFONT_HANDLE, "START");
draw_fade(fade);
GD.swap();
GD.random();
// if (!stream.feed()) {
// playing = 0;
// GD.sample(0, 0, 0, 0);
// }
} while (fade != 255);
GD.sample(0, 0, 0, 0);
// GD.play(MUTE); GD.play(UNMUTE);
}
void setup()
{
GD.begin();
GD.cmd_track(240, 271, 1, 1, 0x01);
}
void loop()
{
static byte in_welcome = 1;
if (in_welcome) {
welcome();
game.load_level(0);
in_welcome = 0;
} else {
GD.get_inputs();
uint32_t t0 = millis();
byte alive = game.update(true);
game.draw();
if (!alive) {
for (byte i = 255; i; i--) {
game.draw();
draw_fade(255 - i);
GD.ColorA(255);
GD.ColorRGB(0xffffff);
blocktext(200, 136, INFOFONT_HANDLE, "GAME OVER");
GD.swap();
game.update(false);
}
in_welcome = 1;
GD.Clear();
GD.swap();
return;
}
GD.swap();
}
}
| [
"heino@theheino.com"
] | heino@theheino.com |
d9a5b248d549b76bf13d14d4db9b9635c2551c19 | 9476946d62b9524d6b1c585e53f6bba23723b552 | /Template of other teams/Grimoire/Template/source/graph-theory/general-matching.cpp | 2a45f4c8c41a537c790092db59f50e09e454ef65 | [] | no_license | KurodaKanbei/ACM | 67df8f6c41e95d3d1a52d6ccde22b14941999a29 | 45d79c8a22ae94e28f12da590f02dd4f0181a307 | refs/heads/master | 2021-11-26T21:02:21.462582 | 2021-11-10T19:36:39 | 2021-11-10T19:36:39 | 87,429,146 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | // 0-base, match[u] is linked to u
vector<int> lnk[MAXN];
int match[MAXN], Queue[MAXN], pred[MAXN], base[MAXN], head, tail, sta, fin, nbase;
bool inQ[MAXN], inB[MAXN];
inline void push(int u) {
Queue[tail++] = u; inQ[u] = 1;
}
inline int pop() {
return Queue[head++];
}
inline int FindCA(int u, int v) {
static bool inP[MAXN];
fill(inP, inP + n, false);
while (1) {
u = base[u]; inP[u] = 1;
if(u == sta) break;
u = pred[match[u]];
}
while (1) {
v = base[v];
if (inP[v]) break;
v = pred[match[v]];
}
return v;
}
inline void RT(int u) {
int v;
while (base[u] != nbase) {
v = match[u];
inB[base[u]] = inB[base[v]] = 1;
u = pred[v];
if (base[u] != nbase) pred[u] = v;
}
}
inline void BC(int u, int v) {
nbase = FindCA(u, v);
fill(inB, inB + n, 0);
RT(u); RT(v);
if (base[u] != nbase) pred[u] = v;
if (base[v] != nbase) pred[v] = u;
for (int i = 0; i < n; ++i)
if (inB[base[i]]) {
base[i] = nbase;
if (!inQ[i]) push(i);
}
}
bool FindAP(int u) {
bool found = false;
for (int i = 0; i < n; ++i) {
pred[i] = -1; base[i] = i; inQ[i] = 0;
}
sta = u; fin = -1; head = tail = 0; push(sta);
while (head < tail) {
int u = pop();
for (int i = (int)lnk[u].size() - 1; i >= 0; --i) {
int v = lnk[u][i];
if (base[u] != base[v] && match[u] != v) {
if (v == sta || match[v] >= 0 && pred[match[v]] >= 0) BC(u, v);
else if (pred[v] == -1) {
pred[v] = u;
if (match[v] >= 0) push(match[v]);
else {
fin = v;
return true;
}
}
}
}
}
return found;
}
inline void AP() {
int u = fin, v, w;
while (u >= 0) {
v = pred[u]; w = match[v];
match[v] = u; match[u] = v;
u = w;
}
}
inline int FindMax() {
for (int i = 0; i < n; ++i) match[i] = -1;
for (int i = 0; i < n; ++i)
if (match[i] == -1 && FindAP(i)) AP();
int ans = 0;
for (int i = 0; i < n; ++i) {
ans += (match[i] != -1);
}
return ans;
}
| [
"812395846@qq.com"
] | 812395846@qq.com |
942c8caeefd5262680cfdf3d1f946a210cea3f37 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcTunnel/src/OpenInfraPlatform/IfcTunnel/entity/include/IfcSurfaceFeatureTypeEnum.h | cab9e440b27a78f1749f34d5ed754846d7a8c089 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,350 | h | /*! \verbatim
* \copyright Copyright (c) 2014 Julian Amann. All rights reserved.
* \date 2014-03-05 19:30
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "../../model/shared_ptr.h"
#include "../../model/IfcTunnelObject.h"
namespace OpenInfraPlatform
{
namespace IfcTunnel
{
// TYPE IfcSurfaceFeatureTypeEnum = ENUMERATION OF (MARK ,TAG ,TREATMENT ,USERDEFINED ,NOTDEFINED);
class IfcSurfaceFeatureTypeEnum : public IfcTunnelAbstractEnum, public IfcTunnelType
{
public:
enum IfcSurfaceFeatureTypeEnumEnum
{
ENUM_MARK,
ENUM_TAG,
ENUM_TREATMENT,
ENUM_USERDEFINED,
ENUM_NOTDEFINED
};
IfcSurfaceFeatureTypeEnum();
IfcSurfaceFeatureTypeEnum( IfcSurfaceFeatureTypeEnumEnum e ) { m_enum = e; }
~IfcSurfaceFeatureTypeEnum();
virtual const char* classname() const { return "IfcSurfaceFeatureTypeEnum"; }
virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const;
static shared_ptr<IfcSurfaceFeatureTypeEnum> readStepData( std::string& arg );
IfcSurfaceFeatureTypeEnumEnum m_enum;
};
} // end namespace IfcTunnel
} // end namespace OpenInfraPlatform
| [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
4dfd16a2db3beaf8cec3e41c0696e25e448f2ef1 | eaae950ea581cf441ebaaeaa584d15f22a235f65 | /tests/virtualPortRouter/src/old/checkSerializationDeserialization.cpp | ece1d88bb1c4f10cc09ec9b9fdc19ad980526913 | [] | no_license | charlesrwest/societyOfMachines | ab4f95ae6fdf0a9e470d962185fd76e737167aae | 1d8091d2d0e990b20597110a564a0fdd89b08039 | refs/heads/master | 2020-12-24T16:49:19.085136 | 2015-03-01T00:26:51 | 2015-03-01T00:26:51 | 22,320,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | #include<stdio.h>
#include<unistd.h>
#include "virtualPortRouter.hpp"
#include "zmq.hpp"
int main(int argc, char **argv)
{
zmq::context_t context;
char buffer[512];
//Send a message from one port to the other
std::string messageToSend("I");
virtualPortMessageHeader messageHeader;
messageHeader.set_udpip(INADDR_LOOPBACK);
messageHeader.set_udpportnumber(9001);
messageHeader.set_destinationvirtualportid(9002);
messageHeader.set_transactionid(2000);
std::string serializedMessageHeader;
messageHeader.SerializeToString(&serializedMessageHeader);
printf("Ground truth header size: %ld\n", serializedMessageHeader.size());
uint32_t messageHeaderSize = htonl(serializedMessageHeader.size());
std::string packagedMessage(messageToSend + serializedMessageHeader + std::string((const char *) &messageHeaderSize, sizeof(messageHeaderSize)) );
//Copy to buffer
for(int i=0; i< packagedMessage.size(); i++)
{
buffer[i] = packagedMessage[i];
}
//Print out hex value of the original message
printf("Original message\n");
for (int i = 0; i < packagedMessage.size(); i++)
{
printf("%.2X", (unsigned char ) packagedMessage[i]);
}
printf("\n");
//Practice message retrieval
virtualPortMessageHeader messageHeaderBuffer;
if(getMessageHeaderFromVirtualPortMessage(buffer, packagedMessage.size(), messageHeaderBuffer) != 1)
{
fprintf(stderr, "Error retrieving message header\n");
}
printf("Retrieved header info: IPCheck: %d port: %d virtualPort: %d transactionID: %ld\n", messageHeader.udpip() == INADDR_LOOPBACK, messageHeader.udpportnumber(), messageHeader.destinationvirtualportid(), messageHeader.transactionid());
virtualPortMessageHeader messageHeader2;
messageHeader2.set_udpip(INADDR_LOOPBACK);
messageHeader2.set_udpportnumber(9001);
messageHeader2.set_destinationvirtualportid(9002);
messageHeader2.set_transactionid(2000);
messageHeader2.clear_udpip();
messageHeader2.clear_udpportnumber();
int resultSize = setMessageHeaderInVirtualPortMessage(buffer, packagedMessage.size(), 512, messageHeader2);
printf("Set version of message\n");
for (int i = 0; i < resultSize; i ++)
{
printf("%.2X", (unsigned char ) buffer[i]);
}
printf("\n");
printf("Re headdered result size %d\n", resultSize);
virtualPortMessageHeader messageHeaderBuffer3;
if(getMessageHeaderFromVirtualPortMessage(buffer, resultSize, messageHeaderBuffer3) != 1)
{
fprintf(stderr, "Error retrieving message header\n");
}
printf("Final header info: IPCheck: %d port: %d virtualPort: %d transactionID: %ld\n", messageHeaderBuffer3.udpip() == INADDR_LOOPBACK, messageHeaderBuffer3.udpportnumber(), messageHeaderBuffer3.destinationvirtualportid(), messageHeaderBuffer3.transactionid());
return 0;
}
| [
"crwest@ncsu.edu"
] | crwest@ncsu.edu |
8b4cdefd79e6648a2eafaa2dea904a8ee94a39b1 | 6becfe3cd535f4d81ff5143f186d6034d2e9c67e | /src/GameObjects/DrawableGameObjects/Items/medkit.cpp | cf642d421c17872396d7727fcb090c7d65122731 | [
"MIT"
] | permissive | graphffiti/PopHead | 7ea408316a208048bba602d7ce6a43e1b8c43f7f | 5081c40f9f8933c047f9cddf50ba9a289dc6e675 | refs/heads/master | 2020-08-06T13:33:40.069174 | 2019-10-04T22:00:00 | 2019-10-04T22:00:00 | 212,992,843 | 0 | 0 | MIT | 2019-10-05T12:08:01 | 2019-10-05T12:08:00 | null | UTF-8 | C++ | false | false | 724 | cpp | #include "GameObjects/DrawableGameObjects/Items/medkit.hpp"
#include "GameObjects/DrawableGameObjects/Characters/player.hpp"
#include "GameObjects/NonDrawableGameObjects/playerEquipment.hpp"
namespace ph {
Medkit::Medkit(GameData* const gameData)
:Item(gameData, "Medkit")
,healthAddValue(25)
{
setGroundTexture(gameData->getTextures().get("textures/others/medkit.png"));
}
void Medkit::drawWhileOnTheGround(sf::RenderTarget& rt, sf::RenderStates rs) const
{
rt.draw(getGroundSprite());
}
void Medkit::onPickUp()
{
auto* playerGameObject = mRoot->getChild("LAYER_standingObjects")->getChild("player");
if (playerGameObject == nullptr)
return;
dynamic_cast<Player*>(playerGameObject)->addHp(healthAddValue);
}
} | [
"szymonstrugala23@gmail.com"
] | szymonstrugala23@gmail.com |
c5d0428dc4779ccbedc3401bfda5e28989f33b31 | 7a4f69a775c4b4dcdf67c8d62852a29e64ece3a1 | /dp god/otog429.cpp | 04c71a77a93eca6fcf44216e9bec26b8d55e0d4c | [] | no_license | sctpimming/Competitive-Programming | b94d20a2d00f5e94f5f30da6b22b4d73ee96bb3c | ef0f1a7de679ff03e5daa36883e92d889a67a48b | refs/heads/master | 2021-07-07T13:21:31.961766 | 2020-08-31T06:52:59 | 2020-08-31T06:52:59 | 175,378,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <bits/stdc++.h>
using namespace std;
using pii = pair<int, int>;
using lli = long long int;
#define rep(i,k,n) for(int i=(k);i!=int(n);++i)
#define sz(x) x.size()
#define all(x) x.begin(),x.end()
#define dbg(x) cout << "debug :" << x << "\n"
#define dbg2(x,y) cout << "debug :" << x << ":" << y << "\n"
#define input() (*istream_iterator<int>(cin))
#define strin() (*istream_iterator<string>(cin))
#define output(x) cout << x
const int mxn = 510, mxc = 30;
int arr[mxn], dp[mxc][mxc][mxn];
int n;
int solve(int c1, int c2, int idx){
if(dp[c1][c2][idx]!=-1) return dp[c1][c2][idx];
if(idx == n) return 0;
int cur = arr[idx];
// can use brush 1/2 instantly
if(cur == c1 or cur == c2) return solve(c1, c2, idx+1);
else{ // change color of brush 1 and 2
int val1 = solve(cur, c2, idx+1) + 1;
int val2 = solve(c1, cur, idx+1) + 1;
return dp[c1][c2][idx] = min(val1, val2);
}
}
int main(){
int q = input();
while(q--) {
n = input();
rep(i, 0, n) arr[i] = input();
fill_n(**dp, mxn*mxc*mxc, -1);
cout << solve(0, 0, 0) << "\n";
}
}
/*
2
5
7 7 2 11 7
10
9 1 7 6 9 9 8 7 6 7
*/ | [
"39304441+SctPimming@users.noreply.github.com"
] | 39304441+SctPimming@users.noreply.github.com |
45e7687634cad70650b7d1f79f7160721fc2059b | 669ceb296239168c1404a085758caf33e8366d10 | /B-tree/btree.cpp | 2e9fbb574a68a941a68ebea8b407c0c5e2b76572 | [] | no_license | fredwang01/data-structure | 9fabeded3de55ea90e1245cf390606e7a733555d | 3c03b13a4c901548f3801ed807f563ceca66e649 | refs/heads/master | 2020-03-28T07:38:38.124583 | 2018-09-09T06:11:48 | 2018-09-09T06:11:48 | 147,914,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,912 | cpp | /* Filename: btree.cpp
Programmer: Br. David Carlson
Reference: Data Structures & Program Design, 2nd ed., by Robert L.
Kruse.
Date: November 4, 1997
Modified: March 20, 2001 to fix NumItems counter.
Last Modified: December 21, 2001 to make Empty a const function
and to use the NULLCHAR constant.
This file contains the implementation of the functions of the
BTTableClass as set up in btree.h.
*/
#include "btree.h"
/* Given: msg A message.
Task: To print msg and exit the program.
Return: Nothing to the program, of course, but returns 1 to the
operating system.
*/
void Error(char * msg)
{
cerr << msg << endl;
exit(1);
}
/* Given: Nothing (other than the implicit BTTableClass object)
Task: To print out all info associated with the current table.
Note that this is for debugging purposes. This function
could be removed once debugging is complete.
Return: Nothing.
*/
void BTTableClass::Dump(void)
{
int k;
long p;
cout << endl << "Root is node (record) number " << Root << endl;
for (p = 0; p <= NumNodes; p++)
{
if (p % 4 == 3)
{
cout << " Press ENTER";
cin.get();
}
DataFile.seekg(p * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
if (p == 0)
{
cout << "Node 0 is not part of tree, contains this data:" << endl;
cout << " NumItems = " << CurrentNode.Branch[0] << endl;
cout << " NumNodes = " << CurrentNode.Branch[1] << endl;
cout << " Root = " << CurrentNode.Branch[2] << endl;
}
else
{
cout << "Dump of node number " << p << endl;
cout << " Count: " << CurrentNode.Count << endl;
cout << " Keys: ";
for (k = 0; k < CurrentNode.Count; k++)
cout << CurrentNode.Key[k].KeyField << " ";
cout << endl << " Branches: ";
for (k = 0; k <= CurrentNode.Count; k++)
cout << CurrentNode.Branch[k] << " ";
cout << endl << endl;
}
}
}
/* Given: Nothing (other than the implicit BTTableClass object)
Task: To do an inorder traversal of the B-Tree looking for out of
order items.
Note that this is for debugging purposes. This function
could be removed once debugging is complete.
Return: Nothing.
*/
void BTTableClass::Check(void)
{
KeyFieldType Last;
Last[0] = '*';
Last[1] = NULLCHAR;
CheckSubtree(Root, Last);
}
/* Given: The implicit BTTableClass object plus:
Current A pseudopointer to the root node of the subtree.
Last The Last key field value that was checked.
Task: To do an inorder traversal of the subtree rooted at the
current node. Each key field value is checked against Last
to see if it is out of order relative to Last. If so,
debugging info is printed, including a complete dump of
the B-tree.
Note that this is for debugging purposes. This function
could be removed once debugging is complete.
Return: Last Updated to hold the last key field value checked.
*/
void BTTableClass::CheckSubtree(long Current, KeyFieldType & Last)
{
NodeType Node;
int k;
if (Current == NilPtr)
return;
DataFile.seekg(Current * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&Node), NodeSize);
for (k = 0; k < Node.Count; k++)
{
CheckSubtree(Node.Branch[k], Last);
if ((Last[0] != '*') && (strcmp(Last, Node.Key[k].KeyField) >= 0))
{
cout << "Check has found a problem in node " << Current <<
" index " << k << " key " << Node.Key[k].KeyField << endl;
Dump();
exit(1);
}
strcpy(Last, Node.Key[k].KeyField);
}
CheckSubtree(Node.Branch[Node.Count], Last);
}
/* Given: Mode A char(r or w) to indicate read or write mode.
FileName A char string holding the external filename.
Task: This is the constructor for a BTTableClass object. If mode
r is specified, it opens the table stored in the given file
for reading. If w is specified, it opens a new, empty table
for writing (to the given file). A new empty table contains
a "dummy" node (node zero) that will be used to hold info
about the whole table.
Return: Nothing directly, but the implicit object is created.
*/
BTTableClass::BTTableClass(char Mode, char * FileName)
{
#ifdef DEBUG
cout << "BTTableClass constructor called" << endl;
zeroCurrentNode();
#endif
OpenMode = Mode;
NodeSize = sizeof(NodeType);
if (Mode == 'r')
{
DataFile.open(FileName, ios::in | ios::binary);
if (DataFile.fail())
Error("File cannot be opened");
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
if (DataFile.fail())
{ // assume the Btree is empty if you cannot read from the file
NumItems = 0;
NumNodes = 0;
Root = NilPtr;
}
else // Node zero is not a normal node, it contains the following:
{
NumItems = CurrentNode.Branch[0];
NumNodes = CurrentNode.Branch[1];
Root = CurrentNode.Branch[2];
}
#ifdef DEBUG
cout << "R";
#endif
}
else if (Mode == 'w')
{
DataFile.open(FileName, ios::in | ios::out | ios:: trunc |
ios::binary);
if (DataFile.fail())
Error("File cannot be opened");
Root = NilPtr;
NumItems = 0;
NumNodes = 0; // number does not include the special node zero
CurrentNode.Branch[0] = NumItems;
CurrentNode.Branch[1] = NumNodes;
CurrentNode.Branch[2] = Root;
DataFile.seekp(0, ios::beg);
DataFile.write(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
}
else
Error("Incorrect mode given to BTTableClass constructor");
}
#ifdef DEBUG
void BTTableClass::zeroCurrentNode() {
memset(&CurrentNode, 0, sizeof(CurrentNode));
}
void BTTableClass::zeroItem(ItemType &item) {
memset((void *)&item, 0, sizeof(item));
}
void BTTableClass::assignItem(ItemType &target, const ItemType &source) {
zeroItem(target);
//Note: key and data are both string, so we use strncpy to assign item.
strncpy(target.KeyField, source.KeyField, KFMaxPlus1);
strncpy(target.DataField, source.DataField, DFMaxPlus1);
}
void BTTableClass::cleanNode(NodeType &node) {
assert(node.Count > 0);
for (int i = node.Count; i < MaxKeys; i++) {
zeroItem(node.Key[i]);
node.Branch[i+1] = InvalidPtr;
}
}
#endif
/* Given: Nothing (other than the implicit object).
Task: This is the destructor for a BTTableClass object. Its job
is to destroy the BTTableClass object, while making sure that
all of the table data is stored in the associated file.
Return: Nothing directly, but the file is updated.
*/
BTTableClass::~BTTableClass(void)
{
#ifdef DEBUG
cout << endl << "BTTableClass destructor called" << endl;
#endif
if (OpenMode == 'w')
{
// Be sure to write out the updated node zero:
CurrentNode.Branch[0] = NumItems;
CurrentNode.Branch[1] = NumNodes;
CurrentNode.Branch[2] = Root;
DataFile.seekp(0, ios::beg);
DataFile.write(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
}
#ifdef DEBUG
Dump();
#endif
DataFile.close();
}
/* Given: Nothing (other than the implicit object).
Task: To decide if the implicit table object is empty.
Return: In the function name, true if the table object is empty,
false otherwise.
*/
bool BTTableClass::Empty(void) const
{ // we could read node zero, but this is faster:
return (Root == NilPtr);
}
/* Given: The implicit BTTableClass object as well as:
Target The value to look for in the CurrentNode field.
Task: To look for Target as a key in CurrentNode.
Return: In the function name, return true if found, false otherwise.
Location The index of where Target was found. If not
found, index and index + 1 are the indices between
which Target would fit. (If Target fits to the
left of the first key, returns index of -1.)
*/
bool BTTableClass::SearchNode(const KeyFieldType Target,
int & Location) const
{
bool Found;
Found = false;
if (strcmp(Target, CurrentNode.Key[0].KeyField) < 0)
Location = -1;
else
{ // do a sequential search, right to left:
Location = CurrentNode.Count - 1;
while ((strcmp(Target, CurrentNode.Key[Location].KeyField) < 0)
&& (Location > 0))
Location--;
if (strcmp(Target, CurrentNode.Key[Location].KeyField) == 0)
Found = true;
}
return Found;
}
/* Given: The implicit BTTableClass object as well as:
NewItem Item to add to Node.
NewRight Pseudopointer to right subtree below NewItem.
Node The node to be added to.
Location The index at which to add newItem.
Task: To add Item to Node at index Location, and add NewRight
as the branch just to the right of NewItem. The addition is
made by moving the needed keys and branches right by 1 in order
to clear out index Location for NewItem.
Return: Node Updated node.
*/
void BTTableClass::AddItem(const ItemType & NewItem, long NewRight,
NodeType & Node, int Location)
{
int j;
for (j = Node.Count; j > Location; j--) {
Node.Key[j] = Node.Key[j - 1];
Node.Branch[j + 1] = Node.Branch[j];
}
#ifdef DEBUG
assignItem(Node.Key[Location], NewItem);
#else
Node.Key[Location] = NewItem;
#endif
Node.Branch[Location + 1] = NewRight;
Node.Count++;
}
/* Given: The implicit BTTableClass object as well as:
CurrentItem Item whose attempted placement into a node is
causing the node to be split.
CurrentRight Pseudopointer to the child just to the right of
CurrentItem.
CurrentRoot Pseudopointer to the node to be split.
Location Index of where CurrentItem should go in this node.
Task: To split the node that CurrentRoot points to into 2 nodes,
pointed to by CurrentRoot and NewRight. CurrentItem is properly
placed in 1 of these 2 nodes (unless it is the median that gets
moved up to the parent). Finds Newitem, the median item that is
to be moved up to the parent node.
Return: NewItem The item to be moved up into the parent node.
NewRight The pseudopointer to the child to the right of
NewItem (i.e. a pointer to the new RightNode).
*/
void BTTableClass::Split(const ItemType & CurrentItem, long CurrentRight,
long CurrentRoot, int Location, ItemType & NewItem, long & NewRight)
{
int j, Median;
NodeType RightNode;
#ifdef DEBUG
cout << "S";
#endif
if (Location < MinKeys)
Median = MinKeys;
else
Median = MinKeys + 1;
DataFile.seekg(CurrentRoot * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
cout << "R";
#endif
for (j = Median; j < MaxKeys; j++) { // move half of the items to the RightNode
#ifdef DEBUG
assignItem(RightNode.Key[j - Median], CurrentNode.Key[j]);
#else
RightNode.Key[j - Median] = CurrentNode.Key[j];
#endif //
RightNode.Branch[j - Median + 1] = CurrentNode.Branch[j + 1];
}
RightNode.Count = MaxKeys - Median;
CurrentNode.Count = Median; // is then incremented by AddItem
// put CurrentItem in place
if (Location < MinKeys)
AddItem(CurrentItem, CurrentRight, CurrentNode, Location + 1);
else
AddItem(CurrentItem, CurrentRight, RightNode, Location - Median + 1);
#ifdef DEBUG
assignItem(NewItem, CurrentNode.Key[CurrentNode.Count - 1]);
#else
NewItem = CurrentNode.Key[CurrentNode.Count - 1];
#endif //
RightNode.Branch[0] = CurrentNode.Branch[CurrentNode.Count];
CurrentNode.Count--;
#ifdef DEBUG
cleanNode(CurrentNode);
#endif
DataFile.seekp(CurrentRoot * NodeSize, ios::beg);
DataFile.write(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
NumNodes++;
NewRight = NumNodes;
#ifdef DEBUG
cleanNode(RightNode);
#endif
DataFile.seekp(NewRight * NodeSize, ios::beg);
DataFile.write(reinterpret_cast <char *> (&RightNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
}
/* Given: The implicit BTTableClass object as well as:
CurrentItem The item to be inserted into the B-tree table.
CurrentRoot Pseudopointer to root of current subtree.
Task: To find where to put CurrentItem in a node of the subtree with
the given root. CurrentItem is ordinarily inserted, though
a duplicate item is refused. It is also possible that
CurrentItem might be the item moved up to be inserted into
the parent node if a split is done.
Return: MoveUp True if NewItem (and associated NewRight pointer)
must be placed in the parent node due to
splitting, false otherwise.
NewItem Item to be placed into parent node if a split was
done.
NewRight Pseudopointer to child to the right of NewItem.
*/
void BTTableClass::PushDown(const ItemType & CurrentItem, long CurrentRoot,
bool & MoveUp, ItemType & NewItem, long & NewRight)
{
int Location;
#ifdef DEBUG
cout << "P";
#endif
if (CurrentRoot == NilPtr) // stopping case
{ // cannot insert into empty tree
MoveUp = true;
#ifdef DEBUG
assignItem(NewItem, CurrentItem);
#else
NewItem = CurrentItem;
#endif
NewRight = NilPtr;
}
else // recursive case
{
DataFile.seekg(CurrentRoot * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
cout << "R";
#endif
if (SearchNode(CurrentItem.KeyField, Location))
Error("Error: attempt to put a duplicate into B-tree");
PushDown(CurrentItem, CurrentNode.Branch[Location + 1], MoveUp, NewItem, NewRight);
if (MoveUp)
{
DataFile.seekg(CurrentRoot * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
cout << "R";
#endif
if (CurrentNode.Count < MaxKeys)
{
MoveUp = false;
AddItem(NewItem, NewRight, CurrentNode, Location + 1);
#ifdef DEBUG
cleanNode(CurrentNode);
#endif
DataFile.seekp(CurrentRoot * NodeSize, ios::beg);
DataFile.write(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
}
else
{
MoveUp = true;
Split(NewItem, NewRight, CurrentRoot, Location, NewItem, NewRight);
}
}
}
}
/* Given: The implicit BTTableClass object as well as:
Item Item to add to the table.
Task: To add Item to the table.
Return: In the function name, returns true to indicate success.
(The implicit object is modified, of course.)
*/
bool BTTableClass::Insert(const ItemType & Item)
{
bool MoveUp;
long NewRight;
ItemType NewItem = {0};
#ifdef DEBUG
cout << "I";
#endif
PushDown(Item, Root, MoveUp, NewItem, NewRight);
if (MoveUp) // create a new root node
{
CurrentNode.Count = 1;
#ifdef DEBUG
assignItem(CurrentNode.Key[0], NewItem);
#else
CurrentNode.Key[0] = NewItem;
#endif
CurrentNode.Branch[0] = Root;
CurrentNode.Branch[1] = NewRight;
NumNodes++;
Root = NumNodes;
#ifdef DEBUG
cleanNode(CurrentNode);
#endif
DataFile.seekp(NumNodes * NodeSize, ios::beg);
DataFile.write(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
DataFile.flush();
cout << "W";
#endif
}
NumItems++; // fixed 12/21/2001
return true; // no reason not to assume success
}
/* Given: The implicit BTTableClass object as well as:
SearchKey Key value to look for in the table.
Task: To look for SearchKey in the table.
Return: In the function name, true if SearchKey was found,
false otherwise.
Item The item were SearchKey was found.
*/
bool BTTableClass::Retrieve(KeyFieldType SearchKey, ItemType & Item)
{
long CurrentRoot;
int Location;
bool Found;
Found = false;
CurrentRoot = Root;
while ((CurrentRoot != NilPtr) && (! Found))
{
DataFile.seekg(CurrentRoot * NodeSize, ios::beg);
DataFile.read(reinterpret_cast <char *> (&CurrentNode), NodeSize);
#ifdef DEBUG
cout << "R";
#endif
if (SearchNode(SearchKey, Location))
{
Found = true;
Item = CurrentNode.Key[Location];
}
else
CurrentRoot = CurrentNode.Branch[Location + 1];
}
return Found;
}
| [
"noreply@github.com"
] | noreply@github.com |
719411e5f8540e406c9b8961ee7a320aa6f9d772 | d9f8b90d29b49a539b2b4364921da8c1ccfd276a | /Test/บันไดอักษร.cpp | 1dfb07ac733b861b7bc01f0d19aa6f96e753c2f2 | [] | no_license | tboonma/posn60 | 79b55255f0f5693bb1c04a9e6dcb20f08709d66e | 6d0d0fc06d9ea5796327b703a0aa1a998d738fbb | refs/heads/main | 2023-07-05T18:38:09.807503 | 2021-08-26T04:09:05 | 2021-08-26T04:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | /*
LANG: C
COMPILER: WCB
*/
#include <stdio.h>
#include <math.h>
main()
{
int a,i,j,k=0;
scanf("%d",&a);
for(i=1;i<=a;i++)
{
for(j=1;j<=i;j++)
{
printf("%c",k+65);
k++;
if(k+65>90)
k=0;
}
printf("\n");
}
}
| [
"tboonma@hotmail.com"
] | tboonma@hotmail.com |
ca81f81f3082039c52dd7007f859632c90e4a398 | 9767141fee45e92ffb7b02ba30647c8d84be8daa | /src/test/evo_deterministicmns_tests.cpp | dc206eb5f7e2be35961199a5ad747a535d303647 | [
"MIT"
] | permissive | CHN-portal/CHN-Portal | 3fb4c7b037dbf1d52ec0cb264a81d9d730cd7ae1 | 74c2a20f99add8fb45ce0722d1674496a3d28e7e | refs/heads/master | 2020-09-15T13:39:34.399755 | 2020-05-16T16:06:23 | 2020-05-16T16:06:23 | 223,462,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,132 | cpp | // Copyright (c) 2018 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "test/test_cbdhealthnetwork.h"
#include "script/interpreter.h"
#include "script/standard.h"
#include "script/sign.h"
#include "validation.h"
#include "base58.h"
#include "netbase.h"
#include "messagesigner.h"
#include "keystore.h"
#include "spork.h"
#include "evo/specialtx.h"
#include "evo/providertx.h"
#include "evo/deterministicmns.h"
#include <boost/test/unit_test.hpp>
static const CBitcoinAddress payoutAddress ("yRq1Ky1AfFmf597rnotj7QRxsDUKePVWNF");
static const std::string payoutKey ("cV3qrPWzDcnhzRMV4MqtTH4LhNPqPo26ZntGvfJhc8nqCi8Ae5xR");
typedef std::map<COutPoint, std::pair<int, CAmount>> SimpleUTXOMap;
static SimpleUTXOMap BuildSimpleUtxoMap(const std::vector<CTransaction>& txs)
{
SimpleUTXOMap utxos;
for (size_t i = 0; i < txs.size(); i++) {
auto& tx = txs[i];
for (size_t j = 0; j < tx.vout.size(); j++) {
utxos.emplace(COutPoint(tx.GetHash(), j), std::make_pair((int)i + 1, tx.vout[j].nValue));
}
}
return utxos;
}
static std::vector<COutPoint> SelectUTXOs(SimpleUTXOMap& utoxs, CAmount amount, CAmount& changeRet)
{
changeRet = 0;
std::vector<COutPoint> selectedUtxos;
CAmount selectedAmount = 0;
while (!utoxs.empty()) {
bool found = false;
for (auto it = utoxs.begin(); it != utoxs.end(); ++it) {
if (chainActive.Height() - it->second.first < 101) {
continue;
}
found = true;
selectedAmount += it->second.second;
selectedUtxos.emplace_back(it->first);
utoxs.erase(it);
break;
}
BOOST_ASSERT(found);
if (selectedAmount >= amount) {
changeRet = selectedAmount - amount;
break;
}
}
return selectedUtxos;
}
static void FundTransaction(CMutableTransaction& tx, SimpleUTXOMap& utoxs, const CScript& scriptPayout, CAmount amount, const CKey& coinbaseKey)
{
CScript scriptPubKey = CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG;
CAmount change;
auto inputs = SelectUTXOs(utoxs, amount, change);
for (size_t i = 0; i < inputs.size(); i++) {
tx.vin.emplace_back(CTxIn(inputs[i]));
}
tx.vout.emplace_back(CTxOut(amount, scriptPayout));
if (change != 0) {
tx.vout.emplace_back(CTxOut(change, scriptPayout));
}
}
static void SignTransaction(CMutableTransaction& tx, const CKey& coinbaseKey)
{
CBasicKeyStore tempKeystore;
tempKeystore.AddKeyPubKey(coinbaseKey, coinbaseKey.GetPubKey());
for (size_t i = 0; i < tx.vin.size(); i++) {
CTransactionRef txFrom;
uint256 hashBlock;
BOOST_ASSERT(GetTransaction(tx.vin[i].prevout.hash, txFrom, Params().GetConsensus(), hashBlock));
BOOST_ASSERT(SignSignature(tempKeystore, *txFrom, tx, i));
}
}
static CMutableTransaction CreateProRegTx(SimpleUTXOMap& utxos, int port, const CScript& scriptPayout, const CKey& coinbaseKey, CKey& ownerKeyRet, CBLSSecretKey& operatorKeyRet)
{
ownerKeyRet.MakeNewKey(true);
operatorKeyRet.MakeNewKey();
CAmount change;
auto inputs = SelectUTXOs(utxos, 420 * COIN, change);
CProRegTx proTx;
proTx.collateralOutpoint.n = 0;
proTx.addr = LookupNumeric("1.1.1.1", port);
proTx.keyIDOwner = ownerKeyRet.GetPubKey().GetID();
proTx.pubKeyOperator = operatorKeyRet.GetPublicKey();
proTx.keyIDVoting = ownerKeyRet.GetPubKey().GetID();
proTx.scriptPayout = scriptPayout;
CMutableTransaction tx;
tx.nVersion = 3;
tx.nType = TRANSACTION_PROVIDER_REGISTER;
FundTransaction(tx, utxos, scriptPayout, 420 * COIN, coinbaseKey);
proTx.inputsHash = CalcTxInputsHash(tx);
SetTxPayload(tx, proTx);
SignTransaction(tx, coinbaseKey);
return tx;
}
static CMutableTransaction CreateProUpServTx(SimpleUTXOMap& utxos, const uint256& proTxHash, const CBLSSecretKey& operatorKey, int port, const CScript& scriptOperatorPayout, const CKey& coinbaseKey)
{
CAmount change;
auto inputs = SelectUTXOs(utxos, 1 * COIN, change);
CProUpServTx proTx;
proTx.proTxHash = proTxHash;
proTx.addr = LookupNumeric("1.1.1.1", port);
proTx.scriptOperatorPayout = scriptOperatorPayout;
CMutableTransaction tx;
tx.nVersion = 3;
tx.nType = TRANSACTION_PROVIDER_UPDATE_SERVICE;
FundTransaction(tx, utxos, GetScriptForDestination(coinbaseKey.GetPubKey().GetID()), 1 * COIN, coinbaseKey);
proTx.inputsHash = CalcTxInputsHash(tx);
proTx.sig = operatorKey.Sign(::SerializeHash(proTx));
SetTxPayload(tx, proTx);
SignTransaction(tx, coinbaseKey);
return tx;
}
static CMutableTransaction CreateProUpRegTx(SimpleUTXOMap& utxos, const uint256& proTxHash, const CKey& mnKey, const CBLSPublicKey& pubKeyOperator, const CKeyID& keyIDVoting, const CScript& scriptPayout, const CKey& coinbaseKey)
{
CAmount change;
auto inputs = SelectUTXOs(utxos, 1 * COIN, change);
CProUpRegTx proTx;
proTx.proTxHash = proTxHash;
proTx.pubKeyOperator = pubKeyOperator;
proTx.keyIDVoting = keyIDVoting;
proTx.scriptPayout = scriptPayout;
CMutableTransaction tx;
tx.nVersion = 3;
tx.nType = TRANSACTION_PROVIDER_UPDATE_REGISTRAR;
FundTransaction(tx, utxos, GetScriptForDestination(coinbaseKey.GetPubKey().GetID()), 1 * COIN, coinbaseKey);
proTx.inputsHash = CalcTxInputsHash(tx);
CHashSigner::SignHash(::SerializeHash(proTx), mnKey, proTx.vchSig);
SetTxPayload(tx, proTx);
SignTransaction(tx, coinbaseKey);
return tx;
}
static CMutableTransaction CreateProUpRevTx(SimpleUTXOMap& utxos, const uint256& proTxHash, const CBLSSecretKey& operatorKey, const CKey& coinbaseKey)
{
CAmount change;
auto inputs = SelectUTXOs(utxos, 1 * COIN, change);
CProUpRevTx proTx;
proTx.proTxHash = proTxHash;
CMutableTransaction tx;
tx.nVersion = 3;
tx.nType = TRANSACTION_PROVIDER_UPDATE_REVOKE;
FundTransaction(tx, utxos, GetScriptForDestination(coinbaseKey.GetPubKey().GetID()), 1 * COIN, coinbaseKey);
proTx.inputsHash = CalcTxInputsHash(tx);
proTx.sig = operatorKey.Sign(::SerializeHash(proTx));
SetTxPayload(tx, proTx);
SignTransaction(tx, coinbaseKey);
return tx;
}
static CScript GenerateRandomAddress()
{
CKey key;
key.MakeNewKey(false);
return GetScriptForDestination(key.GetPubKey().GetID());
}
static CDeterministicMNCPtr FindPayoutDmn(const CBlock& block)
{
auto dmnList = deterministicMNManager->GetListAtChainTip();
for (const auto& txout : block.vtx[0]->vout) {
CDeterministicMNCPtr found;
dmnList.ForEachMN(true, [&](const CDeterministicMNCPtr& dmn) {
if (found == nullptr && txout.scriptPubKey == dmn->pdmnState->scriptPayout) {
found = dmn;
}
});
if (found != nullptr) {
return found;
}
}
return nullptr;
}
BOOST_AUTO_TEST_SUITE(evo_dip3_activation_tests)
BOOST_FIXTURE_TEST_CASE(dip3_activation, TestChainDIP3BeforeActivationSetup)
{
auto utxos = BuildSimpleUtxoMap(coinbaseTxns);
CKey ownerKey;
CBLSSecretKey operatorKey;
auto tx = CreateProRegTx(utxos, 1, GetScriptForDestination(payoutAddress.Get()), coinbaseKey, ownerKey, operatorKey);
std::vector<CMutableTransaction> txns = {tx};
int nHeight = chainActive.Height();
// We start one block before DIP3 activation, so mining a block with a DIP3 transaction should fail
auto block = std::make_shared<CBlock>(CreateBlock(txns, coinbaseKey));
ProcessNewBlock(Params(), block, true, nullptr);
BOOST_ASSERT(chainActive.Height() == nHeight);
BOOST_ASSERT(block->GetHash() != chainActive.Tip()->GetBlockHash());
BOOST_ASSERT(!deterministicMNManager->GetListAtChainTip().HasMN(tx.GetHash()));
// This block should activate DIP3
CreateAndProcessBlock({}, coinbaseKey);
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
// Mining a block with a DIP3 transaction should succeed now
block = std::make_shared<CBlock>(CreateBlock(txns, coinbaseKey));
ProcessNewBlock(Params(), block, true, nullptr);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 2);
BOOST_ASSERT(block->GetHash() == chainActive.Tip()->GetBlockHash());
BOOST_ASSERT(deterministicMNManager->GetListAtChainTip().HasMN(tx.GetHash()));
}
BOOST_FIXTURE_TEST_CASE(dip3_protx, TestChainDIP3Setup)
{
CKey sporkKey;
sporkKey.MakeNewKey(false);
CBitcoinSecret sporkSecret(sporkKey);
CBitcoinAddress sporkAddress;
sporkAddress.Set(sporkKey.GetPubKey().GetID());
sporkManager.SetSporkAddress(sporkAddress.ToString());
sporkManager.SetPrivKey(sporkSecret.ToString());
auto utxos = BuildSimpleUtxoMap(coinbaseTxns);
int nHeight = chainActive.Height();
int port = 1;
std::vector<uint256> dmnHashes;
std::map<uint256, CKey> ownerKeys;
std::map<uint256, CBLSSecretKey> operatorKeys;
// register one MN per block
for (size_t i = 0; i < 6; i++) {
CKey ownerKey;
CBLSSecretKey operatorKey;
auto tx = CreateProRegTx(utxos, port++, GenerateRandomAddress(), coinbaseKey, ownerKey, operatorKey);
dmnHashes.emplace_back(tx.GetHash());
ownerKeys.emplace(tx.GetHash(), ownerKey);
operatorKeys.emplace(tx.GetHash(), operatorKey);
CreateAndProcessBlock({tx}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
BOOST_ASSERT(deterministicMNManager->GetListAtChainTip().HasMN(tx.GetHash()));
nHeight++;
}
int DIP0003EnforcementHeightBackup = Params().GetConsensus().DIP0003EnforcementHeight;
const_cast<Consensus::Params&>(Params().GetConsensus()).DIP0003EnforcementHeight = chainActive.Height() + 1;
CreateAndProcessBlock({}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
nHeight++;
// check MN reward payments
for (size_t i = 0; i < 20; i++) {
auto dmnExpectedPayee = deterministicMNManager->GetListAtChainTip().GetMNPayee();
CBlock block = CreateAndProcessBlock({}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(!block.vtx.empty());
auto dmnPayout = FindPayoutDmn(block);
BOOST_ASSERT(dmnPayout != nullptr);
BOOST_CHECK_EQUAL(dmnPayout->proTxHash.ToString(), dmnExpectedPayee->proTxHash.ToString());
nHeight++;
}
// register multiple MNs per block
for (size_t i = 0; i < 3; i++) {
std::vector<CMutableTransaction> txns;
for (size_t j = 0; j < 3; j++) {
CKey ownerKey;
CBLSSecretKey operatorKey;
auto tx = CreateProRegTx(utxos, port++, GenerateRandomAddress(), coinbaseKey, ownerKey, operatorKey);
dmnHashes.emplace_back(tx.GetHash());
ownerKeys.emplace(tx.GetHash(), ownerKey);
operatorKeys.emplace(tx.GetHash(), operatorKey);
txns.emplace_back(tx);
}
CreateAndProcessBlock(txns, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
for (size_t j = 0; j < 3; j++) {
BOOST_ASSERT(deterministicMNManager->GetListAtChainTip().HasMN(txns[j].GetHash()));
}
nHeight++;
}
// test ProUpServTx
auto tx = CreateProUpServTx(utxos, dmnHashes[0], operatorKeys[dmnHashes[0]], 1000, CScript(), coinbaseKey);
CreateAndProcessBlock({tx}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
nHeight++;
auto dmn = deterministicMNManager->GetListAtChainTip().GetMN(dmnHashes[0]);
BOOST_ASSERT(dmn != nullptr && dmn->pdmnState->addr.GetPort() == 1000);
// test ProUpRevTx
tx = CreateProUpRevTx(utxos, dmnHashes[0], operatorKeys[dmnHashes[0]], coinbaseKey);
CreateAndProcessBlock({tx}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
nHeight++;
dmn = deterministicMNManager->GetListAtChainTip().GetMN(dmnHashes[0]);
BOOST_ASSERT(dmn != nullptr && dmn->pdmnState->nPoSeBanHeight == nHeight);
// test that the revoked MN does not get paid anymore
for (size_t i = 0; i < 20; i++) {
auto dmnExpectedPayee = deterministicMNManager->GetListAtChainTip().GetMNPayee();
BOOST_ASSERT(dmnExpectedPayee->proTxHash != dmnHashes[0]);
CBlock block = CreateAndProcessBlock({}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(!block.vtx.empty());
auto dmnPayout = FindPayoutDmn(block);
BOOST_ASSERT(dmnPayout != nullptr);
BOOST_CHECK_EQUAL(dmnPayout->proTxHash.ToString(), dmnExpectedPayee->proTxHash.ToString());
nHeight++;
}
// test reviving the MN
CBLSSecretKey newOperatorKey;
newOperatorKey.MakeNewKey();
dmn = deterministicMNManager->GetListAtChainTip().GetMN(dmnHashes[0]);
tx = CreateProUpRegTx(utxos, dmnHashes[0], ownerKeys[dmnHashes[0]], newOperatorKey.GetPublicKey(), ownerKeys[dmnHashes[0]].GetPubKey().GetID(), dmn->pdmnState->scriptPayout, coinbaseKey);
CreateAndProcessBlock({tx}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
nHeight++;
tx = CreateProUpServTx(utxos, dmnHashes[0], newOperatorKey, 100, CScript(), coinbaseKey);
CreateAndProcessBlock({tx}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(chainActive.Height() == nHeight + 1);
nHeight++;
dmn = deterministicMNManager->GetListAtChainTip().GetMN(dmnHashes[0]);
BOOST_ASSERT(dmn != nullptr && dmn->pdmnState->addr.GetPort() == 100);
BOOST_ASSERT(dmn != nullptr && dmn->pdmnState->nPoSeBanHeight == -1);
// test that the revived MN gets payments again
bool foundRevived = false;
for (size_t i = 0; i < 20; i++) {
auto dmnExpectedPayee = deterministicMNManager->GetListAtChainTip().GetMNPayee();
if (dmnExpectedPayee->proTxHash == dmnHashes[0]) {
foundRevived = true;
}
CBlock block = CreateAndProcessBlock({}, coinbaseKey);
deterministicMNManager->UpdatedBlockTip(chainActive.Tip());
BOOST_ASSERT(!block.vtx.empty());
auto dmnPayout = FindPayoutDmn(block);
BOOST_ASSERT(dmnPayout != nullptr);
BOOST_CHECK_EQUAL(dmnPayout->proTxHash.ToString(), dmnExpectedPayee->proTxHash.ToString());
nHeight++;
}
BOOST_ASSERT(foundRevived);
const_cast<Consensus::Params&>(Params().GetConsensus()).DIP0003EnforcementHeight = DIP0003EnforcementHeightBackup;
}
BOOST_AUTO_TEST_SUITE_END()
| [
"58087242+CHN-portal@users.noreply.github.com"
] | 58087242+CHN-portal@users.noreply.github.com |
7e285540a57c3638ce5d213973d9b4fdca19f2aa | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_389.cpp | ed133517cf34847a6448bdaa2a4f75d27303a91c | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,878 | cpp | # Catalan translation of wget.
# Copyright © 2002, 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
# This file is distributed under the same licence as the wget package.
# Jordi Valverde Sivilla <jordi@eclipsi.net>, 2002.
# Ernest Adrogué Calveras <eadrogue@gmx.net>, 2003.
# Jordi Mallach <jordi@gnu.org>, 2003, 2005, 2007, 2008.
#
msgid ""
msgstr ""
"Project-Id-Version: wget 1.11.3\n"
"Report-Msgid-Bugs-To: bug-wget@gnu.org\n"
"POT-Creation-Date: 2009-09-21 10:00-0700\n"
"PO-Revision-Date: 2008-06-10 00:40+0200\n"
"Last-Translator: Jordi Mallach <jordi@gnu.org>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
#: lib/error.c:127
#, fuzzy
msgid "Unknown system error"
msgstr "S'ha produït un error desconegut"
#: lib/getopt.c:526 lib/getopt.c:542
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: l'opció «%s» és ambigua\n"
#: lib/getopt.c:575 lib/getopt.c:579
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: l'opció «--%s» no admet arguments\n"
#: lib/getopt.c:588 lib/getopt.c:593
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: l'opció «%c%s» no admet arguments\n"
#: lib/getopt.c:636 lib/getopt.c:655 lib/getopt.c:971 lib/getopt.c:990
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: l'opció «%s» requereix un argument\n"
#: lib/getopt.c:693 lib/getopt.c:696
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: l'opció «--%s» és desconeguda\n"
#: lib/getopt.c:704 lib/getopt.c:707
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: l'opció «%c%s» és desconeguda\n"
#: lib/getopt.c:759 lib/getopt.c:762
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: l'opció és il·legal -- %c\n"
#: lib/getopt.c:768 lib/getopt.c:771
#, c-format
msgid "%s: invalid option -- %c\n"
msgstr "%s: l'opció no és vàlida -- %c\n"
#: lib/getopt.c:823 lib/getopt.c:839 lib/getopt.c:1043 lib/getopt.c:1061
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgstr "%s: l'opció requereix un argument -- %c\n"
#: lib/getopt.c:892 lib/getopt.c:908
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: l'opció «-W %s» és ambigua\n"
#: lib/getopt.c:932 lib/getopt.c:950
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: l'opció «-W %s» no admet arguments\n"
#. TRANSLATORS:
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK)
#. and U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#.
#. If you don't know what to put here, please see
#. <http://en.wikipedia.org/wiki/Quotation_mark#Glyphs>
#. and use glyphs suitable for your language.
#: lib/quotearg.c:272
msgid "`"
msgstr ""
#: lib/quotearg.c:273
msgid "'"
msgstr ""
#: lib/xalloc-die.c:34
msgid "memory exhausted"
msgstr ""
# Bind? jm
#: src/connect.c:207
#, fuzzy, c-format
msgid "%s: unable to resolve bind address %s; disabling bind.\n"
msgstr ""
"%s: no s'ha pogut resoldre l'adreça de vinculació «%s»; s'està inhabilitant "
"la connexió.\n"
#: src/connect.c:291
#, c-format
msgid "Connecting to %s|%s|:%d... "
msgstr "S'està connectant a %s|%s|:%d..."
#: src/connect.c:298
#, c-format
msgid "Connecting to %s:%d... "
msgstr "S'està connectant a %s:%d..."
#: src/connect.c:358
msgid "connected.\n"
msgstr "connectat.\n"
#: src/connect.c:370 src/host.c:780 src/host.c:809
#, c-format
msgid "failed: %s.\n"
msgstr "error: %s.\n"
#: src/connect.c:394 src/http.c:1674
#, fuzzy, c-format
msgid "%s: unable to resolve host address %s\n"
msgstr "%s: no s'ha pogut resoldre l'adreça del servidor «%s»\n"
#: src/convert.c:185
#, c-format
msgid "Converted %d files in %s seconds.\n"
msgstr "S'han convertit %d fitxers en %s segons.\n"
#: src/convert.c:213
#, c-format
msgid "Converting %s... "
msgstr "S'està convertint %s... "
#: src/convert.c:226
msgid "nothing to do.\n"
msgstr "res a fer.\n"
#: src/convert.c:234 src/convert.c:258
#, c-format
msgid "Cannot convert links in %s: %s\n"
msgstr "No s'han pogut convertir els enllaços de «%s»: %s\n"
#: src/convert.c:249
#, fuzzy, c-format
msgid "Unable to delete %s: %s\n"
msgstr "No s'ha pogut suprimir «%s»: %s\n"
#: src/convert.c:464
#, c-format
msgid "Cannot back up %s as %s: %s\n"
msgstr "No es pot fer una còpia de %s com a %s: %s\n"
#: src/cookies.c:443
#, c-format
msgid "Syntax error in Set-Cookie: %s at position %d.\n"
msgstr ""
"S'ha produït un error de sintaxi a la capçalera Set-Cookie: %s a la posició %"
"d.\n"
#: src/cookies.c:686
#, c-format
msgid "Cookie coming from %s attempted to set domain to %s\n"
msgstr "La galeta provinent de %s ha intentat establir el domini a %s\n"
#: src/cookies.c:1134 src/cookies.c:1252
#, fuzzy, c-format
msgid "Cannot open cookies file %s: %s\n"
msgstr "No es pot obrir el fitxer de cookies «%s»: %s\n"
#: src/cookies.c:1289
#, fuzzy, c-format
msgid "Error writing to %s: %s\n"
msgstr "S'ha produït un error en escriure a «%s»: %s\n"
#: src/cookies.c:1292
#, fuzzy, c-format
msgid "Error closing %s: %s\n"
msgstr "S'ha produït un error en tancar «%s»: %s\n"
#: src/ftp-ls.c:1065
msgid "Unsupported listing type, trying Unix listing parser.\n"
msgstr ""
"El tipus de llista no és suportat, es prova amb l'analitzador de Unix.\n"
#: src/ftp-ls.c:1116 src/ftp-ls.c:1118
#, c-format
msgid "Index of /%s on %s:%d"
msgstr "Índex de /%s a %s:%d"
#: src/ftp-ls.c:1143
#, c-format
msgid "time unknown "
msgstr "data desconeguda "
#: src/ftp-ls.c:1147
#, c-format
msgid "File "
msgstr "Fitxer "
#: src/ftp-ls.c:1150
#, c-format
msgid "Directory "
msgstr "Directori "
#: src/ftp-ls.c:1153
#, c-format
msgid "Link "
msgstr "Enllaç "
#: src/ftp-ls.c:1156
#, c-format
msgid "Not sure "
msgstr "No és segur "
#: src/ftp-ls.c:1179
#, c-format
msgid " (%s bytes)"
msgstr " (%s octets)"
#: src/ftp.c:221
#, c-format
msgid "Length: %s"
msgstr "Mida: %s"
#: src/ftp.c:227 src/http.c:2253
#, c-format
msgid ", %s (%s) remaining"
msgstr ", %s (%s) restant"
#: src/ftp.c:231 src/http.c:2257
#, c-format
msgid ", %s remaining"
msgstr ", %s restant"
#: src/ftp.c:234
msgid " (unauthoritative)\n"
msgstr " (no autoritatiu)\n"
#: src/ftp.c:315
#, c-format
msgid "Logging in as %s ... "
msgstr "S'està entrant com a «%s» ... "
#: src/ftp.c:329 src/ftp.c:375 src/ftp.c:404 src/ftp.c:469 src/ftp.c:699
#: src/ftp.c:752 src/ftp.c:781 src/ftp.c:838 src/ftp.c:899 src/ftp.c:991
#: src/ftp.c:1038
msgid "Error in server response, closing control connection.\n"
msgstr ""
"S'ha produït un error en la resposta del servidor, es tanca la connexió de "
"control.\n"
#: src/ftp.c:336
msgid "Error in server greeting.\n"
msgstr "S'ha produït un error en el missatge de benvinguda del servidor.\n"
#: src/ftp.c:343 src/ftp.c:477 src/ftp.c:707 src/ftp.c:789 src/ftp.c:848
#: src/ftp.c:909 src/ftp.c:1001 src/ftp.c:1048
msgid "Write failed, closing control connection.\n"
msgstr ""
"S'ha produït un error d'escriptura, s'està tancant la connexió de control.\n"
#: src/ftp.c:349
msgid "The server refuses login.\n"
msgstr "El servidor rebutja les peticions d'entrada.\n"
#: src/ftp.c:355
msgid "Login incorrect.\n"
msgstr "Entrada incorrecta.\n"
#: src/ftp.c:361
msgid "Logged in!\n"
msgstr "S'ha entrat amb èxit!\n"
#: src/ftp.c:383
msgid "Server error, can't determine system type.\n"
msgstr ""
"S'ha produït un error del servidor, no es pot determinar el tipus de "
"sistema.\n"
#: src/ftp.c:392 src/ftp.c:825 src/ftp.c:882 src/ftp.c:925
msgid "done. "
msgstr "fet. "
#: src/ftp.c:457 src/ftp.c:724 src/ftp.c:764 src/ftp.c:1021 src/ftp.c:1067
msgid "done.\n"
msgstr "fet.\n"
#: src/ftp.c:484
#, c-format
msgid "Unknown type `%c', closing control connection.\n"
msgstr "El tipus «%c» és desconegut , es tanca la connexió de control.\n"
#: src/ftp.c:496
msgid "done. "
msgstr "fet. "
#: src/ftp.c:502
msgid "==> CWD not needed.\n"
msgstr "==> CWD innecessari.\n"
#: src/ftp.c:713
#, fuzzy, c-format
msgid ""
"No such directory %s.\n"
"\n"
msgstr ""
"El directori «%s» no existeix.\n"
"\n"
#: src/ftp.c:734
msgid "==> CWD not required.\n"
msgstr "==> CWD no requerit.\n"
#: src/ftp.c:795
msgid "Cannot initiate PASV transfer.\n"
msgstr "No s'ha pogut iniciar la transferència PASV.\n"
#: src/ftp.c:799
msgid "Cannot parse PASV response.\n"
msgstr "No s'ha pogut analitzar la resposta PASV.\n"
#: src/ftp.c:816
#, c-format
msgid "couldn't connect to %s port %d: %s\n"
msgstr "no s'ha pogut connectar a %s port %d: %s\n"
#: src/ftp.c:864
#, c-format
msgid "Bind error (%s).\n"
msgstr "S'ha produït un error en vincular (%s).\n"
#: src/ftp.c:870
msgid "Invalid PORT.\n"
msgstr "PORT incorrecte.\n"
#: src/ftp.c:916
msgid ""
"\n"
"REST failed, starting from scratch.\n"
msgstr ""
"\n"
"REST ha fallat, s'està començant des del principi.\n"
#: src/ftp.c:957
#, fuzzy, c-format
msgid "File %s exists.\n"
msgstr ""
"El fitxer remot existeix.\n"
"\n"
#: src/ftp.c:963
#, fuzzy, c-format
msgid "No such file %s.\n"
msgstr ""
"El fitxer «%s» no existeix.\n"
"\n"
#: src/ftp.c:1009
#, fuzzy, c-format
msgid ""
"No such file %s.\n"
"\n"
msgstr ""
"El fitxer «%s» no existeix.\n"
"\n"
#: src/ftp.c:1056
#, fuzzy, c-format
msgid ""
"No such file or directory %s.\n"
"\n"
msgstr ""
"El fitxer o directori «%s» no existeix.\n"
"\n"
#: src/ftp.c:1187 src/http.c:2344
#, c-format
msgid "%s has sprung into existence.\n"
msgstr "%s ha començat a existir.\n"
#: src/ftp.c:1239
#, c-format
msgid "%s: %s, closing control connection.\n"
msgstr "%s: %s, es tanca la connexió de control.\n"
#: src/ftp.c:1248
#, c-format
msgid "%s (%s) - Data connection: %s; "
msgstr "%s (%s) - Connexió de dades: %s; "
#: src/ftp.c:1263
msgid "Control connection closed.\n"
msgstr "Connexió de control tancada.\n"
#: src/ftp.c:1281
msgid "Data transfer aborted.\n"
msgstr "S'ha avortat la transferència de dades.\n"
#: src/ftp.c:1381
#, fuzzy, c-format
msgid "File %s already there; not retrieving.\n"
msgstr "El fitxer «%s» ja existeix, no es baixa.\n"
#: src/ftp.c:1447 src/http.c:2529
#, c-format
msgid "(try:%2d)"
msgstr "(intent:%2d)"
#: src/ftp.c:1522 src/http.c:2873
#, fuzzy, c-format
msgid ""
"%s (%s) - written to stdout %s[%s]\n"
"\n"
msgstr ""
"%s (%s) - s'ha desat «%s» [%s/%s]\n"
"\n"
#: src/ftp.c:1523 src/http.c:2874
#, fuzzy, c-format
msgid ""
"%s (%s) - %s saved [%s]\n"
"\n"
msgstr ""
"%s (%s) - s'ha desat «%s» [%s]\n"
"\n"
#: src/ftp.c:1568 src/main.c:1301 src/recur.c:438 src/retr.c:990
#, c-format
msgid "Removing %s.\n"
msgstr "S'està suprimint %s.\n"
#: src/ftp.c:1610
#, fuzzy, c-format
msgid "Using %s as listing tmp file.\n"
msgstr "S'utilitza «%s» com a fitxer de llistat temporal.\n"
#: src/ftp.c:1627
#, fuzzy, c-format
msgid "Removed %s.\n"
msgstr "S'ha suprimit «%s».\n"
#: src/ftp.c:1664
#, c-format
msgid "Recursion depth %d exceeded max. depth %d.\n"
msgstr "La profunditat de recursió %d excedeix el màxim permès %d.\n"
#: src/ftp.c:1734
#, fuzzy, c-format
msgid "Remote file no newer than local file %s -- not retrieving.\n"
msgstr "El fitxer remot no és més nou que el local «%s» -- no es baixa.\n"
#: src/ftp.c:1741
#, fuzzy, c-format
msgid ""
"Remote file is newer than local file %s -- retrieving.\n"
"\n"
msgstr ""
"El fitxer remot és més nou que el local «%s» -- s'està baixant.\n"
"\n"
#: src/ftp.c:1748
#, c-format
msgid ""
"The sizes do not match (local %s) -- retrieving.\n"
"\n"
msgstr ""
"Els fitxers no tenen la mateixa mida (local %s) -- s'està baixant.\n"
"\n"
#: src/ftp.c:1766
msgid "Invalid name of the symlink, skipping.\n"
msgstr "El nom de l'enllaç simbòlic no és correcte; s'omet.\n"
#: src/ftp.c:1783
#, c-format
msgid ""
"Already have correct symlink %s -> %s\n"
"\n"
msgstr ""
"Ja hi ha un enllaç simbòlic correcte %s -> %s\n"
"\n"
#: src/ftp.c:1792
#, c-format
msgid "Creating symlink %s -> %s\n"
msgstr "S'està creant l'enllaç simbòlic %s -> %s\n"
#: src/ftp.c:1802
#, fuzzy, c-format
msgid "Symlinks not supported, skipping symlink %s.\n"
msgstr "No es suporten enllaços simbòlics; s'omet l'enllaç «%s».\n"
#: src/ftp.c:1814
#, fuzzy, c-format
msgid "Skipping directory %s.\n"
msgstr "S'està ometent el directori «%s».\n"
#: src/ftp.c:1823
#, c-format
msgid "%s: unknown/unsupported file type.\n"
msgstr "%s: tipus de fitxer desconegut o no suportat.\n"
#: src/ftp.c:1860
#, c-format
msgid "%s: corrupt time-stamp.\n"
msgstr "%s: la marca de temps és corrupta..\n"
#: src/ftp.c:1882
#, c-format
msgid "Will not retrieve dirs since depth is %d (max %d).\n"
msgstr "No es baixaran els directoris ja que la profunditat és %d (max %d).\n"
#: src/ftp.c:1932
#, fuzzy, c-format
msgid "Not descending to %s as it is excluded/not-included.\n"
msgstr "No es descendeix a «%s» ja que està exclòs, o no inclòs.\n"
#: src/ftp.c:1998 src/ftp.c:2012
#, fuzzy, c-format
msgid "Rejecting %s.\n"
msgstr "S'està rebutjant «%s».\n"
#: src/ftp.c:2035
#, c-format
msgid "Error matching %s against %s: %s\n"
msgstr "S'ha produït un error en comparar %s amb %s: %s\n"
#: src/ftp.c:2091
#, fuzzy, c-format
msgid "No matches on pattern %s.\n"
msgstr "Cap coincidència amb el patró «%s».\n"
#: src/ftp.c:2162
#, fuzzy, c-format
msgid "Wrote HTML-ized index to %s [%s].\n"
msgstr "S'ha escrit un índex HTMLitzat a «%s» [%s].\n"
#: src/ftp.c:2167
#, fuzzy, c-format
msgid "Wrote HTML-ized index to %s.\n"
msgstr "S'ha escrit un índex HTMLitzat a «%s».\n"
#: src/gnutls.c:220 src/openssl.c:495
msgid "ERROR"
msgstr "ERROR"
#: src/gnutls.c:220 src/openssl.c:495
msgid "WARNING"
msgstr "AVÍS"
#: src/gnutls.c:226 src/openssl.c:504
#, c-format
msgid "%s: No certificate presented by %s.\n"
msgstr "%s: %s no ha presentat cap certificat.\n"
#: src/gnutls.c:234
#, fuzzy, c-format
msgid "%s: The certificate of %s is not trusted.\n"
msgstr "%s: %s no ha presentat cap certificat.\n"
#: src/gnutls.c:240
#, c-format
msgid "%s: The certificate of %s hasn't got a known issuer.\n"
msgstr ""
#: src/gnutls.c:246
#, fuzzy, c-format
msgid "%s: The certificate of %s has been revoked.\n"
msgstr " El certificat ha caducat.\n"
#: src/gnutls.c:260
#, c-format
msgid "Error initializing X509 certificate: %s\n"
msgstr ""
#: src/gnutls.c:269
#, fuzzy
msgid "No certificate found\n"
msgstr "%s: %s no ha presentat cap certificat.\n"
#: src/gnutls.c:276
#, fuzzy, c-format
msgid "Error parsing certificate: %s\n"
msgstr ""
"S'ha produït un error en analitzar la URL del servidor intermediari %s: %s.\n"
#: src/gnutls.c:283
#, fuzzy
msgid "The certificate has not yet been activated\n"
msgstr " El certificat encara no és vàlid.\n"
#: src/gnutls.c:288
#, fuzzy
msgid "The certificate has expired\n"
msgstr " El certificat ha caducat.\n"
#: src/gnutls.c:294
#, fuzzy, c-format
msgid "The certificate's owner does not match hostname %s\n"
msgstr ""
"%s: el nom comú «%s» del certificat no concorda amb el nom del servidor "
"demanat «%s».\n"
#: src/host.c:358
msgid "Unknown host"
msgstr "Servidor desconegut"
#: src/host.c:362
msgid "Temporary failure in name resolution"
msgstr "S'ha produït un error temporal en la resolució de noms"
#: src/host.c:364
msgid "Unknown error"
msgstr "S'ha produït un error desconegut"
#: src/host.c:737
#, c-format
msgid "Resolving %s... "
msgstr "S'està resolent %s... "
#: src/host.c:789
msgid "failed: No IPv4/IPv6 addresses for host.\n"
msgstr "error: No hi ha adreces IPv4/IPv6 per al servidor.\n"
#: src/host.c:812
msgid "failed: timed out.\n"
msgstr "error: s'ha exhaurit el temps.\n"
#: src/html-url.c:286
#, c-format
msgid "%s: Cannot resolve incomplete link %s.\n"
msgstr "%s: No s'ha pogut resoldre l'enllaç incomplet %s.\n"
#: src/html-url.c:772
#, c-format
msgid "%s: Invalid URL %s: %s\n"
msgstr "%s: L'URL %s no és vàlid: %s\n"
#: src/http.c:377
#, c-format
msgid "Failed writing HTTP request: %s.\n"
msgstr "S'ha produït un error en escriure la petició HTTP: %s.\n"
#: src/http.c:754
msgid "No headers, assuming HTTP/0.9"
msgstr "No hi ha capçaleres, s'assumeix HTTP/0.9"
#: src/http.c:1456
msgid "Disabling SSL due to encountered errors.\n"
msgstr "S'està inhabilitant SSL a causa dels errors trobats.\n"
#: src/http.c:1576
#, fuzzy, c-format
msgid "POST data file %s missing: %s\n"
msgstr "Manca el fitxer de dades POST «%s»: %s\n"
#: src/http.c:1660
#, c-format
msgid "Reusing existing connection to %s:%d.\n"
msgstr "S'està reutilitzant la connexió a %s:%d.\n"
#: src/http.c:1729
#, c-format
msgid "Failed reading proxy response: %s\n"
msgstr ""
"S'ha produït un error en llegir la resposta del servidor intermediari: %s\n"
#: src/http.c:1750
#, c-format
msgid "Proxy tunneling failed: %s"
msgstr "Ha fallat la tunelització del servidor intermediari: %s"
#: src/http.c:1800
#, c-format
msgid "%s request sent, awaiting response... "
msgstr "%s: s'ha enviat la petició, s'està esperant una resposta..."
#: src/http.c:1811
msgid "No data received.\n"
msgstr "No s'ha rebut cap dada\n"
#: src/http.c:1818
#, c-format
msgid "Read error (%s) in headers.\n"
msgstr "S'ha produït un error de lectura (%s) a les capçaleres.\n"
#: src/http.c:1932
msgid "Unknown authentication scheme.\n"
msgstr "L'esquema d'autenticació és desconegut.\n"
#: src/http.c:1966
msgid "Authorization failed.\n"
msgstr "Ha fallat l'autorització.\n"
#: src/http.c:2004 src/http.c:2471
#, fuzzy, c-format
msgid ""
"File %s already there; not retrieving.\n"
"\n"
msgstr ""
"El fitxer «%s» ja existeix, no es baixa.\n"
"\n"
#: src/http.c:2093
msgid "Malformed status line"
msgstr "La línia d'estat és malformada"
#: src/http.c:2095
msgid "(no description)"
msgstr "(sense descripció)"
#: src/http.c:2154
#, c-format
msgid "Location: %s%s\n"
msgstr "Ubicació: %s%s\n"
# és femení: ubicació/mida. eac
#: src/http.c:2155 src/http.c:2263
msgid "unspecified"
msgstr "no especificada"
#: src/http.c:2156
msgid " [following]"
msgstr " [es segueix]"
#: src/http.c:2208
msgid ""
"\n"
" The file is already fully retrieved; nothing to do.\n"
"\n"
msgstr ""
"\n"
" El fitxer ja s'ha baixat totalment; res a fer.\n"
"\n"
#: src/http.c:2243
msgid "Length: "
msgstr "Mida: "
#: src/http.c:2263
msgid "ignored"
msgstr "s'ignora"
#: src/http.c:2365
#, fuzzy, c-format
msgid "Saving to: %s\n"
msgstr "S'està desant a: «%s»\n"
#: src/http.c:2447
msgid "Warning: wildcards not supported in HTTP.\n"
msgstr "Avís: En HTTP no es suporten patrons.\n"
#: src/http.c:2518
msgid "Spider mode enabled. Check if remote file exists.\n"
msgstr "Mode aranya habilitat. Comprova si el fitxer remot existeix.\n"
#: src/http.c:2603
#, fuzzy, c-format
msgid "Cannot write to %s (%s).\n"
msgstr "No s'ha pogut escriure a «%s» (%s).\n"
#: src/http.c:2612
msgid "Unable to establish SSL connection.\n"
msgstr "No s'ha pogut establir la connexió SSL.\n"
#: src/http.c:2620
#, c-format
msgid "ERROR: Redirection (%d) without location.\n"
msgstr "ERROR: Redirecció (%d) sense ubicació.\n"
#: src/http.c:2668
msgid "Remote file does not exist -- broken link!!!\n"
msgstr "El fitxer remot no existeix -- enllaç trencat!\n"
#: src/http.c:2673
#, c-format
msgid "%s ERROR %d: %s.\n"
msgstr "%s ERROR: %d %s.\n"
#: src/http.c:2690
msgid "Last-modified header missing -- time-stamps turned off.\n"
msgstr ""
"Falta la capçalera Last-modified -- s'han inhabilitat les marques de temps.\n"
#: src/http.c:2698
msgid "Last-modified header invalid -- time-stamp ignored.\n"
msgstr "Capçalera Last-modified no vàlida -- s'omet la marca de temps.\n"
#: src/http.c:2728
#, fuzzy, c-format
msgid ""
"Server file no newer than local file %s -- not retrieving.\n"
"\n"
msgstr ""
"El fitxer remot no és més nou que el local «%s» -- no es baixa.\n"
"\n"
#: src/http.c:2736
#, c-format
msgid "The sizes do not match (local %s) -- retrieving.\n"
msgstr "Les mides dels fitxers no coincideixen (local %s) -- s'està baixant.\n"
#: src/http.c:2743
msgid "Remote file is newer, retrieving.\n"
msgstr "El fitxer remot és més nou, s'està baixant.\n"
#: src/http.c:2760
msgid ""
"Remote file exists and could contain links to other resources -- "
"retrieving.\n"
"\n"
msgstr ""
"El fitxer remot existeix i pot contenir enllaços a altres recursos -- s'està "
"obtenint.\n"
"\n"
#: src/http.c:2766
msgid ""
"Remote file exists but does not contain any link -- not retrieving.\n"
"\n"
msgstr ""
"El fitxer remot existeix però no conté cap enllaç -- no s'obté.\n"
"\n"
#: src/http.c:2775
msgid ""
"Remote file exists and could contain further links,\n"
"but recursion is disabled -- not retrieving.\n"
"\n"
msgstr ""
"El fitxer remot existeix i podria contenir més enllaços,\n"
"però la recursió és inhabilitada -- no es baixa.\n"
"\n"
#: src/http.c:2781
msgid ""
"Remote file exists.\n"
"\n"
msgstr ""
"El fitxer remot existeix.\n"
"\n"
#: src/http.c:2790
#, fuzzy, c-format
msgid "%s URL: %s %2d %s\n"
msgstr "%s: L'URL %s no és vàlid: %s\n"
#: src/http.c:2837
#, fuzzy, c-format
msgid ""
"%s (%s) - written to stdout %s[%s/%s]\n"
"\n"
msgstr ""
"%s (%s) - s'ha desat «%s» [%s/%s]\n"
"\n"
#: src/http.c:2838
#, fuzzy, c-format
msgid ""
"%s (%s) - %s saved [%s/%s]\n"
"\n"
msgstr ""
"%s (%s) - s'ha desat «%s» [%s/%s]\n"
"\n"
#: src/http.c:2899
#, c-format
msgid "%s (%s) - Connection closed at byte %s. "
msgstr "%s (%s) - S'ha tancat la connexió a l'octet %s. "
#: src/http.c:2922
#, c-format
msgid "%s (%s) - Read error at byte %s (%s)."
msgstr "%s (%s) - S'ha produït un error de lectura a l'octet %s (%s)."
#: src/http.c:2931
#, c-format
msgid "%s (%s) - Read error at byte %s/%s (%s). "
msgstr "%s (%s) - S'ha produït un error de lectura a l'octet %s/%s (%s). "
#: src/init.c:406
#, c-format
msgid "%s: WGETRC points to %s, which doesn't exist.\n"
msgstr "%s: La variable WGETRC apunta a %s, que no existeix.\n"
#: src/init.c:510 src/netrc.c:282
#, c-format
msgid "%s: Cannot read %s (%s).\n"
msgstr "%s: No s'ha pogut llegir %s (%s).\n"
#: src/init.c:527
#, c-format
msgid "%s: Error in %s at line %d.\n"
msgstr "%s: S'ha produït un error a %s, línia %d.\n"
#: src/init.c:533
#, c-format
msgid "%s: Syntax error in %s at line %d.\n"
msgstr "%s: S'ha produït un error de sintaxi a %s, línia %d.\n"
#: src/init.c:538
#, fuzzy, c-format
msgid "%s: Unknown command %s in %s at line %d.\n"
msgstr "%s: L'ordre «%s» és desconeguda a %s, línia %d.\n"
# es refereix a variables d'entorn o què? eac
# es refereix als dotfiles .wgetrc, etc. jm
#: src/init.c:587
#, fuzzy, c-format
msgid "%s: Warning: Both system and user wgetrc point to %s.\n"
msgstr "%s: Avís: L'wgetrc del sistema i de l'usuari apunten a «%s».\n"
#: src/init.c:777
#, fuzzy, c-format
msgid "%s: Invalid --execute command %s\n"
msgstr "%s: L'ordre --execute «%s» no és vàlida.\n"
#: src/init.c:822
#, fuzzy, c-format
msgid "%s: %s: Invalid boolean %s; use `on' or `off'.\n"
msgstr "%s: %s: El booleà «%s» no és vàlid; useu «on» o «off».\n"
#: src/init.c:839
#, fuzzy, c-format
msgid "%s: %s: Invalid number %s.\n"
msgstr "%s: %s: El número «%s» no és vàlid.\n"
#: src/init.c:1044 src/init.c:1063
#, fuzzy, c-format
msgid "%s: %s: Invalid byte value %s\n"
msgstr "%s: %s: L'octet «%s» no és vàlid.\n"
#: src/init.c:1088
#, fuzzy, c-format
msgid "%s: %s: Invalid time period %s\n"
msgstr "%s: %s: El període de temps «%s» no és vàlid.\n"
#: src/init.c:1142 src/init.c:1232 src/init.c:1340 src/init.c:1365
#, fuzzy, c-format
msgid "%s: %s: Invalid value %s.\n"
msgstr "%s: %s: El valor «%s» no és vàlid.\n"
#: src/init.c:1179
#, fuzzy, c-format
msgid "%s: %s: Invalid header %s.\n"
msgstr "%s: %s: La capçalera «%s» no és vàlida.\n"
#: src/init.c:1245
#, fuzzy, c-format
msgid "%s: %s: Invalid progress type %s.\n"
msgstr "%s: %s: El tipus d'indicador de progrés «%s» no és vàlid.\n"
#: src/init.c:1306
#, fuzzy, c-format
msgid ""
"%s: %s: Invalid restriction %s,\n"
" use [unix|windows],[lowercase|uppercase],[nocontrol],[ascii].\n"
msgstr ""
"%s: %s: La restricció «%s» no és vàlida, useu [unix|windows],[lowercase|"
"uppercase],[nocontrol].\n"
#: src/iri.c:104
#, c-format
msgid "Encoding %s isn't valid\n"
msgstr ""
#: src/iri.c:132
msgid "locale_to_utf8: locale is unset\n"
msgstr ""
#: src/iri.c:142
#, c-format
msgid "Conversion from %s to %s isn't supported\n"
msgstr ""
#: src/iri.c:183
msgid "Incomplete or invalid multibyte sequence encountered\n"
msgstr ""
#: src/iri.c:208
#, c-format
msgid "Unhandled errno %d\n"
msgstr ""
#: src/iri.c:237
#, c-format
msgid "idn_encode failed (%d): %s\n"
msgstr ""
#: src/iri.c:256
#, c-format
msgid "idn_decode failed (%d): %s\n"
msgstr ""
#: src/log.c:809
#, fuzzy, c-format
msgid ""
"\n"
"%s received, redirecting output to %s.\n"
msgstr ""
"\n"
"%s rebut, la sortida es redirigeix a «%s».\n"
#: src/log.c:819
#, c-format
msgid ""
"\n"
"%s received.\n"
msgstr ""
"\n"
"S'ha rebut %s.\n"
#: src/log.c:820
#, c-format
msgid "%s: %s; disabling logging.\n"
msgstr "%s: %s; s'està inhabilitant el registre.\n"
#: src/main.c:386
#, c-format
msgid "Usage: %s [OPTION]... [URL]...\n"
msgstr "Forma d'ús: %s [OPCIÓ]... [URL]...\n"
#: src/main.c:398
msgid ""
"Mandatory arguments to long options are mandatory for short options too.\n"
"\n"
msgstr ""
"Els arguments obligatoris per les opcions llargues també ho són per les "
"curtes.\n"
"\n"
#: src/main.c:400
msgid "Startup:\n"
msgstr "Inici:\n"
#: src/main.c:402
msgid " -V, --version display the version of Wget and exit.\n"
msgstr " -V, --version mostra la versió del Wget i surt.\n"
#: src/main.c:404
msgid " -h, --help print this help.\n"
msgstr " -h, --help mostra aquesta ajuda.\n"
#: src/main.c:406
msgid " -b, --background go to background after startup.\n"
msgstr " -b, --background vés a segon terme després de l'inici.\n"
#: src/main.c:408
msgid " -e, --execute=COMMAND execute a `.wgetrc'-style command.\n"
msgstr " -e, --execute=ORDRE executa una ordre d'estil «.wgetrc».\n"
#: src/main.c:412
msgid "Logging and input file:\n"
msgstr "Registres i fitxer d'entrada:\n"
#: src/main.c:414
msgid " -o, --output-file=FILE log messages to FILE.\n"
msgstr ""
" -o, --output-file=FITXER desa els missatges del programa a FITXER.\n"
#: src/main.c:416
msgid " -a, --append-output=FILE append messages to FILE.\n"
msgstr " -a, --append-output=FITXER afegeix els missatges a FITXER.\n"
#: src/main.c:419
msgid " -d, --debug print lots of debugging information.\n"
msgstr " -d, --debug mostra molta informació de depuració.\n"
#: src/main.c:423
msgid " --wdebug print Watt-32 debug output.\n"
msgstr ""
" --wdebug mostra informació de depuració de Watt-32.\n"
#: src/main.c:426
msgid " -q, --quiet quiet (no output).\n"
msgstr " -q, --quiet mode silenciós (cap sortida).\n"
#: src/main.c:428
msgid " -v, --verbose be verbose (this is the default).\n"
msgstr " -v, --verbose mode detallat (per defecte).\n"
#: src/main.c:430
msgid ""
" -nv, --no-verbose turn off verboseness, without being quiet.\n"
msgstr ""
" -nv, --non-verbose mode no detallat, però tampoc del tot "
"silenciós.\n"
#: src/main.c:432
#, fuzzy
msgid ""
" -i, --input-file=FILE download URLs found in local or external FILE.\n"
msgstr " -i, --input-file=FITXER llegeix les URL de FITXER.\n"
#: src/main.c:434
msgid " -F, --force-html treat input file as HTML.\n"
msgstr " -F, --force-html tracta el fitxer d'entrada com a HTML.\n"
#: src/main.c:436
#, fuzzy
msgid ""
" -B, --base=URL resolves HTML input-file links (-i -F)\n"
" relative to URL.\n"
msgstr ""
" -N, --timestamping només baixa fitxers més nous que els "
"locals.\n"
#: src/main.c:441
msgid "Download:\n"
msgstr "Descàrrega:\n"
#: src/main.c:443
msgid ""
" -t, --tries=NUMBER set number of retries to NUMBER (0 "
"unlimits).\n"
msgstr ""
" -t, --tries=NOMBRE estableix el nombre de reintents (0=sense "
"limit).\n"
#: src/main.c:445
msgid " --retry-connrefused retry even if connection is refused.\n"
msgstr ""
" --retry-connrefused reintenta encara que es rebutje la "
"connexió.\n"
#: src/main.c:447
msgid " -O, --output-document=FILE write documents to FILE.\n"
msgstr " -O, --output-document=FITXER escriu els documents a FITXER.\n"
#: src/main.c:449
msgid ""
" -nc, --no-clobber skip downloads that would download to\n"
" existing files.\n"
msgstr ""
" -nc, --no-clobber omet descàrregues de fitxers ja existents.\n"
#: src/main.c:452
msgid ""
" -c, --continue resume getting a partially-downloaded "
"file.\n"
msgstr ""
" -c, -continue continua obtenint un fitxer descàrregat "
"parcialment.\n"
#: src/main.c:454
msgid " --progress=TYPE select progress gauge type.\n"
msgstr ""
" --progress=TIPUS selecciona el tipus d'indicador de "
"progrés.\n"
#: src/main.c:456
msgid ""
" -N, --timestamping don't re-retrieve files unless newer than\n"
" local.\n"
msgstr ""
" -N, --timestamping només baixa fitxers més nous que els "
"locals.\n"
#: src/main.c:459
msgid " -S, --server-response print server response.\n"
msgstr " -S, --server-response mostra les respostes del servidor.\n"
#: src/main.c:461
msgid " --spider don't download anything.\n"
msgstr " --spider no baixes res.\n"
#: src/main.c:463
msgid " -T, --timeout=SECONDS set all timeout values to SECONDS.\n"
msgstr ""
" -T, --timeout=SEGONS estableix tots els temps d'espera a "
"SEGONS.\n"
#: src/main.c:465
msgid " --dns-timeout=SECS set the DNS lookup timeout to SECS.\n"
msgstr ""
" --dns-timeout=SEGONS estableix el temps d'espera de DNS a "
"SEGONS.\n"
#: src/main.c:467
msgid " --connect-timeout=SECS set the connect timeout to SECS.\n"
msgstr ""
" --connect-timeout=SEGONS estableix el temps d'espera de connexió a\n"
" SEGONS.\n"
#: src/main.c:469
msgid " --read-timeout=SECS set the read timeout to SECS.\n"
msgstr ""
" --read-timeout=SEGONS estableix el temps d'espera de lectura en\n"
" SEGONS.\n"
#: src/main.c:471
msgid " -w, --wait=SECONDS wait SECONDS between retrievals.\n"
msgstr ""
" -w, --wait=SEGONS fes una pausa de SEGONS entre "
"descàrregues.\n"
#: src/main.c:473
msgid ""
" --waitretry=SECONDS wait 1..SECONDS between retries of a "
"retrieval.\n"
msgstr ""
" --waitretry=SEGONS fes una pausa entre intents de descàrrega "
"de\n"
" 1...SEGONS.\n"
#: src/main.c:475
msgid ""
" --random-wait wait from 0...2*WAIT secs between "
"retrievals.\n"
msgstr ""
" --random-wait fes una pausa de 0...2*PAUSA segons entre "
"descàrregues.\n"
#: src/main.c:477
msgid " --no-proxy explicitly turn off proxy.\n"
msgstr ""
" --no-proxy inhabilita explícitament l'ús del servidor\n"
" intermediari.\n"
#: src/main.c:479
msgid " -Q, --quota=NUMBER set retrieval quota to NUMBER.\n"
msgstr ""
" -Q, --quota=NOMBRE estableix la quota de descàrrega en "
"NOMBRE.\n"
#: src/main.c:481
msgid ""
" --bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local "
"host.\n"
msgstr ""
" --bind-address=ADREÇA vincula't a l'ADREÇA (nom del servidor o IP) "
"a\n"
" localhost.\n"
#: src/main.c:483
msgid " --limit-rate=RATE limit download rate to RATE.\n"
msgstr ""
" --limit-rate=NOMBRE estableix el límit d'octets per segon.\n"
#: src/main.c:485
msgid " --no-dns-cache disable caching DNS lookups.\n"
msgstr ""
" --no-dns-cache no uses memòria cau en la resolució de "
"noms\n"
" de domini.\n"
#: src/main.c:487
msgid ""
" --restrict-file-names=OS restrict chars in file names to ones OS "
"allows.\n"
msgstr ""
" --restrict-file-names=SO restringeix determinats caràcters dels noms\n"
" dels fitxers als que el SO (sistema "
"operatiu)\n"
" permeta.\n"
#: src/main.c:489
msgid ""
" --ignore-case ignore case when matching files/"
"directories.\n"
msgstr ""
" --ignore-case descarta les diferències de capitalització "
"quan\n"
" es busquen fitxers/directoris coincidents.\n"
#: src/main.c:492
msgid " -4, --inet4-only connect only to IPv4 addresses.\n"
msgstr " -4, --inet4-only connecta només a adreces IPv4.\n"
#: src/main.c:494
msgid " -6, --inet6-only connect only to IPv6 addresses.\n"
msgstr " -6, --inet6-only connecta només a adreces IPv6.\n"
#: src/main.c:496
msgid ""
" --prefer-family=FAMILY connect first to addresses of specified "
"family,\n"
" one of IPv6, IPv4, or none.\n"
msgstr ""
" --prefer-family=FAMILIA connecta primer a les adreces de la família "
"especificada,\n"
" IPv6, IPv4 o cap.\n"
#: src/main.c:500
msgid " --user=USER set both ftp and http user to USER.\n"
msgstr ""
" --user=USUARI estableix els usuaris de ftp i http a "
"USUARI.\n"
#: src/main.c:502
msgid ""
" --password=PASS set both ftp and http password to PASS.\n"
msgstr ""
" --password=CONTRASENYA estableix la contrasenya de ftp i http a\n"
" CONTRASENYA.\n"
#: src/main.c:504
#, fuzzy
msgid " --ask-password prompt for passwords.\n"
msgstr ""
" --password=CONTRASENYA estableix la contrasenya de ftp i http a\n"
" CONTRASENYA.\n"
#: src/main.c:506
#, fuzzy
msgid " --no-iri turn off IRI support.\n"
msgstr ""
" --no-proxy inhabilita explícitament l'ús del servidor\n"
" intermediari.\n"
#: src/main.c:508
msgid ""
" --local-encoding=ENC use ENC as the local encoding for IRIs.\n"
msgstr ""
#: src/main.c:510
msgid ""
" --remote-encoding=ENC use ENC as the default remote encoding.\n"
msgstr ""
#: src/main.c:514
msgid "Directories:\n"
msgstr "Directoris:\n"
#: src/main.c:516
msgid " -nd, --no-directories don't create directories.\n"
msgstr " -nd, --no-directories no crees directoris.\n"
#: src/main.c:518
msgid " -x, --force-directories force creation of directories.\n"
msgstr " -x, --force-directories força la creació de directoris.\n"
#: src/main.c:520
msgid " -nH, --no-host-directories don't create host directories.\n"
msgstr ""
" -nH, --no-host-directories no crees els directoris del servidor.\n"
#: src/main.c:522
msgid " --protocol-directories use protocol name in directories.\n"
msgstr ""
" --protocol-directories usa el nom del protocol als directoris.\n"
#: src/main.c:524
msgid " -P, --directory-prefix=PREFIX save files to PREFIX/...\n"
msgstr " -P, --directory-prefix=PREFIX desa els fitxers a PREFIX/...\n"
#: src/main.c:526
msgid ""
" --cut-dirs=NUMBER ignore NUMBER remote directory "
"components.\n"
msgstr ""
" --cut-dirs=NOMBRE omet NOMBRE components de l'estructura de\n"
" directoris remota.\n"
#: src/main.c:530
msgid "HTTP options:\n"
msgstr "Opcions de HTTP:\n"
#: src/main.c:532
msgid " --http-user=USER set http user to USER.\n"
msgstr " --http-user=USUARI estableix l'usuari http en USUARI.\n"
#: src/main.c:534
msgid " --http-password=PASS set http password to PASS.\n"
msgstr ""
" --http-passwd=PASS estableix la contrasenya http en PASS.\n"
#: src/main.c:536
msgid " --no-cache disallow server-cached data.\n"
msgstr ""
" --no-cache no admetes dades de la memòria cau del "
"servidor.\n"
#: src/main.c:538
msgid ""
" --default-page=NAME Change the default page name (normally\n"
" this is `index.html'.).\n"
msgstr ""
#: src/main.c:541
#, fuzzy
msgid ""
" -E, --adjust-extension save HTML/CSS documents with proper "
"extensions.\n"
msgstr ""
" -E, --html-extension desa els documents HTML amb l'extensió «."
"html».\n"
#: src/main.c:543
msgid " --ignore-length ignore `Content-Length' header field.\n"
msgstr ""
" --ignore-length descarta la capçalera «Content-Length».\n"
#: src/main.c:545
msgid " --header=STRING insert STRING among the headers.\n"
msgstr " --header=CADENA insereix CADENA entre les capçaleres.\n"
#: src/main.c:547
msgid " --max-redirect maximum redirections allowed per page.\n"
msgstr ""
" --max-redirect redireccions màximes permeses per pàgina.\n"
#: src/main.c:549
msgid " --proxy-user=USER set USER as proxy username.\n"
msgstr ""
" --proxy-user=USUARI estableix l'usuari pel proxy a USUARI.\n"
#: src/main.c:551
msgid " --proxy-password=PASS set PASS as proxy password.\n"
msgstr ""
" --proxy-passwd=PASS estableix la contrasenya pel proxy a PASS.\n"
#: src/main.c:553
msgid ""
" --referer=URL include `Referer: URL' header in HTTP "
"request.\n"
msgstr ""
" --referer=URL inclou una capçalera «Referer» a la petició "
"HTTP.\n"
#: src/main.c:555
msgid " --save-headers save the HTTP headers to file.\n"
msgstr ""
" --save-headers desa les capçaleres HTTP en un fitxer.\n"
#: src/main.c:557
msgid ""
" -U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION.\n"
msgstr ""
" -U, --user-agent=AGENT identifica't com a AGENT en lloc de Wget/"
"VERSIÓ.\n"
#: src/main.c:559
msgid ""
" --no-http-keep-alive disable HTTP keep-alive (persistent "
"connections).\n"
msgstr ""
" --no-http-keep-alive inhabilita el «keep-alive» de HTTP\n"
" (connexions persistents)\n"
#: src/main.c:561
msgid " --no-cookies don't use cookies.\n"
msgstr " --no-cookies no utilitzes galetes.\n"
#: src/main.c:563
msgid " --load-cookies=FILE load cookies from FILE before session.\n"
msgstr ""
" --load-cookies=FITXER carrega les galetes de FITXER abans de\n"
" la sessió.\n"
#: src/main.c:565
msgid " --save-cookies=FILE save cookies to FILE after session.\n"
msgstr ""
" --save-cookies=FITXER desa les cookies a FITXER després de la "
"sessió.\n"
#: src/main.c:567
msgid ""
" --keep-session-cookies load and save session (non-permanent) "
"cookies.\n"
msgstr ""
" --keep-session-cookies carrega i desa les galetes de la sessió\n"
" (no permanents)\n"
#: src/main.c:569
msgid ""
" --post-data=STRING use the POST method; send STRING as the "
"data.\n"
msgstr ""
" --post-data=CADENA usa el mètode POST, envia CADENA com a "
"dades.\n"
#: src/main.c:571
msgid ""
" --post-file=FILE use the POST method; send contents of FILE.\n"
msgstr ""
" --post-file=FITXER usa el mètode POST, envia els continguts de\n"
" FITXER.\n"
#: src/main.c:573
msgid ""
" --content-disposition honor the Content-Disposition header when\n"
" choosing local file names (EXPERIMENTAL).\n"
msgstr ""
" --content-disposition respecta la capçalera Content-Disposition "
"quan\n"
" es seleccionen noms de fitxers locals\n"
" (EXPERIMENTAL)\n"
#: src/main.c:576
#, fuzzy
msgid ""
" --auth-no-challenge send Basic HTTP authentication information\n"
" without first waiting for the server's\n"
" challenge.\n"
msgstr ""
" --auth-no-challenge Envia informació d'autenticació HTTP bàsica\n"
" sense primer esperar la negociació del\n"
" servidor.\n"
#: src/main.c:583
msgid "HTTPS (SSL/TLS) options:\n"
msgstr "Opcions de HTTPS (SSL/TLS):\n"
#: src/main.c:585
msgid ""
" --secure-protocol=PR choose secure protocol, one of auto, SSLv2,\n"
" SSLv3, and TLSv1.\n"
msgstr ""
" --secure-protocol=PR selecciona el protocol segur, d'entre auto,\n"
" SSLv2, SSLv3, TLSv1.\n"
#: src/main.c:588
msgid ""
" --no-check-certificate don't validate the server's certificate.\n"
msgstr ""
" --no-check-certificate no valides el certificat del servidor.\n"
#: src/main.c:590
msgid " --certificate=FILE client certificate file.\n"
msgstr " --certificat=FITXER fitxer del certificat del client.\n"
#: src/main.c:592
msgid " --certificate-type=TYPE client certificate type, PEM or DER.\n"
msgstr ""
" --certificate-type=TIPUS tipus de certificat del client, PEM o DER.\n"
#: src/main.c:594
msgid " --private-key=FILE private key file.\n"
msgstr " --private-key=FITXER fitxer de clau privada.\n"
#: src/main.c:596
msgid " --private-key-type=TYPE private key type, PEM or DER.\n"
msgstr " --private-key-type=TIPUS tipus de clau privada, PEM o DER.\n"
#: src/main.c:598
msgid " --ca-certificate=FILE file with the bundle of CA's.\n"
msgstr " --ca-certificate=FITXER fitxer amb el conjunt de CA.\n"
#: src/main.c:600
msgid ""
" --ca-directory=DIR directory where hash list of CA's is "
"stored.\n"
msgstr ""
" --ca-directory=DIR directori on s'emmagatzema una llista de\n"
" dispersió de CA.\n"
#: src/main.c:602
msgid ""
" --random-file=FILE file with random data for seeding the SSL "
"PRNG.\n"
msgstr ""
" --random-file=FITXER fitxer amb dades aleatòries per a fer de\n"
" llavor per al SSL PRNG.\n"
#: src/main.c:604
msgid ""
" --egd-file=FILE file naming the EGD socket with random "
"data.\n"
msgstr ""
" --egd-file=FITXER fitxer que anomena el sòcol EGD amb dades "
"aleatòries.\n"
"\n"
#: src/main.c:609
msgid "FTP options:\n"
msgstr "Opcions de FTP:\n"
#: src/main.c:612
msgid ""
" --ftp-stmlf Use Stream_LF format for all binary FTP "
"files.\n"
msgstr ""
#: src/main.c:615
msgid " --ftp-user=USER set ftp user to USER.\n"
msgstr " --ftp-user=USUARI estableix l'usuari de ftp a USUARI.\n"
#: src/main.c:617
msgid " --ftp-password=PASS set ftp password to PASS.\n"
msgstr ""
" --ftp-password=PASS estableix la contrasenya de ftp a PASS.\n"
#: src/main.c:619
msgid " --no-remove-listing don't remove `.listing' files.\n"
msgstr " --no-remove-listing no suprimeixes els fitxers «.listing».\n"
#: src/main.c:621
msgid " --no-glob turn off FTP file name globbing.\n"
msgstr ""
" --no-glob inhabilita l'ús de comodins de fitxers per a "
"FTP.\n"
#: src/main.c:623
msgid " --no-passive-ftp disable the \"passive\" transfer mode.\n"
msgstr ""
" --no-passive-ftp inhabilita el mode de transferència «passiu».\n"
#: src/main.c:625
msgid ""
" --retr-symlinks when recursing, get linked-to files (not "
"dir).\n"
msgstr ""
" --retr-symlinks en mode de recursió, baixa els fitxers\n"
" apuntats per enllaços simbòlics que no "
"siguen\n"
" directoris\n"
#: src/main.c:629
msgid "Recursive download:\n"
msgstr "Descàrrega recursiva:\n"
#: src/main.c:631
msgid " -r, --recursive specify recursive download.\n"
msgstr " -r, --recursive baixa de forma recursiva.\n"
#: src/main.c:633
msgid ""
" -l, --level=NUMBER maximum recursion depth (inf or 0 for "
"infinite).\n"
msgstr ""
" -l, --level=NOMBRE nivell màxim de recursió (inf o 0 per infinit).\n"
#: src/main.c:635
msgid ""
" --delete-after delete files locally after downloading them.\n"
msgstr ""
" --delete-after suprimeix els fitxers locals un cop baixats.\n"
#: src/main.c:637
#, fuzzy
msgid ""
" -k, --convert-links make links in downloaded HTML or CSS point to\n"
" local files.\n"
msgstr ""
" -k, --convert-links fes que els enllaços als HTML baixats apunten\n"
" als fitxers locals.\n"
#: src/main.c:641
#, fuzzy
msgid ""
" -K, --backup-converted before converting file X, back up as X_orig.\n"
msgstr ""
" -K, --backup-converted fés una còpia dels fitxers com a X.orig abans\n"
" de convertir-los.\n"
#: src/main.c:644
msgid ""
" -K, --backup-converted before converting file X, back up as X.orig.\n"
msgstr ""
" -K, --backup-converted fés una còpia dels fitxers com a X.orig abans\n"
" de convertir-los.\n"
#: src/main.c:647
msgid ""
" -m, --mirror shortcut for -N -r -l inf --no-remove-listing.\n"
msgstr ""
" -m, --mirror opció equivalent -N -r -l inf -no-remove-"
"listings.\n"
#: src/main.c:649
msgid ""
" -p, --page-requisites get all images, etc. needed to display HTML "
"page.\n"
msgstr ""
" -p, --page-requisites baixa totes les imatges, etc. necessàries per\n"
" veure el document HTML.\n"
#: src/main.c:651
msgid ""
" --strict-comments turn on strict (SGML) handling of HTML "
"comments.\n"
msgstr ""
" --strict-comments activa la gestió estricta (SGML) de comentaris "
"HTML.\n"
#: src/main.c:655
msgid "Recursive accept/reject:\n"
msgstr "Inclusió/exclusió en mode recursiu:\n"
#: src/main.c:657
msgid ""
" -A, --accept=LIST comma-separated list of accepted "
"extensions.\n"
msgstr ""
" -A, --accept=LLISTA llista separada per comes d'extensions\n"
" acceptades.\n"
#: src/main.c:659
msgid ""
" -R, --reject=LIST comma-separated list of rejected "
"extensions.\n"
msgstr ""
" -R, --reject=LLISTA llista separada per comes d'extensions\n"
" rebutjades.\n"
#: src/main.c:661
msgid ""
" -D, --domains=LIST comma-separated list of accepted "
"domains.\n"
msgstr ""
" -D, --domains=LLISTA llista separada per comes de dominis\n"
" acceptats.\n"
#: src/main.c:663
msgid ""
" --exclude-domains=LIST comma-separated list of rejected "
"domains.\n"
msgstr ""
" --exclude-domains=LLISTA llista separada per comes de dominis\n"
" rebutjats.\n"
#: src/main.c:665
msgid ""
" --follow-ftp follow FTP links from HTML documents.\n"
msgstr ""
" --follow-ftp segueix enllaços FTP en documents HTML.\n"
#: src/main.c:667
msgid ""
" --follow-tags=LIST comma-separated list of followed HTML "
"tags.\n"
msgstr ""
" --follow-tags=LLISTA llista separada per comes d'etiquetes "
"HTML\n"
" que es segueixen.\n"
#: src/main.c:669
msgid ""
" --ignore-tags=LIST comma-separated list of ignored HTML "
"tags.\n"
msgstr ""
" -G, --ignore-tags=LLISTA llista separada per comes d'etiquetes "
"HTML\n"
" ignorades.\n"
#: src/main.c:671
msgid ""
" -H, --span-hosts go to foreign hosts when recursive.\n"
msgstr ""
" -H, --span-hosts segueix enllaços a altres llocs en mode\n"
" de recursió.\n"
#: src/main.c:673
msgid " -L, --relative follow relative links only.\n"
msgstr " -L, --relative només segueix enllaços relatius.\n"
#: src/main.c:675
msgid " -I, --include-directories=LIST list of allowed directories.\n"
msgstr " -I, --include-directories=LLISTA llista de directoris acceptats.\n"
#: src/main.c:677
msgid " -X, --exclude-directories=LIST list of excluded directories.\n"
msgstr " -X, --exclude-directories=LLISTA llista de directoris rebutjats.\n"
#: src/main.c:679
msgid ""
" -np, --no-parent don't ascend to the parent directory.\n"
msgstr " -np, --no-parent no ascendeixes al directori pare.\n"
#: src/main.c:683
msgid "Mail bug reports and suggestions to <bug-wget@gnu.org>.\n"
msgstr "Envieu informes d'error i suggeriments a <bug-wget@gnu.org>.\n"
#: src/main.c:688
#, c-format
msgid "GNU Wget %s, a non-interactive network retriever.\n"
msgstr "GNU Wget %s, un baixador de xarxa no interactiu.\n"
#: src/main.c:728
#, c-format
msgid "Password for user %s: "
msgstr ""
#: src/main.c:730
#, c-format
msgid "Password: "
msgstr ""
#: src/main.c:780
msgid "Wgetrc: "
msgstr ""
#: src/main.c:781
msgid "Locale: "
msgstr ""
#: src/main.c:782
msgid "Compile: "
msgstr ""
#: src/main.c:783
msgid "Link: "
msgstr ""
#: src/main.c:789
#, c-format
msgid ""
"GNU Wget %s built on VMS %s %s.\n"
"\n"
msgstr ""
#: src/main.c:792
#, c-format
msgid ""
"GNU Wget %s built on %s.\n"
"\n"
msgstr ""
#: src/main.c:815
#, c-format
msgid " %s (env)\n"
msgstr ""
#: src/main.c:821
#, c-format
msgid " %s (user)\n"
msgstr ""
#: src/main.c:825
#, c-format
msgid " %s (system)\n"
msgstr ""
#. TRANSLATORS: When available, an actual copyright character
#. (cirle-c) should be used in preference to "(C)".
#: src/main.c:845
#, fuzzy
msgid "Copyright (C) 2009 Free Software Foundation, Inc.\n"
msgstr "Copyright © 2008 Free Software Foundation, Inc.\n"
#: src/main.c:847
msgid ""
"License GPLv3+: GNU GPL version 3 or later\n"
"<http://www.gnu.org/licenses/gpl.html>.\n"
"This is free software: you are free to change and redistribute it.\n"
"There is NO WARRANTY, to the extent permitted by law.\n"
msgstr ""
"Llicència GPLv3+: GNU GPL versió 3 o posterior\n"
"<http://www.gnu.org/licenses/gpl.html>.\n"
"Aquest és programari lliure: podeu modificar‐lo i redistribuir‐lo si voleu.\n"
"No hi ha CAP GARANTIA, en la mesura que ho permeta la llei.\n"
#. TRANSLATORS: When available, please use the proper diacritics for
#. names such as this one. See en_US.po for reference.
#: src/main.c:854
msgid ""
"\n"
"Originally written by Hrvoje Niksic <hniksic@xemacs.org>.\n"
msgstr ""
"\n"
"Escrit originàriament per Hrvoje Niksic <hniksic@xemacs.org>.\n"
#: src/main.c:856
msgid "Currently maintained by Micah Cowan <micah@cowan.name>.\n"
msgstr "Actualment mantingut per Micah Cowan <micah@cowan.name>.\n"
#: src/main.c:858
#, fuzzy
msgid "Please send bug reports and questions to <bug-wget@gnu.org>.\n"
msgstr "Envieu informes d'error i suggeriments a <bug-wget@gnu.org>.\n"
#: src/main.c:908 src/main.c:977 src/main.c:1099
#, c-format
msgid "Try `%s --help' for more options.\n"
msgstr "Proveu «%s --help» per a veure més opcions.\n"
#: src/main.c:974
#, c-format
msgid "%s: illegal option -- `-n%c'\n"
msgstr "%s: l'opció és il·legal -- «-n%c»\n"
#: src/main.c:1032
#, c-format
msgid "Can't be verbose and quiet at the same time.\n"
msgstr "No es pot donar informació i ser silenciós al mateix temps.\n"
#: src/main.c:1038
#, c-format
msgid "Can't timestamp and not clobber old files at the same time.\n"
msgstr ""
"No té sentit no sobreescriure fitxers i fer marques de temps al mateix "
"temps.\n"
#: src/main.c:1046
#, c-format
msgid "Cannot specify both --inet4-only and --inet6-only.\n"
msgstr "No es pot especificar inet4-only i --inet6-only a l'hora.\n"
#: src/main.c:1056
msgid ""
"Cannot specify both -k and -O if multiple URLs are given, or in combination\n"
"with -p or -r. See the manual for details.\n"
"\n"
msgstr ""
"No es pot especificar -k i -O a l'hora si es donen múltiples URL, o en\n"
"combinació amb -p o -r. Vegeu el manual per a més detalls.\n"
"\n"
#: src/main.c:1065
msgid ""
"WARNING: combining -O with -r or -p will mean that all downloaded content\n"
"will be placed in the single file you specified.\n"
"\n"
msgstr ""
"AVÍS: combinar -O amb -r o -p voldrà dir que tot el contingut baixat es\n"
"posarà a l'únic fitxer que especifiqueu.\n"
"\n"
#: src/main.c:1071
msgid ""
"WARNING: timestamping does nothing in combination with -O. See the manual\n"
"for details.\n"
"\n"
msgstr ""
"AVÍS: les marques de temps no fan res en combinació amb -O. Vegeu el manual\n"
"per a més detalls.\n"
"\n"
#: src/main.c:1079
#, c-format
msgid "File `%s' already there; not retrieving.\n"
msgstr "El fitxer «%s» ja existeix, no es baixa.\n"
#: src/main.c:1086
#, fuzzy, c-format
msgid "Cannot specify both --ask-password and --password.\n"
msgstr "No es pot especificar inet4-only i --inet6-only a l'hora.\n"
#: src/main.c:1094
#, c-format
msgid "%s: missing URL\n"
msgstr "%s: falta l'URL\n"
#: src/main.c:1119
#, c-format
msgid "This version does not have support for IRIs\n"
msgstr ""
#: src/main.c:1183
msgid ""
"WARNING: Can't reopen standard output in binary mode;\n"
" downloaded file may contain inappropriate line endings.\n"
msgstr ""
#: src/main.c:1318
#, c-format
msgid "No URLs found in %s.\n"
msgstr "No s'ha trobat cap URL a %s.\n"
#: src/main.c:1336
#, c-format
msgid ""
"FINISHED --%s--\n"
"Downloaded: %d files, %s in %s (%s)\n"
msgstr ""
"FINALITZAT --%s--\n"
"Baixat: %d fitxers, %s en %s (%s)\n"
#: src/main.c:1345
#, c-format
msgid "Download quota of %s EXCEEDED!\n"
msgstr "S'ha EXCEDIT la quota de baixada de %s.\n"
#: src/mswindows.c:99
#, c-format
msgid "Continuing in background.\n"
msgstr "S'esta continuant en segon terme.\n"
#: src/mswindows.c:292
#, c-format
msgid "Continuing in background, pid %lu.\n"
msgstr "S'està continuant en segon terme, pid %lu.\n"
#: src/mswindows.c:294 src/utils.c:472
#, fuzzy, c-format
msgid "Output will be written to %s.\n"
msgstr "La sortida s'escriurà a «%s».\n"
#: src/mswindows.c:462 src/mswindows.c:469
#, c-format
msgid "%s: Couldn't find usable socket driver.\n"
msgstr "%s: No s'ha trobat cap controlador de sòcol usable.\n"
#: src/netrc.c:390
#, fuzzy, c-format
msgid "%s: %s:%d: warning: %s token appears before any machine name\n"
msgstr ""
"%s: %s:%d: avís: el testimoni «%s» apareix abans que cap nom de màquina.\n"
#: src/netrc.c:421
#, c-format
msgid "%s: %s:%d: unknown token \"%s\"\n"
msgstr "%s: %s:%d: component desconegut \"%s\"\n"
#: src/netrc.c:485
#, c-format
msgid "Usage: %s NETRC [HOSTNAME]\n"
msgstr "Forma d'ús: %s NETRC [HOST]\n"
#: src/netrc.c:495
#, c-format
msgid "%s: cannot stat %s: %s\n"
msgstr "%s: no s'ha pogut determinar l'estat de %s: %s\n"
#: src/openssl.c:113
msgid "WARNING: using a weak random seed.\n"
msgstr "AVÍS: s'està utilitzant una llavor aleatòria febla.\n"
#: src/openssl.c:173
msgid "Could not seed PRNG; consider using --random-file.\n"
msgstr ""
"No s'ha pogut donar una llavor al PRNG; considereu usar --random-file.\n"
#: src/openssl.c:526
#, fuzzy, c-format
msgid "%s: cannot verify %s's certificate, issued by %s:\n"
msgstr "%s: no es pot verificar el certificat de %s, emès per «%s»:\n"
#: src/openssl.c:535
msgid " Unable to locally verify the issuer's authority.\n"
msgstr " No s'ha pogut verificar localment l'autoritat de l'emetent.\n"
#: src/openssl.c:539
msgid " Self-signed certificate encountered.\n"
msgstr " S'ha trobat un certificat autosignat.\n"
#: src/openssl.c:542
msgid " Issued certificate not yet valid.\n"
msgstr " El certificat encara no és vàlid.\n"
#: src/openssl.c:545
msgid " Issued certificate has expired.\n"
msgstr " El certificat ha caducat.\n"
#: src/openssl.c:579
#, fuzzy, c-format
msgid "%s: certificate common name %s doesn't match requested host name %s.\n"
msgstr ""
"%s: el nom comú «%s» del certificat no concorda amb el nom del servidor "
"demanat «%s».\n"
#: src/openssl.c:610
#, c-format
msgid ""
"%s: certificate common name is invalid (contains a NUL character).\n"
"This may be an indication that the host is not who it claims to be\n"
"(that is, it is not the real %s).\n"
msgstr ""
#: src/openssl.c:627
#, c-format
msgid "To connect to %s insecurely, use `--no-check-certificate'.\n"
msgstr ""
"Per a connectar a %s de manera insegura, useu «--no-check-certificate».\n"
#: src/progress.c:242
#, c-format
msgid ""
"\n"
"%*s[ skipping %sK ]"
msgstr ""
"\n"
"%*s[ s'està ometent %sK ]"
#: src/progress.c:456
#, fuzzy, c-format
msgid "Invalid dot style specification %s; leaving unchanged.\n"
msgstr "L'estil de progrés «%s» no és vàlid; no es canvia.\n"
#. TRANSLATORS: "ETA" is English-centric, but this must
#. be short, ideally 3 chars. Abbreviate if necessary.
#: src/progress.c:805
#, c-format
msgid " eta %s"
msgstr " eta %s"
#: src/progress.c:1050
msgid " in "
msgstr " en "
#: src/ptimer.c:162
#, c-format
msgid "Cannot get REALTIME clock frequency: %s\n"
msgstr "No es pot obtenir la frequència del rellotge en TEMPS REAL: %s\n"
#: src/recur.c:439
#, c-format
msgid "Removing %s since it should be rejected.\n"
msgstr "S'està suprimint %s ja que no s'hauria de baixar.\n"
#: src/res.c:391
#, c-format
msgid "Cannot open %s: %s"
msgstr "No es pot obrir %s: %s"
#: src/res.c:550
msgid "Loading robots.txt; please ignore errors.\n"
msgstr "S'està llegint el robots.txt; si us plau, ignoreu els errors.\n"
#: src/retr.c:667
#, c-format
msgid "Error parsing proxy URL %s: %s.\n"
msgstr ""
"S'ha produït un error en analitzar la URL del servidor intermediari %s: %s.\n"
#: src/retr.c:677
#, c-format
msgid "Error in proxy URL %s: Must be HTTP.\n"
msgstr ""
"Hi ha un error a la URL del servidor intermediari %s: Ha de ser HTTP.\n"
#: src/retr.c:775
#, c-format
msgid "%d redirections exceeded.\n"
msgstr "S'ha excedit el màxim de redireccions (%d).\n"
#: src/retr.c:1014
msgid ""
"Giving up.\n"
"\n"
msgstr ""
"S'està abandonant.\n"
"\n"
#: src/retr.c:1014
msgid ""
"Retrying.\n"
"\n"
msgstr ""
"S'està reintentant.\n"
"\n"
#: src/spider.c:74
msgid ""
"Found no broken links.\n"
"\n"
msgstr ""
"No s'ha trobat cap enllaç trencat.\n"
"\n"
#: src/spider.c:81
#, c-format
msgid ""
"Found %d broken link.\n"
"\n"
msgid_plural ""
"Found %d broken links.\n"
"\n"
msgstr[0] ""
"S'ha trobat %d enllaç trencat.\n"
"\n"
msgstr[1] ""
"S'han trobat %d enllaços trencats.\n"
"\n"
#: src/spider.c:91
#, c-format
msgid "%s\n"
msgstr "%s\n"
#: src/url.c:633
msgid "No error"
msgstr "Cap error"
#: src/url.c:635
#, fuzzy, c-format
msgid "Unsupported scheme %s"
msgstr "L'esquema no està implementat"
#: src/url.c:637
msgid "Scheme missing"
msgstr ""
#: src/url.c:639
msgid "Invalid host name"
msgstr "El nom del servidor és invàlid"
#: src/url.c:641
msgid "Bad port number"
msgstr "El número de port és incorrecte"
#: src/url.c:643
msgid "Invalid user name"
msgstr "Nom d'usuari no vàlid"
#: src/url.c:645
msgid "Unterminated IPv6 numeric address"
msgstr "L'adreça numèrica IPv6 no està terminada"
#: src/url.c:647
msgid "IPv6 addresses not supported"
msgstr "Les adreces IPv6 no estan implementades"
#: src/url.c:649
msgid "Invalid IPv6 numeric address"
msgstr "L'adreça numèrica IPv6 no és vàlida"
#: src/url.c:951
msgid "HTTPS support not compiled in"
msgstr ""
#: src/utils.c:108
#, fuzzy, c-format
msgid "%s: %s: Failed to allocate enough memory; memory exhausted.\n"
msgstr "%s: %s: No s'ha pogut assignar %ld octets; s'ha exhaurit la memòria.\n"
#: src/utils.c:114
#, c-format
msgid "%s: %s: Failed to allocate %ld bytes; memory exhausted.\n"
msgstr "%s: %s: No s'ha pogut assignar %ld octets; s'ha exhaurit la memòria.\n"
#: src/utils.c:327
#, c-format
msgid "%s: aprintf: text buffer is too big (%ld bytes), aborting.\n"
msgstr ""
#: src/utils.c:470
#, c-format
msgid "Continuing in background, pid %d.\n"
msgstr "Es continua en segon terme, pid %d.\n"
#: src/utils.c:521
#, fuzzy, c-format
msgid "Failed to unlink symlink %s: %s\n"
msgstr "No s'ha pogut eliminar l'enllaç simbòlic «%s»: %s\n"
#~ msgid ""
#~ " -B, --base=URL prepends URL to relative links in -F -i "
#~ "file.\n"
#~ msgstr ""
#~ " -B, --base=URL afegeix el prefix URL a tots els enllaços "
#~ "relatius en -F -i fitxer.\n"
#~ msgid " --preserve-permissions preserve remote file permissions.\n"
#~ msgstr ""
#~ " --preserve-permissions preserva els permisos dels fitxers "
#~ "remots.\n"
#~ msgid "Cannot specify -r, -p or -N if -O is given.\n"
#~ msgstr "No es pot especificar -r, -p o -N si es dóna -O.\n"
#~ msgid "Error in Set-Cookie, field `%s'"
#~ msgstr "S'ha produït un error a la capçalera Set-Cookie, camp «%s»"
#~ msgid "%s (%s) - Connection closed at byte %s/%s. "
#~ msgstr "%s (%s) - S'ha tancat la connexió a l'octet %s/%s. "
#~ msgid ""
#~ "%s: %s: Invalid extended boolean `%s';\n"
#~ "use one of `on', `off', `always', or `never'.\n"
#~ msgstr ""
#~ "%s: %s: El booleà estés «%s» no és vàlid; useu «always», «on», «off» o "
#~ "«never».\n"
#~ msgid " -Y, --proxy explicitly turn on proxy.\n"
#~ msgstr ""
#~ " -Y, --proxy habilita explícitament l'ús del "
#~ "servidor\n"
#~ " intermediari.\n"
#~ msgid ""
#~ "This program is distributed in the hope that it will be useful,\n"
#~ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
#~ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
#~ "GNU General Public License for more details.\n"
#~ msgstr ""
#~ "Aquest programa es distribueix amb l'esperança que sigui útil, però\n"
#~ "SENSE CAP MENA DE GARANTIA; ni tan sols amb la garantia implícita de\n"
#~ "COMERCIABILITAT o IDONEÏTAT PER A UN PROPÒSIT PARTICULAR. Vegeu la\n"
#~ "llicència GNU General Public License per a més informació.\n"
#~ msgid "%s: Certificate verification error for %s: %s\n"
#~ msgstr ""
#~ "%s: S'ha produït un error en la verificació del certificat per a %s: %s\n"
#~ msgid "Failed writing to proxy: %s.\n"
#~ msgstr "S'ha produït un error en escriure al servidor intermediari: %s.\n"
#~ msgid "File `%s' already there, will not retrieve.\n"
#~ msgstr "El fitxer «%s» ja existeix, no es baixa.\n"
#~ msgid ""
#~ "%s (%s) - `%s' saved [%s/%s])\n"
#~ "\n"
#~ msgstr ""
#~ "%s (%s) - s'ha desat «%s» [%s/%s])\n"
#~ "\n"
#~ msgid "Empty host"
#~ msgstr "Servidor no especificat"
| [
"993273596@qq.com"
] | 993273596@qq.com |
5c96d081348fe17004b303cdfc341244461f3764 | da46d61528b291dcd64f1229bb32054dfa523179 | /PictureLib/LineJig.h | 45014595c185b0bf1a513dad90ed79021561e214 | [] | no_license | presscad/bimdesign | fbdf121bc4c38a2f4fd9822e1fe27123dedcd0e3 | 1dd05826ab8c33978ac9a880d96961d68e6db4a3 | refs/heads/master | 2020-08-27T04:18:27.316359 | 2018-09-11T03:36:07 | 2018-09-11T03:36:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | #pragma once
class CLineJigEntity: public AcDbEntity
{
public:
CLineJigEntity(AcDbObjectId Polylineid,double dLen,int iNum);
virtual~CLineJigEntity();
virtual Adesk::Boolean worldDraw(AcGiWorldDraw * mode);
void SetLinePath(AcGePoint3d pt);
void PostToModelSpace();
AcDbObjectId GetBlkRefIds();
private:
void DrawOrAddSubEnts(AcGiWorldDraw* mode);
AcGePoint3d m_ptLinePath;
AcDbObjectId m_polylineid;
AcDbPolyline *m_pPolyline;
double m_dLen;
int m_iNum;
};
class CLineJig : public AcEdJig
{
public:
CLineJig();
virtual~CLineJig();
bool doIt(AcDbObjectId Polylineid,double dLen,int iNum);
virtual AcEdJig::DragStatus sampler();
virtual Adesk::Boolean update();
virtual AcDbEntity * entity() const;
private:
AcGePoint3d m_currentPt;
CLineJigEntity *m_pLineJigEntity;
};
| [
"38715689+xiongzhihui@users.noreply.github.com"
] | 38715689+xiongzhihui@users.noreply.github.com |
6372d0d67a269d6a4062f89f5b5c8e498337acac | cf58ce8affc97c3963fb9dfa783591c6d13cdfc0 | /components/autofill/core/browser/geo/country_names_for_locale_unittest.cc | f6ce9a23551173c91e9c2cc51f1e0527f2ebd799 | [
"BSD-3-Clause"
] | permissive | muttleyxd/chromium | a8f67d8c3df66f960cfdce539435954b996c8d01 | 083214ab1f0013f8aa00c39406610251486ec797 | refs/heads/master | 2022-07-26T14:11:45.555038 | 2021-03-17T19:31:11 | 2021-03-17T19:31:11 | 264,492,154 | 0 | 0 | BSD-3-Clause | 2020-05-16T22:26:50 | 2020-05-16T17:41:35 | null | UTF-8 | C++ | false | false | 3,098 | cc | // Copyright 2020 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.
#include <string>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/geo/country_names_for_locale.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::ASCIIToUTF16;
namespace autofill {
namespace {
class TestCountryNamesForLocale : public CountryNamesForLocale {
public:
explicit TestCountryNamesForLocale(const std::string& locale_name)
: CountryNamesForLocale(locale_name) {}
TestCountryNamesForLocale(TestCountryNamesForLocale&& source)
: CountryNamesForLocale(std::move(source)) {}
~TestCountryNamesForLocale() = default;
};
} // namespace
// Test that the correct country code is returned for various locales.
TEST(CountryNamesForLocaleTest, GetCountryCode) {
TestCountryNamesForLocale en_us_names("en_US");
EXPECT_EQ("US", en_us_names.GetCountryCode(ASCIIToUTF16("United States")));
TestCountryNamesForLocale de_names("de");
EXPECT_EQ("DE", de_names.GetCountryCode(ASCIIToUTF16("Deutschland")));
}
// Test that supplying an non-empty but invalid locale reverts back to 'en_US'
// localized names.
TEST(CountryNamesForLocaleTest, EmptyCountryCodeForInvalidLocale) {
TestCountryNamesForLocale not_a_locale_names("not_a_locale");
// The creation of an non-empty invalid locale reverts back to "en_US".
EXPECT_EQ("US",
not_a_locale_names.GetCountryCode(ASCIIToUTF16("United States")));
}
// The behavior depends on the platform. On Android the locale reverts back to
// the standard locale.
#if !defined(OS_ANDROID)
// Test that an empty string is returned for an empty locale.
TEST(CountryNamesForLocaleTest, EmptyCountryCodeForEmptyLocale) {
TestCountryNamesForLocale empty_locale_names("");
EXPECT_EQ("",
empty_locale_names.GetCountryCode(ASCIIToUTF16("United States")));
}
#endif
// Test that an empty string is returned for an empty country name.
TEST(CountryNamesForLocaleTest, EmptyCountryCodeForEmptyCountryName) {
TestCountryNamesForLocale de_names("de");
EXPECT_EQ("", de_names.GetCountryCode(ASCIIToUTF16("")));
}
// Test that an empty string is returned for an invalid country name.
TEST(CountryNamesForLocaleTest, EmptyCountryCodeForInvalidCountryName) {
TestCountryNamesForLocale de_names("de");
EXPECT_EQ("", de_names.GetCountryCode(ASCIIToUTF16("ThisISNotACountry")));
}
// Test that an instance is correctly constructed using the move semantics.
TEST(CountryNamesForLocaleTest, MoveConstructior) {
// Construct a working |CountryNamesForLocale| instance.
TestCountryNamesForLocale de_names("de");
EXPECT_EQ("DE", de_names.GetCountryCode(ASCIIToUTF16("Deutschland")));
// Construct another instance using the move semantics.
TestCountryNamesForLocale moved_names(std::move(de_names));
// Test that the new instance returns the correct values.
EXPECT_EQ("DE", moved_names.GetCountryCode(ASCIIToUTF16("Deutschland")));
}
} // namespace autofill
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b53fb44b55829c0b7ab0d9908fea7ddba7bd930d | 838bbfc6c8cdb1e4c291d2d231b5a8657d1260a5 | /source/ClassTrack.h | 50195d155377b3a894390202479fa570519784ef | [] | no_license | universalvalue/RunTracker | fa1d8e314314f8aa5dbff6572c2edce851272922 | d3073d202b6deb7bba46bab01edf2b8b7b85de88 | refs/heads/master | 2021-01-19T09:15:05.834843 | 2017-03-29T19:55:08 | 2017-03-29T19:55:08 | 82,088,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | h | #ifndef TRACK_H
#define TRACK_H
#include <string>
#include <map>
#include "ClassWaypoint.h"
#include <list>
////////////////////////////////////////////////////////////////////////////////////////////////////
// Introduce class "Track"
////////////////////////////////////////////////////////////////////////////////////////////////////
class Track{
public:
/* //constructors ... */
/* Student(string nam, string num ) { name=nam; id=num; } */
Track(){}
Track(std::string title, std::list< Waypoint > waypoints ) { TrackTitle = title; TrackWaypoints = waypoints; }
// setters ...
void setTitle(std::string title){ TrackTitle = title; }
void setWaypoints(std::list< Waypoint > waypoints) { TrackWaypoints = waypoints; }
// getters ...
std::string getTitle() { return TrackTitle; }
std::list< Waypoint > getWaypoints() { return TrackWaypoints; }
private:
std::string TrackTitle; // add any needed info here, just like in a C/C++ 'struct'
std::list< Waypoint > TrackWaypoints;
};
#endif
| [
"maximilian.mussotter@gmx.de"
] | maximilian.mussotter@gmx.de |
c089978e6bf0c2ff0389ce4148a52d219e94a661 | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /idents/idents/VolumeIdentifier.h | 8d67038698ff50a6692e833beceb8dd1cc53fefd | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,847 | h |
#ifndef VolumeIdentifier_h
#define VolumeIdentifier_h
#include <string>
/**
* @class VolumeIdentifier
*
* @brief This class encapsulates volume identifiers.
*
* This class encapsulates volume identifiers defined in the xml files
* describing the detector. The volume identifiers are transformed into a
* 64 bit integer for efficiency purpose.
*
* @author Toby Burnett
* @author Marco Frailis
*
* \$Header$
*/
namespace idents{
class VolumeIdentifier {
public:
#ifdef WIN32
typedef __int64 int64;
#else
typedef long long int64;
#endif
VolumeIdentifier();
/**
* This method initialize the VolumeIdentifier with a 64 bit integer
* and a size and is used by the overloaded operator<< to build an
* identifier reading from a persistent data store
*/
void init(int64 , unsigned int);
int64 getValue() const{ return m_value;}
/// prepend, in front, another id
void prepend( const VolumeIdentifier& id);
/// append another id
void append( const VolumeIdentifier& id);
/// append an int
void append(unsigned int id);
/// number of single ids which constitute the volume identifier
int size() const { return m_size;}
/// return a name made up with slash delimiters
std::string name(const char * delimiter="/")const ;
/// access single ids which constitute the volume identifier
unsigned int operator[](unsigned int);
/// access single ids which constitute the volume identifier
unsigned int operator[](unsigned int) const;
/// overload the < operator for correct sorting of volume identifiers
bool operator<(const VolumeIdentifier& id)const
{
return (m_value < id.getValue())
|| (m_value==id.getValue() && (m_size < id.size()));
}
bool operator==(const VolumeIdentifier& id)const
{
return ((m_value == id.getValue()) && (m_size==id.size()));
}
/// return true iff VolumeIdentifier fields say "tracker"
bool isTkr() const {return ( (m_size > (int) fTowerObj) &&
( (*this)[fLATObj] == eLATTowers) &&
( (*this)[fTowerObj] == eTowerTKR) ); }
/// return true iff VolumeIdentifier fields say "calorimeter"
bool isCal() const {return ( (m_size > (int) fTowerObj) &&
( (*this)[fLATObj] == eLATTowers) &&
( (*this)[fTowerObj] == eTowerCAL) ); }
/// return true iff VolumeIdentifier fields say "ACD"
bool isAcd() const {return ((m_size > (int) fLATObj) &&
((*this)[fLATObj] == eLATACD)); }
/// Max allowed value for a single field
static unsigned maxFieldValue() { return s_maxFieldValue;}
private:
/// The following values must correspond with those defined
/// in the xml geometry files in use when the VolumeIdentifier
/// was created, or the is.. routines above will lie.
static const unsigned fLATObj = 0;
static const unsigned fTowerObj = 3;
static const unsigned eLATTowers = 0;
static const unsigned eLATACD = 1;
static const unsigned eTowerCAL = 0;
static const unsigned eTowerTKR = 1;
static const unsigned s_bitsPer = 6;
// Since 64 is not evenly divisible by bitsPer (6) field
// occupying most significant bits is located in bits 54-59.
// Top 4 bits are unused.
static const unsigned s_maxSize = 64 / s_bitsPer;
static const unsigned s_maxShift = (s_maxSize - 1) * s_bitsPer; /* 54 */
static const unsigned s_maxFieldValue = (1 << s_bitsPer) - 1;
/// internal rappresentation of the volume identifier
int64 m_value; // for sorting
/// number of single ids which constitute the volume identifier
int m_size;
};
}
#endif
| [
""
] | |
04cf8c1807b50885450993fbe5fa184a7ea6ea51 | c30e2a0dc71db5fcdd459db52e012f116c4a726e | /LearnC++ForProgramingDevelopement/Part_IV_GenericProgramming/Chapter20/Template/template/AssertClass.cpp | e4c89019b74360841dc251b5446e594bd5c44f5f | [
"MIT"
] | permissive | Gabroide/Learning-C- | 9bcfc09fb826ea78affca118572fa7ac7c7b786b | d2fc9b2ef21d66a17b9b716975087093c592abbc | refs/heads/master | 2021-07-21T08:41:40.602975 | 2020-05-10T20:16:47 | 2020-05-10T20:16:47 | 161,846,077 | 0 | 0 | MIT | 2019-06-12T07:45:47 | 2018-12-14T22:15:43 | C++ | UTF-8 | C++ | false | false | 52 | cpp | #include <assert.h>
int main()
{
assert(2 == 3);
} | [
"ing.geol@gmail.com"
] | ing.geol@gmail.com |
574df70db17e0a666aef129b9832217749358588 | 1d394377f84a5f0a8b054f1cca1bc29098f4633a | /Object Life Cycle in Inheritance W07/18127222_W07_02/Ex02_18127222/Time.h | 1315189de1b5b56629e45b9df4e2edaf2cef4750 | [] | no_license | ThienStylemen/Phuong-Phap-Lap-Trinh-Huong-Doi-Tuong-CPlusPlus-HCMUS | 447ef0363a0243dc8ece6819d477085cf908d949 | b96335150ed6ae0a10c1103f2086a664a5a2412c | refs/heads/master | 2022-04-06T12:48:50.084348 | 2020-01-26T06:38:52 | 2020-01-26T06:38:52 | 236,276,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #pragma once
#include<iostream>
#include<time.h>
#include<sstream>
#include<string>
using namespace std;
class Time{
protected:
unsigned int _hour;
unsigned int _minute;
unsigned int _second;
public:
void display() {
cout << this->_hour << ":" << this->_minute << ":" << this->_second << endl;
}
Time(int hour, int minute, int second);
Time();
~Time();
};
| [
"thienstylemen@gmail.com"
] | thienstylemen@gmail.com |
270300c067cc23f91c4b1cc38171ffb1acfa0d7b | ecf65e70041fd225f4a7925ad36b4d6bd4c6e9c4 | /baofit/AbsCorrelationModel.cc | 79d7de30087e82447d7d7dfe2bbd3765e46cc273 | [] | no_license | slosar/baofit | 19f1740a5a2449ad19365ee05394009c351311d4 | b8478e6554c4e13fd6b717f30f6f88da4b93aaa5 | refs/heads/master | 2020-12-24T23:00:17.246621 | 2012-11-28T01:25:16 | 2012-11-28T01:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,887 | cc | // Created 07-Apr-2012 by David Kirkby (University of California, Irvine) <dkirkby@uci.edu>
#include "baofit/AbsCorrelationModel.h"
#include "baofit/RuntimeError.h"
#include <cmath>
namespace local = baofit;
local::AbsCorrelationModel::AbsCorrelationModel(std::string const &name)
: FitModel(name), _indexBase(-1)
{ }
local::AbsCorrelationModel::~AbsCorrelationModel() { }
double local::AbsCorrelationModel::evaluate(double r, double mu, double z,
likely::Parameters const ¶ms) {
bool anyChanged = updateParameterValues(params);
double result = _evaluate(r,mu,z,anyChanged);
resetParameterValuesChanged();
return result;
}
double local::AbsCorrelationModel::evaluate(double r, cosmo::Multipole multipole, double z,
likely::Parameters const ¶ms) {
bool anyChanged = updateParameterValues(params);
double result = _evaluate(r,multipole,z,anyChanged);
resetParameterValuesChanged();
return result;
}
int local::AbsCorrelationModel::_defineLinearBiasParameters(double zref) {
if(_indexBase >= 0) throw RuntimeError("AbsCorrelationModel: linear bias parameters already defined.");
if(zref < 0) throw RuntimeError("AbsCorrelationModel: expected zref >= 0.");
_zref = zref;
// Linear bias parameters
_indexBase = defineParameter("beta",1.4,0.1);
defineParameter("(1+beta)*bias",-0.336,0.03);
// Redshift evolution parameters
defineParameter("gamma-bias",3.8,0.3);
return defineParameter("gamma-beta",0,0.1);
}
double local::AbsCorrelationModel::_redshiftEvolution(double p0, double gamma, double z) const {
return p0*std::pow((1+z)/(1+_zref),gamma);
}
double local::AbsCorrelationModel::_getNormFactor(cosmo::Multipole multipole, double z) const {
if(_indexBase < 0) throw RuntimeError("AbsCorrelationModel: no linear bias parameters defined.");
// Lookup the linear bias parameters.
double beta0 = getParameterValue(_indexBase + BETA);
double bb0 = getParameterValue(_indexBase + BB);
// Calculate bias from beta and bb.
double bias0 = bb0/(1+beta0);
double bias0Sq = bias0*bias0;
// Calculate redshift evolution of bias and beta.
double biasSq = _redshiftEvolution(bias0Sq,getParameterValue(_indexBase + GAMMA_BIAS),z);
double beta = _redshiftEvolution(beta0,getParameterValue(_indexBase + GAMMA_BETA),z);
// Return the requested normalization factor.
switch(multipole) {
case cosmo::Hexadecapole:
return biasSq*beta*beta*(8./35.);
case cosmo::Quadrupole:
return biasSq*beta*(4./3. + (4./7.)*beta);
default:
return biasSq*(1 + beta*(2./3. + (1./5.)*beta));
}
}
void local::AbsCorrelationModel::printToStream(std::ostream &out, std::string const &formatSpec) const {
FitModel::printToStream(out,formatSpec);
if(_indexBase >= 0) out << std::endl << "Reference redshift = " << _zref << std::endl;
}
| [
"dkirkby@uci.edu"
] | dkirkby@uci.edu |
638dd9349c66f5441a3140d441eff9a3bcc7623f | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/callable_traits/test/class_of_constraints.cpp | adf76e11b18ad1cc0c808375539bd1e25b995151 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp |
/*
Copyright Barrett Adair 2016-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
*/
#include <sstd/boost/callable_traits/class_of.hpp>
#include "test.hpp"
struct foo;
template<typename T>
struct is_substitution_failure_class_of {
template<typename>
static auto test(...) -> std::true_type;
template<typename A,
typename std::remove_reference<
TRAIT(class_of, A)>::type* = nullptr>
static auto test(int) -> std::false_type;
static constexpr bool value = decltype(test<T>(0))::value;
};
int main() {
auto lambda = [](){};
CT_ASSERT(is_substitution_failure_class_of<decltype(lambda)>::value);
CT_ASSERT(is_substitution_failure_class_of<decltype(lambda)&>::value);
CT_ASSERT(is_substitution_failure_class_of<void>::value);
CT_ASSERT(is_substitution_failure_class_of<void*>::value);
CT_ASSERT(is_substitution_failure_class_of<int>::value);
CT_ASSERT(is_substitution_failure_class_of<int &>::value);
CT_ASSERT(is_substitution_failure_class_of<int()>::value);
CT_ASSERT(is_substitution_failure_class_of<int(*)()>::value);
CT_ASSERT(is_substitution_failure_class_of<int(**)()>::value);
CT_ASSERT(is_substitution_failure_class_of<int(&)()>::value);
CT_ASSERT(is_substitution_failure_class_of<int (foo::** const)()>::value);
}
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
4a66f39221d8e345f766f18392f8d36d7d767751 | 40e1562d2f79b709067a00ffe6b9401410e280c4 | /core/src/main/cpp/common/opengl_media/texture/GPUTextureFrame.cpp | 8b5737fa0e793cab5f53e3392fd19f581a22b66b | [] | no_license | catigerD/Auvideo | 0228c21d62cc734b5301911d403687d3898ec0fb | c20f23bf9fd9dc99a1b01430653440efcc738e4d | refs/heads/master | 2020-07-31T07:45:50.425809 | 2020-01-06T13:55:39 | 2020-01-06T13:55:39 | 210,534,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | //
// Created by dengchong on 2019-09-27.
//
#include "GPUTextureFrame.h"
#include <GLES2/gl2ext.h>
void GPUTextureFrame::initTexture() {
glGenTextures(1, &texId);
glBindTexture(GL_TEXTURE_EXTERNAL_OES, texId);
glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glBindTexture(GL_TEXTURE_EXTERNAL_OES, 0);
}
void GPUTextureFrame::updateTexImage() {
//调用 Java 层 SurfaceTexture.updateTexImage 更新纹理
}
| [
"dengchong.999@bytedance.com"
] | dengchong.999@bytedance.com |
af5e6377628d1f40767080112bda91525550c9f7 | 8decc0bcb7b04bfd608a3c8521f9705a367d696e | /tmc-langs-qmake/src/test/resources/passing_multiple_lib_same_point/src/main.cpp | c6e2f0ced8f84992640cf676be322ef30f1a1ac0 | [] | no_license | testmycode/tmc-langs | b34e2bd9b3c5ee1eb315319bc11875fe5ddd6af4 | 68080207adc4713d774774f57367415fbdc940e8 | refs/heads/master | 2022-12-21T09:46:22.086647 | 2020-12-03T17:49:32 | 2020-12-03T17:49:32 | 23,525,445 | 2 | 22 | null | 2022-12-14T20:27:01 | 2014-08-31T23:37:38 | Java | UTF-8 | C++ | false | false | 133 | cpp | #include <QCoreApplication>
#include <iostream>
#include "test_case_lib.h"
using namespace std;
int main() {
//Code goes here
}
| [
"cpastethat@gmail.com"
] | cpastethat@gmail.com |
2504452c5e3b69c7ac85baebaf27718b2ed9fb07 | 003fb5094021351eb82c49c8eadbb6dd5b139004 | /006_BAEKJOON/09498.cpp | cbd99a05c69cd57d8c948a6d86e646fccb7d9351 | [] | no_license | woongbinni/algorithm | ebdb700195ccc158f7be1ebf7af06e9913d4e8fd | a1d5c0bc8b727d4feea670ea35218e701e0ffdb4 | refs/heads/master | 2022-11-16T23:40:44.628307 | 2022-11-11T15:21:26 | 2022-11-11T15:21:26 | 32,263,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<iostream>
using namespace std;
#include <stdio.h>
int main(void){
int point;
scanf("%d", &point);
if(point >= 90 && point <= 100){
printf("A\n");
}
else if(point >= 80 && point < 90){
printf("B\n");
}
else if(point >= 70 && point < 80){
printf("C\n");
}
else if(point >= 60 && point < 70){
printf("D\n");
}
else {
printf("F\n");
}
return 0;
} | [
"bearbin.song@samsung.com"
] | bearbin.song@samsung.com |
a41cf6308da1c1a7fcf3b6d9a39c85da8634e630 | 56037826ff5608735d31f69eb3a485e549052499 | /appconfig/sysconfig.h | e782aa985baee09ab164373fafb9af5a59c09c87 | [] | no_license | liumeng009/MIR_System | 438f00b15d4819d8b4da25e7700d1366cc2d9e21 | 9af6704ca24982c75741e02198bdddc87f665be0 | refs/heads/master | 2021-02-11T17:15:19.329475 | 2020-03-03T09:23:44 | 2020-03-03T09:23:44 | 244,514,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | h | #ifndef SYSCONFIG_H
#define SYSCONFIG_H
#include <QObject>
#include <QSettings>
#include <QFile>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonParseError>
#include <QJsonObject>
#include <QDebug>
#include <QByteArray>
#include <QIODevice>
class SysConfig : public QObject
{
Q_OBJECT
public:
explicit SysConfig(QObject *parent = nullptr);
~SysConfig();
/*配置文件*/
QSettings * pConfigIni = nullptr;
QFile * loadFile;
QJsonDocument configJson;
QString bingqu;
QString serverIP;
int serverPort;
QString taskName; //任务名称
QString chargeTaskName; //任务名称
bool LoadJsonConfig(int boxNum);
QJsonDocument GetJsonConfig();
};
class SysConfigFactory
{
public:
static SysConfig * instance(QObject *parent = nullptr)
{
if (m_pInstance == NULL)
{
m_pInstance = new SysConfig(parent);
}
return m_pInstance;
}
static void Release()
{
if (m_pInstance != NULL)
{
delete m_pInstance;
m_pInstance = NULL;
}
}
public:
static SysConfig * m_pInstance;
};
#endif // SYSCONFIG_H
| [
"noreply@github.com"
] | noreply@github.com |
30178f6371e5c04191c7123db7952b0f2b3c0bb8 | 7e54a98247b5bc24151788ae283c7c9926f60f94 | /UnionFind/union-find.cpp | dcb9fc63d86fdef2eb96ecf072352ee7842b7970 | [] | no_license | linaran/SourceCodeBackup | 150fd93b166e4d463e23d1261ef151a46a2ad9e7 | 6097219e2ccff41fb5ba8f4e18d8465bc3f7c0e8 | refs/heads/master | 2021-05-26T04:52:38.775251 | 2020-05-27T12:06:21 | 2020-05-27T12:06:21 | 127,479,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | #include "union-find.h"
#include <algorithm>
UnionFind::UnionFind(int n)
: n(n)
, parentOf(new int[n])
, sz(new int[n])
, maxForRoot(new int[n])
{
for (int i = 0; i < n; ++i)
{
parentOf[i] = i;
maxForRoot[i] = i;
sz[i] = 1;
}
}
UnionFind::~UnionFind()
{
delete[] parentOf;
delete[] sz;
delete[] maxForRoot;
}
int UnionFind::root(int p)
{
while (parentOf[p] != p) {
parentOf[p] = parentOf[parentOf[p]]; // path compression
p = parentOf[p];
}
return p;
}
void UnionFind::addRootToAnother(int p, int q)
{
parentOf[p] = q;
sz[q] += sz[p];
maxForRoot[q] = std::max(maxForRoot[p], maxForRoot[q]);
}
void UnionFind::connect(int p, int q)
{
const int rootP = root(p);
const int rootQ = root(q);
if (sz[rootP] <= sz[rootQ])
{
addRootToAnother(rootP, rootQ);
}
else
{
addRootToAnother(rootQ, rootP);
}
}
bool UnionFind::areConnected(int p, int q)
{
return root(p) == root(q);
}
int UnionFind::maxInComponentHavingObject(int p)
{
return maxForRoot[root(p)];
}
| [
"noreply@github.com"
] | noreply@github.com |
4e9cf9a72cea769336d56311f99466f5871234d5 | b3fb51ddd3499cbc5e1d252b49dba23c776b8ddb | /src/Id.cpp | bd61bcb709659e0e886aa8c8853727388ad0abb8 | [
"WTFPL"
] | permissive | Aborres/glr | d7c69e2fa75ba877ee7fb19195aa754304783803 | 79a57b12e26fe84595e833cace3528cb9c82bc20 | refs/heads/master | 2021-01-25T14:34:36.052417 | 2015-05-25T00:32:47 | 2015-05-25T00:32:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include "Id.hpp"
namespace glr
{
const Id Id::INVALID = Id();
Id::Id() : id_(0)
{
}
Id::Id(glm::detail::uint32 id) : id_(id)
{
}
Id::~Id()
{
}
glm::detail::uint32 Id::getId() const
{
return id_;
}
bool Id::operator == (const Id &other) const
{
return id_ == other.id_;
}
bool Id::operator != (const Id &other) const
{
return id_ != other.id_;
}
bool Id::operator < (const Id &other) const
{
return id_ < other.id_;
}
bool Id::operator > (const Id &other) const
{
return other.id_ < id_;
}
bool Id::operator <= (const Id &other) const
{
return !(id_ > other.id_);
}
bool Id::operator >= (const Id &other) const
{
return !(id_ < other.id_);
}
std::ostream& operator << (std::ostream& os, const Id& id)
{
os << id.id_;
return os;
}
}
| [
"j.chisholm@chisholmsoft.com"
] | j.chisholm@chisholmsoft.com |
e50e2d7ef8d2d25c4e1f0d46c936841db493b8ff | d929f48d3800de32efd50bee4f0cbbf4c60d7f9c | /AtCoder/abc042/abc042_b.cpp | b7a1ec6d4ee4f651d852a0fa380e8341fbc28296 | [] | no_license | runom/AtCoderSubmissions | 2fc9fd8c7bbddfcbac5d6911ea17c99d1a445c3c | bd43a3879aefe9a7c69d41d0b3f3d93d08726d8b | refs/heads/master | 2020-03-20T18:35:35.470241 | 2018-06-17T08:11:29 | 2018-06-17T08:11:29 | 137,595,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <set>
#include <algorithm>
using namespace std;
int main()
{
int n, l;
cin >> n >> l;
vector<string> s(n);
for(int i = 0; i < n; ++i) {
cin >> s[i];
}
sort(s.begin(), s.end());
for(int i = 0; i < n; ++i) {
cout << s[i];
}
cout << endl;
} | [
"jeatommy@gmail.com"
] | jeatommy@gmail.com |
3f49aabcc79510939938a9d9a20e2f99b13b7639 | a5e0ccb723c6cb118915c4d16447042783b7a8bb | /src/Bitmap_set_only/Bitmap_O1_init_set_only.h | 1910ba5b381ac0f42a391e2ebd70a5510665fd91 | [] | no_license | wangfanstar/dsa | 4f358d0980e1e0919d4c42759d5954141b321dbb | 1b8941447d75f0892185c9800a8fa4fcbed4f1ac | refs/heads/master | 2021-03-01T05:27:26.354154 | 2020-03-08T05:31:58 | 2020-03-08T05:31:58 | 245,757,241 | 5 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,534 | h | /******************************************************************************************
* Data Structures in C++
* ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3
* Junhui DENG, deng@tsinghua.edu.cn
* Computer Science & Technology, Tsinghua University
* Copyright (c) 2003-2019. All rights reserved.
******************************************************************************************/
#pragma once
#pragma warning(disable : 4996 4800)
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include "_share/release.h"
class Bitmap { //位图Bitmap类:以空间作为补偿,节省初始化时间(仅允许插入,不支持删除)
private:
Rank* F; Rank N; //规模为N的向量F,记录[k]被标记的次序(即其在栈T[]中的秩)
Rank* T; Rank top; //容量为N的栈T,记录被标记各位秩的栈,以及栈顶指针
protected:
inline bool valid ( Rank r ) { return ( 0 <= r ) && ( r < top ); }
public:
Bitmap ( Rank n = 8 ) //按指定(或默认)规模创建比特图(为测试暂时选用较小的默认值)
{ N = n; F = new Rank[N]; T = new Rank[N]; top = 0; } //在O(1)时间内隐式地初始化
~Bitmap() { delete [] F; delete [] T; } //析构时释放空间
// 接口
inline void set ( Rank k ) { //插入
if ( test ( k ) ) return; //忽略已带标记的位
F[ k ] = top++; T[ F[ k ] ] = k; //建立校验环
}
inline bool test ( Rank k ) //测试
{ return valid ( F[ k ] ) && ( k == T[ F[ k ] ] ); }
};
| [
"wangfanstar@163.com"
] | wangfanstar@163.com |
480bdd24c9e1a7359d09d1428f44d41b535b599e | 8673f3561ee1429be0ea4131c5305b2dbcb1d5e6 | /src/client/renderer/chunk_renderer.h | 3ac4eb8aeee888810af3f2489a0d4488770a2069 | [
"MIT"
] | permissive | dominicsherry1/open-builder | 29a1bcc4028ae5291e8e5cdb171d9559ae5dfc99 | 393e9de3a6cfe5476211e6b70c15b1d644bce830 | refs/heads/master | 2021-01-06T06:01:12.133111 | 2020-02-17T23:36:19 | 2020-02-17T23:36:19 | 241,229,902 | 0 | 0 | MIT | 2020-02-17T23:30:54 | 2020-02-17T23:30:54 | null | UTF-8 | C++ | false | false | 2,959 | h | #pragma once
#include "../gl/shader.h"
#include "../gl/vertex_array.h"
#include "../maths.h"
#include "../world/chunk_mesh.h"
#include <SFML/System/Clock.hpp>
#include <common/world/coordinate.h>
#include <vector>
/**
* @brief A mesh that makes up the verticies and such of a chunk in the world
*/
struct ChunkRenderable final {
ChunkPosition position;
gl::VertexArray vao;
// Used for debugging (Seeing vram usage)
size_t bufferSize = 0;
};
using ChunkRenderList = std::vector<ChunkRenderable>;
/**
* @brief Used for mostly debugging purposes, used to count number of chunks being
* rendered, and how large the rendered chunk's buffer is
*/
struct ChunkRenderResult final {
int chunksRendered = 0;
int bytesInView = 0;
};
/**
* @brief Manager class for all things chunk rendering
*/
class ChunkRenderer final {
/**
* @brief Used as in index for the chunk renderable array (below)
*/
enum class ChunkRenderType {
Solid = 0,
Fluid = 1,
Flora = 2,
};
/**
* @brief Common shader for chunks
*/
struct ChunkShader {
gl::Shader program;
gl::UniformLocation projectionViewLocation;
gl::UniformLocation chunkPositionLocation;
};
/**
* @brief Additional chunk shader utility for time based events
*/
struct ChunkAnimatedShader final : ChunkShader {
gl::UniformLocation timeLocation;
};
public:
void init();
/**
* @brief Update a chunk mesh in the world
* This function will also delete a chunk mesh given it exists
* @param position The position of the chunk to update
* @param meshes The meshes to be processed
*/
void updateMesh(const ChunkPosition& position, ChunkMeshCollection&& meshes);
/**
* @brief Render all chunks (that are in view)
*
* @param cameraPosition The position of the camera
* @param frustum The viewing frustum, for frustum culling
* @param projectionViewMatrix Projection view matrix for the shaders
* @param cameraInWater Is the camera in water, for rendering special effects if the
* case
* @return ChunkRenderResult The count of chunks rendered and their total buffer size
* this frame
*/
ChunkRenderResult renderChunks(const glm::vec3& cameraPosition,
const ViewFrustum& frustum,
const glm::mat4& projectionViewMatrix,
bool cameraInWater);
// Used for the debug stat view
int getTotalChunks() const;
int getTotalBufferSize() const;
private:
void deleteChunkRenderables(const ChunkPosition& position);
ChunkShader m_solidShader;
ChunkAnimatedShader m_fluidShader;
ChunkAnimatedShader m_floraShader;
std::vector<ChunkMeshCollection> m_chunkMeshes;
std::array<ChunkRenderList, 3> m_chunkRenderables;
sf::Clock m_animationTimer;
};
| [
"mhopson@hotmail.co.uk"
] | mhopson@hotmail.co.uk |
bd811e8b41509554aa9e1caf168a1dbf3794f58d | 54acfda0bcffb4f6d1adbb2b9a21ea900521bb8b | /URI/1046.cpp | 7aec697398e6e046258d4afccaf3590448698a1f | [] | no_license | vital-edu/competitive-programming | 87a4e7fa58b554a1c3dcc256bd81bc7b65311d5c | e65968fd11f5a0c25a10e261defc63e988a5d1ab | refs/heads/master | 2021-05-01T11:45:06.894229 | 2016-04-03T00:00:22 | 2016-04-03T00:00:22 | 55,192,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
int inicio, fim, duracao;
cin >> inicio >> fim;
if (fim > inicio) {
duracao = fim - inicio;
}
else {
duracao = 24 - inicio + fim;
}
cout << "O JOGO DUROU " << duracao << " HORA(S)" << endl;
return 0;
}
| [
"vitaldu@gmail.com"
] | vitaldu@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.